OpenWrt: dsl: 100.000 Mb/s, Wireless radio0 40 Mbit/s, but router support 900 MBit/s…
- User
OpenWrt: dsl: 100.000 Mb/s, Wireless radio0 40 Mbit/s, but router support 900 MBit/s (5GHz) & 400 MBit/s (2,4 GHz), what to do
- Assistant
To resolve the discrepancy between your OpenWrt router's theoretical wireless speeds and the observed 40 Mbps on radio0, follow these steps:
1. Verify Wireless Band
- Check Band Selection: Ensure your device is connected to the 5 GHz band (for up to 900 Mbps) and not the 2.4 GHz band (max 400 Mbps). The 2.4 GHz band is slower by design due to frequency limitations.
2. Optimize Channel Width
- 5 GHz Band: Set the channel width to 80 MHz (or 160 MHz if supported) in OpenWrt > Network > Wireless. A narrower width (e.g., 40 MHz or 20 MHz) reduces speed.
- 2.4 GHz Band: Use 40 MHz (if allowed in your region) instead of 20 MHz for higher throughput.
3. Select a Less Congested Channel
- Use a Wi-Fi analyzer app (e.g., WiFi Analyzer for Android) to identify the least crowded channel.
- Manually set the channel in OpenWrt (avoid "Auto" settings) to reduce interference.
4. Check Wireless Mode
- Ensure the wireless mode is set to the highest supported standard:
- 5 GHz: 802.11ac/n (for 900 Mbps).
- 2.4 GHz: 802.11n (for 400 Mbps).
- Avoid legacy modes like 802.11b/g.
5. Minimize Interference
- Physical Placement: Position the router centrally, away from walls, metal objects, or electronics (e.g., microwaves, Bluetooth devices).
- Avoid Overlapping Networks: Use non-overlapping channels in crowded areas (e.g., channels 1, 6, 11 for 2.4 GHz).
6. Update Firmware & Drivers
- Upgrade OpenWrt to the latest stable version (check OpenWrt downloads).
- Ensure wireless drivers (e.g.,
kmod-ath10k,kmod-mt76) are up to date.
7. Test with Different Devices
- Some older devices (e.g., smartphones, laptops) may only support lower standards (e.g., 802.11n) or have faulty Wi-Fi chips.
- Test with a modern device supporting Wi-Fi 5 (802.11ac) or Wi-Fi 6 (802.11ax).
8. Adjust Encryption Settings
- Use WPA2-AES or WPA3 instead of slower options like WPA/WPA2 Mixed Mode or TKIP.
9. Disable Bandwidth Throttling
- Check for QoS rules or traffic shaping in OpenWrt that might limit speeds.
- Temporarily disable these features to test.
10. Check for Hardware Issues
- Ensure antennas are properly connected and undamaged.
- Test with another router/AP to rule out hardware faults.
Example Configuration in OpenWrt
For the 5 GHz radio:
config wifi-device 'radio0' option type 'mac80211' option channel '36' # Example non-overlapping channel option hwmode '11a' # 5 GHz mode option path 'platform/ar934x/wmac' option htmode 'VHT80' # 80 MHz channel width option disabled '0' option txpower '20' # Adjust based on range option country 'US' # Set your region config wifi-iface option device 'radio0' option network 'lan' option mode 'ap' option ssid 'Your_SSID' option encryption 'psk2+ccmp' # WPA2-AES
Post-Check Actions
- After adjustments, run a speed test directly connected to the router (via Ethernet) to confirm DSL speed isn’t bottlenecked.
- Use tools like
iperfto test local wireless throughput (bypassing the internet connection).
If speeds remain low after all steps, consider switching to a wired Ethernet connection for critical tasks or upgrading to a router with better hardware (e.g., Wi-Fi 6 support).
- User
How to activate 5ghz with same credentials as 2.4? What to set for "Coverage cell density". Do i have to activate 802.11ac/n (thought it is uses for e.g. visitors WiFi)? Do mobile phones etc automatically connect to 5ghz or how it works? Or can i just change 2.4 that it uses 5ghz and is it recommended?
- Assistant
To address your questions about configuring 5 GHz and 2.4 GHz bands on OpenWrt:
1. Activating 5 GHz with the Same Credentials as 2.4 GHz
To use the same SSID/password for both bands:
- Create two separate wireless interfaces (one for 5 GHz and one for 2.4 GHz) with identical SSID, encryption type, and password.
- This allows devices to automatically connect to the strongest/best-performing band.
Example Configuration (via LuCI GUI or
/etc/config/wireless):# 5 GHz Radio config wifi-device 'radio0' option type 'mac80211' option channel '36' # Use a non-overlapping 5 GHz channel option hwmode '11a' # 5 GHz mode option path 'platform/ar934x/wmac' option htmode 'VHT80' # 80 MHz channel width for 5 GHz option disabled '0' option txpower '20' option country 'US' config wifi-iface option device 'radio0' option network 'lan' option mode 'ap' option ssid 'MyWiFi' # Same SSID as 2.4 GHz option encryption 'psk2+ccmp' option key 'YourPassword' # Same password as 2.4 GHz # 2.4 GHz Radio config wifi-device 'radio1' option type 'mac80211' option channel '6' # Use a non-overlapping 2.4 GHz channel option hwmode '11g' # 2.4 GHz mode option path 'platform/ar934x/wmac' option htmode 'HT20' # 20/40 MHz for 2.4 GHz option disabled '0' option txpower '20' option country 'US' config wifi-iface option device 'radio1' option network 'lan' option mode 'ap' option ssid 'MyWiFi' # Same SSID as 5 GHz option encryption 'psk2+ccmp' option key 'YourPassword' # Same password as 5 GHz
2. Coverage Cell Density
- OpenWrt does not explicitly have a "Coverage cell density" setting (this is often a vendor-specific option in commercial routers).
- Instead, adjust:
- Transmit Power (
txpower): Higher values increase range but may cause interference. - Channel Width: Use narrower channels (e.g., HT20 for 2.4 GHz) in dense environments to reduce overlap.
- Channel Selection: Avoid crowded channels (use a Wi-Fi analyzer to pick the best one).
- Transmit Power (
3. Activating 802.11ac/n
- For 5 GHz: Enable 802.11ac (for speeds up to 900 Mbps). Older routers may only support 802.11a/n.
- For 2.4 GHz: Use 802.11n (max ~400 Mbps). Avoid mixing legacy modes (e.g., b/g) unless needed for old devices.
- Guest Networks: You can create a separate SSID for guests (same or different credentials), but this is optional.
4. Will Devices Automatically Connect to 5 GHz?
- Modern devices (phones, laptops) prefer 5 GHz if the signal is strong enough.
- Older devices (pre-2013) may only support 2.4 GHz.
- No automatic band steering in OpenWrt: Devices decide which band to use based on signal strength and driver logic. To force 5 GHz for newer devices:
- Use different SSIDs (e.g.,
MyWiFi_5GandMyWiFi_2G) and manually connect to the 5 GHz band.
- Use different SSIDs (e.g.,
5. Can You Change 2.4 GHz to Use 5 GHz?
- No: 2.4 GHz and 5 GHz are separate hardware radios. You cannot convert one to the other.
- Recommendation: Use both bands simultaneously:
- 5 GHz: For high-speed devices (streaming, gaming, etc.).
- 2.4 GHz: For older devices or those needing better range (IoT devices, printers, etc.).
6. Is It Recommended to Use 5 GHz Instead of 2.4 GHz?
- Yes, if:
- Your devices support 5 GHz.
- You need higher speeds (e.g., 4K streaming, large file transfers).
- You’re in a crowded Wi-Fi environment (5 GHz has more channels and less interference).
- Use 2.4 GHz for:
- Legacy devices (e.g., old smart TVs, IoT gadgets).
- Better wall penetration (e.g., outdoor coverage).
Final Tips
- Test both bands: Use a speed test app (e.g., iPerf or Speedtest) to compare real-world performance.
- Avoid overlapping channels: Use tools like
iwinfoor Wi-Fi Analyzer to check for interference. - Update firmware: Ensure your OpenWrt version supports your hardware’s full capabilities (e.g., VHT80 for 5 GHz).
By configuring both bands with the same credentials, you’ll get seamless roaming. Devices will automatically choose the best band based on their capabilities and signal strength.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.