nameserver was: Re: Signature check failed

2008-07-08 Thread arne anka
 The miss of those was just because I (as always) forgot to setup
 resolv.conf (as Ian guessed correctly ;) )

check your /etc/network/interfaces and change in
iface usb0 ...
the line
up echo nameserver XXX.XXX.XXX.XXX  /etc/resolv.conf
to match your dns.


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


Signature check failed

2008-07-07 Thread Christoph Anton Mitterer
Hi.

When I update (opkg update) I get the following:

[EMAIL PROTECTED]:/etc/opkg# opkg update
Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.gz
Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.sig
Signature check failed
Downloading http://buildhost.openmoko.org/daily-feed/armv4t/Packages.gz
Downloading http://buildhost.openmoko.org/daily-feed/armv4t/Packages.sig
Signature check failed
Downloading http://buildhost.openmoko.org/daily-feed/neo1973/Packages.gz
Downloading
http://buildhost.openmoko.org/daily-feed/neo1973/Packages.sig
Signature check failed
Downloading
http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.gz
Downloading
http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.sig
Signature check failed
Collected errors:
 * Failed to download
http://buildhost.openmoko.org/daily-feed/all/Packages.gz, error 0
 * Failed to download
http://buildhost.openmoko.org/daily-feed/all/Packages.sig, error 0
 * Failed to download
http://buildhost.openmoko.org/daily-feed/armv4t/Packages.gz, error 0
 * Failed to download
http://buildhost.openmoko.org/daily-feed/armv4t/Packages.sig, error 0
 * Failed to download
http://buildhost.openmoko.org/daily-feed/neo1973/Packages.gz, error 0
 * Failed to download
http://buildhost.openmoko.org/daily-feed/neo1973/Packages.sig, error 0
 * Failed to download
http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.gz, error 0
 * Failed to download
http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.sig, error 0



It seems that this sig files are missing,...
Am I doing something wrong here?


Regards,
Chris.


smime.p7s
Description: S/MIME cryptographic signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Signature check failed

2008-07-07 Thread ian douglas
The fact that the .gz files didn't download means your /etc/resolv.conf
doesn't point to a valid DNS server.

The signature files are definitely missing though, and should be corrected.

-id


Christoph Anton Mitterer wrote:
 Hi.
 
 When I update (opkg update) I get the following:
 
 [EMAIL PROTECTED]:/etc/opkg# opkg update
 Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.gz
 Downloading http://buildhost.openmoko.org/daily-feed/all/Packages.sig
 Signature check failed
 Downloading http://buildhost.openmoko.org/daily-feed/armv4t/Packages.gz
 Downloading http://buildhost.openmoko.org/daily-feed/armv4t/Packages.sig
 Signature check failed
 Downloading http://buildhost.openmoko.org/daily-feed/neo1973/Packages.gz
 Downloading
 http://buildhost.openmoko.org/daily-feed/neo1973/Packages.sig
 Signature check failed
 Downloading
 http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.gz
 Downloading
 http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.sig
 Signature check failed
 Collected errors:
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/all/Packages.gz, error 0
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/all/Packages.sig, error 0
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/armv4t/Packages.gz, error 0
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/armv4t/Packages.sig, error 0
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/neo1973/Packages.gz, error 0
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/neo1973/Packages.sig, error 0
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.gz, error 0
  * Failed to download
 http://buildhost.openmoko.org/daily-feed/om-gta02/Packages.sig, error 0
 
 
 
 It seems that this sig files are missing,...
 Am I doing something wrong here?
 
 
 Regards,
 Chris.
 
 
 
 
 ___
 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


Re: Signature check failed

2008-07-07 Thread arne anka
 It seems that this sig files are missing,...
 Am I doing something wrong here?

nope. signature files seem to be non-existent, opkg probably checks for  
them by default.
the miss of Packages.gz is more worrisome, because opkg computes the list  
of available packes from it.
did you try again after a while? maybe these were just regenerated.

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


Re: Signature check failed

2008-07-07 Thread ian douglas
arne anka wrote:
 the miss of Packages.gz is more worrisome, because opkg computes the list  
 of available packes from it.


Would be handy if opkg could detect if a valid DNS connection exists and
fail gracefully with a warning like Cannot resolve
buildhost.openmoko.org instead of taking the time to download each file
and failing and reporting several errors.

-id

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


Re: Signature check failed

2008-07-07 Thread Christoph Anton Mitterer
On Mon, 2008-07-07 at 22:45 +0200, arne anka wrote:
 nope. signature files seem to be non-existent, opkg probably checks for  
 them by default.
Uhm should we perhaps bring this to the attention of the developers?
Having signed packages is IMHO very important for security.


 the miss of Packages.gz is more worrisome, because opkg computes the list  
 of available packes from it.
 did you try again after a while? maybe these were just regenerated.
The miss of those was just because I (as always) forgot to setup
resolv.conf (as Ian guessed correctly ;) )


Chris.


smime.p7s
Description: S/MIME cryptographic signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Signature check failed

2008-07-07 Thread ian douglas
Christoph Anton Mitterer wrote:
 The miss of those was just because I (as always) forgot to setup
 resolv.conf (as Ian guessed correctly ;) )


It's simple to automate this:

In my /etc/networking/interfaces, for the USB connection, where the up
command does an echo to resolv.conf, something like this:

 up echo nameserver 192.168.0.200  /etc/resolv.conf

I changed it to:

 up echo nameserver 208.67.222.222  /etc/resolv.conf

which is a public DNS server for opendns.com. Works great for me, your
mileage may vary.

-id

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