www.Lucq.org |
|||||||||||
Using Belgacom Turboline ADSL with OpenBSDIn my opinion, using an external ADSL modem is still the best choice. Since this is the type of modem that I use at home, the rest of this page deals only with setting up the connections over this type of modem. The Alcatel SpeedTouch USB should be also supported, check the general ADSL page on my site for more information. Belgacom Turboline uses PPPoE to establish the actual ADSL connection over a bridging modem. The following is the PPP configuration file (“/etc/ppp/ppp.conf”) that I use on my OpenBSD firewall at home: default:
set log Phase Chat LCP IPCP CCP LQM tun command
pppoe:
set device !/usr/sbin/pppoe -i ne0
set mtu 1450
set mru 1450
set speed sync
disable acfcomp protocomp
deny acfcomp
set authname "login"
set authkey "password"
set timeout 0
enable lqr
set lqrperiod 10
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
nat enable yes
add default HISADDR
Here “login” and “password” should of course by replaced with your given login and password, as provided by your ISP. To start the ADSL connection simply use the command ppp -background pppoe This will start the ADSL connection and fork the ppp(8) daemon to the background. Watch the exit code of the ppp command to verify that the connection was started. Automating connection startup and shutdown is not difficult, if you read the appropriate man-pages. I leave this as an exercise for the read... (yes, I have my own scripts to do this, but life should never be too easy, should it?). |
|||||||||||