network doesn't start at boot
hi,
I had redhat 9.0 and i am facing the problem that the network don,t start at boot but I have to activate the eth0 after boot and I have start the network then. Everytime I boot i have redo all this stuff . Can anybody help me and tell me how can i activate eth0 while boot itself. I shall be very thankful for ur kind help. ritturaj :confused: |
In redhat 9, you can edit the file /etc/sysconfig/network-scripts/ifcfg-eth0
It should look something like this: DEVICE=eth0 ONBOOT=no BOOTPROTO=none IPADDR=128.???.???.??? NETMASK=255.255.255.0 GATEWAY=128.???.???.??? TYPE=Ethernet USERCTL=no PEERDNS=no NETWORK=128.101.170.0 BROADCAST=128.101.170.255 If you leave everything else the way it is, but change the ONBOOT=no to ONBOOT=yes, then it should start on boot. |
hi ,
It is already yes in it but it didn't do at the time of booting here is my file GATEWAY=??.??.???.??? TYPE=Ethernet DEVICE=eth0:1 HWADDR=00:0d:60:04:a9:3b BOOTPROTO=none NETMASK=255.255.255.192 ONBOOT=yes IPADDR=??.??.???.??? USERCTL=no PEERDNS=yes NETWORK=??.??.???.??? BROADCAST=??.??.???.??? I have to activate eth0 again and agian and restart the network after the boot ritturaj:confused: |
Hmm..
Check to see that the file /etc/rc.d/rc1.d/K90network (or something with the word network in it's name should be in this directory) is available. If it is there, you can test if it works by typing the command /etc/sysconfig/network-scripts/ifup eth0 (or eth0:1) If that does work, then there might be a problem with the K90network script. Also I swear there is a GUI tool in Redhat 9 that you can set if the device starts on boot, but I can't remember where it is. It might just change the ifcfg-eth0 file though. |
All times are GMT -5. The time now is 09:55 PM. |