Red HatThis forum is for the discussion of Red Hat Linux.
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 have Red Hat 9 running on an old Gateway PIII. I have tried using netconfig to set the IP address on the eth0 interface. The setting takes effect immediately, but if I reboot the box, or restart the networking services, the interface loses the IP address.
I have checked the /etc/sysconfig/network-scripts/ifcfg-eth0 file, and it has the appropriate settings:
I seem to remember having a similar problem with redhat 7.something and if I did ifconfig -add eth0 ...., then ran redhat-config-network it for some reason decided to keep the settings. Sorry, I don't have a RH9 box to test with.
I ever encountered the phenomenon,but because I have two net cards so I modify modules.conf.My modules.conf and modules.conf~ is described as follow:
modules.conf:
alias eth0 8139too
alias eth1 tulip
alias sound-slot-0 es1371
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci
modules.conf~:
alias eth0 tulip
alias eth1 8139too
alias sound-slot-0 es1371
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci
you can see if your tulip.o exist /lib/modules/2.4.20-8/kernel/driver/net/tulip/
Check your /etc/init.d dir ,see if there is "network" script file.Because this script file can start up network service during system booting.If your loss IP when the box is booting,run "ntsysv",then select network, at last reboot machine and try again.
i also checked the system configuration and in run level 0, the network is selected to start.
Runlevel 0 is halt (shutdown). Usually, all services should be set to Off.
I don't think this is the source of the problem, but let's take it out of the equation. Set it to off.
At the command line, login as root (su -) and type:
sorry...blame the newbie...when i was reading through the man pages for chkconfig i noticed that you could check the services at different run levels...so, i thought i was going to start checking services at level 0, 1, etc...
my system is not currently at 0...and networking is on...i am checking this all remotely ssh'd into the box, so networking is definitely on and working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.