LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 795|回复: 1

求助。DEBIAN TESTING的 网卡设置

[复制链接]
发表于 2006-10-13 11:18:47 | 显示全部楼层 |阅读模式
TESTING 和 STABLE的 网卡设置是不是不一样?我根据STABLE设置了TESTING下的 /etc/network/interface 固定IP地址。结果网卡无法在系统起动时自动起动,必须进入系统后输入ifup eth0才行,郁闷。设置如下:
# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

如果改成:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

网卡也无法自动起动。
如果用DHCP就没问题。。。
请高手指教,谢谢
 楼主| 发表于 2006-10-16 15:14:59 | 显示全部楼层
没人懂吗????
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表