I have finally taken the plunge into the world of OpenWRT and am finding it quite difficult to get started!
Hoping someone can point me in the right direction.
I have successfully upgraded a Netgear R7800 to OpenWRT 19.07.2
This is going into a Draytek Vigor 130 modem and connecting to Plusnet Fibre (UK)
All connected via physical cables.
Windows 10 PC -> R7800 -> Vigor 130 -> Telephone Socket
After following several guides, I am still unable to get wired internet access through the router.
The modem is set to "Bridge Mode" and reports that I have an uplink.
The PC is successfully getting an IP address via DHCP. (presumably from the R7800)
I can connect to the LuCI interface via my PC at 192.168.1.1.
I have interfaces set up as follows
As well as the defaults, I have tried to set up a PPPoE connection to my modem.
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdaf:357b:e852::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth1.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 0t'
config interface 'MODEM'
option proto 'pppoe'
option password ' '
option ipv6 'auto'
option username 'MYUSERNAME@plusdsl.net'
option ifname 'eth0.2'
I never seem to be given a Plusnet IP in the WAN interface. Is this what I am expecting?
I currently get the following statuses in Network->Interfaces
LAN
Protocol: Static address
Uptime: 0h 10m 23s
MAC: 78:D2:94:B5:C8:88
RX: 777.08 KB (7766 Pkts.)
TX: 2.43 MB (4644 Pkts.)
IPv4: 192.168.1.1/24
IPv6: fdaf:357b:e852::1/60
WAN
Protocol: DHCP client
Uptime: 0h 10m 36s
MAC: 78:D2:94:B5:C8:89
RX: 235.23 KB (4564 Pkts.)
TX: 339.46 KB (6037 Pkts.)
IPv4: 192.168.2.10/24
MODEM
Protocol: PPPoE
MAC: 78:D2:94:B5:C8:89
RX: 247.57 KB (4809 Pkts.)
TX: 351.48 KB (6286 Pkts.)
Error: Unknown error (AUTH_TOPEER_FAILED)
I have tried changing lots of different config items based on various guides I've found on the internet with no success.
(Both devices have been reset to factory since, so has cleared all of these trials)
Hoping someone can give me some pointers on what to try next.
Thanks in advance.