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)
Redefine WAN VLAN
Adsb (talk | contribs)
Packages
Tags: Mobile edit Mobile web edit
 
(One intermediate revision by the same user not shown)
Line 81: Line 81:
* Under "Network", "Interfaces" edit the wan interface. Change the protocol to PPPoE. Device should be "wan" if you're not using a VLAN, or "wan.911" or "wan.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 "wan" if you're not using a VLAN, or "wan.911" or "wan.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'' should look like the following. If you do not have Luci installed, make these edits to "/etc/config/network".
The appropriate entries in ''/etc/config/network'' should look like the following. If you do not have Luci installed, make these edits to "/etc/config/network".
Line 176: Line 176:
default from 2001:8b0:xyz:4520::/60 via fe80::9e89:1eff:fe2e:0 dev pppoe-wan metric 512
default from 2001:8b0:xyz:4520::/60 via fe80::9e89:1eff:fe2e:0 dev pppoe-wan metric 512
...
...

= Installing packages =

One of OpenWrt's key features is being able to install extra software packages. For example, you can install a VPN server on the router, or add SFTP support to the SSH server.

On the Luci web interface go to "System","Software", and click "Update lists...". You can then search for and install packages. ''openssh-sftp-server'' might be useful, or the ''nano'' text editor for in-situ changes to the configuration.

From the command line, ''opkg'' is the tool to manage packages. "opkg update" to update the lists, "opkg find openssh*" to search, "opkg install wireguard-tools" to install.


= Advanced configuration of the local network =
= Advanced configuration of the local network =