I run an OpenWrt router without modem behind the ISP's router to separate my devices in a subnet from the ISP's router/network.
My OpenWrt device has two wireless transmitters (2.4 GHz & 5 GHz). Both have the same SSID so devices can choose the best frequency on their own.
What about the wireless interfaces? Do I need a separate ones for 2.4 GHz and 5 GHz?
I use LuCl and have now configured the SSID for 2.4 GHz under Network/Wireless and thereby created a new interface for the device. The latter I configured under Network/Interfaces to the static IP address with the device <SSID master (radio0)>. Now the WLAN LED flashes and I see the SSID on other devices, but I can't connect to it. It does not complain about a wrong key but just takes forever to connect, ending up to re-connect to the WLAN connection used before.
I feel like I'm not quite getting the interface thing right with the WLAN because there is a separate menu for it, but when creating a wireless network you can also specify an interface.
In LuCI, the WiFi interface must be linked to a network interface under Network->Wireless->Edit->Interface Configuration-> General Setup->Network.
To get started, lan is usually a good choice.
Move over to Network->Interfaces:
Make sure the lan interface is configured as a bridge: Get the device name under Edit->General Setting->Device, click Dismiss and then find the details on the Devices tab.
Do not try to assign a WLAN interface here
For further discussion, please post the following files after redacting any secrets they may contain:
One thing to keep in mind is that if you have two separate SSID's then you avoid some of the issues of your device "flip flopping" from the faster 5ghz to the slower 2.4ghz because at some ranges the 2.4g signal will be stronger than the 5g one and your device will drop to 2.4ghz prematurely.
This means it wouldn't work if lan is not configured as bridge? In may case, it refers to the specific lan port with static IP. This is done on purpose as the OpenWrt device serves to create a subnet behind the ISP's router.
PS: I reset the settings, so /etc/config/wireless is in its default state:
On a device with multiple interfaces such as yours, OpenWrt is configured as a router by default, with separate LAN and WAN. It is not necessary to remove the bridge from the LAN interface. Indeed, the bridge is needed if you have both wired and wireless LAN, or if you want to set up two wireless LAN interfaces.
Note that LAN uses eth0, while WAN uses eth1. Only eth0 is a member of the LAN bridge, eth1 is still separate.
You might want to post the configuration that is actually used, with passwords redacted.
The default config has wireless disabled.
This file looks like /etc/config/network.
There are multiple problems with this configuration:
change device to br-lan
remove gateway
make sure the OpenWrt LAN subnet 192.168.1.0/24 is different from the ISP router LAN (OpenWrt WAN) subnet
ipaddr must be different from the IPv4 address of the ISP router, but still be contained in the proper subnet. As an alternative, use the default proto dhcp for the wan interface.
The OpenWrt device is protected from exposure to the Internet in two ways:
The ISP router likely comes with a firewall which protects clients connected to its LAN interfaces, as long as such clients are not explicitly configured in the router as exposed. The OpenWrt device is one of those clients. However, I have limited trust in the security of vendor firmware, and I would not want to rely on this protection alone.
OpenWrt comes with a firewall which is active by default and rejects connection attempts to its WAN interface, with only a few exceptions essential for maintaining network connectivity. As long as the OpenWrt device is connected upstream through its WAN interface, this protection takes effect.