[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WiFi on RPi

March 4, 2021 6:01 PM, "Gunnar Wolf" <gwolf@debian.org> wrote:

> Ryutaroh Matsumoto dijo [Thu, Mar 04, 2021 at 08:10:15AM +0900]:
>> | 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen
>> 1000
>> | link/ether dc:a6:32:ae:8d:59 brd ff:ff:ff:ff:ff:ff
>> \----------------------------------------------------------------------
>> Just FYI, with kernel version 5.9 and 5.10, I have been unable to
>> get WiFi on RPi4B 8GB working with 2.4GHz.
>> 5GHz works fine without vc4.ko and fails with vc4.ko.
>> 2.4GHz WiFi is usable with Raspbian kernel 64-bit 5.10,
>> so I am assuming my hardware is OK.
>> Since I do not use 2.4GHz WiFi because it gets interfered by my
>> microwave oven, I have not spent much time on investigating the cause...
> I use 2.4GHz networking, as I have several devices which cannot use
> 5GHz. And I cannot confirm what you mention. Screenshot provided with
> the same image I used yesterday. If you don't want to open an attached
> image (I often avoid to): Kernel 5.10.0-3-arm64, specified my wlan
> details in /etc/network/interfaces.d/wlan0, and got a working network.
> Greetings,

I also mostly use 2.4GHz, because range seems farther through walls.

For me on Pi4, 5.9 kernel, Buster

# iwlist scan

does show some 5 GHz transmitters around me, but does not show MY access point, and I was unable to connect to it with 5 GHz, although my phones can. 2.4 works OK for me with simple wlan0 settings, as Gunnar. The interwebs say setting a country code may help RPi's WiFi, but examples I found were only for wpa_supplicant.conf, which seems "missing" on my Rpi so far.

Does the below "daemon failed to start" mean I need to do something to setup and start wpa supplicant?

# ifup wlan0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/whatever
Sending on   LPF/wlan0/whatever
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to port 67 interval 7
DHCPDISCOVER on wlan0 to port 67 interval 10
DHCPDISCOVER on wlan0 to port 67 interval 18
DHCPDISCOVER on wlan0 to port 67 interval 17
DHCPDISCOVER on wlan0 to port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlan0

Reply to: