Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

IPv6 SpeedTouch: Difference between revisions

clean up
(clean up)
My configuration is based on a Linksys NSLU2 running Debian Squeeze (testing). However, any Debian (or Ubuntu) box should work fine, and I am not aware of anything in this configuration that would not work in Debian Lenny (stable).
 
=== Debian on the NSLU2 ===
The NSLU2 has the advantage of running on very low power (<5W) and silently. A Sheevaplug or similar would be a good alternative. An excellent guide to installing Debian on the NSLU2 (and Sheevaplug) can be found on [http://www.cyrius.com/debian/nslu2/ Martin Machlmayr's site].
 
=== Configuring the Speedtouch modem ===
Configuring the Speedtouch modem on recent versions of Debian is straightforward. Firstly, you need to obtain the USB firmware for the Modem. I obtained my copy [http://ftp.linux.it/pub/People/md/warez/speedtouch-firmware.tgz here]. Other possible locations and more comprehensive guide to setting up the Speedtouch USB modem on Ubuntu (or Debian) can be found [https://help.ubuntu.com/community/UKSpeedtouchDSLHowTo here].
 
<tt># apt-get install ppp libatm1</tt><br />
 
=== Configuring the ADSL Connection ===
Copy the example ADSL configuration file for PPPoA to the /etc/ppp/peers directory and call it aaisp:
 
<tt>"myusername@a.1" "*" "mypassword"</tt>
 
=== IPv6 Configuration ===
Again in /etc/ppp/peers/aaisp, you need to add a line to the file to tell it to bring up ipv6. The addresses after the ipv6 option are the link local addresses, and are not related to the ipv6 address range for aaisp. So just use something like ::1 and ::2 unless you've reason to do otherwise. Just add a line to the file:
 
<tt>ifconfig</tt> should now show a ppp0 connection with the ipv4 address allocated automatically, and the newly configured ipv6 address.
 
=== LAN configuration ===
On the LAN side of your Linux box you want to configure a LAN address. This will usually be a different subnet. In my case, I chose 2001:8b0:xxxx:1::/64. Edit /etc/network/interfaces, and include the following lines (assuming your LAN interface is eth0):
 
Also, install and configure <tt>radvd</tt> if you wish to advertise the appropriate ipv6 subnet on the LAN.
 
=== Firewall ===
You'll probably also want to ensure your LAN is protected from the big bad internet by a firewall. I did this by including two files in /etc/network/if-up.d/.
 
editor
698

edits