-
Junior Member
registered user
System on HD always reset net card ot use dhcp
I have this very annoying problem. When I restart, it always reset my net card config to use dhcp, even though I set to a static IP address. All the config data (ip, gw, dns, etc) are there, but every reboot will just reset the net card config back to dhcp.
That's darn annoying. Anywhere I can tell it to not even consider dhcp at all?
tia.
-
Senior Member
registered user
This has officially become an epidemic.
I have seen many posts exactly like this. Here's the drill:
Is your ethernet driver loaded?
Do you have an i.p.?
If you're like the rest you will not have one.
What does this do:
What about this:
Code:
/etc/init.d/networking restart
-
Senior Member
registered user
IIRC, I had to edit two files for my wireless card to be configured with a static ip at startup; /etc/network/interfaces -- change the line: iface eth1 inet dhcp to iface eth1 inet static. In most cases from what I was told, this should do it. But for wireless pcmcia cards, it doesn't. So I had to edit /etc/pcmcia/network.opts and put in my desired ip address, subnet mask, broadcast address, & gateway and saved the file. Reboot and it stuck since then.
HTH,
Durand
-
Junior Member
registered user
I already had my /etc/network/interfaces set correctly, and here's the contents:
Code:
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.200
And the file /etc/sysconfig/network-scripts/ifcfg-eth0 has roughly the same information.
After every reboot, it returns to dhcp mode. I use netcardconfig to configure it back, and all I have to do was to choose static IP and enter, enter, enter, ... to finish, as all the information is already filled in.
It definitely is annoying to have to su root and run netcardconfig everytime.[/quote]
-
Senior Member
registered user
Similar Threads
-
By HamOpMW in forum General Support
Replies: 0
Last Post: 07-05-2005, 09:06 AM
-
By Mattr35 in forum Networking
Replies: 16
Last Post: 06-02-2005, 07:46 PM
-
By J0hnP1pe in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-22-2005, 08:08 AM
-
By fabry6210 in forum Networking
Replies: 10
Last Post: 05-27-2004, 09:25 PM
-
By dimkal in forum Networking
Replies: 10
Last Post: 11-01-2003, 12:34 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)
$399.95

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$381.93

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)
$1599.95

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed
$136.87