0

I'm running Raspbian GNU/Linux 12 (bookworm) on a Pi4. This is a headless system with SSH CLI only. I'm trying to add a Wi-Fi client connection in addition to Ethernet (which is working).

I tried this process which worked up to the point of reconfiguring the wlan0

 $ sudo wpa_cli -i wlan0 reconfigure
Failed to connect to non-global ctrl_ifname: wlan0  error: No such file or directory

I saw this article link that said to run sudo ifconfig wlan0 up, but that does not solve it.

I tried the other suggestion in that link, which had this result:

$ sudo killall wpa_supplicant
$ sudo wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
$

Searching on the error has not provided any answers.

The wlan part of ip a looks like this:

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 2c:cf:67:95:46:6d brd ff:ff:ff:ff:ff:ff
$

I also tried configuring using sudo raspi-config which fails with There was an error running option S1 Wireless LAN

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf contains:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
    ssid="desired-open-ssid"
    key_mgmt=NONE
    }

sudo iwlist wlan0 scan|grep ESSID works and provides a list of SSIDs

tim11g
  • 301
  • 3
  • 13

0 Answers0