Re: Does the GPS work on opentango.
Robert William Hutton wrote: Orlando wrote: I tried this... [EMAIL PROTECTED]:~# opkg list_installed | grep gpsd gpsd-conf - 2.34-r9 - [EMAIL PROTECTED]:~# opkg install gpsd An error ocurred, return value: 2. [EMAIL PROTECTED]:~# opkg install gps An error ocurred, return value: 2. [EMAIL PROTECTED]:~# 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. I'd say you are spot on, there's no connectivity to the internet. I'd recommend standard troubleshooting (nslookup/traceroute/ping) but it likely to be your resolv.conf. udhcpc alters /var/run/resolv.conf ... so I wouldn't suggest removing the symlink, as a continually changing value should not be written to flash. I'd script something up to edit /var/run/resolv.conf or for now just change it manually. If you're not network hopping then /etc/resolv.conf is a viable alternative but be aware that you will be breaking typical embedded system operation, as in, other programs will be altering /var/run/resolv.conf when setting the network parameters ... well I hope :S Sarton ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Does the GPS work on opentango.
firstly: - this is a support-list issue - prefix your subject with at least the distribution you're using (2007.2, 2008.8, fso, debian) and maybe the hardware (gta01, gta02) to make it easier to help you When I run tangogps it tells me that I have no gps. It is weird because I have the agpsui program and it is working properly. agpsui does not use gpsd but reads the device directly. gpsd is in the repos -- simply install. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Does the GPS work on opentango.
Hi to all, [EMAIL PROTECTED]:~# [EMAIL PROTECTED]:~# opkg install http://downloads.openmoko.org/repository/Om2008.8/armv4t/gpsd_2.34-r9_armv4t.opk Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/gpsd_2.34-r9_armv4t.opk Multiple packages (gpsd and gpsd) providing same name marked HOLD or PREFER. Using latest. Installing gpsd (2.34-r9) to root... Installing gpsd-gpsctl (2.34-r9) to root... Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/gpsd-gpsctl_2.34-r9_armv4t.opk Installing libgps16 (2.34-r9) to root... Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/libgps16_2.34-r9_armv4t.opk Configuring gpsd Adding system startup for /etc/init.d/gpsd. Starting gpsd: success Configuring gpsd-gpsctl Configuring libgps16 [EMAIL PROTECTED]:~# gpsd is now installed and working... thanks for everything :) -Orlando. On Tue, Sep 9, 2008 at 3:15 AM, arne anka [EMAIL PROTECTED] wrote: firstly: - this is a support-list issue - prefix your subject with at least the distribution you're using (2007.2, 2008.8, fso, debian) and maybe the hardware (gta01, gta02) to make it easier to help you When I run tangogps it tells me that I have no gps. It is weird because I have the agpsui program and it is working properly. agpsui does not use gpsd but reads the device directly. gpsd is in the repos -- simply install. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- --- ing. Javier O. Ramírez Martínez Key fingerprint = CBFD AEC9 E7F9 C726 03BF 3D85 7B9E 47A7 EB84 70D4 http://linux.mty.itesm.mx/~oramirez http://picasaweb.google.com/javier.ramirez ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Does the GPS work on opentango.
I tried to run the gpsd script in console, and the output tells me this. [EMAIL PROTECTED]:~# /etc/init.d/gpsd start Starting gpsd: /etc/init.d/gpsd: line 96: gpsd: not found success When I run tangogps it tells me that I have no gps. It is weird because I have the agpsui program and it is working properly. This is happening with the stable image. thanks in advance. Orlando. -- --- ing. Javier O. Ramírez Martínez Key fingerprint = CBFD AEC9 E7F9 C726 03BF 3D85 7B9E 47A7 EB84 70D4 http://linux.mty.itesm.mx/~oramirez http://picasaweb.google.com/javier.ramirez ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Does the GPS work on opentango.
Orlando wrote: I tried to run the gpsd script in console, and the output tells me this. [EMAIL PROTECTED]:~# /etc/init.d/gpsd start Starting gpsd: /etc/init.d/gpsd: line 96: gpsd: not found Looks like gpsd is not installed. -stacy ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Does the GPS work on opentango.
I tried this... [EMAIL PROTECTED]:~# opkg list_installed | grep gpsd gpsd-conf - 2.34-r9 - [EMAIL PROTECTED]:~# opkg install gpsd An error ocurred, return value: 2. [EMAIL PROTECTED]:~# opkg install gps An error ocurred, return value: 2. [EMAIL PROTECTED]:~# -Orlando. On Mon, Sep 8, 2008 at 6:18 PM, -stacy [EMAIL PROTECTED] wrote: Orlando wrote: I tried to run the gpsd script in console, and the output tells me this. [EMAIL PROTECTED]:~# /etc/init.d/gpsd start Starting gpsd: /etc/init.d/gpsd: line 96: gpsd: not found Looks like gpsd is not installed. -stacy ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community -- --- ing. Javier O. Ramírez Martínez Key fingerprint = CBFD AEC9 E7F9 C726 03BF 3D85 7B9E 47A7 EB84 70D4 http://linux.mty.itesm.mx/~oramirez http://picasaweb.google.com/javier.ramirez ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Does the GPS work on opentango.
Orlando wrote: I tried this... [EMAIL PROTECTED]:~# opkg list_installed | grep gpsd gpsd-conf - 2.34-r9 - [EMAIL PROTECTED]:~# opkg install gpsd An error ocurred, return value: 2. [EMAIL PROTECTED]:~# opkg install gps An error ocurred, return value: 2. [EMAIL PROTECTED]:~# 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 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Does the GPS work on opentango.
-stacy wrote: Orlando wrote: I tried this... [EMAIL PROTECTED]:~# opkg list_installed | grep gpsd gpsd-conf - 2.34-r9 - That confirms that gpsd is not installed. [EMAIL PROTECTED]:~# opkg install gpsd An error ocurred, return value: 2. [EMAIL PROTECTED]:~# opkg install gps An error ocurred, return value: 2. [EMAIL PROTECTED]:~# I love meaningful error messages, to bad that isn't one. According to http://wiki.openmoko.org/wiki/Opkg#Error_Codes 2: Error parsing config file What ever that may mean... I think the package databases count as config files... Try to opkg update first. That usually fixes it for me. -Rusty -stacy ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community