我在freebsd 5.1用adsl上网,
ppp.conf如下:
default:
set log Phase tun command
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
CNC:
set device PPPoE:vr0
set authname #username#
set authkey #password#
set dial
set login
enable dns
add default HISADDR # Add a (sticky) default route
然后运行ppp -ddial CNC
系统提示:
Working in ddial mode
Using interface:tun0
Warning:label in /etc/ppp/ppp.conf(line16)--missing colon
(line16 即是红色之位置)
之后不能上网,请大家帮帮忙!!!