Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm running CentOS 6, and I recently did some manual network configuration to make it use a static IP. But ever since I did this, every time it boots, networking doesn't work until I do
sudo service network restart
Which, really isn't bad, and I know there are ways around it. But this a really big annoyance, as the power where I live is flaky, and it often goes out. So when the server comes back up, nobody can access it until I log in and restart the network daemon. So I'm curious as to what is causing this. Any ideas?
Take a look at your /var/log/boot.log to see what happened when the network started. If you don't see it starting, check 'chkconfig --list' to make sure it's configured to start at the runlevel you're using.
Hey guys, thanks for the great responses.
Turns out, doing "chkconfig --list" turned out
network 0:off 1:off 2:off 3:off 4:off 5:off 6:off
So I did what @lithos said, and did "chkconfig --levels 2345 network on," restarted, works. Thanks for your help!
By the way, @jefro, I did tweaking to /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network, and /etc/resolv.conf. Also had to uninstall NetworkManager because it kept changing everything back to normal.