I think I had to use wpa_supplicant to get my RPi to connect to my
hidden SSID network in the past, just setting flags in
/etc/network/interfaces would not get it to work. All my Pis are wire at
the moment though, so can check for sure.

Have a read of:
http://www.raspberrypi.org/forums/viewtopic.php?t=11517, you see there
the guy mentions you specifically need ap_scan=2 and scan_ssid=1 in your
wpa_supplicant script. Not sure about the ap_scan setting, since in his
script he doesn't seem to set it (that I can see) and according to
http://www.daemon-systems.org/man/wpa_supplicant.conf.5.html the default
value is 1, not 2.
scan_ssid on the other hand I'm pretty sure I remember does need to be
set to 1.

Basically you want your /etc/network/interfaces file to have something
like:
Code:
--------------------
    auto wlan0
  allow-hotplug wlan0
  iface wlan0 inet manual
  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
--------------------
and then have a file /etc/wpa_supplicant/wpa_supplicant.conf as:
Code:
--------------------
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  update_config=1
  
  network={
  ssid="ENTER SSID HERE"
  scan_ssid=1
  mode=0
  proto=WPA2
  auth_alg=OPEN
  pairwise=CCMP
  group=CCMP
  key_mgmt=WPA-PSK
  psk="ENTER PASSKEY HERE"
  }
--------------------


------------------------------------------------------------------------
rickwookie's Profile: http://forums.slimdevices.com/member.php?userid=6397
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to