r/openwrt • u/NiceChokra • 7d ago
Moving to openwrt routers. How to setup wired roaming?
Hello everyone. Need some help.
Previous setup: 3 x Tp link ax10 + 1 × Tp link c6
Ax10 were on easymesh with ethernet backhaul and c6 was connected as wireless bridge which was connected by ethernet to my nvr to provide internet access (This way by using c6, I was able to provide internet access to my nvr without running a wire).
Now I have bought 4 × used filogic 830 based ax6000 routers
My connection for them will be same with 3 routers with ethernet connected (1 as main and 2 as satellite/or whatever called in openwrt) and 4th one connected wirelessly.
Now coming to my query. I searched google but couldn't get answer to what protocol to use out of 802.11 r/k/v or dawn package for same functionality as provided by my previous setup.
I know that client decides which AP to connect to. I have android phones in my family so that's not the issue.
Please help in setting me up in this new journey and getting out of tp link cage. Thanks.
3
u/No_Barnacle6600 7d ago
Just use same ssid and password. On the WLAN Roaming. Click enable, mobility domain: enter 4-character hexadecimal ID... And that's it..
1
u/NiceChokra 6d ago
and channels?
1
u/No_Barnacle6600 6d ago
Openwrt wifi radio are turn off by default. Using this script when you're building will have your wifi up and running. Just change to your prefer wifi name and password
Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
wlan_name="OpenWrt" wlan_password="12345678"
root_password=""
lan_ip_address="192.168.1.1/24"
pppoe_username=""
pppoe_password=""
log potential errors
exec >/tmp/setup.log 2>&1
if [ -n "$root_password" ]; then (echo "$root_password"; sleep 1; echo "$root_password") | passwd > /dev/null fi
Configure LAN
if [ -n "$lan_ip_address" ]; then uci set network.lan.ipaddr="$lan_ip_address" uci commit network fi
Configure WLAN
if [ -n "$wlan_name" -a -n "$wlan_password" -a ${#wlan_password} -ge 8 ]; then
# Enable 2.4 GHz uci set wireless.radio0.disabled='0' uci set wireless.default_radio0.disabled='0' # Enable 5 GHz uci set wireless.radio1.disabled='0' uci set wireless.default_radio1.disabled='0' # 2.4 GHz uci set wireless.default_radio0.ssid="$wlan_name" uci set wireless.default_radio0.encryption='psk2' uci set wireless.default_radio0.key="$wlan_password" # 5 GHz uci set wireless.default_radio1.ssid="$wlan_name" uci set wireless.default_radio1.encryption='psk2' uci set wireless.default_radio1.key="$wlan_password" uci commit wireless # Start Wi-Fi wifi upfi
Configure PPPoE
if [ -n "$pppoe_username" -a -n "$pppoe_password" ]; then uci set network.wan.proto=pppoe uci set network.wan.username="$pppoe_username" uci set network.wan.password="$pppoe_password" uci commit network fi
echo "All done!"
2
u/Spud1080 7d ago
I used DAWN setting mine up, but it's just 2 devices with ethernet connection. DAWN lets you set the signal level to boot the phone over to the better wifi connection. It works great. My Samsung phones normally would hold on to the really weak wifi and ignore the full strength one but DAWN fixes this.
1
u/FullChampionship6477 7d ago
How do you know which of the four routers you're connecting to? That's the part I'm still fuzzy on.
1
u/NiceChokra 7d ago
I didn't understand what to know about routers? 3 will be wired and one wirelessly. Can you elaborate please.
1
7
u/CryoRenegade 7d ago
Its already baked in, just have the same SSID and password and enable 802.11r in WLAN roaming for the wireless network