Posted: Sat Sep 18, 2021 19:37 Post subject: Advanced WRT54GL Mesh/WDS setup
I'm wanting to install a WRT54GL on multiple farm tractors for the purpose of sharing IP camera streams between tractors on the same field. My thought was to use WDS to mesh the routers wirelessly. At first I was planning to have each tractor be its own subnet, wirelessly connect to Ubiquiti AP on the main yard tower but still wanting the dd-wrt routers to mesh wirelessly, is that possible? I couldn't get them to mesh. Now I'm thinking of having the dd-wrt routers on their own subnet all together, run them in AP with WDS but how can I have a dhcp server on each without interfering with each other?
Each tractor will have an IP camera;
Each tractor will have a WRT54GL;
All will need to connect to the Ubiquiti AP;
You want to share the IP camera feed of each tractor throughout;
And perhaps somewhere else in a central location?
Will the IP cameras be wired or wireless? _________________ An old man said, “Erasers are made for those who make mistakes.” A youth replied, “Erasers are made for those who are willing to correct their mistakes!” Attitude matters! ~ Anonymous
----------
“You are always a student, never a master. You have to keep moving forward.” ~ Conrad Hall
----------
“Life is about moving on, accepting changes and looking forward to what makes you stronger and more complete.” ~ Anonymous
Each tractor will have an IP camera;
Each tractor will have a WRT54GL;
All will need to connect to the Ubiquiti AP;
You want to share the IP camera feed of each tractor throughout;
And perhaps somewhere else in a central location?
Will the IP cameras be wired or wireless?
There will also be a tablet in each tractor for viewing the IP cameras, most likely connecting wirelessly to its tractor's WRT. Most of the time the tablet will be viewing only the cameras on its own tractor.
It's more important that the WRT routers connect wirelessly to each other than connecting to the Ubiquiti AP, most of the time they'll be out of range of the Ubiquiti AP. I want some tractors to be able to view a camera on another tractor when close enough even when out of range of the Ubiquiti AP. In fact the desire to connect to the Ubiquiti AP is only a nice-to-have option.
Most of the cameras will be wired, possibly only one or two wireless in total.
I will be mounting external, high gain omni antennae.
I'm thinking of just starting with a each WRT having it's own IP on the same subnet, each WRT running in wireless AP mode with WDS setup. How does the lazy WDS option come into play here? How can I have each WRT's dhcp server hand out IPs only to devices connected directly to it via ethernet or wireless and not try to assign IPs across the wireless WDS links?
Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Posted: Mon Sep 20, 2021 19:10 Post subject:
Perhaps someone smarter than me and my former alter-ego can chime in and help you out. From my perspective, I think with WDS, you are using one DHCP server for the entire subnet and that cannot be changed (I could be wrong as heck!). On your main DHCP server, you *can* use static leases to ensure the cameras get the same IP every single time. Just a note, though. I don't think that WDS can be used with the wired ethernet ports on your station devices. Only Client Bridge or Repeater Bridge can.
Just a note, though. I don't think that WDS can be used with the wired ethernet ports on your station devices. Only Client Bridge or Repeater Bridge can.
I'm not sure what you mean by saying this. From my experience, WDS wirelessly connects two routers logically as though they are connected with a cable.
I won't need DHCP for the cameras, but rather for tablets and phones connecting to the WRT for camera viewing purposes. I'm hoping there's a way to limit each WRT's DHCP server to directly connected devices only. I may just have to assign static IPs to the devices themselves as there won't be a "main" WRT in my setup to assign IPs dynamically.
I should clarify further, there won't be a main/master WRT. At any given time, there could be any combination of active WRTs so I need the setup to be completely decentralized.
You can't use WDS without a WDS AP AFAIK; same goes for MESH. There has to be a central WDS AP (i.e. your Ubiquiti AP).
I don't think my ubiquiti ap will be compatible with wrt/ddwrt wds, the wds page even states that mixing brands usually doesn't work and there's no wds settings for the ubiquiti. I think the only way I can connect them is as a wireless client.
I have two WRTs connected now according to the wds guide posted by you. Neither has any special setting to distinguish it as a main/master unit. Tomorrow I hope to add a 3rd (add its mac to the other twos' wds list) and see how that goes.
You might consider using Raspberry Pi 4s running OpenWRT. You would need to use a USB wifi adapter with an external antenna connector probably to do this and an additional 4 port switch, depending on how many wired cameras you have. It would be much faster than the now very old WRT54GL routers, have more RAM and much more CPU power with 4 cores. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.