Trying to connect to WiFi network on Raspberry Pi 0 using Ralink 5370
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
# 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
Encryption key:off
Power Management:off
lo no wireless extensions
Code:
#ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 00:0f:60:05:1a:99 brd ff:ff:ff:ff:ff:ff
using wpa_cli to scan reports no results using scan_results. Something tells me my WiFi dongle is not working correctly or is not communicating correctly with linux. I am using the official raspberry pi linux 4.4 kernel.
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.
Last edited by ScheissSchiesser; 12-17-2016 at 02:45 PM.
Reason: Added more info. Fixed typos.
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
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.
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
though I haven't configured IPv6 and I don't think I need to.
How can I confirm I have the correct firmware and that it is loaded properly?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.