| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Ethernet does not work
Forum: Ethernet Port
Last Post: zetabeta
02-06-2026, 11:58 PM
» Replies: 1
» Views: 65
|
Fitting new case
Forum: Pinebook Pro Hardware and Accessories
Last Post: RicTor
02-06-2026, 07:09 AM
» Replies: 0
» Views: 61
|
Rockchip gets DMCA'ed on ...
Forum: General Discussion on PinePhone
Last Post: hanmira
02-04-2026, 08:43 PM
» Replies: 3
» Views: 681
|
Advice on PineNote
Forum: General Discussion on PineNote
Last Post: LogicalAtomist
02-04-2026, 06:51 PM
» Replies: 0
» Views: 104
|
curious iPhone user here
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
02-03-2026, 03:18 AM
» Replies: 23
» Views: 9,765
|
Reading PineWatch Open BL...
Forum: General
Last Post: Mitrax
02-01-2026, 04:30 PM
» Replies: 0
» Views: 144
|
best setup to run waydroi...
Forum: General Discussion on PinePhone
Last Post: dustfinger
02-01-2026, 01:41 PM
» Replies: 0
» Views: 169
|
Request for IRC registrat...
Forum: General
Last Post: dustfinger
02-01-2026, 12:30 PM
» Replies: 0
» Views: 107
|
Tariffs on delivery to US
Forum: General
Last Post: tllim
01-28-2026, 12:49 PM
» Replies: 1
» Views: 688
|
is cpu rk3576 suited for ...
Forum: General
Last Post: tllim
01-28-2026, 12:45 PM
» Replies: 1
» Views: 267
|
|
|
| Create a WiFi hotspot on Debian 8 |
|
Posted by: JulianM - 03-19-2017, 04:36 PM - Forum: Wifi/BT Module
- Replies (6)
|
 |
Hello together!
I tried something to create a WiFi hotspot with officially WiFi/bluetooth module by pine64 via ethernet and this is my solution.
Feel free to discuss about this topic 
Note: The WiFi hotspot is using the internet connection via ethernet. I wasn't able to bridge the internet connection from wlan0 to wlan1!
Note 2: I haven't installed NetworkManager on my system. NetworkManager can be responsible for problems with these instructions.
Install hostapd (create a hotspot), dnsmasq (dhcp server) and iptables-persistent (firewall settings)
Code: apt-get install hostapd dnsmasq iptables-persistent
Change the config of hostapd
/etc/hostapd/hostapd.conf
Code: interface=wlan0
driver=nl80211
ssid=MyPrivateHotspot
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=MyVeryStrongPassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Change the config of dnsmasq
/etc/dnsmasq.conf
Code: no-resolv
interface=wlan0
dhcp-range=10.0.0.3,10.0.0.20,12h
server=8.8.8.8
server=8.8.4.4
Restart dnsmasq to apply the new config
Code: /etc/init.d/dnsmasq restart
Activate forwarding of IPv4
/etc/sysctl.conf
Code: Just uncomment the following line:
net.ipv4.ip_forward=1
Apply it without reboot with the following command:
Code: sysctl -w net.ipv4.ip_forward=1
Setup the network configuration
/etc/network/interfaces
Code: auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
pre-up iptables-restore < /etc/network/iptables.rules
iface wlan1 inet manual
auto wlan0
iface wlan0 inet static
address 10.0.0.1
broadcast 10.0.0.255
netmask 255.255.255.0
And restart the network:
Code: /etc/init.d/networking restart
Apply iptables rules
Code: iptables -A FORWARD -o eth0 -i wlan0 -s 10.0.0.1/24 -m conntrack --ctstate NEW -j ACCEPT
iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Save the iptables rules
Code: iptables-save > /etc/network/iptables.rules
Create the WiFi hotspot
Code: hostapd /etc/hostapd/hostapd.conf
You're done!
Best regards
Julian
|
|
|
|
| USB HUB 214b:7000 Not recognized |
|
Posted by: victagayun - 03-18-2017, 07:30 PM - Forum: Accessories
- No Replies
|
 |
Hello
Any device I plug in this USB is not recognized, Any help?
Code: victor@pine64:~$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 004: ID 17ef:6032 Lenovo
Bus 002 Device 006: ID 214b:7000
Bus 002 Device 003: ID 214b:7000
Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
|
|
|
|
| LCD Screen for running Octoprint |
|
Posted by: sb_88 - 03-13-2017, 03:24 PM - Forum: POT modules
- Replies (2)
|
 |
Hey!
I'm planning to install Octoprint on my pine but not sure about the LCD screen. Based on my quick search, it's possible to install Octoprint on the pine but the LCD touch screen only works with Android. Can anyone point me in the right direction here?
Thanks!
|
|
|
|
| Help connecting to web interface - Newbie |
|
Posted by: YellowCake - 03-12-2017, 04:27 PM - Forum: openHAB
- Replies (3)
|
 |
Hello,
I have spent two days searching online before writing this, so please forgive me if the info is indeed out there somewhere.
I am fairly new to much of this as well as Linux but am determined and have struggled my way to having installed openhab on pine64 1Gig model with 16g SD card, bt/wifi module, and z-wave module. I have read and followed rabbit trails of links and forum threads and with much treasure hunting finally found the openhabian password and username and was able to log in and execute the "sudo openhabian-config". Clicked on pretty much all the options in the openhabian configuration tool, connected to wifi no problem.
In trying to find out how this 'easy', 'hassle free' connection all works. The link to the 'start here' and 'beginner tutorials' all seem to point to the open hab guides which show a screen of which package to choose, although I would love to get to this off my pine64, I cannot get past the command line to find any sort of UI or GUI, or know how to connect to myopenhab. Like when it says "will become available"...I need how to access, or know if it's become available.
I managed to find my IP address, as the tutorials said "will be a few more minutes until localhost becomes available" I am stuck!
I am obviously missing something, please, please don't point me to the wiki getting started guide, as I have gone through pretty much every link I could find on the topic, and I still can't find out how to make it past:
openhabian@openHABianPine64:~$
I would LOVE to see something I can click on...like this paper UI or something...
A couple hints would be greatly appreciated.
|
|
|
|
| linux distro maintainence |
|
Posted by: dkryder - 03-11-2017, 06:14 PM - Forum: Linux on Pine A64(+)
- Replies (4)
|
 |
hello,
does anyone know if a fully updated linux distro of an earlier iteration [ubuntu 14.04], but basically any one you care to select, is the same as having the newest distro .iso package of the same iteration.. for instance if i have ubuntu 14.04 that was installed in march 2016 but has been updated at least monthly for the past year, is that the same as if i download latest ubuntu 14.04 .iso from online and install it with option for newest packages checked? i was recently told that getting latest .iso and installing with checkmark to install latest updates will provide a different, i.e. more complete, 14.04 install than what i have which is updated install from 3/2016. i thought my updated install would be same as.
|
|
|
|
| U-boot upgrading on Pine64 checked out from public tech library |
|
Posted by: kenneth558 - 03-11-2017, 12:39 PM - Forum: General Discussion on PINE A64(+)
- Replies (13)
|
 |
I own a Pine64 in service as my home thermostat, among other things. Point is that my Pine64 stays in my house for the winter, I don't take it out of service for any kind of development purposes. I don't live in my home much, so for development purposes, I check out a Pine64 SBC from a tech library nearby where my wife lives with me much of the time (long story).
I ran longsleep's script line (below) on the public SBC:
Code: bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
Note that this tech library has their own image which they expect to function in their Pine64, but I am testing MY image in their board. (My image might be DietPi or whatever with a goal of getting to a nice looking, user-friendly GUI front end. OpenHAB is on my radar.)
After I ran the uboot updating script line while testing a Pine 64 image, the library's Pine 64 board will no longer boot into their image. Can someone please explain: Does longsleep's aforementioned uboot script line forever afterwards render a Pine64 board dependent on specifically configured boot partitions/files that this tech library doesn't use? Have I virtually bricked their property if they won't change their image to match what I did to their board?
|
|
|
|
| Humidity sensor and temperature under Android |
|
Posted by: dhewko - 03-11-2017, 10:18 AM - Forum: POT modules
- No Replies
|
 |
HI, been a long learning road for me but happy finally getting my ks Pinea64 working a bit. Just hooked up the humidity and temp sensor. (Don't know what a POT is as the wiki shows a wifi board but I have a board that connects to my Pine.) Anyways, can someone please recommend any software for Android (v7) that I can get to use the humidity sensors? Don't know what works and don't want to get frustrated... Thanks!
|
|
|
|
| Bad lcd? |
|
Posted by: dhewko - 03-10-2017, 04:08 PM - Forum: LCD and Touch Panel
- Replies (2)
|
 |
Just wondering if it's possible I have a bad lcd? Ive followed the instructions https://www.youtube.com/watch?v=DTCIiChXfSQ to install the lcd but I only get a blank screen. Everything looks good, the cables are tight, can send a pic if asked. Don't know what's wrong. Using the Android OS as it supports the lcd, and I get a boot when I connect the pineA64 to my TV. Bought a new power plug in case that was it and right now running out of ideas........ Was very happy to get the OS to finally boot and am getting anxious to start to use the Pine...
|
|
|
|
| HDD for Pine64 |
|
Posted by: jimmyadaro - 03-10-2017, 09:14 AM - Forum: General Discussion on PINE A64(+)
- Replies (4)
|
 |
Hi there!
I'll buy the P64+ 2GB Starter Kit and a co-worker told me that in some RPI not all hard disks are compatible.
I want to know some good 3TB HDD available in Amazon for use it with the P64.
Do you recommend some specific brand?
Please, note HDD not SSD.
Thanks!
|
|
|
|
|