- 论坛徽章:
- 0
|
现在拨号的时候显示:No available tunnel devices found(No such file or directory)
我的ppp.conf
default:
set log Phase tun command
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
set device PPPoE:lnc0
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
PPPoE:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
set phone PHONE_NUM
set authname ####
set authkey ******
set ifaddr 10.0.0.1/0 10.0.0.2/0
add default HISADDR # Add a (sticky) default route
我的ifconfig
lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>; mtu 1500
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::20c:29ff:fe2c:c5c6%lnc0 prefixlen 64 scopeid 0x1
ether 00:0c:29:2c:c5:c6
lp0: flags=8810< OINTOPOINT,SIMPLEX,MULTICAST>; mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>; mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010< OINTOPOINT,MULTICAST>; mtu 1500
sl0: flags=c010< OINTOPOINT,LINK2,MULTICAST>; mtu 552
faith0: flags=8002<BROADCAST,MULTICAST>; mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
inet 10.0.0.1 -->; 10.0.0.2 netmask 0xffffffff
Opened by PID 179
tun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
Opened by PID 197
tun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
Opened by PID 199
tun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
Opened by PID 202 |
|