Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I may have the same problem as others about their eth0 interface. I usually work offline with my linux(mdk 10.0 CE) box and even I set my network card to have the static IP address, the interface still can't be brought up at the boot time.
However, If i run "ifconfig eth0" there is no IP address shown, and to make it shown, I have to run "ifup eth0" first.
Any solution to run "ifup eth0" at boot time automatically?
i dont know where your eth0 config file is. but in redhat systems this file is in /etc/sysconfig/network-scripts directory. "ifcfg-eth0"
find the file and edit, change the following line:
ONBOOT=yes
second way u can add "ifup eth0" in your startup script (in redhat, /etc/rc.d/rc.local)
thanks alot Maxut! i checked the "/etc/sysconfig/network-scripts/ifcfg-eth0" file and I got "ONBOOT=yes". But still when I reboot the box, bringing up the interface fails. I don't really know why. I append "ifup eth0" to "/etc/rc.d/rc.local" and it still can't bring up eth0 on boot.
i think u should check you NIC driver.
plese show you error info to our ,if the driver no problem,then check dhcp server .
i use gentoo,usually like this .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.