User:Marcello/prova1

From OpenStreetMap Wiki
Jump to: navigation, search
  1. !/bin/bash
  2. conversione deifile di TangoGPS *.log nello standard *gpx

sudo -s

route add -host 192.168.0.202 dev usb0


iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24

sysctl -w net.ipv4.ip_forward=1

ifconfig usb0 192.168.0.200

ssh root@192.168.0.202


cd Maps/

scp *.log root@192.168.0.200:/media/disk/GPS_TangoGPS_log2gpx


exit

<tosky> ci sara' un errore
<tosky> dal fisso che fa
<tosky> ssh -pr root@192.168.0.202:Maps/
<tosky> ssh -pr root@192.168.0.202:Maps/*.log .
<tosky> ?