Alright, I have been unable to find a solution to this problem anywhere else online, so please bear with me:
I have a new Raspberry Pi Model 2B which came with a wifi dongle (Ralink RT5370) and when I fired it up with the pre-installed Raspbian, the wifi worked correctly. I also bought a mini HDMI screen for the pi which wouldn't work without installing the driver from a DVD shipped with the screen. After installing the driver, the screen works well, but now my wifi stopped working. The light on the dongle does not turn on anymore and I am unable to scan for wireless networks.
After some searching on Google, I have determined that the dongle is recognized (it is listed when I run lsusb
), its module is installed (the module rt2800usb is listed when I run lsmod
), and the firmware seems to be installed (I ran ifconfig -a
and it displays wlan0 information). However, when I run iwlist wlan0 scan
, I get the output:
wlan0 Failed to read scan data: Network is down
And when I run sudo ifdown wlan0 && sudo ifup wlan0
to see if the network is reachable, I get the following output:
ifdown: interface wlan0 not configured
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpa_supplicant exited with return code 1
Failed to bring up wlan0
I have tried editing both /etc/network/interfaces
and /etc/wpa_supplicant/wpa_supplicant.conf
according to various examples online to no avail. Here are my current versions:
interfaces:
auto lo
allow-hotplug lo
iface lo inet loopback
allow-hotplug eth0
auto eth0
iface eth0 inet manual
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="mySSID"
key_mgmt=WPA_PSK
proto=WPA
pairwise=TKIP
psk="myPassKey"
}
As a side note, I have triple-checked that my network information is correct and that the wifi network is discoverable from other computers, so I doubt that the problem is on that end. I am at a point where I really have no idea where or what my problem could be. I have tried downloading wifi managers, that didn't work. I have rebooted, updated, and upgraded my software versions repeatedly, that didn't work. I have tried altering and/or removing lines from the above files, that didn't work. I consistently am unable to scan for wireless networks (Note: ethernet works fine) despite successfully connecting to networks before installing this screen driver! If anyone has any idea what my problem might be and how to fix it, I would be extremely grateful. Thanks!
ifconfig
show? – Sirac Dec 31 '15 at 18:11ifconfig
with no parameters just shows eth0 and lo, no wlan0. Do you want to know the full readout of each? – Kyle Dec 31 '15 at 19:24ifconfig -a
orip link
will show all available interfaces.ifconfig
just shows ones that are up/active. – goldilocks Dec 31 '15 at 20:36wlan0
-interface is not available, there isn't even a connection attempt with your WiFi. It would be good to know the output ofifconfig -a
, as goldilocks suggested. This shows ifwlan0
is even "there". You could also check your system messages, display the latest withdmesg | tail
, show all withdmesg
, betterdmesg | less
. Hopefully this will show what's wrong withwlan0
. – Sirac Jan 01 '16 at 03:21dmesg | tail
shows a whole bunch of errors regarding firmware requests.Direct firmware load for rt2870.bin failed with error -2
rt2x00lib_request_firmware: Error - Failed to request Firmware
rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
Does that tell anyone anything useful? – Kyle Jan 01 '16 at 21:23apt-get install firmware-ralink
but it says that the firmware is already the newest version. – Kyle Jan 01 '16 at 21:25