Setting up the modem for first use
This is pretty much beyond the scope of this how-to. The fact that you are reading this means you already have an old Speedtouch which probably has been used before. If so, it also means the modem is set up properly and ready to go.
If not than I’d like to point you at Google – there has to be one person on this planet who has documented how to set up the modem for your ADSL provider.
For the lucky dutch speaking people here, you can look at this site which explains how to run the configuration for the modem: http://www.xs4all.nl/~rmeijer/adsl/
System setup
We will first modify the system before setting up the software.
Kernel configuration
I am using the 2.6.12.5 kernel so if you are uing a different kernel the options might differ a bit. Make sure the following options are selected (either compiled in the kernel or as modules):
Linux Kernel Configuration: PPP Support
Device Drivers --->
Networking support --->
<M> PPP (point-to-point protocol) support
<M> PPP support for sync tty ports
<M> PPP support for async serial ports (optional - used when troubleshooting)
<M> PPP Deflate compression
<M> PPP BSD-Compress compression
If you decide to compile the options as modules do not forget to add them to your /etc/modules.autoload.d/kernel-2.6 file. The modules will be called:
- ppp_generic
- ppp_synctty
- ppp_async
- ppp_deflate
- bsd_comp
Example of what you should add to the autload when you compile the ppp support as modules.
File: /etc/modules.autoload.d
...
ppp_generic
ppp_synctty
ppp_deflate
bsd_comp
Either load the modules now or reboot using your new kernel before continuing with compiling ppp.
Setting up the network
We now need to make sure the network is configured properly. As this server will be a DHCP server as well as a router we will set both network cards with static configuration.
File: /etc/conf.d/net
# This is the connection to the modem
config_eth0=("10.0.0.100 netmask 255.255.255.0" )
# This is the connection to the lan
config_eth1=( "192.168.0.1 netmask 255.255.255.0" )