LinuxSir.cn,穿越时空的Linuxsir!

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

(已解决)debian的联网问题

[复制链接]
发表于 2010-5-19 18:51:47 | 显示全部楼层 |阅读模式
用的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下宽带拨号的用户名一样的吧

请求解答
 楼主| 发表于 2010-5-20 15:05:19 | 显示全部楼层
寻求解答中 -_-!
回复 支持 反对

使用道具 举报

发表于 2010-5-22 17:38:45 | 显示全部楼层
装一个 ppp 不就行了?

apt-get install ppp
回复 支持 反对

使用道具 举报

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

本版积分规则

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