[Jan 06] Arch Linux (20171225-1) PINE A64(+) Pinebook A64-LTS/SOPINE | [Jan 04] Linux (0.5.15-136) ROCK64 | [Jan 04] Android (20171204) ROCK64 | [Dec 22] Stretch Mate (0.5.15-136-20171222) ROCK64 | [Dec 21] openHAB 2 (v1.4) PINE A64(+) | [Dec 11] Volumio (2.315) PINE A64(+) A64-LTS/SOPINE | [Dec 11] Armbian (5.35) PINE A64(+) Pinebook A64-LTS/SOPINE | [Dec 8] OpenMediaVault (0.5.15-136) ROCK64

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy

Wifi module able to share ethernet connection? Connection is unstable!

First of all, thanks to longsleep, lenny, and others for their work to provide working images for the pine64.

Now running the pine64+ 2GB with the wifi/BT module. After several trials, both latest debian-mate and ubuntu-mate seems to work fine after I changed the HDMI cable from 1m to 0.5m.
The 1m cable was only working with longsleep 20160507-1 image, and always failed to output the HDMI signal with the newest kernel Undecided
The 0.5m seems to be fine with the latest images :-)

I have a question regarding the capabilities of the wifi module: can I connect to the pine64 through wifi from a phone and share the pine ethernet connection or are the module capabilities limited to connect the pine64 to already existing wifi networks?
I would like to set the 1st option, if possible, in order to connect my phone through wifi to the pine64 that is already wired connected...

Thanks in advance for any help and advice!
Creating an access point should be possible with any wifi interface on Linux nowadays, nothing specific to the hardware. As long as the firmware for the Realtek chipset does Ad-hoc or master mode you should be good.
Come have a chat in the Pine A64 IRC channel >>
Yes, it's what I thought... but no luck so far!

I can see other wifi networks (likely from the neighbourhood).
I tried several combinations to add a wifi network but I could not see the new SSID when my phone was scanning.
I also tried to change the wifi management from false to true in the network manager config file: I then saw two times the list of wifi networks, but could not create one visible from my phone.

I will try the following next:

Used the 3rd method from the above link "Using Unity’s Default Network Manager with a little hack".
Its working now with my android phone, but for some reason it does not connect using an iphone: the wifi network is recognized but the password is always rejected?!?!
I've figured out Access Point mode (mostly followed this post https://help.ubuntu.com/community/WifiDo...ccessPoint)
it is visible from iPhones, Androids, MacBook, I have not tested actual communication yet, but i do see AP in the air and can connect to it
OS image is xubuntu longsleep , WiFi card ordered from pine64 kickstarter

my /etc/hostapd/hostapd.conf contains this
Another thing: after a fresh start the wifi is working but the connection is lost after few minutes; the hotspot does not appear anymore on the phone in the list of available wifi networks. Need to restart to get it back, or there might be a command to restart the network without restarting the pine?!?!

Thanks vigor, I will check that ;-)
(08-05-2016, 07:07 PM)cr2016 Wrote: Another thing: after a fresh start the wifi is working but the connection is lost after few minutes; the hotspot does not appear anymore on the phone in the list of available wifi networks. Need to restart to get it back, or there might be a command to restart the network without restarting the pine?!?!

Thanks vigor, I will check that ;-)

I have to say my pine64 access point is pretty solid, it allocates dhcp addresses and i connect to it via http and ssh - no problem. I left it running overnight and it was still up this morning.

I noticed - you have to be 7 to 15 feet away from Access point (Pine64) then connection is stable, if you are too close - it does not work at all or unstable.

One thing i noticed about network stack in general, i have to comment out all lines in /etc/network/interfaces.d/eth0
if the ethernet wire not plugged in, then wifi works stable after boot. I am not sure how to handle that, but i would like to run it with only two wifi interfaces - no ethernet wires. The pine64 will be located where there is no wires.
No time to try something new...
I hope that the method described in your post is more stable than the one I found previously ;-)
Need some quiet time to try out!
Tried again the wifi connection with 2 other devices. Same problem: can create the access point, can see it, can connect to it from 3 different devices and can share the wired connection, but the wifi connection is unstable and the access point is not visible anymore after few hours.
Is there a way to log/monitor the wifi activity over time?
I am not entirely sure it will help with pine64, like i said before mine wifi in Access point mode works stable with Ubunutu, but in Raspberry pi disabling power management helps to keep wifi up:

sudo vim /etc/modprobe.d/8192cu.conf
and add the following line :

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

original here : http://www.raspberrypi-spy.co.uk/2015/06...pberry-pi/
I've attempted to get a hotspot running on my Pine64 2GB board (Ubuntu longsleep, but I forget what image version I installed from), first following the same instructions I followed to run a hotspot on my Raspberry Pi (http://www.movingelectrons.net/blog/2016...ry-pi.html), then modifying my hostapd.conf to match the one posted by vigor above in this thread. The hotspot appears to be running, but I can't seem to connect to it. I've tried connecting with an Android tablet and phone, and with a Macbook Pro. They all see it, but just will not establish a connection.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Unable to activate wifi on Linux smouton 10 1,708 02-21-2018, 09:56 PM
Last Post: dkebler
  Schematics of Wifi/BT module gamelaster 1 101 01-22-2018, 03:32 AM
Last Post: xalius
  Create a WiFi hotspot on Debian 8 JulianM 1 5,994 09-11-2017, 12:53 AM
Last Post: alex17pat
  Pine64 doesn't recognize Wifi/BT Module clobeca 3 239 07-13-2017, 08:58 PM
Last Post: MarkHaysHarris777
  Better WiFi/BT module? fonix232 17 1,187 02-13-2017, 04:38 AM
Last Post: xalius
Sad wifi direct bj_jung 2 763 12-29-2016, 10:26 AM
Last Post: happytuna
  Enabling wifi c4tich 10 2,200 12-28-2016, 02:22 PM
Last Post: workaccountbro
  WIFI & Bluetooth? 7777777 14 6,021 12-24-2016, 05:01 AM
Last Post: Toriless
  RF connector on wifi\bt board kb1qzh 1 395 12-15-2016, 06:36 PM
Last Post: tllim
  Losing WiFi Connection on Android Everytime mribunal 4 701 10-10-2016, 06:38 PM
Last Post: mribunal

Forum Jump:

Users browsing this thread: 1 Guest(s)