Re: [all / linux] neo as gps unit?

2009-08-24 Thread Helge Hafting
Olivier Migeot wrote:
 On Fri, Aug 21, 2009 at 4:44 PM, Helge Haftinghelge.haft...@hist.no wrote:
 
 Could that be the default configuration?
 
 That would also listen on ppp0. Which could be problematic if - dunno
 if many operators do that - its IP is directly reachable from the Wild
 (i.e. anybody could be able to know where you are... ).

That is something I can prevent if I want to.
(Have iptables block incoming SYN+ACK packets on ppp0)
Or perhaps I want some friends to be able to see this.

However, I don't think there are any operators that do this. IP 
addresses are expensive, so they surely don't want to hand them out to 
phones - almost none of the net surfing phones can run any server 
software anyway. The FR can, and perhaps you can hack it on a few 
others. The rest merely runs browsers...

To check: open one of those webpages that show you your own IP address.
Then try shh to that address. I cannot imagine this working...



Helge Hafting

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-22 Thread Stroller

On 21 Aug 2009, at 16:15, Al Johnson wrote:
 On Friday 21 August 2009, Olivier Migeot wrote:
 On Fri, Aug 21, 2009 at 4:44 PM, Helge  
 Haftinghelge.haft...@hist.no wrote:
 Could that be the default configuration?

 That would also listen on ppp0. Which could be problematic if - dunno
 if many operators do that - its IP is directly reachable from the  
 Wild
 (i.e. anybody could be able to know where you are... ).

 Then block it in the default iptables rules

Is iptables sure to be running by default?

Stroller.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-22 Thread Al Johnson
On Saturday 22 August 2009, Stroller wrote:
 On 21 Aug 2009, at 16:15, Al Johnson wrote:
  On Friday 21 August 2009, Olivier Migeot wrote:
  On Fri, Aug 21, 2009 at 4:44 PM, Helge
 
  Haftinghelge.haft...@hist.no wrote:
  Could that be the default configuration?
 
  That would also listen on ppp0. Which could be problematic if - dunno
  if many operators do that - its IP is directly reachable from the
  Wild
  (i.e. anybody could be able to know where you are... ).
 
  Then block it in the default iptables rules

 Is iptables sure to be running by default?

If it isn't already then it should be, with some sensibly safe defaults. Since 
we're talking about changing default settings I don't see why we shouldn't 
consider the default state of iptables too.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-21 Thread Helge Hafting
Patryk Benderz wrote:
 [cut]
 DAEMON_OPTS=-S localhost:gpsd -P $PIDFILE
 r...@om-gta02 ~ $ fso-gpsd -?
 [...]
   -S integer (default 2947)   Set port for daemon
 [...]
 so you could provide just -S gpsd so daemon listen an all IPs...
 
Could that be the default configuration?

A laptop display is bigger, which is convenient for looking at
maps.

Helge Hafting

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-21 Thread Olivier Migeot
On Fri, Aug 21, 2009 at 4:44 PM, Helge Haftinghelge.haft...@hist.no wrote:

 Could that be the default configuration?

That would also listen on ppp0. Which could be problematic if - dunno
if many operators do that - its IP is directly reachable from the Wild
(i.e. anybody could be able to know where you are... ).

Wifi and BT interfaces are less of a problem, since people close
enough to connect your moko would probably know where you are already
;)

-- 
Olivier

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-21 Thread Al Johnson
On Friday 21 August 2009, Olivier Migeot wrote:
 On Fri, Aug 21, 2009 at 4:44 PM, Helge Haftinghelge.haft...@hist.no wrote:
  Could that be the default configuration?

 That would also listen on ppp0. Which could be problematic if - dunno
 if many operators do that - its IP is directly reachable from the Wild
 (i.e. anybody could be able to know where you are... ).

Then block it in the default iptables rules

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-20 Thread Rask Ingemann Lambertsen
On Wed, Aug 19, 2009 at 12:33:48PM +0200, arne anka wrote:
 And not from e.g. a local TangoGPS.
 
 that wasn't the question.

   It should be clear from his question that he's likely not capable of
figuring that side effect out himself. Don't you think it is something he
should be told about?

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-19 Thread Patryk Benderz
[cut]
 DAEMON_OPTS=-S localhost:gpsd -P $PIDFILE
r...@om-gta02 ~ $ fso-gpsd -?
[...]
  -S integer (default 2947)   Set port for daemon
[...]
so you could provide just -S gpsd so daemon listen an all IPs...

-- 
Kind Regards

Patryk Benderz
IT Specialist
Linux Registered User #377521
+48 22 538 6292

ERSTE Securities Polska S.A.
ul. Królewska 16
Warszawa 00-103
KRS 065121
NIP 526-10-27-638
REGON 011136053
Kapitał akcyjny: 15.500.000 złotych (w pełni opłacony)

This message and any attached files are confidential and intended solely
for the addressee(s). Any publication, transmission or other use of the
information by a person or entity other than the intended addressee is
prohibited. If you receive this in error please contact the sender and
delete the material. The sender does not accept liability for any errors
or omissions as a result of the transmission.


Email secured by Check Point

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-19 Thread Rask Ingemann Lambertsen
On Tue, Aug 18, 2009 at 08:17:49AM -0700, jeremy jozwik wrote:
 morning all. i was just sitting here on my debian laptop, poking
 around with tango gps. now my laptop does not have any sort of gps so
 i get the no gps found deal at the bottom. that got me thinking, has
 anyone setup there freerunner to act as a gps device for there
 laptops?

   Yes! This very questions was asked and answered not even a week ago.
You're supposed to search the archives before asking, you know.
https://lists.openmoko.org/pipermail/community/2009-August/053218.html

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-19 Thread Rask Ingemann Lambertsen
On Tue, Aug 18, 2009 at 08:52:41PM +0200, arne anka wrote:
  a quick glance over /etc/init.dfso-gpsd did not reveal an easy way to
  change that.
 
 a glance a tad slower shows the line
 
 DAEMON_OPTS=-S localhost:gpsd -P $PIDFILE
 
 change localhost to 192.168.0.202 and the gpsd is available from outer  
 space ...

   And not from e.g. a local TangoGPS. Reading the manual page which
explains how to make it work is left as an excercise to the reader.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-19 Thread arne anka
And not from e.g. a local TangoGPS.

that wasn't the question.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [all / linux] neo as gps unit?

2009-08-19 Thread Niels Heyvaert

Hi Rask,
 
Perhaps you can also point Jeremy to this easy, one-click search of all months 
archives for the Openmoko lists...
 
Where would one find that?

Niels.
--
Microsoft gives you windows, Linux gives you the whole house.






 Date: Wed, 19 Aug 2009 00:51:30 +0200
 From: ccc94...@vip.cybercity.dk
 To: community@lists.openmoko.org
 Subject: Re: [all / linux] neo as gps unit?

 On Tue, Aug 18, 2009 at 08:17:49AM -0700, jeremy jozwik wrote:
 morning all. i was just sitting here on my debian laptop, poking
 around with tango gps. now my laptop does not have any sort of gps so
 i get the no gps found deal at the bottom. that got me thinking, has
 anyone setup there freerunner to act as a gps device for there
 laptops?

 Yes! This very questions was asked and answered not even a week ago.
 You're supposed to search the archives before asking, you know.
 https://lists.openmoko.org/pipermail/community/2009-August/053218.html

 --
 Rask Ingemann Lambertsen
 Danish law requires addresses in e-mail to be logged and stored for a year

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
_
Hebben jij en je vrienden leuke foto's van jullie feestje? Maak een groepsalbum 
en geniet nog extra na. 
http://www.microsoft.com/belux/nl/windows/windowslive/products/photos.aspx
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-19 Thread jeremy jozwik
On Wed, Aug 19, 2009 at 7:25 AM, Niels
Heyvaertnielsheyva...@hotmail.com wrote:
 Perhaps you can also point Jeremy to this easy, one-click search of all 
 months archives for the Openmoko lists...

your such a sweet heart. dont open it or respond to it if it causes
you such a headache. sorry, didnt use the search. im a busy person.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[all / linux] neo as gps unit?

2009-08-18 Thread jeremy jozwik
morning all. i was just sitting here on my debian laptop, poking
around with tango gps. now my laptop does not have any sort of gps so
i get the no gps found deal at the bottom. that got me thinking, has
anyone setup there freerunner to act as a gps device for there
laptops?

if so, is there a wiki about it?

if not, is it possible to do?

- jeremy

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread KaZeR



jeremy jozwik wrote:
 
 morning all. i was just sitting here on my debian laptop, poking
 around with tango gps. now my laptop does not have any sort of gps so
 i get the no gps found deal at the bottom. that got me thinking, has
 anyone setup there freerunner to act as a gps device for there
 laptops?
 
 if so, is there a wiki about it?
 
 if not, is it possible to do?
 

It is possible, indeed. You might be interested in reading [1]

K-

[1] http://wiki.openmoko.org/wiki/Neo_FreeRunner_GPS#Using_GPS

-- 
View this message in context: 
http://n2.nabble.com/-all---linux--neo-as-gps-unit--tp3466677p3466761.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread Martin Jansa
On Tue, Aug 18, 2009 at 08:17:49AM -0700, jeremy jozwik wrote:
 morning all. i was just sitting here on my debian laptop, poking
 around with tango gps. now my laptop does not have any sort of gps so
 i get the no gps found deal at the bottom. that got me thinking, has
 anyone setup there freerunner to act as a gps device for there
 laptops?
 
 if so, is there a wiki about it?
 
 if not, is it possible to do?

Its quite easy to setup.

1) check /etc/init.d/fso-gpsd and set -S parametr to ip:port where ip is
ie ip address of your wifi interface on neo where you would like to access gpsd
from laptop, and port you can keep default gpsd.

2) on laptop check that this ip address is available with ping and then
set address of gpsd in tangogps last tab to that ip.

3) if something goes wrong, check port availability with nmap and gps
data on laptop side with gpspipe.

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 


pgpF5AONh5A0m.pgp
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread jeremy jozwik
On Tue, Aug 18, 2009 at 8:33 AM, KaZeRka...@altern.org wrote:
 It is possible, indeed. You might be interested in reading [1]

 K-

nice, have you done this? on my debian lenny i get a usage response when running
nc -vvn -l -p 5000  /tmp/nmeaNP

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread Helge Hafting
jeremy jozwik wrote:
 morning all. i was just sitting here on my debian laptop, poking
 around with tango gps. now my laptop does not have any sort of gps so
 i get the no gps found deal at the bottom. that got me thinking, has
 anyone setup there freerunner to act as a gps device for there
 laptops?
 
 if so, is there a wiki about it?
 
 if not, is it possible to do?

It is simple, because sharing a gps unit over the network is an old 
feature of linux.

The freerunner makes its gps available on port 2947.
So, just connect your laptop and phone. If you use the
usb cable, the phone will have ip address 192.168.0.202

Set up your laptop gps software to use the gps unit at
192.168.0.202:2947, instead of the default localhost:2947.

It worked well last time I tried it.

Helge Hafting

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread Patryk Benderz
[cut]
 if not, is it possible to do?
You might try this:
http://www.opkg.org/package_91.html

-- 
Kind Regards

Patryk Benderz
IT Specialist
Linux Registered User #377521
+48 22 538 6292

ERSTE Securities Polska S.A.
ul. Królewska 16
Warszawa 00-103
KRS 065121
NIP 526-10-27-638
REGON 011136053
Kapitał akcyjny: 15.500.000 złotych (w pełni opłacony)

This message and any attached files are confidential and intended solely
for the addressee(s). Any publication, transmission or other use of the
information by a person or entity other than the intended addressee is
prohibited. If you receive this in error please contact the sender and
delete the material. The sender does not accept liability for any errors
or omissions as a result of the transmission.


Email secured by Check Point

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread jeremy jozwik
On Tue, Aug 18, 2009 at 8:56 AM, Patryk Benderzpatryk.bend...@esp.pl wrote:
 You might try this:
 http://www.opkg.org/package_91.html

interesting. not sure if my laptop has bluetooth though...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread The Digital Pioneer
Just use USB and gpsd. It works perfectly well. Except for me, my GPS quit
working a while back and hasn't started again yet. }:(
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread Mikhail Umorin

 It is possible, indeed. You might be interested in reading [1]

 K-

 [1] http://wiki.openmoko.org/wiki/Neo_FreeRunner_GPS#Using_GPS

Neither of the two methods offered in that wiki worked for me...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread jeremy jozwik
On Tue, Aug 18, 2009 at 10:42 AM, Mikhail Umorinmike...@gmail.com wrote:
 Neither of the two methods offered in that wiki worked for me...

oh good, so its not just me who cant use that nc code listed

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread arne anka
 The freerunner makes its gps available on port 2947.
 So, just connect your laptop and phone. If you use the
 usb cable, the phone will have ip address 192.168.0.202

 Set up your laptop gps software to use the gps unit at
 192.168.0.202:2947, instead of the default localhost:2947.

doesn't work here -- according to netstat fso-gpsd listens on 127.0.0.1  
only.
a quick glance over /etc/init.dfso-gpsd did not reveal an easy way to  
change that.

ssh -L 2947:localhost:2947 r...@192.168.0.202

otoh works immediately (and does not require to modify the navit.xml).

but i would defiitely prefer the solution you describe, so, someone out  
there having some ideas how to make fso-gpsd communicate with the outside  
world?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all / linux] neo as gps unit?

2009-08-18 Thread arne anka
 a quick glance over /etc/init.dfso-gpsd did not reveal an easy way to
 change that.

a glance a tad slower shows the line

DAEMON_OPTS=-S localhost:gpsd -P $PIDFILE

change localhost to 192.168.0.202 and the gpsd is available from outer  
space ...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community