Hello!
I have a router setup as a wifi repeater with relayd as described here and it works correctly, i.e. I can connect to the repeater AP and have internet.
The issue is that I can't do things like update the package list, or ping domains from the router's shell, as if it wasn't connected to the internet.
I'm guessing I have something to change in my interfaces, but to be honest I'm a little lost here. Please help
/etc/config/network (hope it helps, I can provide more details)
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 'fdbd:8db8:7bb5::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '192.168.0.1'
option dns '192.168.0.1'
config device 'lan_eth0_1_dev'
option name 'eth0.1'
option macaddr 'b0:4e:26:4b:3e:31'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config device 'wan_eth0_2_dev'
option name 'eth0.2'
option macaddr 'b0:4e:26:4b:3e:32'
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 '0 6t'
config interface 'repeater_bridge'
option proto 'relay'
option ipaddr '192.168.0.2'
list network 'lan'
list network 'wwan'
config interface 'wwan'
option proto 'static'
option ipaddr '192.168.0.2'
option netmask '255.255.255.0'
Thanks!