关于《GlobeSpan USB ADSL Modem 安装全记录》的问题
发表于 : 2008-10-28 20:35
另外需要设置/etc/resolv.conf,以修改DNS。也可以在其他想关如pppd中设置好。
现在可以正式联网了。
$ pon dsl-provider
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
外挂插件rp-pppoe.so 位于 /usr/lib/pppd/2.4.2,没有提示版本低了。也没有已经连接的提示。。。。但是可以ping你的DNS看到已经联网。最好也看一下网络记录,以便有其他问题时,知道处理的方向。这时,可以看到系统又由tap0产生了一个实际的、系统使用的设备ppp0。
$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:166425 errors:0 dropped:0 overruns:0 frame:0
TX packets:166425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12416837 (11.8 MiB) TX bytes:12416837 (11.8 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:218.76.47.79 P-t-P:218.76.40.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:6607 errors:0 dropped:0 overruns:0 frame:0
TX packets:6959 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:3728741 (3.5 MiB) TX bytes:946721 (924.5 KiB)
tap0 Link encap:Ethernet HWaddr 00:FF:8C:6B:B8:30
inet6 addr: fe80::2ff:8cff:fe6b:b830/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8129 errors:0 dropped:0 overruns:0 frame:0
TX packets:8504 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3972894 (3.7 MiB) TX bytes:1148641 (1.0 MiB)
$ plog #连接记录,可以知道出错时的情况。
Aug 17 19:15:34 localhost pppd[10109]: Using interface ppp0
Aug 17 19:15:34 localhost pppd[10109]: Connect: ppp0 <--> tap0
Aug 17 19:15:34 localhost pppd[10109]: Couldn't increase MTU to 1500
Aug 17 19:15:34 localhost pppd[10109]: Couldn't increase MRU to 1500
Aug 17 19:15:34 localhost pppd[10109]: Couldn't increase MRU to 1500
Aug 17 19:15:34 localhost pppd[10109]: Remote message:代码: 全选
: Unable to find user in database^J Aug 17 19:15:34 localhost pppd[10109]: PAP authentication failed Aug 17 19:15:34 localhost pppd[10109]: Couldn't increase MTU to 1500 Aug 17 19:15:34 localhost pppd[10109]: Couldn't increase MRU to 1500 Aug 17 19:15:34 localhost pppd[10109]: Connection terminated. [/quote] 在运行pon dsl-provider后,只提示Plugin rp-pppoe.so loaded.,不提示RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2 还有ping不通DNS,运行plog出现 [quote]Oct 30 20:07:57 jianbin-desktop pppd[7539]: Remote message: can't find user.^J Oct 30 20:07:57 jianbin-desktop pppd[7539]: PAP authentication failed Oct 30 20:07:57 jianbin-desktop pppd[7539]: Connection terminated. Oct 30 20:07:57 jianbin-desktop pppd[7539]: Exit. Oct 30 20:08:09 jianbin-desktop pppd[7918]: PPP session is 9243 Oct 30 20:08:09 jianbin-desktop pppd[7918]: Using interface ppp0 Oct 30 20:08:09 jianbin-desktop pppd[7918]: Connect: ppp0 <--> tap0 Oct 30 20:08:09 jianbin-desktop pppd[7918]: Remote message: can't find user.^J Oct 30 20:08:09 jianbin-desktop pppd[7918]: PAP authentication failed Oct 30 20:08:09 jianbin-desktop pppd[7918]: Connection terminated.[/quote] 请大师能指点一下