Linux-Noob Forums

Full Version: ifup eth1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

When i installed fc6 it used my PCI NIC wich was defined as eth0, but after install i changed to my nforce on-board lan card wich is defined as eth1.

 

Now, every time I boot linux i have to type "ifup eth1" to get an ip from DHCP and be connected to internet. How can I fix this so it happens automagically? :)This is BTW a question I've been wondering for years so please help me someone.


you could add the line to /etc/rc.d/rc.local

 

that file is parsed on every boot

 

so...

 



Code:
vi /etc/rc.d/rc.local




 

and add your line in there, save the file reboot and test

 

or...

 

as root type

 



Code:
neat




 

and edit your network card so that it starts on every boot

 

see attached screenshot.

 

 

cheers

anyweb

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-1-1165215805.png" data-fileid="729">[img]<fileStore.core_Attachment>/post-1-1165215805.png[/img]</a>