|
|
我家安装的是网通的ADSL,我在gentoo中emerge了rp-pppoe包,然后使用了pppoe-setup命令来配置用户名和密码,再使用pppoe-start的时候,报告超时。
我在内核中已经支持pppoe相关选项,并且把eth0的IP地址全部去掉了,使eth0保持UP和RUNNING状态。
有没有对pppoe了解的高手解答一下,多谢!
修改了pppoe-start脚本,打印出了debug信息,出错的地方如下:
---------------------------------------------
* The following section shows the pppd command we will invoke
pppd invocation
/usr/bin/setsid /usr/sbin/pppd pty '/usr/sbin/pppoe -p /var/run/-pppoe.pid.pppoe -I eth0 -T 80 -U -m 1412 ' noipdefault noauth default-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user 26753742 lcp-echo-interval 20 lcp-echo-failure 3 debug
---------------------------------------------
Couldn't set tty to PPP discipline: Invalid argument
Waiting for 1 child processes...
script /usr/sbin/pppoe -p /var/run/-pppoe.pid.pppoe -I eth0 -T 80 -U -m 1412 -D /tmp/pppoe-debug-12132/pppoe-debug.txt-0, pid 12195
pppoe: read (asyncReadFromPPP): Session 8483: Input/output error
Script /usr/sbin/pppoe -p /var/run/-pppoe.pid.pppoe -I eth0 -T 80 -U -m 1412 -D /tmp/pppoe-debug-12132/pppoe-debug.txt-0 finished (pid 12195), status = 0x1
---------------------------------------------
* The following section is an extract from your log.
* Look for error messages from pppd, such as
* a lack of kernel support for PPP, authentication failure
* etc.
Extract from /var/log/messages
Aug 5 07:49:28 Karl pppoe[11690]: read (asyncReadFromPPP): Session 11391: Input/output error
Aug 5 07:49:28 Karl pppoe[11690]: Sent PADT
Aug 5 07:49:28 Karl pppd[11686]: Exit.
Aug 5 07:49:28 Karl pppoe-connect: PPPoE connection lost; attempting re-connection.
Aug 5 07:49:33 Karl pppd[11773]: pppd 2.4.2 started by root, uid 0
Aug 5 07:49:33 Karl pppd[11773]: Couldn't set tty to PPP discipline: Invalid argument
Aug 5 07:49:53 Karl pppoe[11777]: PADS: Service-Name: ''
Aug 5 07:49:53 Karl pppoe[11777]: PPP session is 9563 (0x255b)
Aug 5 07:49:53 Karl pppoe[11777]: read (asyncReadFromPPP): Session 9563: Input/output error
Aug 5 07:49:53 Karl pppoe[11777]: Sent PADT
Aug 5 07:49:53 Karl pppd[11773]: Exit. |
|