Hi there, hopefully someone can help me.
I've just switched ISP and I can't get my TP-Link Archer C7 with OpenWRT to work.
The new ISP uses DHCP and VLAN, but their instructions are pretty lightweight (https://support.simplybroadband.co.nz/settings) - OpenWrt is quite a bit more powerful than off the shelf solutions and I'm out of my depth.
The ISP's instructions simply say to use DHCP and enable VLAN with VLAN ID 10. I found instructions for another ISP that has the same requirements (https://openwrt.org/docs/guide-user/network/wan/isp-configurations#slingshot_fibre) and tried to copy them, but wasn't sure which parts of my network config not to alter.
Currently Luci shows an error in Network Interfaces for wan and wan6, stating "Error: Network device is not present".
Below is my /etc/config/network:
Okay, I solved it. I don't even really remember how I got to the result, but the wan.10 device was the problem. Here's the updated config that is currently working:
config interface 'wan'
option proto 'dhcp'
option hostname '*'
option device 'eth0.10'
config interface 'wan6'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option device 'eth0.10'
config device
option name 'eth0.10'
option type '8021q'
option ifname 'eth0'
option vid '10'
option ipv6 '0'
I believe that was the issue. "wan" was the name of the interface I was creating, which was connected to the device named "wan.10", which was connected to the interface named "wan"... you get the drift.
By creating a device that connected to an actual port (whatever the proper word is), and then connecting the interfaces to that device, it fixed it.
Thanks to both of you.
I have fumbled my way into making the VLAN Switch changes, but wasn't sure if I could delete/modify the existing VLAN2 so just left it. I've deleted it now.
As an aside, I disabled IPv6 purposely, but for completely unrelated reasons; so that part of my config isn't required (for anyone reading this in the future).
I see you have updated the ISP configuration page and it all looks perfect. Thanks for that (I will also let my ISP help desk know they can reference it for OpenWrt customers.
Thanks again.
Cheers
Wayne