I struggeling with a issue for weeks now.... I hope you can help me out.
I created a dumb AP this way:
Disconnect the (soon-to-be) Dumb AP from your network, and connect your computer to it with an Ethernet cable.
Use the web interface to go to Network → Interfaces and select the LAN interface.
Enter an IP address “next to” your main router on the field “IPv4 address”. (If your main router has IP 192.168.1.1, enter 192.168.1.2). Set DNS and gateway to point into your main router to enable internet access for the dumb AP itself
Then scroll down and select the checkbox “Ignore interface: Disable DHCP for this interface.”
Click “IPv6 Settings” tab and set everything to “disabled”.
In the top menu go to System → Startup, and disable firewall, dnsmasq and odhcpd in the list of startup scripts.
Click the Save and Apply button. Hard-Restart your router if you're not able to connect anymore.
Go to http://192.168.1.2 (or whatever address you specified) and check if the settings for the LAN interface are the same.
Use an Ethernet to connect one of the LAN ports on your main router to one of the LAN/switch ports of your “new” dumb AP. (There's no need to connect the WAN port of the Dumb AP.)
You are done.
My main router is the DHCP server.
If I put the LAN interface in DHCP client mode, it get a IP.
But my WiFi client does not get a IP adres.
I deleted my WAN interface, so It cant be a routing issue.
Is your LAN interface (the one towards the Sophos XG) bridged with the Wifi Network?
Basically you should have a br-lan that covers your LAN ports and your Wifi Networks.
br-lan is the kernel name, for configuration it is just called lan. The brctl show command is useful to confirm that a bridge has been set up and includes both the Ethernet and the wifi interfaces.
Since most x86 deployments are in a wired role and wifi hardware varies, x86 builds do not ship with any wifi support built in. So you need to have compatible hardware and install quite a bit of software to make wifi work at all. It would be best to do this with the rest of the install remaining at a default configuration. Test that a client is able to connect to the wifi and get an IP address from the default DHCP server. Then convert to a dumb AP.
Where did you read that he is using Openwrt on x86? Maybe I overlooked something but I would have thought that the "OpenWRT dump AP" is jsut a normal OpenWRT router.
root@OpenWrt:~# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.000c29a7b63a yes eth0
wlan0
Result is that the openwrt router it self can ping the gateway 192.168.0.254.
If connect a Wireless device it does not get a IP from the gateway.
If I set the ip manual, I can ping the Openwrt router but I'm not able to ping the gateway.
So It looks like there is no data transfer from WiFi over the OpenWrt router.
Try to remove stp from lan interface.
Also disable ieee80211w, especially if you have not installed wpad/hostapd full or the driver doesn't support it.
This being a VM the settings of the VM hypervisor networking are important. For VirtualBox I would use "Bridged Adapter" to have a complete bridge to the outside network. I don't know what the VMware equivalent is.
If the virtual Opwenwrt router is installed the traditional way (Nat) everything is working fine.
The WAN interface gets a ip from the Sophos XG and I can surf the internet.
The swith,DHCP and routing etc.. is working fine.
But in dumb AP mode, the WiFi device is not getting a IP, also it is not possible to ping de Sophos XG.
So it looks like the Openwrt router is not routing the traffic in AP modes.
It looks like a hypervisor networking issue.
Most likely it restricts broadcast traffic to the virtual switch scope.
Reconfigure the downstream virtual network to use routed or bridged mode.
PING 192.168.0.254 (192.168.0.254): 56 data bytes
64 bytes from 192.168.0.254: seq=0 ttl=64 time=0.708 ms
64 bytes from 192.168.0.254: seq=1 ttl=64 time=0.548 ms
64 bytes from 192.168.0.254: seq=2 ttl=64 time=0.411 ms
64 bytes from 192.168.0.254: seq=3 ttl=64 time=0.476 ms
64 bytes from 192.168.0.254: seq=4 ttl=64 time=0.413 ms
--- 192.168.0.254 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.411/0.511/0.708 ms
Fixed IP WiFi on the Laptop (because I does not get a IP adres)
I'm able to ping 192.168.0.1 (LAN interface Openwrt)
But not any other devices on the lan.