1

I have a rasPi-2B, and when I successfully set up the wpa_supplicant.conf file when I was at my house at my college. But, now that I am home for for spring break, I can't get the wifi to work in the same way.

The router here does not have a password set up, so I tried editing the wpa file to have the ssid= the ssid and I had the psk="". That did not work, so I tried psk=, which did not work either. I am unsure what to try.

I also was unsure if the space in the ssid is the issue, if I am supposed to place underscores in the spaces.

EDIT: the content of my interfaces file->

auto wlan
iface wlan inet dhcp
    wireless-essid My SS ID


auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
gangwerz
  • 13
  • 4

2 Answers2

0

I don't use the normal configuration methods, but based on this it looks like you want an entry like this in /etc/network/interfaces:

auto wlan0
iface wlan0 inet dhcp
        wireless-essid YOUR_SSID_GOES_HERE

Of course, you probably want to keep the existing listing you have for school -- have a look at this Q&A, which is slightly different but similar circumstances. One of the answers also suggests the use of wicd-curses, which might make all this easier.

If you just want to try to connect temporarily, you could use my method here but use iwconfig instread of wpa_supplicant:

service NetworkManager stop
ip link set wlan0 up
iwconfig wlan0 essid YOUR_ESSID
dhclient -v wlan0 

All that has to be done sudo.

goldilocks
  • 60,325
  • 17
  • 117
  • 234
-1

I always start x and just use wpa_gui.