USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: Wifi/BT Module (https://forum.pine64.org/forumdisplay.php?fid=33) +---- Thread: USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) (/showthread.php?tid=982) |
USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - rahlquist - 05-07-2016 Ok quick guide with some of the basics. I am using longlseeps kernel on debian. First make sure you have his latest kernel. To check you can issue; Code: uname -a at a command prompt. If you dont see the kernel version in the subject of this post or higher then run the magic; Code: bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh) Ok once you have the latest kernel, power down the pine, insert your USB device and power up. Once you are able to login you should see if the device was detected either Code: lsusb Now try; Code: iwconfig Code: wlan0 no wireless extensions. Next I will show you the changes I made to my /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf Ok /etc/network/interfaces first, I added this to the existing file Code: auto wlan0 You can see I manually set the IP of my pine. You can do it with DHCP instead Code: auto wlan0 Note the change from wpa-roam to wpa-conf not sure why, but it works. In the /etc/wpa_supplicant/wpa_supplicant.conf I have this; Code: network={ After you have made the changes you can issue Code: ifup iwlan0 A few things to note. If you leave eth0 set to auto and dhcp your pine may pause while it tries to connect there first it seems. If your wifi adapter is a ra-link then you will probably need to dl the firmware, google is the best bet for finding the right instructions for this part. In my case I had to enable non free sources for debian as well. As always I am not an expert, merely worked in IS for 23 years and am an enthusiast. I am open to questions suggestions and critique. One last thing, thanks again to longsleep others for their hard work! Some Iperf numbers since I know some may wonder, YMMV! Code: root@debianpine64:~# iperf -c 192.168.0.45 RE: USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - CaptainZalo - 05-08-2016 (05-07-2016, 07:37 AM)rahlquist Wrote: Ok quick guide with some of the basics. I am using longlseeps kernel on debian. Thanks, man. I tinkered around a bit with this, but as I don't have the wifi/bt board available yet, I tested with an USB Wifi-dongle I've had lying around (a Netgear WNA-3100M). After the updates, my kernel actually replied that WTF-message and prompted me to install realtek-firmware package. I DuckDuckWent there from Midori and found this realtek-firmware install howto which worked wonders. I unplugged and replugged the device after the package was installed (sudo apt-get install realtek-firmware) and woop-de-doo! WiFi! dmesg output: Code: [ 226.242969] ehci_irq: highspeed device connect Code: [ 490.072514] ehci_irq: highspeed device disconnect RE: USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - DaveyDarko - 05-08-2016 "sudo apt-get install linux-firmware" will install many of the firmware that is available. Just found out today that this new kernel had the support for USB WiFi adapters, longsleep's builds are the best option for running Linux on the Pines right now. Also got a Mate desktop with lightdm up on running on longsleep's latest. RE: USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - Luke - 05-09-2016 I have been looking forward to this for quite some time. Great news. RE: USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - jl_678 - 05-09-2016 Hi, I have been looking everywhere for a good tutorial on setting up WiFi via the CLI with the native Pine64 WiFi add-on and I am happy to report that yours worked perfectly! Fantastic, thank you. The one addition is that Longsleep's Ubuntu build does not include iwconfig and so I to install it using the command below. sudo apt-get install wireless-tools Other than that one addition, your instructions worked flawlessly. Thank you! RE: USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - marco97pa - 05-09-2016 I followed your guide. I have also installed the rt73usb driver for railink. Now the external usb wifi module's LED blinks and it is recognised by the Pine64. But it is not connecting to any WiFi network. Using the GUI, it shows "Device not managed". On a shell, typing dmesg, it shows: Code: [ 2750.605157] ehci_irq: highspeed device connect lsmod Code: ...other things... On a shell, using iwconfig it shows: Code: wlx00e04d8247e0 IEEE 802.11bg ESSID:off/any My interfaces file: Code: # interfaces(5) file used by ifup(8) and ifdown(8) And my wpa_supplicant.conf: Code: network={ EDIT: Added the dmesg output EDIT X2: Added the lmod output If it is necessary, I will open a new thread for my problem |