The Following User Says Thank You to ecksun For This Useful Post: | ||
![]() |
2010-03-15
, 23:22
|
Posts: 217 |
Thanked: 20 times |
Joined on Jan 2010
|
#22
|
![]() |
2010-03-18
, 18:05
|
Posts: 243 |
Thanked: 146 times |
Joined on Dec 2009
@ Knowhere
|
#23
|
![]() |
2010-03-18
, 18:27
|
Posts: 891 |
Thanked: 499 times |
Joined on Nov 2009
@ UK
|
#24
|
![]() |
2010-03-19
, 11:06
|
|
Posts: 880 |
Thanked: 264 times |
Joined on Feb 2007
@ Cambridge, UK
|
#25
|
![]() |
2010-03-19
, 21:13
|
Posts: 4 |
Thanked: 0 times |
Joined on Dec 2009
@ Vermont, USA
|
#26
|
![]() |
2010-03-19
, 22:08
|
Posts: 243 |
Thanked: 146 times |
Joined on Dec 2009
@ Knowhere
|
#27
|
I hacked up a script, designed to be run in a cron job, which gathers information about the machine's current internet connection and send it hidden in a ping message as well as via a UDP packet; I didn't think to interrogate the GPS as none of my computers have one built in, it'd be easy to add. The only thing it needs is
Here it is, please attempt improvements or offer ideas.
http://pastebin.com/SHf1ynzj
![]() |
2010-03-24
, 02:55
|
|
Posts: 118 |
Thanked: 67 times |
Joined on Dec 2009
@ Saint Louis, MO, USA
|
#28
|
![]() |
2010-03-24
, 06:29
|
Posts: 477 |
Thanked: 118 times |
Joined on Dec 2005
@ Munich, Germany
|
#29
|
![]() |
2010-03-24
, 09:10
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#30
|
It doesn't sound too hard to start a reverse port forward if there exists a file on the server, however it might take a while for the phone to recognize the file considering it only checks for it when a new connection is established. Could be crontabed though.
Just on a side note, the N900 and the SSH server does per default accept connections even on the gprs0 interface? I'm having some troubles connecting but my ISP claims they don't block any ports :/
Edit: I beleave I just have to add the following line to the file, though i have not tested it..
Last edited by ecksun; 2010-03-15 at 16:39.