Does the GPS work on opentango.

Robert William Hutton rwh at helms-deep.cable.nu
Tue Sep 9 02:09:48 CEST 2008


Orlando wrote:
> I tried this... 
> 
> root at om-gta02:~# opkg list_installed | grep gpsd
> gpsd-conf - 2.34-r9 -
> root at om-gta02:~# opkg install gpsd
> An error ocurred, return value: 2.
> root at om-gta02:~# opkg install gps
> An error ocurred, return value: 2.
> root at om-gta02:~#

I think "An error ocurred, return value: 2." roughly translates to "I 
can't access the packages".  Have you checked that your network 
connection works?  The usual reason for it not working is an empty 
/etc/resolv.conf.  First you need to move the symbolic link to the 
non-existent file out of the way:

cd /etc
mv resolv.conf resolv.conf.old

Then you need to create a new /etc/resolv.conf file and put in some 
nameserver lines so that DNS resolving works.  You can either install 
dnsmasq on your desktop computer and then put:

nameserver 192.168.0.200

into your resolv.conf, or you can just copy the contents of the 
resolv.conf from your desktop to your openmoko.

Cheers,

Rob




More information about the community mailing list