当我试图使用pon provider连接到互联网时,我会得到以下错误:
error sending pppoe packet: Network is down
error receiving pppoe packet: Network is down如果我使用pppoeconf配置Internet,然后运行pon provider,则连接工作。我不应该每次打开电脑都要运行pppoeconf。我怎样才能连接到互联网,使用pon而不必每次运行pppoeconf?
更新:
当我安装Debian时,安装程序无法建立DHCP连接,所以我跳过了“配置网络”选项。我发现,运行这个命令可以让我启动互联网,而不必再次配置pppoeconf。
ifconfig eth0 up
pon dsl-provider是否有什么地方应该添加ifconfig eth0 up,以便在启动和关闭期间或在运行pon或poff时开始?
发布于 2012-02-22 12:43:16
当您有pppoe连接时,您可以通过'Debian‘或'Ubuntu’的方式在/etc/network/interfaces中这样做:
auto eth0
iface eth0 inet ppp
provider dsl-provider您可以在/usr/share/doc/pppoe/README.Debian中找到此解决方案。
编辑:
如果希望手动启动连接,请不要使用行auto eth0,并且可以通过ifup eth0命令启动连接。
https://unix.stackexchange.com/questions/31607
复制相似问题