yumology
Posts: 3
Joined: Mon Jun 17, 2013 2:45 am

Have the Pi phone home when plugged in. And hide it!

Mon Jun 17, 2013 2:49 am

Came across this awesome project. He's made it so when the Pi is plugged into a network it will phone home and allow him to access it from anywhere. You know for "tech support" reasons.

http://www.tunnelsup.com/tup/2013/05/08 ... ssh-tunnel

User avatar
DaveDriesen
Posts: 113
Joined: Sun Mar 31, 2013 8:28 pm
Location: Top of the food chain
Contact: Website

Re: Have the Pi phone home when plugged in. And hide it!

Mon Jun 17, 2013 11:00 am

No offense to the author, but better options have already been discussed on the forum..

ssh + cronjob is probably the clumsiest way of setting up remote access.
Using autossh would be better already.

A vpn client such as OpenVPN works best; no tunnel needed.

Just search the forums, many hits will pop up.

Dave Driesen
Linux dev and oldskool elite

toxibunny
Posts: 1382
Joined: Thu Aug 18, 2011 9:21 pm

Re: Have the Pi phone home when plugged in. And hide it!

Mon Jun 17, 2013 11:22 am

sneaky! :O
note: I may or may not know what I'm talking about...

sprinkmeier
Posts: 410
Joined: Mon Feb 04, 2013 10:48 am
Contact: Website

Re: Have the Pi phone home when plugged in. And hide it!

Mon Jun 17, 2013 8:27 pm

Never mind the clumsiness of the poll-once-a-minute-cron-job, this guy has exposed mains wiring!

People drop power-bricks and then plug them in again without a second thought. That's because a properly designed unit will withstand such abuse.

If I drop this thing there doesn't seem to be anything preventing the PSU PCB from sliding up and shorting mains across the GPIO pins. Dead Pi, dead Noob.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Have the Pi phone home when plugged in. And hide it!

Mon Jun 17, 2013 8:41 pm

If I drop this thing there doesn't seem to be anything preventing the PSU PCB from sliding up and shorting mains across the GPIO pins. Dead Pi, dead Noob.
Think of it as evolution in action.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Return to “Networking and servers”