免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4742 | 回复: 0
打印 上一主题 下一主题

pppoe 拨号 TIMED OUT [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-08 10:28 |只看该作者 |倒序浏览
在arm+linux下执行pppoe拨号失败,提示TIMED OUT,具体提示信息如下:
Welcome to the Roaring Penguin PPPoE client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good!  Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default wx9820192@adsl):
INTERFACE

>>> Enter the Ethernet interface connected to the DSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default eth0):
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped.  If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses.  You may have some problems with demand-activated links.
>>> Enter the demand value (default no):
DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here:
PASSWORD

stty: standard input: Inappropriate ioctl for device
>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:
stty: standard input: Inappropriate ioctl for device

FIREWALLING

Please choose the firewall rules to use.  Note that these rules are
very basic.  You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security.  If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself.  Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc.  If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules.  You are responsible
          for ensuring the security of your machine.  You are STRONGLY
          recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
                for a LAN
>>> Choose a type of firewall (0-2):
** Summary of what you entered **

Ethernet Interface: eth0
User name:          wx9820192@adsl
Activate-on-demand: No
DNS addresses:      Supplied by ISP's server
Firewalling:        NONE

>>> Accept these settings and adjust configuration files (y/n)? Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
  (But first backing it up to /etc/ppp/pap-secrets-bak)
  (But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring
it down.  Type 'pppoe-status' to see the link status.
route: SIOC[ADD|DEL]RT: No such process
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
TIMED OUT
pppoe-status: Link is down (can't read pppoe PID file /var/run/pppoe.conf-pppoe.pid.pppoe)


另外手动执行pppoe-start后,在/var/log/目录下的messeges的内容如下:
Jan  1 00:00:33 freescale user.info kernel: PPP generic driver version 2.4.2
Jan  1 00:01:28 freescale daemon.notice pppd[1466]: pppd 2.4.4b1 started by root, uid 0
Jan  1 00:01:28 freescale daemon.info pppd[1466]: Using interface ppp0
Jan  1 00:01:28 freescale daemon.notice pppd[1466]: Connect: ppp0 <--> /dev/pts/0
Jan  1 00:01:28 freescale daemon.err pppoe[1467]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Jan  1 00:01:28 freescale daemon.notice pppd[1466]: Modem hangup
Jan  1 00:01:28 freescale daemon.notice pppd[1466]: Connection terminated.
Jan  1 00:01:28 freescale daemon.info pppd[1466]: Exit.
Jan  1 00:01:28 freescale daemon.notice pppoe-connect: PPPoE connection lost; attempting re-connection.
Jan  1 00:01:34 freescale daemon.notice pppd[1490]: pppd 2.4.4b1 started by root, uid 0
Jan  1 00:01:34 freescale daemon.info pppd[1490]: Using interface ppp0
Jan  1 00:01:34 freescale daemon.notice pppd[1490]: Connect: ppp0 <--> /dev/pts/0
Jan  1 00:01:34 freescale daemon.err pppoe[1491]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Jan  1 00:01:34 freescale daemon.notice pppd[1490]: Modem hangup
Jan  1 00:01:34 freescale daemon.notice pppd[1490]: Connection terminated.
Jan  1 00:01:34 freescale daemon.info pppd[1490]: Exit.
Jan  1 00:01:34 freescale daemon.notice pppoe-connect: PPPoE connection lost; attempting re-connection.
Jan  1 00:01:39 freescale daemon.notice pppd[1514]: pppd 2.4.4b1 started by root, uid 0
Jan  1 00:01:39 freescale daemon.err pppoe[1516]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Jan  1 00:01:39 freescale daemon.err pppd[1514]: Couldn't get channel number: Input/output error
Jan  1 00:01:39 freescale daemon.info pppd[1514]: Exit.
Jan  1 00:01:39 freescale daemon.notice pppoe-connect: PPPoE connection lost; attempting re-connection.
Jan  1 00:01:44 freescale daemon.notice pppd[1544]: pppd 2.4.4b1 started by root, uid 0
Jan  1 00:01:44 freescale daemon.info pppd[1544]: Using interface ppp0
Jan  1 00:01:44 freescale daemon.notice pppd[1544]: Connect: ppp0 <--> /dev/pts/0
Jan  1 00:01:44 freescale daemon.err pppoe[1545]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Jan  1 00:01:44 freescale daemon.notice pppd[1544]: Modem hangup
Jan  1 00:01:44 freescale daemon.notice pppd[1544]: Connection terminated.
Jan  1 00:01:44 freescale daemon.info pppd[1544]: Exit.
Jan  1 00:01:44 freescale daemon.notice pppoe-connect: PPPoE connection lost; attempting re-connection.
Jan  1 00:01:49 freescale daemon.notice pppd[1568]: pppd 2.4.4b1 started by root, uid 0
Jan  1 00:01:49 freescale daemon.info pppd[1568]: Using interface ppp0
Jan  1 00:01:49 freescale daemon.notice pppd[1568]: Connect: ppp0 <--> /dev/pts/0
Jan  1 00:01:49 freescale daemon.err pppoe[1569]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Jan  1 00:01:49 freescale daemon.notice pppd[1568]: Modem hangup
Jan  1 00:01:49 freescale daemon.notice pppd[1568]: Connection terminated.
Jan  1 00:01:50 freescale daemon.info pppd[1568]: Exit.
Jan  1 00:01:50 freescale daemon.notice pppoe-connect: PPPoE connection lost; attempting re-connection.
Jan  1 00:01:55 freescale daemon.notice pppd[1597]: pppd 2.4.4b1 started by root, uid 0
Jan  1 00:01:55 freescale daemon.err pppoe[1598]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Jan  1 00:01:55 freescale daemon.err pppd[1597]: Couldn't get channel number: Input/output error
Jan  1 00:01:55 freescale daemon.info pppd[1597]: Exit.
Jan  1 00:01:55 freescale daemon.notice pppoe-connect: PPPoE connection lost; attempting re-connection.
Jan  1 00:02:00 freescale daemon.notice pppd[1622]: pppd 2.4.4b1 started by root, uid 0
Jan  1 00:02:00 freescale daemon.info pppd[1622]: Using interface ppp0
Jan  1 00:02:00 freescale daemon.notice pppd[1622]: Connect: ppp0 <--> /dev/pts/0
Jan  1 00:02:00 freescale daemon.err pppoe[1623]: ioctl(SIOCGIFHWADDR): Session 0: No such device
Jan  1 00:02:00 freescale daemon.notice pppd[1622]: Modem hangup
Jan  1 00:02:00 freescale daemon.notice pppd[1622]: Connection terminated.
Jan  1 00:02:00 freescale daemon.info pppd[1622]: Exit.
Jan  1 00:02:00 freescale daemon.notice pppoe-connect: PPPoE connection lost; attempting re-connection.

接着串口控制台上就冒出TIMED OUT了。


拨号的用户名和密码确认是正确的,用电脑进行adsl拨号的时候是可以的,请朋友们帮忙分析下可能是什么地方引起的,谢谢

[ 本帖最后由 qks5201314 于 2009-1-9 10:36 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP