|
发表于 2003-2-18 17:10:31
|
显示全部楼层
编辑/etc/modules.conf,确认有alias eth0 8139too这行
进入/etc/sysconfig/network-scripts/,确认该目录下有ifcfg-lo这个文件,内容为
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
确认还有ifcfg-eth0文件,内容大概如下:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=你的ip
NETMASK=255.255.255.0
GATEWAY=你的网关
TYPE=Ethernet
USERCTL=no
PEERDNS=no
NETWORK=x.x.x.0(类似你的ip)
BROADCAST=x.x.x.255(类似你的ip) |
|