The Following User Says Thank You to craftyguy For This Useful Post: | ||
![]() |
2010-03-14
, 00:02
|
Posts: 27 |
Thanked: 74 times |
Joined on Nov 2009
|
#13
|
I still like the option of setting up a daemon to check a file on a server you have access to for a trigger to send the front cam photo and lat/long to an email address or save it to a server.
![]() |
2010-03-14
, 00:06
|
Posts: 543 |
Thanked: 151 times |
Joined on Feb 2010
@ Germany
|
#14
|
gst-launch v4l2src device=/dev/video1 num-buffers=1 ! ffmpegcolorspace ! jpegenc ! filesink location=frontcam.jpg
![]() |
2010-03-14
, 00:08
|
Posts: 27 |
Thanked: 74 times |
Joined on Nov 2009
|
#15
|
![]() |
2010-03-14
, 00:17
|
Posts: 27 |
Thanked: 74 times |
Joined on Nov 2009
|
#16
|
ssh -R 2210:localhost:22 [yourserver]
The Following 2 Users Say Thank You to synthaxx For This Useful Post: | ||
![]() |
2010-03-14
, 08:15
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#17
|
As would i, but since it's not available yet i still wanted a way to get it back. Using this guide when a deamon is available will allow you to even install it if it's still lost.
Think of this as a fallback option. That's why it has single line (easily copy+pasted) commands in it.
![]() |
2010-03-14
, 15:41
|
|
Posts: 301 |
Thanked: 227 times |
Joined on Nov 2009
@ Turkey
|
#18
|
I still like the option of setting up a daemon to check a file on a server you have access to for a trigger to send the front cam photo and lat/long to an email address or save it to a server. This means that if it is out of signal range of any network when you try to get hold of it, it can still get the info to you when it finds a network connection...
![]() |
2010-03-14
, 19:40
|
Posts: 22 |
Thanked: 19 times |
Joined on Nov 2009
|
#19
|
#!/bin/sh ifconfig gprs0|awk '/inet addr/ { print $2 }'|awk -F: '{ print $2 }' > /tmp/n900ip
scp -F /home/user/.ssh/config /tmp/n900ip
#!/bin/sh SERVER_HOST=remote.computer.org LOGGFILE=n900_ip_logg ip=`ifconfig gprs0|awk '/inet addr/ { print $2 }'|awk -F: '{ print $2 }'` ssh -F /home/user/.ssh/config $SERVER_HOST "echo `date` $ip >> $LOGGFILE"
The Following User Says Thank You to ecksun For This Useful Post: | ||
![]() |
2010-03-15
, 09:47
|
Posts: 27 |
Thanked: 74 times |
Joined on Nov 2009
|
#20
|
Interesting concept. For the record, I'm on T-Mobile here in the US.