调制解调器。。。。
# eciadsl-start
[EciAdsl 1/5] Setting up USB support...
Preliminary USB device filesystem is OK
[EciAdsl 2/5] Uploading firmware...
GlobeSpan GS7070 USB ADSL WAN Modem compatible modem found (in 2424ms)
eciadsl-firmware: success
firmware loaded successfully
[EciAdsl 3/5] Synchronization...
OK eciadsl-synch: success
Synchronization successful
[EciAdsl 4/5] Connecting to provider...
Connection successful
[EciAdsl 5/5] Setting up route table...
Waiting for tap0...
驱动完全正常。。。
# 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:723 errors:0 dropped:0 overruns:0 frame:0
TX packets:723 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:64796 (63.2 KiB) TX bytes:64796 (63.2 KiB)
tap0 Link encap:Ethernet HWaddr 00:FF:41:E8:0D:C6
inet6 addr: fe80::2ff:41ff:fee8:dc6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:378 (378.0 b)
# pppoeconf tap0
┌─────────────┤ DSL CONNECTION FOUND ├─────────┐
│ │
│ I found an Access Concentrator on tap0. Should I setup │
│ PPPOE for this connection? │
│ │
│ <是> <否> │
│ │
└──────────────────────────────────┘
│ If you continue with this program, the configuration file │
│ /etc/ppp/peers/dsl-provider will be modified. Please make sure│
│ that you have a backup copy before saying Yes. │
│ │
│ Continue with configuration? │
└───────────────────────────────────────┘
│ The DSL connection has been triggered. You can use the │
│ "plog" command to see the status or "ifconfig ppp0" │
│ for general interface info. │
└────────────────────────────────────┘
need setup /etc/resolv.conf 修改DNS
# 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,没有提示版本低了。
没有已经连接的提示。。。。
# 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.
可能是MTU的问题????认证问题???但密码等应该没错。
below is file content of /etc/ppp/peers/dsl-provider
noipdefault
usepeerdns
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1492
noaccomp
default-asyncmap
plugin rp-pppoe.so tap0
user "CSD1873424"