Configuration 在Raspbian(EDIMAX Wifi适配器)上配置Wifi(隐藏SSID)

Configuration 在Raspbian(EDIMAX Wifi适配器)上配置Wifi(隐藏SSID),configuration,raspberry-pi,wifi,raspbian,wpa,Configuration,Raspberry Pi,Wifi,Raspbian,Wpa,我的Raspberry Pi(Raspbian哮喘病)与EDIMAX EW-7811UN无线USB适配器结合使用时,无法连接到wifi网络 我已经使用这种组合成功地连接到我父母的wifi(带有非隐藏wifi的WPA) /etc/网络/接口 auto lo iface lo inet loopback iface eth0 inet static address 192.168.2.128 netmask 255.255.255.0 gateway 192.168.2.1 auto wlan

我的Raspberry Pi(Raspbian哮喘病)与EDIMAX EW-7811UN无线USB适配器结合使用时,无法连接到wifi网络

我已经使用这种组合成功地连接到我父母的wifi(带有非隐藏wifi的WPA)

/etc/网络/接口

auto lo

iface lo inet loopback

iface eth0 inet static
address 192.168.2.128
netmask 255.255.255.0
gateway 192.168.2.1

auto wlan0
allow-hotplug wlan0

iface wlan0 inet static
address 192.168.2.128
netmask 255.255.255.0
gateway 192.168.2.1

wpa-ap-scan 1
wpa-ap-ssid 1
wpa-ssid "<SSID>"
wpa-psk "<PASS>"
auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp
和/etc/wpa_-suplicant/wpa_-suplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
   ssid="<SSID"
   psk=<PSK>
   proto=WPA2
   key_mgmt=WPA_PSK
   pairwise=CCMP
   group=CCMP
   auth_alg=OPEN
}
ctrl\u interface=DIR=/var/run/wpa\u supplicant GROUP=netdev
更新配置=1
网络={

ssid=“我终于在这里找到了我的答案(对不起,是德语):


我想你一开始就忘了

scan_ssid=1
到wpa_supplicant.conf中的网络块,使网络使用隐藏的ssid工作

从文档中:

scan_ssid
     SSID scan technique; 0 (default) or 1. Technique 0 scans for the
     SSID using a broadcast Probe Request frame while 1 uses a
     directed Probe Request frame. Access points that cloak them-
     selves by not broadcasting their SSID require technique 1, but
     beware that this scheme can cause scanning to take longer to com-
     plete.
scan_ssid=1
scan_ssid
     SSID scan technique; 0 (default) or 1. Technique 0 scans for the
     SSID using a broadcast Probe Request frame while 1 uses a
     directed Probe Request frame. Access points that cloak them-
     selves by not broadcasting their SSID require technique 1, but
     beware that this scheme can cause scanning to take longer to com-
     plete.