Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I'm using Raspbian.

Every time I turn RPi on, the network monitor icon in bottom right corner says, that wlan0 has no connection at all or the connection is limited. wpa_gui gives error Could not get status from wpa_suplicant.

These are the config files:

/etc/network/interfaces

auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
  address 192.168.1.111
  netmask 255.255.255.0
  network 192.168.0.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
allow-hotplug wlan0
iface wlan0 inet manual
  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface home inet static
  address 192.168.1.110
  netmask 255.255.255.0
  network 192.168.0.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
iface stalk inet dhcp

/etc/wpa_suplicant/wpa_suplicant.conf (also /etc/wpa.config is a link to this one)

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

network={
    ssid="my_ssid"
    psk="my_pass"
    proto=RSN
    key_mgmt=WPA-PSK
    pairwise=TKIP
    auth_alg=OPEN
    id_str="home"
    priority=15
}

network={
    ssid=""
    psk=""
    key_mgmt=NONE
    auth_alg=OPEN
    priority=1
    disabled=1
    id_str="stalk"
}

FYI: my network is using only static IP and WPA2. The ethernet connection works without problems. The wifi adapter (Modecom mc-un11c) is connected to powered USB hub.

To configure the files I used this manual.

What is wrong, why does the wifi connection not work?

share|improve this question
1  
Try replacing wpa-roam with wpa-conf in /etc/network/interfaces as per this thread: raspberrypi.stackexchange.com/questions/3852/… –  Munkeh Dec 25 '12 at 11:26
    
nope, this did not work. –  burtek Dec 25 '12 at 15:38
    
Is wlan0 up? Check the output of ifconfig. –  Munkeh Dec 25 '12 at 19:15
add comment

2 Answers

up vote 0 down vote accepted

Have you tried only setting the SSID and PSK? I was also using a static IP and WPA 2. I had a similar problem to yours, but when I only configured the SSID and PSK it worked.

share|improve this answer
    
Thanks, it worked –  burtek Dec 26 '12 at 10:07
add comment

If you using hidden network you have to add:

wpa-scan-ssid 1

to /etc/network/interfaces

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.