Trying to connect to WiFi network on Raspberry Pi 0 using Ralink 5370
Hi all,
I worked my way through the Pi LFS guide, which supplements the LFS development guide. I am using a Raspberry Pi Zero v1.3. I am able to boot the system (Woo!) and I am now trying to get the WiFi connection set up. I have followed the wpa-supplicant setup, and I have set up wireless tools. But I can't seem to connect to my router. I don't think it is even seeing any WiFi network. Here is where I am at: Code:
# cat /etc/sysconfig/wpa_supplicant-wifi0.conf Code:
# cat /etc/sysconfig/ifconfig.wifi0 Code:
# ifconfig Code:
# iwconfig Code:
#ip link Any help getting this working would be appreciated. Educate me please! I have exhausted my own knowledge at this point, and LFS and BLFS don't seem to have what I need. |
Hi
Can you connect an eth0, Mine has trouble with wifi if eth0 not connected then see if wifi works, if it dose then at least you know you got wireless correct. It,s just something I found on mine |
Hi Spiky,
No, I cannot test an eth0 connection, since the device does not have an ethernet port (it is a Raspberry Pi Zero). I have a WiFi dongle connected to a hub through the USB OTG port. Thanks for the suggestion. Anything else I should try? It doesn't even seem to be able to find any wireless networks when I scan using the wpa_cli. |
You have the firmware required
|
I think so, but I am not sure. How could I figure that out?
I placed rt2870.bin in /lib/firmware/. dmesg shows that it loads the firmware, and that the chipset is detected. It is using the rt2800usb interface driver. But it also says: Code:
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready How can I confirm I have the correct firmware and that it is loaded properly? |
Have you tried restarting the network manualy?
|
What do you mean? Can you explain how to start it manually?
I assume you mean something more involved than ifup/ifdown. Those don't give me any obvious errors. |
So something is definitely wrong with the firmware setup, but I can't really figure out what is wrong. Any help with debugging that would be great.
|
not sure it is, Is that the only usb socket you have?
|
Yes. I have a 4-port USB hub with my WiFi dongle and keyboard attached.
|
Is this a typo "wpa-supplicant-wifi0" should be wpa_supplicant
|
Yes, just a typo on the forum. It is correct on the Pi. Good spot though. I fixed it.
|
as root
Code:
iwlist wlan0 scan |
Quote:
|
These are the options I have for the same device
CONFIG_WLAN_VENDOR_RALINK=y # CONFIG_RT2800PCI is not set CONFIG_RT2800USB=m CONFIG_RT2800USB_RT33XX=y CONFIG_RT2800USB_RT35XX=y # CONFIG_RT2800USB_RT3573 is not set CONFIG_RT2800USB_RT53XX=y # CONFIG_RT2800USB_RT55XX is not set # CONFIG_RT2800USB_UNKNOWN is not set CONFIG_RT2800_LIB=m CONFIG_RT2800USB_RT53XX=y lsmod rt2800usb 14583 0 rt2x00usb 8338 1 rt2800usb rt2800lib 68511 1 rt2800usb rt2x00lib 34430 3 rt2800lib,rt2800usb,rt2x00usb mac80211 477253 4 rt2800lib,b43,rt2x00lib,rt2x00usb cfg80211 417021 3 b43,rt2x00lib,mac80211 Hope these help. <NO-CARRIER,BROADCAST,MULTICAST,UP> means it,s up but not associated to a carrier access point |
All times are GMT -5. The time now is 11:12 AM. |