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

Redefine WAN VLAN
(Restore earlier instructions)
(Redefine WAN VLAN)
* 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
* The wan and wan6wan_6 interfaces should now come up online
 
The appropriate entries in ''/etc/config/network'' will look like the following.
With WAN VLAN:
 
config deviceswitch_vlan
option typedevice '8021qswitch0'
option ifnamevlan 'wan2'
option vidports '911' OR0t 1t'101'
option namevid 'vlan0911' OR '101'
 
Without WAN VLAN:
 
config device
option name 'eth0.2'
option macaddr 'aa.bb.cc.dd.ee.ff'
 
config interface 'wan'
option device 'eth0.2' OR 'vlan0eth0.911' OR 'eth0.101'
option proto 'pppoe'
option username 'xxnn@a.1'
editor
501

edits