Hi experts,
First of all, sorry if I'm asking anything dumb. I'm very new to openWRT and networking in general.
I will first start by stating my need.
I have a local server running at home, were I have ZeroTier installed so I can access it remotely. Now I want to also be able to access it from a very specific device on my parents.
I'm using a TL-WR941ND, which was very hard to install ZeroTier on. I managed to build a custom image, even thought it had to be an older version of openWRT. Unfortunately I had to give up lucy to have enough space for ZeroTier.
My idea is to have my parents router connect to this TP Link one by ethernet. And then another ethernet cable from the TP to the specific device.
I've tried to setup this via the command line, just by editing /etc/config/network. I don't require wireless.
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 'fd04:8e1e:9d52::/48'
config interface 'eth'
option ifname 'eth0'
option proto 'none'
config interface 'lan'
option type 'bridge'
option ifname 'lan1 lan2 lan3 lan4'
option proto 'static'
option ipaddr '192.168.1.4'
option netmask '255.255.255.0'
option gateway 192.168.1.1
option dns 192.168.1.1
config interface 'wan'
option ifname 'wan'
option proto 'dhcp'
config interface 'wan6'
option ifname 'wan'
option proto 'dhcpv6'
This gave me internet access. But everytime I reboot the router, it seems I have to enable Wifi on the device, and then turn off, to have internet via ethernet. Which makes me think I have setup something wrong, somewhere.
I have ethernet from main router connected to TP's Lan1 port. And then ethernet cable from TP's Lan2 to the device.
Also, I was able to configure zerotier, and if I perform a zerotier-cli info, it always shows as online. But if I go to zerotier central, that specific device always seem to be offline.
Any insights are really appreciated.
Thank you!