Menu

WiFi Issues

2013-04-12
2015-11-21
  • Andy Hutcheon

    Andy Hutcheon - 2013-04-12

    I have been running a standard Raspian image on my Pi and i had to install the drivers (firmware-ralink) form my WiFi adaptor (BUFFALO INC. WLI-UC-GN Wireless LAN Adapter [Ralink RT3070]) and it worked fine. I wanted a faster booting linux version so i thought i'd try Moedius but now i cant get the wifi to work. The usb device shows in 'lsusb' as :-

    Bus 001 Device 004: ID 0411:015d BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-GN Wireless LAN Adapter [Ralink RT3070]

    But wont appear in ifconfig not in iwconfig. I have installed the drivers/firmware but still no luck, i have tried various config changes and installs of wifi tools but still no joy.

    Any advide/help would be great thanks.

     
  • Daniel McBrearty

    what is the best way to add wifi support to moebius? Could wireless-tools be added to the repo please? There doesn't seem to be anything available that will do the job. This is going to be a fairly common request I think.

    I guess I could just download and build the whole mess from source, but that seems like it is gonna take forever, and I can't be the only one wanting this.

    Nice distro BTW, I like it.

     

    Last edit: Daniel McBrearty 2015-11-19
  • Andrea Benini

    Andrea Benini - 2015-11-20

    Added to the new repo list in "Ideas and Suggestions"

     
  • Daniel McBrearty

    thanks Ben. What's best in the mean time? If you want to give some guidance about where to start, I am happy to help try to get this working, and pass the info to you for packaging later on. I will need this working sometime in December, so I will put some effort in it in the next few weeks.

     
  • Daniel McBrearty

    I am having a crack at getting it working. Building wireless-tools was easy enough (I needed to apt-get install coreutils to install it), but by itself it doesn't do much. Now building wifi_supplicant from source, but am wondering whether the appropriate kernel drivers are even there. Maybe not. lsusb can see the wifi adapter though.

     
  • Daniel McBrearty

    I have an Edimax EW-7811Un which apparently uses the 8192cu module, which is in the kernel by default, so that's a good start.

    When I try to build wpa_supplicant, I get this error though:

      CC  ../src/drivers/driver_wired.c
    ../src/drivers/driver_nl80211.c:17:31: fatal error: netlink/genl/genl.h: No such file or directory
     #include <netlink/genl/genl.h>
                                   ^
    compilation terminated.
    Makefile:1758: recipe for target '../src/drivers/driver_nl80211.o' failed
    

    I have tried

    apt-get install libnl-3-dev

    which should have those headers, but for some reason the compilation error persists. Not sure why for the moment. Close but no cigar ... ;-)

     
  • Daniel McBrearty

    well, the gen1.h file is definitely there, but I think I had to change the config file for the build to know that. Problem I now has is that when I do that, it wants pkg-config, which is not under apt for this distro. I tried getting source for that, for for some weird reason, tar doesn't like the archive:

    root@moebius:~/build# tar -xf pkg-config-0.18.1.tar
    tar: invalid tar magic

    so I'm stumped for now. Oh the joys of building packages for linux ;-)

     

Anonymous
Anonymous

Add attachments
Cancel