X5000R wireless 5GHz issue

If it works for you...cool.

Unfortunately, several devices have issues connecting using mixed mode.

Reports on it here, and on github.

WPA2-PSK with AES works better for those folks.

I wouldn't advise anyone to copy someone else's configs.

Wireless config changed to WPA2-PSK+AES (no more WPA3) if you have WPA3-compatibility concern

Thanks.

/etc/config/wireless

config wifi-device 'radio0'
    option type 'mac80211'
    option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
    option channel '1'
    option band '2g'
    option htmode 'HE20'
    option cell_density '0'

config wifi-iface 'default_radio0'
    option device 'radio0'
    option network 'lan'
    option mode 'ap'
    option ssid ‘openwrt_2g’
    option encryption 'psk2+ccmp'
    option key ‘openwrt’

config wifi-device 'radio1'
    option type 'mac80211'
    option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
    option channel '36'
    option band '5g'
    option htmode 'HE80'

config wifi-iface 'default_radio1'
    option device 'radio1'
    option network 'lan'
    option mode 'ap'
    option ssid ‘openwrt_5g’
    option encryption 'psk2+ccmp'
    option key ‘openwrt’
1 Like

Thank you for sharing your wireless configuration settings :grinning:

I am just wondering about the option of "Channel" in the 5G radio,
say I configure it to be on channel 36, would it change to the next
frequency band, like channel 40 if the radio chip detected another
AP is also using channel 36?

I'm really bad when it comes to Linux. I don't know the basic stuff.

Do I need to edit the file: /etc/config/wireless?

or

SSH into my router and run the commands?

All wireless configuration values follows openwrt specification

for example,

if you need the channel be "auto" (instead of 36)
Just change option channel '36' to option channel 'auto'

  1. Follow the guide to SSH connect to router

  2. In terminal, try to read your current configuration first (this command is no harm to your machine)

uci show wireless

  1. Show the result here

Ok solved, I managed to download the Nano text editor package and edit the /etc/config/wireless file thru SSH.

I added the missing option parameters under config wifi-device 'radio':

option channel '36'
option band '5g'

Saved the file and then restarted Radio 1 and then everything works in the 5GHz band. :slightly_smiling_face:

Err...actually I indicated in the config wireless to have the option channel = 36,
but since the radio1 (5GHz) has detected another AP nearby using the same frequency.
it automatically switched to channel = 40 :grinning:

Great that you have make it work finally.

I dont think it is correct behaviour.

I have configured channel 36 with 80MHz and I use android wifi analyzer to check the ssid with expexcted band and channel width.

you may take a look

(any wifi analyzer app should work as well)

Yes, I did verify using several apps on my android phone.
All apps are indicating channel 40 :roll_eyes:

you may check if your configuration is effective.

opewrt Configuration has tricky 2-phase (edit phase, commit phase)

only committed configuration is effective.

you could try

uci show wireless

if you find no problem, commit it

uci commit wireless

then restart wifi again

Here is the screenshot:

OK will try it out
Thank you. :slightly_smiling_face:

Thanks again, yes, now it is showing channel = 36
after running your commands:

  1. uci show wireless
  2. uci commit wireless
    reboot the router.

I guess I did not do the Save and Apply :slightly_smiling_face:
to commit all the settings.

Would be kind to elaborate more about this?

How did you determine Wifi 6 is not working well in the current release 21.02?

I've seen reports like this:

Also set your country code (on both radios) for best wifi results.

1 Like

Ok will try to do it later thanks :slightly_smiling_face: