在终端中输入 sudo pppoeconf 设置完宽带上网后—— 问 题:系统启动的时候网卡都没自动激活,每次都要到 系统--联网 —-激活eth0… 解决方案:看看/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 – 把/etc/network/interfaces文件末尾多的一条命令那行去掉,我的是多了这么一行: pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf 删掉之后系统就能自动激活eth0了。 然后再在终端里输入: sudo ln -s /etc/ppp/pppoe_on_boot /etc/ppp/ppp_on_boot pppoeconf也能自动拨号了。
,蚁穴虽小,溃之千里。