I can not connect to a (probably hidden) wireless network with my RPi4.
My wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE
network={
ssid="NAME"
scan_ssid=1
key_mgmt=WPA-EAP
etc..
}
Hovering over the wireless icon in the taskbar states wlan0: Not associated
.
Clicking on it says No wireless interfaces found
.
I have tried some stuff I found like adding lines like auto wlan0
in /etc/interfaces
or /etc/dhcpcd.conf
but none of that helped.
Apart from this hidden network, there should also be some visible and unprotected public networks to connect to, but I don't see them either. This is a fresh install of Buster.
EDIT:
I tinkered a little, and now it seems to be "half" connected??
I have no internet, but iwconfig
says:
wlan0 IEEE 802.11 ESSID:"NAME"
Mode: Managed Frequency=5.26 Ghz Access Point: B4:5D....
Bit Rate=12 Mb/s Tx-Power=31 dBm
...
ifconfig
says:
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether dc:a6:.... txqueuelen 1000 (Ethernet)
RX packets 198 bytes 85074 (83.0 KiB)
RX errors 0 ...
output of ip addr
is:
3: wlan0 <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether dc:a6:... brd ff:ff:ff:ff:ff:ff
EDIT2: The suggested wpa config for the network is:
network={
ssid="NAME"
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=TTLS
phase2="auth=PAP"
anonymous_identity="anonymous@name.edu"
identity="ab1234@name.edu"
password="password"
ca_cert="/etc/ssl/certs/T-TeleSec_GlobalRoot_Class_2.pem"
altsubject_match="DNS:radius-wlan.name.edu"
}
The only things I did differently is using a passkey generated using wpa_passphrase
and adding scan_ssid=1
ip addr
. Do you find some other hotspots withsudo iw dev wlan0 scan
? – Ingo Aug 23 '19 at 11:03key_mgmt
line, it isn't needed with most home routers/APs. You may needbssid=AP:MA:CC:AD:DR:ES
(with your AP MAC address). Easiest is to unhide it, hidden networks are a waste of time and don't enhance security in any way. – Dougie Aug 23 '19 at 11:26