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!

OpenWRT routers: Difference between revisions

Content deleted Content added
Adsb (talk | contribs)
Restore earlier instructions
Adsb (talk | contribs)
Redefine WAN VLAN
Line 47: Line 47:
* Under "Network", "Interfaces" edit the wan interface. Change the protocol to PPPoE. Device should be "eth0.2" if you're not using a VLAN, or "eth0.911" or "eth0.101" if you are. Enter your AAISP username and password. Under "Advanced settings", set "Obtain IPv6 address" to automatic, tick "Use default gateway". Under DHCP server, ignore this interface.
* Under "Network", "Interfaces" edit the wan interface. Change the protocol to PPPoE. Device should be "eth0.2" if you're not using a VLAN, or "eth0.911" or "eth0.101" if you are. Enter your AAISP username and password. Under "Advanced settings", set "Obtain IPv6 address" to automatic, tick "Use default gateway". Under DHCP server, ignore this interface.
* Save and apply, then restart the wan interface
* Save and apply, then restart the wan interface
* The wan and wan6 interfaces should now come up online
* The wan and wan_6 interfaces should now come up online


The appropriate entries in ''/etc/config/network'' will look like the following.
The appropriate entries in ''/etc/config/network'' will look like the following.
Line 53: Line 53:
With WAN VLAN:
With WAN VLAN:


config device
config switch_vlan
option type '8021q'
option device 'switch0'
option ifname 'wan'
option vlan '2'
option vid '911' OR '101'
option ports '0t 1t'
option name 'vlan0'
option vid '911' OR '101'

Without WAN VLAN:
Without WAN VLAN:


config device
config device
option name 'eth0.2'
option name 'eth0.2'
option macaddr 'aa.bb.cc.dd.ee.ff'
option macaddr 'aa.bb.cc.dd.ee.ff'
Line 68: Line 68:


config interface 'wan'
config interface 'wan'
option device 'eth0.2' OR 'vlan0'
option device 'eth0.2' OR 'eth0.911' OR 'eth0.101'
option proto 'pppoe'
option proto 'pppoe'
option username 'xxnn@a.1'
option username 'xxnn@a.1'