雖然已經是老東西了,但還是時常用的到,就打下來吧...
路徑:/etc/ppp/
vi ppp.conf
default:
|
# tuch /ect/ppp/ppp.deny
測試:
# ppp -ddial Hinet
# ifconfig
lnc0: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 ether 2b:00:00:00:00:2b plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492 inet 163.140.4.109 --> 163.170.102.254 netmask 0xffffffff Opened by PID 763 |
OK.
寫入rc.conf 讓它開機就上網吧
# vi /etc/rc.conf
#=====加入===== |