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

Content deleted Content added
TomJepp (talk | contribs)
Written up to the end of the pppd configuration
 
TomJepp (talk | contribs)
m Changes to headings.
Line 5: Line 5:
This guide provides an example configuration for Debian Jessie.
This guide provides an example configuration for Debian Jessie.


== Prerequsites ==
= 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 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)
* a ADSL or FTTC modem, or a fibre ONT (for FTTP) (as appropriate for your connection)


== Assumptions ==
= Assumptions =
* '''eth0''' is plugged directly into your modem or ONT
* '''eth0''' is plugged directly into your modem or ONT
* '''eth1''' will be used for your LAN
* '''eth1''' will be used for your LAN


== Howto ==
= Howto =


=== Setting up pppd ===
== Setting up pppd ==
pppd will be used to actually connect to A&A.
pppd will be used to actually connect to A&A.


Line 30: Line 30:
'''/etc/ppp/options''' should be left as-is - we will not change this file.
'''/etc/ppp/options''' should be left as-is - we will not change this file.


==== /etc/ppp/peers/aaisp ====
=== /etc/ppp/peers/aaisp ===
This file contains the settings that are used to configure your connection to A&A:
This file contains the settings that are used to configure your connection to A&A:


Line 68: Line 68:
* '''ifname pppoe-aaisp''' - renames the PPP connection from an automatically generated name (such as ppp0) to pppoe-aaisp - this makes further configuration easier!
* '''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 ====
=== /etc/ppp/chap-secrets ===
This file contains the password that is used to connect to A&A.
This file contains the password that is used to connect to A&A.


Line 77: Line 77:
Replace "YourLinePasswordGoesHere" with the password for your A&A connection.
Replace "YourLinePasswordGoesHere" with the password for your A&A connection.


==== Making IPv6 work with pppd ====
=== Making IPv6 work with pppd ===
Out of the box, you'll notice that you can't access the internet using IPv6.
Out of the box, you'll notice that you can't access the internet using IPv6.


Line 93: Line 93:
This file will now be run every time your PPP connects, and will automatically create an IPv6 default route!
This file will now be run every time your PPP connects, and will automatically create an IPv6 default route!


==== Testing pppd ====
=== Testing pppd ===


Before you proceed, you should test your ppp configuration.
Before you proceed, you should test your ppp configuration.