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!

Router:Linux - Debian: Difference between revisions

m
Changes to headings.
(Written up to the end of the pppd configuration)
 
m (Changes to headings.)
This guide provides an example configuration for Debian Jessie.
 
== Prerequsites ==
* a Linux PC with Debian Jessie already installed and two network interfaces - one for the connection to the modem, and one for the connection to your LAN
* a ADSL or FTTC modem, or a fibre ONT (for FTTP) (as appropriate for your connection)
 
== Assumptions ==
* '''eth0''' is plugged directly into your modem or ONT
* '''eth1''' will be used for your LAN
 
== Howto ==
 
=== Setting up pppd ===
pppd will be used to actually connect to A&A.
 
'''/etc/ppp/options''' should be left as-is - we will not change this file.
 
==== /etc/ppp/peers/aaisp ====
This file contains the settings that are used to configure your connection to A&A:
 
* '''ifname pppoe-aaisp''' - renames the PPP connection from an automatically generated name (such as ppp0) to pppoe-aaisp - this makes further configuration easier!
 
==== /etc/ppp/chap-secrets ====
This file contains the password that is used to connect to A&A.
 
Replace "YourLinePasswordGoesHere" with the password for your A&A connection.
 
==== Making IPv6 work with pppd ====
Out of the box, you'll notice that you can't access the internet using IPv6.
 
This file will now be run every time your PPP connects, and will automatically create an IPv6 default route!
 
==== Testing pppd ====
 
Before you proceed, you should test your ppp configuration.
51

edits