[求助]重新发:pppoe(奇怪,什么都没动就可以了)

上网、浏览、聊天、下载等
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

详细的过程都有了。

#16

帖子 eexpress » 2005-08-18 20:47

####开机,root terminal中运行。
root@eexpress-ubuntu:/home/exp # eciadsl-start ####同步modem。
[EciAdsl 1/5] Setting up USB support...

Preliminary USB device filesystem is OK
Loading tun/tap module...
tun loaded successfully

[EciAdsl 2/5] Uploading firmware...

GlobeSpan USB ADSL WAN Modem compatible modem found (in 2254ms)
eciadsl-firmware: success ####正确提示
firmware loaded successfully

[EciAdsl 2/5] Uploading firmware...####不断电就是这样提示,包含了windows载入的firmware

Warning: firmware seems to be already loaded
Check that your modem is OFF before running eciadsl-start (if modem is
powered on, then unplug/replug it)

[EciAdsl 3/5] Synchronization...####这是0.10版本提示

Progress indicator is 01 No Signal !
Progress indicator is a0 No Signal !
Progress indicator is a1 Training...
Progress indicator is a1 Training...
Progress indicator is 43 Training...
Progress indicator is a4 Training...
Progress indicator is a4 Training...
Progress indicator is 74 Training...
Progress indicator is a6 Training...
Progress indicator is 77 Training...
Progress indicator is 75 Training...
Progress indicator is aa Training...
Progress indicator is 72 Training...
Progress indicator is ad Training...
eciadsl-synch: success
Synchronization successful

[EciAdsl 3/5] Synchronization...####这是0.11版本提示

OK eciadsl-synch: success
Synchronization successful

[EciAdsl 4/5] Connecting to provider...

Connection successful

[EciAdsl 5/5] Setting up route table...

Waiting for tap0... ####映射出tap0设备,不知道在哪里。
root@eexpress-ubuntu:/home/exp # 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:954 errors:0 dropped:0 overruns:0 frame:0
TX packets:954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85868 (83.8 KiB) TX bytes:85868 (83.8 KiB)

tap0 Link encap:Ethernet HWaddr 00:FF:54:50:6B:CF ####设备信息
inet6 addr: fe80::2ff:54ff:fe50:6bcf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:238 (238.0 b)

root@eexpress-ubuntu:/home/exp # pon dsl-provider ####已经配置了pppoeconf
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
root@eexpress-ubuntu:/home/exp # 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:1025 errors:0 dropped:0 overruns:0 frame:0
TX packets:1025 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:92315 (90.1 KiB) TX bytes:92315 (90.1 KiB)

tap0 Link encap:Ethernet HWaddr 00:FF:54:50:6B:CF
inet6 addr: fe80::2ff:54ff:fe50:6bcf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:518 (518.0 b) TX bytes:668 (668.0 b)

root@eexpress-ubuntu:/home/exp # ps -a
PID TTY TIME CMD
8038 pts/0 00:00:02 eciadsl-pppoeci
8472 pts/0 00:00:00 ps
root@eexpress-ubuntu:/home/exp # ls /etc/ppp/ ####找pppoeconf产生的配置文件
chap-secrets ip-up ipv6-up pap-secrets.bak resolv
chap-secrets.bak ip-up.d ipv6-up.d peers resolv.conf
ip-down ipv6-down options pppoe_on_boot
ip-down.d ipv6-down.d pap-secrets ppp_on_boot.dsl
root@eexpress-ubuntu:/home/exp # gedit /etc/ppp/peers/dsl-provider

(gedit:8283): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
####################################################
####编辑配置文件,每次修改一项,ppp0之前全部是eth0设备。
####没修改以前,每项都是注释掉了的。
####enable one line each time, all "ppp0" orginal is "eth0"
#######pty "/usr/sbin/pppoe -I ppp0 -T 80 -m 1452"
#######pty "/usr/sbin/pppoe -I ppp0 -T 80 -m 1412"
#######pty "/usr/sbin/pppoe -I ppp0 -T 80"
####################################################

root@eexpress-ubuntu:/home/exp # pon dsl-provider
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
root@eexpress-ubuntu:/home/exp # ifconfig ####产生了连接设备,相当于modem的连接。
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:1598 errors:0 dropped:0 overruns:0 frame:0
TX packets:1598 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:144724 (141.3 KiB) TX bytes:144724 (141.3 KiB)

ppp0 Link encap:Point-to-Point Protocol ####已经是ppp协议连接了。
inet addr:218.76.43.59 P-t-P:218.76.40.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:129 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:34588 (33.7 KiB) TX bytes:7669 (7.4 KiB)

tap0 Link encap:Ethernet HWaddr 00:FF:54:50:6B:CF
inet6 addr: fe80::2ff:54ff:fe50:6bcf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:146 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38598 (37.6 KiB) TX bytes:11455 (11.1 KiB)

root@eexpress-ubuntu:/home/exp # plog ####pppoeconf的log。
Aug 18 20:12:16 localhost pppd[8126]: secondary DNS address 202.103.96.112 ####电信自动返回的DNS。
Aug 18 20:14:16 localhost pppd[8313]: Plugin rp-pppoe.so loaded.
Aug 18 20:14:16 localhost pppd[8313]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
Aug 18 20:14:16 localhost pppd[8315]: pppd 2.4.2 started by root, uid 0
Aug 18 20:14:51 localhost pppd[8315]: Timeout waiting for PADS packets
Aug 18 20:14:51 localhost pppd[8315]: Unable to complete PPPoE Discovery
Aug 18 20:15:56 localhost pppd[8315]: Timeout waiting for PADS packets
Aug 18 20:15:56 localhost pppd[8315]: Unable to complete PPPoE Discovery

####以下过程不需要了。adsl拨号不需要rp-pppoe版本。
####以下是rp-pppoe安装的3.5版本。少了编译器路径。
root@eexpress-ubuntu:/home/exp # cd /opt/rp-pppoe-3.5/
root@eexpress-ubuntu:/opt/rp-pppoe-3.5 # ls
configs go gui README scripts src
doc go-gui man rp-pppoe.spec SERVPOET
root@eexpress-ubuntu:/opt/rp-pppoe-3.5 # go
bash: go: command not found
root@eexpress-ubuntu:/opt/rp-pppoe-3.5 # sh go
Running ./configure...
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Oops! It looks like ./configure failed.
root@eexpress-ubuntu:/opt/rp-pppoe-3.5 # sh go-gui
Running ./configure...
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Oops! It looks like ./configure failed.
上次由 eexpress 在 2005-08-24 17:27,总共编辑 1 次。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#17

帖子 eexpress » 2005-08-21 14:55

ppp0都分配了地址,Timeout waiting for PADS packets ,不懂,Unable to complete PPPoE Discovery 连接失败。有人知道不。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#18

帖子 eexpress » 2005-08-21 15:38

# plog
Aug 21 15:18:05 localhost pppd[8484]: PAP authentication succeeded
Aug 21 15:18:05 localhost pppd[8484]: peer from calling number 00:E0:FC:13:15:04 authorized
Aug 21 15:18:06 localhost pppd[8484]: Cannot determine ethernet address for proxy ARP
Aug 21 15:18:06 localhost pppd[8484]: local IP address 218.76.40.155
Aug 21 15:18:06 localhost pppd[8484]: remote IP address 218.76.40.1
Aug 21 15:18:06 localhost pppd[8484]: primary DNS address 61.137.94.196
Aug 21 15:18:06 localhost pppd[8484]: secondary DNS address 202.103.96.112
● 鸣学
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#19

帖子 yongyi » 2005-08-21 15:44

RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2

opt/rp-pppoe-3.5

好像混用了好多的拨号程序啊!就用pppoeconf就行了吧。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#20

帖子 eexpress » 2005-08-21 15:54

seems only pppoe. but i do nothing, just rest for serval days. Today, it seems all ok. strange!

now is waiting for SCIM and update download processor.
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

终于写了个“GlobeSpan USB ADSL Modem 安装全记录”

#21

帖子 eexpress » 2005-08-31 20:21

● 鸣学
回复