|
用的adsl猫,root登陆
使用pppoeconf,到最后建立连接时提示the dsl connection has been triggered
ping不成功,apt-get也不能用,执行pon dsl-provider提示command not found.
ifconfig能看到eth0,但看不到ppp0
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
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.25
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
#gateway 192.168.1.1
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
-----------------------------------------
执行/etc/init.d/networking restart.提示如下------------------------------
Reconfiguring network interfaces.../bin/sh: pon: command not found
Failed to bring up dsl-provider.
/bin/sh: pon: command not found
Failed to bring up ppp0.
if-up.d/mountnfs[eth0]: waiting for interface dsl-provider before doing NFS mounts (warning).
if-up.d/mountnfs[eth0]: waiting for interface ppp0 before doing NFS mounts (warning).
done.
----------------------------------------------------------------------------------
另外,pppoeconf填username的那个是跟xp下宽带拨号的用户名一样的吧
请求解答 |
|