5

I just made a clean install of Raspbian Jessie, and my WiFi adapter doesn't seem to work. It was working on wheezy.

> lsusb
Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp.

I did have the firmware /lib/firmware/mt7601u.bin by default

> iwconfig
wlan0     IEEE 802.11bgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

/etc/network/interfaces

source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

I have added the SSID and password in /etc/wpa_supplicant/wpa_supplicant.conf

Can someone help me with this?

EDIT:

On running

sudo ifup wlan0

I get this error:

wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0.
Glorfindel
  • 620
  • 1
  • 9
  • 16
tejas
  • 270
  • 1
  • 3
  • 10

3 Answers3

4

I do not know the root of the problem but commenting out wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

and using this as configuration seems to work

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
        wpa-ssid "myssid"
        wpa-psk "password"
tejas
  • 270
  • 1
  • 3
  • 10
0

I found a solution for me! I bashed my head against a wall for a couple days. I followed all tutorials and still no luck. I installed wicd-curses (which I always use) and it didn't work straight out of the box. Then I poked around a bit in the preferences. I went to the External Programs tab and changed the DHCP from Automatic to dhclient and it worked!

0

I just found that with the latest os and the DHCP instead of manual worked out pretty well. i comment out the wpa-conf /etc/wpa_supplicant/wpa_supplicnat.conf and set the ssid and psk to my network.