dineshlama
Posts: 34
Joined: Mon Aug 26, 2019 4:40 pm

unable to set 5 GHz band on pi 4B.

Sat Apr 11, 2020 12:14 pm

I am following https://www.raspberrypi.org/documentati ... s-point.md tutorial to set pi 4B as wireless access point with 5 Ghz band. But when i change the hw_mode=g to hw_mode=a as described in that tutorial to get 5 GHz bank wifi. and than enable and start it.with commands:

Code: Select all

sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo systemctl start hostapd
and than i check it info with iwconfi it don't shows that it is 5 GHz:

Code: Select all

wlo1      IEEE 802.11  ESSID:"Pi4B"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: DC:A6:32:75:E5:FB   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-31 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:52   Missed beacon:0
What is the problem? Is this related to my laptops wifi card?

User avatar
dickon
Posts: 1539
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: unable to set 5 GHz band on pi 4B.

Sat Apr 11, 2020 12:42 pm

You've set it to channel 7, which it's assuming is the 2.4GHz channel 7. Pick a 5GHz channel number (likely 32 <= x <= 48 for most indoor use in most regions).

dineshlama
Posts: 34
Joined: Mon Aug 26, 2019 4:40 pm

Re: unable to set 5 GHz band on pi 4B.

Sat Apr 11, 2020 2:05 pm

What channel should i give than to make the data rate higher? will any value in that range will work same?

User avatar
dickon
Posts: 1539
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: unable to set 5 GHz band on pi 4B.

Sat Apr 11, 2020 2:34 pm

'iw phy' will give you the list. Look for the Frequencies section of Band 2.

Return to “Advanced users”