[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

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
  Create a WiFi hotspot on Debian 8 JulianM 7 12,885 03-10-2019, 01:02 AM
Last Post: waqasnasir
  [split] Better WiFi/BT module? moriel5 0 47 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
  Wireless Module Driver Source code mido2018 0 111 08-08-2018, 04:26 PM
Last Post: mido2018
  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,841 02-13-2017, 04:38 AM
Last Post: xalius
Sad wifi direct bj_jung 2 913 12-29-2016, 10:26 AM
Last Post: happytuna
  Enabling wifi c4tich 10 3,545 12-28-2016, 02:22 PM
Last Post: workaccountbro

Forum Jump:

Users browsing this thread: 1 Guest(s)