Hi,
I used a Raspberry Pi 4 and installed the company's customized OS. I tried connecting to a Wi-Fi network using the Quectel EC25 modem, a wireless module mounted on the board.
However, the connection failed. I tried reinstalling the OS, but that didn't fix the problem.
Now let's look at the problem.
Raspberry Pi 4 cannot connect to Wi-Fi and says wlan0 does not exist.
When I do '$ ifconfig' it returns:When I do '$ sudo iwlist wlan0 scan' it returns:When I do '$ sudo ifconfig wlan0 up' it returns:When I do '$ iwconfig' it returns:When I do '$ grep "V" /etc/os-release' it returns:When I do '$ dmesg | grep -i pci' it returns:Setting my '/etc/nerwork/interfaces':Setting my '/etc/wpa_supplicant/wpa_supplicant.conf':I don't know where to start to solve the problem. Please help me how to connect wifi to wlan0.
Thanks in advance.
I used a Raspberry Pi 4 and installed the company's customized OS. I tried connecting to a Wi-Fi network using the Quectel EC25 modem, a wireless module mounted on the board.
However, the connection failed. I tried reinstalling the OS, but that didn't fix the problem.
Now let's look at the problem.
Raspberry Pi 4 cannot connect to Wi-Fi and says wlan0 does not exist.
When I do '$ ifconfig' it returns:
Code:
$ ifconfigeth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether e4:5f:01:e7:dc:41 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.225.36 netmask 255.255.255.0 broadcast 192.168.225.255 inet6 fe80::1936:bc8e:3b64:611d prefixlen 64 scopeid 0x20<link> ether 02:90:79:52:16:0c txqueuelen 1000 (Ethernet) RX packets 12335 bytes 765386 (747.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 12352 bytes 940549 (918.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code:
$ sudo iwlist wlan0 scanwlan0 Interface doesn't support scanning.
Code:
$ sudo ifconfig wlan0 upwlan0: ERROR while getting interface flags: No such device
Code:
lo no wireless extensions.eth0 no wireless extensions.usb0 no wireless extensions.
Code:
$ grep "V" /etc/os-releaseVERSION_ID="10"VERSION="10 (buster)"VERSION_CODENAME=buster
Code:
$ dmesg | grep -i pci[ 1.135572] PCI: CLS 0 bytes, default 64[ 1.158950] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:[ 1.158981] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff][ 1.159063] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000[ 1.159152] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x01ffffffff -> 0x0400000000[ 1.197264] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)[ 1.197631] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00[ 1.197652] pci_bus 0000:00: root bus resource [bus 00-ff][ 1.197674] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])[ 1.197764] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400[ 1.198006] pci 0000:00:00.0: PME# supported from D0 D3hot[ 1.201635] PCI: bus0: Fast back to back transfers disabled[ 1.201660] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring[ 1.201951] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330[ 1.202023] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit][ 1.202282] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold[ 1.205845] PCI: bus1: Fast back to back transfers disabled[ 1.205868] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01[ 1.205909] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff][ 1.205933] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit][ 1.205977] pci 0000:00:00.0: PCI bridge to [bus 01][ 1.206002] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff][ 1.206410] pcieport 0000:00:00.0: enabling device (0140 -> 0142)[ 1.206641] pcieport 0000:00:00.0: PME: Signaling with IRQ 67[ 2.315616] input: Logitech USB Receiver as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C52B.0001/input/input0[ 2.394926] input: Logitech USB Receiver Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52B.0002/input/input1[ 2.395537] input: Logitech USB Receiver Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52B.0002/input/input2[ 2.475572] input: Logitech USB Receiver System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52B.0002/input/input3[ 5.622511] input: Logitech Wireless Device PID:404d Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input5[ 5.623723] input: Logitech Wireless Device PID:404d Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input6[ 5.624393] input: Logitech Wireless Device PID:404d Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input7[ 5.624811] input: Logitech Wireless Device PID:404d System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input8[ 6.318047] input: Logitech K400 Plus as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input12
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)# Please note that this file is written to be used with dhcpcd# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'# Include files from /etc/network/interfaces.d:source-directory /etc/network/interfaces.dauto wlan0iface wlan0 inet manualwpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Code:
country=GBctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1network={ssid="my ssid"psk="my wifi password"key_mgmt=WPA-PSK}
Thanks in advance.
Statistics: Posted by wkh8913 — Fri Feb 23, 2024 1:20 am