我有一个有线 PPPOE 连接(一根线直接从我的窗户出来并连接到 CPU)。
这是我在 WindowsXP 双启动中的连接方式:
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1f:d0:e9:3b:67
inet6 addr: 2002:cab3:563b:4:21f:d0ff:fee9:3b67/64 Scope:Global
inet6 addr: fec0::4:21f:d0ff:fee9:3b67/64 Scope:Site
inet6 addr: fe80::21f:d0ff:fee9:3b67/64 Scope:Link
inet6 addr: 2002:cab3:563b:4:e8b4:6af0:2e4f:6792/64 Scope:Global
inet6 addr: fec0::4:e8b4:6af0:2e4f:6792/64 Scope:Site
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:983 errors:0 dropped:17 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:110704 (110.7 KB) TX bytes:8719 (8.7 KB)
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:144 errors:0 dropped:0 overruns:0 frame:0
TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10976 (10.9 KB) TX bytes:10976 (10.9 KB)
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1f:d0:e9:3b:67
inet6 addr: 2002:cab3:563b:4:21f:d0ff:fee9:3b67/64 Scope:Global
inet6 addr: fec0::4:21f:d0ff:fee9:3b67/64 Scope:Site
inet6 addr: fe80::21f:d0ff:fee9:3b67/64 Scope:Link
inet6 addr: 2002:cab3:563b:4:e8b4:6af0:2e4f:6792/64 Scope:Global
inet6 addr: fec0::4:e8b4:6af0:2e4f:6792/64 Scope:Site
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16096 errors:0 dropped:35 overruns:0 frame:0
TX packets:764 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2089011 (2.0 MB) TX bytes:78962 (78.9 KB)
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:204 errors:0 dropped:0 overruns:0 frame:0
TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15872 (15.8 KB) TX bytes:15872 (15.8 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:111.125.231.234 P-t-P:202.179.72.226 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:668 errors:0 dropped:0 overruns:0 frame:0
TX packets:633 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:502206 (502.2 KB) TX bytes:50026 (50.0 KB)
尝试sudo pppoeconf
并输入我的密码和用户名。
我尝试了有线连接,甚至 DSL 连接,但都不起作用。有趣的是,当我尝试致电互联网提供商时,他们说:“如果你使用 Linux,你必须能够自己解决问题”。
我在某处读到有人编辑了ppp.conf
文件并放入了ACNAME=
类似这样的内容f10-suhar
。我不知道为什么,但对他来说这很有用。
sudo pppoeconf
连接已设置,但它一直打开一个带有我的用户名和密码的窗口并要求连接,但没有任何连接。