Help configuring a [wireless] Wireless Dumb AP

Hello All,

I am trying to configure a wireless dumb AP (aka wirelessly connected, not physically). I was able to successfully follow this tutorial to get a wired dumb AP working - https://openwrt.org/docs/guide-user/network/wifi/dumbap

However, I seem to be unable to get it to work if the connection to the main router is wireless. aka : [Internet] ==== [Primary] ~~~~~(Wireless) ~~~ [AP]

My current state:

  • [Primary] is a Linksys WRT3200ACM with 23.05.0 installed
  • [Wired AP] is a D-Link DIR825B1 with 22.03.5 installed
  • [Wireless AP] is a Linksys E4200 v2 with 22.03.5 installed
  • [Wired AP] is a dumb AP https://openwrt.org/docs/guide-user/network/wifi/dumbap
  • [Primary] and [Wired AP] are both broadcasting 2.4 and 5ghz networks with fast transition enabled. Working perfectly. Clients can connect to either router, get IPs, and have internet.
  • [Wireless AP] setup to be a DumbAP (Like the Wired one, but with a wireless tether instead of Wired)
  • [Wireless AP] Has Joined the 5ghz network from the [Primary] router
  • [Wireless AP] has a static IP, and has internet access (SSH into device, ping google, success)
  • While connected to [Primary]'s AP, I can open the [Wireless AP] Luci interface.
  • [Wireless AP] is broadcasting a wireless AP on the 2.4ghz band (unique for now, will setup for roaming later)
  • Devices attempt to connect to [Wireless AP] but do not get IP (Can see handshake in logs, but no IP assignment.
  • both wireless APs from [Wireless AP] are attached to the wwan interface (which is setup to be a dumb ap):
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.path='mbus@f1000000/mbus@f1000000:pcie@82000000/pci0000:00/0000:00:01.0/0000:01:00.0'
wireless.radio0.channel='1'
wireless.radio0.band='2g'
wireless.radio0.htmode='HT20'
wireless.radio0.cell_density='0'
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.path='mbus@f1000000/mbus@f1000000:pcie@82000000/pci0000:00/0000:00:02.0/0000:02:00.0'
wireless.radio1.channel='36'
wireless.radio1.band='5g'
wireless.radio1.htmode='HT20'
wireless.radio1.cell_density='0'
wireless.wifinet0=wifi-iface
wireless.wifinet0.device='radio1'
wireless.wifinet0.mode='sta'
wireless.wifinet0.ssid='Primary AP'
wireless.wifinet0.encryption='psk2'
wireless.wifinet0.key='Primary AP Password'
wireless.wifinet0.network='wwan'
wireless.wifinet1=wifi-iface
wireless.wifinet1.device='radio0'
wireless.wifinet1.mode='ap'
wireless.wifinet1.ssid='SomeOtherAP'
wireless.wifinet1.encryption='psk2'
wireless.wifinet1.key='SomeOtherAPPassword'
wireless.wifinet1.network='wwan'

I am not sure why clients on this device are not getting an IP address?

Wel, that is not, technically, a dumb AP set up. It is a repeater if it is not wired. (some may call it a mesh).

So, there needs to be a change of mindset. Dumb APs are, relatively, easy; multiple wireless repeaters can be quite tricky.

And you have multiple (?) routers trying to be repeaters?

Please break the setup down for a 4 year old. I'm lost trying to follow it.

I will try my best! I know "roaming" and "Mesh" are thrown around on the forums kind of interchangeably so I was avoiding those words as much as I can! I will try to re-phrase it and remove some info that is not important to what I am trying to do specifically here.

I do have multiple routers that are being repeaters, but only one wireless repeater.

Internet comes into the Primary Router
Primary Router has two Wireless Access Points, Lets call the Primary5g and Primary2g
Second Router will have one Wireless Access Point, call that one Secondary2g
Second Router will use its 5g Antenna to connect to Primary5g (and not broadcast a secondary 5g ap)

I want to connect to Secondary2g and get internet.

I mocked up a basic image that I think helps?
https://i.imgur.com/zTm1XXN.png

Okay, that, technically, could be a dumb AP, if the bond on both APs are using a virtual wire that nothing else can connect to. But Primary is taking clients from anyone, including Secondary.

Before I get into this I have a suggestion/option; dismiss it if you want, you don't even have to explain why:

If you do not need 2.4 for legacy devices, I would create that virtual wire on 2.4Ghz because it penetrates better but, it does hate bluetooth and microwave ovens.

In what interface(s) are the radios in on Secondary?

I do need the 2.4 for a wifi camera at the edge of my property that the main router cant get to unfortunately (otherwise I would agree with you!)

I put both radios on secondary in the wwan interface (perhaps incorrectly)

The uci show results for both wifi and the interface is in the original post - i can also execute other commands for you if you want more info.

This won't take long but we are going to reset Secondary. Is it Openwrt?
If so, reset, and upgrade. If it is a really old version flash with latest. If it is not, this might take longer as we will need more back and forth.

In the mean time watch this video.

You can glaze over the ethernet (it won't hurt to know for the future) parts but it is, practically the same thing: what to disable and such. Watch it at least once before you try to follow it so you get the over view.

Please touch base with just the basics answer I asked and before you start changing things.

Just heading to dinner so will check back after that.

Openwrt version 22.03.5. I've done a dozen resets today so far so no biggy there.

1 Like

OK, so watched the video (it is for 18.06, so very old :P) - it seems to be a video version of the instructions I have done for a wired dumb AP. https://openwrt.org/docs/guide-user/network/wifi/dumbap

That said, I have followed along and now on the same page as much as I can for the mis-matched version

The reason is that an ordinary AP-STA link does not support bridging. However since you have OpenWrt on both ends, it should be possible to use WDS. I say should be possible because the wireless support for the Marvell chips has some problems.

Enable WDS on both sides of the AP-STA link that is feeding the "wireless AP." On the 4200 place both the output AP (for users) and the STA (linked back to the 3200) into the lan network, since it is already a bridge. This is the same network configuration as a wired dumb AP except that the link to the upstream LAN is now wireless (WDS)

It does. It works on all travel routers

The thread is all yours.

Travel routers don't bridge, they route. The hotel AP sees one MAC address and one IP, the same as if a single endpoint phone or laptop were connected to it, which allows an ordinary non-WDS link to work.

This also has the advantage for travelers that they are firewalled from other users or malice that may exist on the hotel network.

Hmm, that didnt seem to work. Lost contact with the 4200 once I put it in Client (WDS) mode.

The logs on the 3200 see it connecting, but isint seeing its IP for some reason.

Wed Jan 24 20:16:02 2024 daemon.notice hostapd: wl5: AP-STA-DISCONNECTED ****:f4
Wed Jan 24 20:16:02 2024 kern.debug kernel: [13345.785939] ieee80211 phy0: staid 1 deleted
Wed Jan 24 20:16:02 2024 daemon.info hostapd: wl5: STA ****:f4 IEEE 802.11: associated (aid 1)
Wed Jan 24 20:16:02 2024 daemon.info hostapd: wl5: STA ****:f4 IEEE 802.11: authenticated
Wed Jan 24 20:16:03 2024 daemon.notice hostapd: wl5: AP-STA-CONNECTED ****:f4 auth_alg=open
Wed Jan 24 20:16:03 2024 daemon.info hostapd: wl5: STA ****:f4 WPA: pairwise key handshake completed (RSN)
Wed Jan 24 20:16:03 2024 daemon.notice hostapd: wl5: EAPOL-4WAY-HS-COMPLETED ****:f4
Wed Jan 24 20:16:13 2024 daemon.err hostapd: nl80211: kernel reports: key addition failed
Wed Jan 24 20:16:23 2024 daemon.warn odhcpd[2439]: No default route present, overriding ra_lifetime!

Let me know if you want me to try something, or just reset the 4200 and try again from scratch :stuck_out_tongue:

This is what he wants you to do.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

You doing okay?

Thank you - I did follow those instructions. Double checked by SSHing into the 4200 and checking the config files - they all look as described, but no luck :frowning:

The secondary router looks like it is connected, but the host is showing ?

From the primary:

if I SSH in to the primary or secondary, I cannot ping one another (Primary has secondary listed as a static IP in their lease, secondary has same static IP set)

Before we get drastic, even if you have done it before, turn secondary off. reboot primary and let it cool down (i.e. look at LuCI status page and wait until CPU utilization plateaus My 5th grade teacher would kill me for making that as a verb)) . Then boot the secondary.

1 Like

I have now officially tried turning it off and on again :slight_smile: no luck :frowning:

1 Like

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like

Primary, secondary or both?

secondary first
Sorry, I did not think.

1 Like