Page 1 of 1

"Could not connect" - apt-get update

Posted: 15 Apr 2008, 07:27
by Peat
Hi,

Tried the beta of the etch release and it worked fine until I suddenly could not use apt-get. Returned "Could not connect" even though http, smtp and ftp worked in both directions. Decided to go back to latest stable bubba image. Fresh install no extras, and still cannot use apt-get update; returns "Could not connect", not only to excito'r repocitory , but also debian.org returns the same message.

Any ideas?

(No, I have not changed my firewall settings

Posted: 16 Apr 2008, 05:30
by Peat
I have still the same problem!!
When setting up the bubba on a local network I configure /etc/network/interfaces to communicate with internet.
When connecting bubba directly to internet I configure /etc/network/interfaces with the correct parameters (as for other servers) and there is no connection with apt-get update. I still can access it through the bubba web interface and ftp. What is wrong?

Posted: 16 Apr 2008, 10:03
by Eek
Hi

could you try the following:

Code: Select all

ftp ftp.monster.com
what do you get?

cheers
Eek

Posted: 17 Apr 2008, 02:10
by pa
Hi,

Can you post your /et/network/interfaces? Or send it in an email to our support mail?

/PA

Posted: 17 Apr 2008, 03:06
by Peat
I found my problem, and now it is working OK. It seemed to be the nameserver setting that f***ed things up for me.
Question: If I set the nameserver parameter in /etc/network/interfaces file, and a different address in /etc/resolv.conf; How is this handled by the system?

Thanks

Posted: 17 Apr 2008, 05:15
by pa
I do not think that you should put the nameserver anywhere else than in the resolv.conf file.

/PA

Posted: 23 Apr 2008, 12:39
by Ubi
/etc/resolv.conf always wins

ubi