Connecting ISP problem

Stephen Liu satimis at icare.com.hk
Mon Feb 23 06:03:42 PST 2004


Hi folks

FreeBSD 5.2
new installation

2 NICs
Broadband Connection - to ISP via ADSL modem, running pppoe

# start pptp
command not found

# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=8<VLAN_MTU>
    inet6 fe80::250:fcff:fe61:f394%rl0 prefixlen 64 scopeid 0x1
    inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
    ether 00:50:fc:61:f3:94
    media: Ethernet autoselect (10baseT/UTP)
    status: active
rl1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
    options=8<VLAN_MTU>
    ether 00:50:fc:6c:70:f7
    media: Ethernet autoselect (10baseT/UTP)
    status: no carrier
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4


cat /etc/rc.conf
inetd_enable="YES"
keymap="us.pc-ctrl"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="YES"

ifconfig_rl0="DHCP"
ppp_enable="YES

ifconfig_rl0="DHCP"
ipv6_enable="YES"
hostname="icare.com.hk"


cat /etc/resolv.conf
search domain.com
nameserver 192.168.2.1


cat /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 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)

papchap:
 set phone PHONE_NUM
 set authname USERNAME
 set authkey PASSWORD

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR            # Add a (sticky) default route


Kindly advise how to make
# start pptp
to work

TIA

B.R.
Stephen Liu


More information about the freebsd-questions mailing list