Problem
Shantanoo Mahajan
shantanoo at gmail.com
Sat Nov 20 08:29:46 PST 2004
+++ Mackgirl1976 at aol.com [freebsd] [15-11-04 23:03 -0500]:
| Instead of a normal dial-up connection, I have to get complicated with a
| Point to Point Protocol Over Ethernet Digital Subscriber Line, unfortunately, the
| computer doesn't want to cooprate, I'm using FreeBSD version 4.10, and am
| assuming that the kernel doesn't need to be reconfigured to support PPPoE. I'm
| using the instructions and configuration file from
| http://www.daemonnews.org/200101/pppoe.html.
| The network card is a Realtek RTL8139/810x 10/100 auto switching fast
| ethernet NIC, and shows up as rl0, the bootup device list is at the bottom of this
| page. Also, I would like the aforementioned NIC to automatically bring itself
| UP on bootup.
|
| This is what happened while following the instructions from
| http://www.daemonnews.org/200101/pppoe.html:
| # ls -l /dev/tun?
| crw------- 1 root wheel 52, 0 Sep 3 02:14 /dev/tun0
| crw------- 1 root wheel 52, 1 Sep 3 02:14 /dev/tun1
| crw------- 1 root wheel 52, 2 Sep 3 02:14 /dev/tun2
| crw------- 1 root wheel 52, 3 Sep 3 02:14 /dev/tun3
| # edit /etc/ppp/ppp.conf
|
|
| (Beginning of configuration file)
| #
| # ppp.conf: PPPoE configuration
| #
|
| default:
| # PPP over Ethernet
| set device PPPoE:rl0
| set speed sync
| set mru 1492
| set mtu 1492
| set ctsrts off
|
| # monitor line quality
| enable lqr
|
| # log just a bit
| set log phase tun
|
| # insert default route upon connection
| add default HISADDR
|
| # download /etc/resolv.conf
| enable dns
|
| papchap:
| set authname rxp110
| set authkey (My Password)
| (End of configuration file)
try putting following:
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
before:
add default HISADDR
Regards,
Shantanoo
More information about the freebsd-questions
mailing list