View Full Version : Strange Network behavior after re-boot No net connection
mclark114
2005-05-08, 08:04 AM CDT
Everything seems to come up all right, at lease I see no errors. However if I try to caonnect to and internet site I can't. To fix the problem all I have to do is open up the network configuration select save, and restart the network and then everything works fine
Anyone have any ideas on this one
Thanks
-Michael
rsimhamb
2005-05-08, 08:51 AM CDT
Please post the following:
- Output of command mii-tool
- Contents of file /etc/sysconfig/network
- Contents of file /etc/sysconfig/network-scritps/ifcfg-eth0
- Output of command route
- Output of command ls -l /etc/sysconfig/network-scripts/ifcfg-*
mclark114
2005-05-09, 07:53 PM CDT
mil-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
SIOCGMIIPHY on 'eth1' failed: Bad address Not I have 2 adaptes eth1 not active yet
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=sg-5
/etc/sysconfig/network-scritps/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.2.20
BRODCAST=192.168.2.255
NETWORK=192.168.2.0
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.2.1
IPV6INIT=no
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
-rw-r--r-- 4 root root 192 May 8 09:48 /etc/sysconfig/network-scripts/ifcfg-eth0
-rw-r--r-- 1 root root 149 May 5 18:56 /etc/sysconfig/network-scripts/ifcfg-eth0~
-rw-r--r-- 1 root root 254 Jun 20 2001 /etc/sysconfig/network-scripts/ifcfg-lo
[
rsimhamb
2005-05-09, 10:15 PM CDT
Have you created the file /etc/sysconfig/network-scripts/ifcfg-eth0~ ?
Rename this file to something other than ifcfg-eth0~ e.g. eth0.temp
then execute service network restart
mclark114
2005-05-15, 06:49 AM CDT
That file doesn't exist any more
All I have now is
[root@sg-5 html]# ls -l /etc/sysconfig/network-scripts/ifcfg-*
-rw-r--r-- 4 root root 192 May 14 03:36 /etc/sysconfig/network-scripts/ifcfg-eth0
-rw-r--r-- 1 root root 254 Jun 20 2001 /etc/sysconfig/network-scripts/ifcfg-lo
and the same behavior.
To fix the problem all I have to do is open up the network configuration select save, and restart the network and then everything works fine
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.