Linux-Noob Forums
ifup eth1 - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html)
+--- Forum: Fedora (https://www.linux-noob.com/forums/forum-94.html)
+---- Forum: Fedora Core Release 6 (https://www.linux-noob.com/forums/forum-44.html)
+---- Thread: ifup eth1 (/thread-1704.html)



ifup eth1 - godskalk - 2006-12-03


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.




ifup eth1 - anyweb - 2006-12-04


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>