Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 28,529
» Latest member: haddock
» Forum threads: 15,853
» Forum posts: 115,340
Full Statistics
|
Latest Threads |
Some Suspense.... Camerra...
Forum: Mobian on PinePhone
Last Post: biketool
6 hours ago
» Replies: 3
» Views: 82
|
July 1 upgrade of Mobian ...
Forum: PinePhone Pro Software
Last Post: mburns
09-26-2024, 09:56 AM
» Replies: 3
» Views: 756
|
desktop and lockscreen
Forum: Mobian on PinePhone
Last Post: biketool
09-25-2024, 05:11 AM
» Replies: 0
» Views: 68
|
No HDMI Video - Anything ...
Forum: General Discussion on ROCKPRO64
Last Post: angrymallard
09-25-2024, 04:58 AM
» Replies: 0
» Views: 57
|
2024 Sep 21 - PinePhonePr...
Forum: General Discussion of PinePhone Pro
Last Post: biketool
09-25-2024, 04:16 AM
» Replies: 8
» Views: 2,352
|
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: zetabeta
09-25-2024, 12:41 AM
» Replies: 36
» Views: 6,654
|
Can't install some softwa...
Forum: General Discussion on PineTab
Last Post: mikehenson
09-24-2024, 07:49 AM
» Replies: 2
» Views: 160
|
Testing Some More Games o...
Forum: General Discussion on Pinebook Pro
Last Post: pigkang
09-24-2024, 01:43 AM
» Replies: 5
» Views: 3,453
|
Pinetab 2 Not Powering On...
Forum: General
Last Post: dachalife
09-23-2024, 12:00 PM
» Replies: 2
» Views: 165
|
Developing on Mac (M3)
Forum: Development Discussion on PineTime
Last Post: oksalahti
09-23-2024, 01:27 AM
» Replies: 1
» Views: 91
|
|
|
Owncloud Experience Anyone? |
Posted by: JCMPine64 - 05-31-2016, 04:45 PM - Forum: General Discussion on PINE A64(+)
- Replies (17)
|
|
I've been trying to get ownCloud running on my 2Gb Pine64 but it's pretty buggy. Anyone have any luck getting a solid instance of ownCloud running?
Everything seems to install correctly and the server seems stable, but the Windows desktop client crashes on a regular basis when I'm trying to sync 140Gb of music files. Sometimes it just hangs and sometimes it aborts in an ugly fashion. It seems like the desktop client works for others, I can only assume that there's something wrong with my server setup, so I'm hoping someone here has been able to do it successfully and can show the way.
|
|
|
Accessory: IR Remote |
Posted by: tcmsurfer - 05-31-2016, 11:36 AM - Forum: Accessories
- Replies (9)
|
|
Hi everybody,
after a long waiting time, I finally got my Pine64 in the mail. Sadly I don't have everything to test it. I also ordered a remote due to my wish to use this as a media center. According to this recent thread a 3 pin add-on is to be delivered with the remote, however I don't see one in my package.
(02-22-2016, 10:51 PM)tllim Wrote: The 3pin IR receiver device will include together with IR remote control.
... TL Lim
Anybody who also ordered the accessory and got the IR receiver? Am I the only one?
Best Regards,
Andreas
|
|
|
Receipt printer? |
Posted by: ColorblindMonk - 05-31-2016, 10:47 AM - Forum: Accessories
- No Replies
|
|
Hey guys, my boss is trying to get a project going, can't say what it is currently, but we would need a cheap computer to get things started. Of course, the Pi came up in the discussion, but he's interested in using the Pine if it will wind up suiting our needs better. What we need along with it is a touch screen panel and a thermal receipt printer. The LCD panel seems to be covered by the shop, but does anybody know if there's any reliable receipt printer that will work with the Pine?
|
|
|
Pushing notifications from home network to cell phone |
Posted by: wahdooyah - 05-30-2016, 08:25 PM - Forum: Pine A64 Projects, Ideas and Tutorials
- No Replies
|
|
This may be one of those uses that most people wouldn't find too useful, but I thought I'd share the setup since it helped me to solve a problem that had stumped me for awhile.
There are various reasons one might want to push notifications from your home network to your mobile device (notifying of changes in your dynamic IP address, alerts from smart home sensors/smoke alarms/security alarms, etc.), and while there are some easy ways to do this using third-party services, I dislike solutions that rely on third parties too much.
So for this example, I check whether my ISP has changed my home IP address, and if it has, I push a notification to my cell phone in the form of a text file with the new IP address. For the Pine, I'm using the latest Debian image from here, with Tor installed:
Code: sudo apt-get install tor
Then, on my Android phone I have installed SSHelper, which I obtained via the f-droid repositories, but you can also install from the Play Store I believe. I also have installed Orbot, which I recommend getting from the official Guardian Project repository rather than the Play Store, though I believe it is also there.
To set up SSHelper to run as a hidden service, you will need to open the settings dialog in Orbot, and scroll down to the Hidden Service Hosting section, and check the box for Hidden Service Hosting. Click on Hidden Service Ports and pick whatever port you have selected in SSHelper (for this example I'm using the default, 2222). Next, you need to shut down Orbot and restart it so that it will generate your .onion address. Go into the hidden service settings again, click on the .onion hostname, and copy that address. You might want to write it down or save it as a text file since you'll need it later.
Next, on the Pine, attempt to access the Android phone using the .onion hostname:
Code: torsocks ssh -p 2222 123456abcde.onion
Once you've confirmed this works, you need to set up the SSH server to use a keypair instead of password, so on the Pine type these two commands:
Code: ssh-keygen -t dsa -f ~/.ssh/id_dsa -N ''
torsocks ssh-copy-id -i ~/.ssh/id_dsa.pub -p 2222 12345abcdef.onion
Type in the password when it prompts you, then exit once the devices finish the key exchange. Now, on the Android phone, enter the SSHelper settings and check the box Disable password logins.
Next, I wrote a perl script that checks with a public site and creates a text file containing the IP, as well as a log of prior IPs and when they changed:
Code: #!/usr/bin/perl -w
use strict;
my $nip;
my $now = localtime();
my $ipcheck = "http://ipecho.net/plain";
my $result = qx{curl --silent $ipcheck};
if($result =~ m/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/) {
$nip = $1;
}
else { die "regex failed to match an IP: $!"; }
open(LAST, "<lastip") or die "Can't open lastip";
my $lastip = <LAST>;
close(LAST);
unless($lastip eq $nip) {
open(LAST, ">lastip") or die "Can't open lastip";
print LAST $nip;
close(LAST);
print qx{torsocks scp -P 2222 /home/pineuser/lastip 12345abcdef.onion:/sdcard/ipchecker/};
open(LOG, ">>history") or die "Can't open history";
print LOG "$nip\t[$now]\n";
close(LOG);
print qx{torsocks scp -P 2222 /home/pineuser/history 12345abcdef.onion:/sdcard/ipchecker/};
}
else {
open(CHECKED, ">checked") or die "Can't open checked";
print CHECKED $now;
close(CHECKED);
print qx{torsocks scp -P 2222 /home/pineuser/checked 12345abcdef.onion:/sdcard/ipchecker/};
}
Now, all that's left is to create the three files and set the script to run periodically via crontab:
Code: touch lastip history checked
crontab -e
I set the cronjob to run hourly at five past the hour (because why not?), but obviously anything would work:
Code: 5 * * * * /home/pineuser/notifier.pl
Assuming everything went smoothly, you should have three files created in your SSH root directory: checked lets you know how recently it was checked, lastip should be the most recent IP address, and history should list each prior IP address.
As I indicated at the beginning, this particular script is just an example of one use, but once you have the SSH hidden service running, you can push any notifications or files you might want to that folder.
|
|
|
Wifi/ Bluetooth chip |
Posted by: abba2566 - 05-30-2016, 11:20 AM - Forum: Getting Started
- Replies (4)
|
|
Possibly a stupid question but, I've slotted the wifi/ Bluetooth chip onto the pins labelled wifi+bt on the board, but there's a grey cable that doesn't seem to attach anywhere, should it?
|
|
|
wget not working? |
Posted by: slerched - 05-30-2016, 08:31 AM - Forum: Debian
- Replies (3)
|
|
I am a 90% n00b when it comes to Linux.
I got my Pine64, I got a non-counterfeit SD card, and put the Debian install on it.
What I am trying to do now is get JRiver Media Center for ARM installed using these instructions:
http://yabb.jriver.com/interact/index.php?topic=99370.0
Problem is, I open the terminal, I try to use wget and it says it doesn't recognize the command.
Not sure where to go from here.
Here's the command I am trying to use:
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
Any help is appreciated!
|
|
|
LCD Pannel working... Touch screen NOT working?? Why |
Posted by: Chopshop13 - 05-30-2016, 02:00 AM - Forum: LCD and Touch Panel
- Replies (3)
|
|
As the title suggests My Pine 7" LCD is working (showing graphics) but not responsive to touch at all. Im booting the LCD android 5.1 from the wiki.
The only thing I can think of, is look how sheet the ribbon cable plug was attached to the board from factory. I couldnt say If its the problem but Its suspicious.
|
|
|
|