分页: 1 / 1

[问题]求助..如何让网卡自动激活。。

发表于 : 2005-11-20 19:28
silencejjk
初装系统时,网卡能自动激活。
自从设置pppoeconf拨号上网后,网卡就不自动激活了。。
每次重启都要去激活网卡,然后再设置pppoeconf。实在麻烦。。
谁能帮帮我阿。。。

发表于 : 2005-11-20 20:26
laborer
什么叫激活网卡啊?modprobe?ifconfig?

发表于 : 2005-11-20 20:57
silencejjk
就是每次都要到 系统--联网 激活eth0...
系统启动的时候后没自动激活的。。

发表于 : 2005-11-20 21:40
laborer
你看看/etc/network/interfaces是不是我这样的:

代码: 全选

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0

# The primary network interface
iface eth0 inet dhcp

发表于 : 2005-11-20 22:05
silencejjk
不和你的一样。。
不过我已经照论坛内相关帖子,解决了此问题。
原因是设置pppoeconf后,/etc/network/interfaces文件末尾多了一条命令(我的是这样的)。。 把多的那行去掉,系统就能自动激活eth0了。
然后再在终端里输入:
sudo ln -s /etc/ppp/pppoe_on_boot /etc/ppp/ppp_on_boot
pppoeconf也能自动拨号了。。