[Feb 26] Recalbox beta v3.1- Rock64 |[Feb 26] Recalbox 190222- RockPro64 / Minimal Debian by mrfixit2001 - 190222 - RockPro64 |[Feb 26] Q4OS 2.7-r2 - Pinebook 1080P / Pinebook |[Feb 22] Batocera Linux 5.20-20190121- RockPro64 | [Feb 19] Manjaro KDE 19.02 / Manjaro LXQT 19.02 - Pinebook1080P / Pinebook | [Feb 19] Slackware Aarch64 Miniroot and XFCE 20190201 - RockPro | [Feb 19] Slackware Aarch64 Miniroot and XFCE 20190201 - Rock64

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy

USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep)
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;

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;

bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh)
Info about this kernel is at http://forum.pine64.org/showthread.php?t...08#pid8808

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 



should show you some basic info on your device. If you see it, great lets move on to the next step.

Now try;

if for wlan0 you see anything other than;

wlan0      no wireless extensions.
Things are looking up. 

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

auto wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface pine64 inet static

You can see I manually set the IP of my pine. You can do it with DHCP instead 

auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface pine64 inet dhcp

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;

Of course change the SSID to match your network, the psk to match the key for WPA on your network, and the id_str should match the iface in the interfaces file. 

After you have made the changes you can issue

ifup iwlan0
If it works, you are in business. If not, for giggles reboot. If its still not working then please note any issues and ask away. 

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!
[email protected]:~# iperf -c
Client connecting to, TCP port 5001
TCP window size: 22.5 KByte (default)
[  3] local port 43787 connected with port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  46.6 MBytes  39.0 Mbits/sec

Messages In This Thread
USB Wifi drivers avail in new kernel (3.10.101-0-pine64-longsleep) - by rahlquist - 05-07-2016, 07:37 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Create a WiFi hotspot on Debian 8 JulianM 7 12,855 03-10-2019, 01:02 AM
Last Post: waqasnasir
  [split] Better WiFi/BT module? moriel5 0 45 02-28-2019, 06:13 AM
Last Post: moriel5
  Schematics of Wifi/BT module gamelaster 7 521 09-11-2018, 02:02 PM
Last Post: gamelaster
  Installing another WiFi module on one of the buses mido2018 1 141 07-22-2018, 07:15 AM
Last Post: tllim
  Unable to activate wifi on Linux smouton 10 2,987 02-21-2018, 09:56 PM
Last Post: dkebler
  Pine64 doesn't recognize Wifi/BT Module clobeca 3 545 07-13-2017, 08:58 PM
Last Post: MarkHaysHarris777
  Better WiFi/BT module? fonix232 17 1,839 02-13-2017, 04:38 AM
Last Post: xalius
Sad wifi direct bj_jung 2 911 12-29-2016, 10:26 AM
Last Post: happytuna
  Enabling wifi c4tich 10 3,542 12-28-2016, 02:22 PM
Last Post: workaccountbro
  WIFI & Bluetooth? 7777777 14 7,673 12-24-2016, 05:01 AM
Last Post: Toriless

Forum Jump:

Users browsing this thread: 1 Guest(s)