免费注册 查看新帖 |

Chinaunix

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

求助:PPPOE拨号的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-18 15:21 |只看该作者 |倒序浏览
rp-pppoe 3.6
pppd 2.4.1
linux2.4.27

_________________________________________________________________
均使用uclibc编译,
可是在执行pppoe-start时没有反应。
采用debug模式,或者是直接运行pppoe-connect,得到的信息是:

Couldn't allocate pseudo-tty

盼请有经验的朋友帮忙……

论坛徽章:
0
2 [报告]
发表于 2005-11-18 15:43 |只看该作者
kernel加入ppp支持了么?

论坛徽章:
0
3 [报告]
发表于 2005-11-18 15:57 |只看该作者

回复 2楼 SunGod 的帖子

肯定是加了的!!!
郁闷死了……整整搞了一天,找不着原因……

DEBUG信息如下:
---------------------------------------------
* The following section contains information about your system
Fri Nov 18 05:52:18 UTC 2005
Output of uname -a
---------------------------------------------
* The following section contains information about your network
* interfaces.  The one you chose for PPPoE should contain the words:
* 'UP' and 'RUNNING'.  If it does not, you probably have an Ethernet
* driver problem.
Output of ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:E8:09:4F  
          inet addr:88.88.88.44  Bcast:88.88.88.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:12 Base address:0xb000

eth1      Link encap:Ethernet  HWaddr 00:E0:4C:E9:03:89  
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xd000

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

---------------------------------------------
* The following section lists your routing table.
* If you have an entry which starts with '0.0.0.0', you probably
* have defined a default route and gateway, and pppd will
* not create a default route using your ISP.  Try getting
* rid of this route.
Output of netstat -n -r
---------------------------------------------
Contents of /etc/resolv.conf
* The following section lists DNS setup.
* If you can browse by IP address, but not name, suspect
* a DNS problem.
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name.  Some ISP's need 'username'; others
* need 'username@isp.com'.  Try both
ETH=eth0; USER=test
---------------------------------------------
* The following section shows the pppd command we will invoke
pppd invocation
/usr/sbin/pppd pty '/usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U  -m 1412  -S dddd '  noipdefault noauth default-asyncmap defaultroute hide-password nodetach  mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user test lcp-echo-interval 20 lcp-echo-failure 3   debug
---------------------------------------------
Couldn't allocate pseudo-tty
---------------------------------------------
*
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
Fri Nov 18 05:52:18 UTC 2005
---------------------------------------------
* The following section is a dump of the packets
* sent and received by rp-pppoe.  If you don't see
* any output, it's an Ethernet driver problem.  If you only
* see three PADI packets and nothing else, check your cables
* and modem.  Make sure the modem lights flash when you try
* to connect.  Check that your Ethernet card is in
* half-duplex, 10Mb/s mode.  If all else fails,
* try using pppoe-sniff.
rp-pppoe debugging dump

[ 本帖最后由 独孤九贱 于 2005-11-18 15:59 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP