Solved : linux not connecting to hidden wifi network

Post Reply
mister_v
Posts: 122
Joined: Sat Jun 20, 2009 5:42 pm

Solved : linux not connecting to hidden wifi network

Post by mister_v »

Hi,

my raspberry py is not connecting to my ( hidden ) wifi network.
Other devices are connecting to this network,
so I'm sure it is working, and name and password are correct
So why is it not working?
Last edited by mister_v on Tue Dec 21, 2021 10:25 am, edited 1 time in total.
Chris
Site Admin
Posts: 115
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: linux not connecting to hidden wifi network

Post by Chris »

Because a hidden wifi network doesn't broadcast its name,
You have to tell the raspberry pi to scan for it.


add

Code: Select all

scan_ssid=1
in /etc/wpa_supplicant/wpa_supplicant.conf

or

Code: Select all

wpa-scan-ssid 1
in /etc/network/interfaces/wlan0
mister_v
Posts: 122
Joined: Sat Jun 20, 2009 5:42 pm

Re: linux not connecting to hidden wifi network

Post by mister_v »

I knew i forgot something.

This solved the problem.
Post Reply