![]() |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
i just got ddclient to work so it can update my dynamic IP adress (http://sourceforge.net/apps/trac/ddclient)
only one problem: perl on de n900 seems to lack the sys/hostname.pm module. so i copied this from my ubuntu box to the n900 , made the configfile in /etc/ddclient, made a /var/cache/ddclient dir and the ddclient is running and updating my ip adress with zonedit :D very happy with this.. planning to run it every time the gprs0 goes ip .. if its on wifi i guess remote ssh'ing is useless when stolen, they have to forward all ssh traffic for this to work.. |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
I saw this thread but immediately saw that it is not going to work unless you use the phone to intiate a reverse ssh tunnel to a remote host, due to most internet connections being NAT.
My solution which I have finally got working is this: 1. setup an ssh server on a remote host that is on the internet. I run it on port 443 as it's unlikely that it'll get blocked 2. setup key file based login on the server and copy the public key to the phone. This is the fiddly step. 3. create a file in /etc/network/if-up.d/ that contains something like: ssh -o ExitOnForwardFailure=yes -vvnTNx -p 443 -R 22222:localhost:22 user@remotehost This way, every time it connects to the internet, it will try to create a reverse tunnel to your remote host. Then if I need to connect to my phone, I do the following command on my remote host: ssh -p 22222 localhost hope this helps. |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
Quote:
If you use sipphone (which is the company behind gizmo), you can logon using your user i.d. and get the i.p. and the open port of your N900. You can also use any port, not just 5060. |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
Quote:
My question is this - if I only allow the device to connect to the internet via wifi, is there any way that this tunnel could use one of the other interfaces to send/receive data? (they go up, even if they don't get an internet connection, right?), or is it constrained by my internet connection choices? Ben |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
Quote:
It can be hidden at a very low level (/etc/inittab) and doesn't rely on any kind of user input, only that the thief has the phone switched on whilst near any open wifi. You can make the phone connect to a different server by updating the dns of the remote host you programmed it to connect to. So, say you needed to bring down the remote server, you could put another in it's place without having to reprogram the phone. Pretty much every firewall in the land allows port 443 and traditionally it's not monitored that heavily, as most traffic across it is expected to be encrypted/ Quote:
if [ "$ICD_CONNECTION_TYPE" != GPRS ]; then It could quite easily use GPRS and shouldn't use much bandwidth at all unless you use the tunnel. I was thinking of having some rules as to when it should try and use GPRS to connect, something like no connection for a week via WLAN, try using the GPRS. It would be nice to work out a script that collected as much geographical/call related information, encrypt it then use the ssh tunnel to drop it off at the remote server. |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
Quote:
Thanks though! Ben |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
Quote:
(Sowwy for being lazy and not look it up from specs myself.) |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
Quote:
Code:
$ diff oldgps.py gps.py |
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
hi , i need some help from you guys , my mobile(n900) is stolen . i m living in Qatar . is there any way that i can track the location of my mobile . plz help
|
Re: N900 physical recovery (Getting your phone back!) [HOWTO]
Quote:
|
| All times are GMT. The time now is 05:30. |
vBulletin® Version 3.8.8