Re: NSLU2 Install problems with 4.0r2 -- SOLVED

2007-12-31 Thread John Winters
Dave Potts wrote:
[snip]
> It was a problem with my D-link router and NOT with the slug or debian
> installer.
>
> Problem is described here:
>
> https://bugs.launchpad.net/ubuntu/+bug/81057
>
> My quick fix was to go into a shell and hard-code my ISP's DNS server
> IPs into /etc/resolve.conf before doing the install.  All then worked
> fine, but the DNS is lost on re-boot.  I think openDNS will be my
> longer term solution -- assuming no firmware for the router to fix it.

It's really funny that I should have been trying to help you with this and
hit the same problem myself only a day later.  Your pointer was most
useful, but I went for a different fix which to me is more satisfying.

Install bind9 and then edit /etc/bind/named.conf.options to point to the
ISP's DNS servers in the "forwarders" clause.  Then edit
/etc/dhcp3/dhclient.conf and un-comment the "prepend domain-name-servers
127.0.0.1;" line as advised in the article you link to, but change the
word "prepend" to "supersede".  That way you get *only* 127.0.0.1 in your
/etc/resolv.conf file.

Working beautifully for me here.

It's very odd that it should be the routers running Linux which get it
wrong.  Mine does offer the means to upgrade the firmware but it's so
no-name that there's absolutely no clue as to where one might get updated
firmware from.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NSLU2 Install problems with 4.0r2 -- SOLVED

2007-12-30 Thread Dave Potts
On 30/12/2007, John Winters <[EMAIL PROTECTED]> wrote:
> > On 29/12/2007, John Winters <[EMAIL PROTECTED]> wrote:
> >> Dave Potts wrote:
> >> >
> >> > The relevant lines towards the end seem to be:
> >> >
> >> > "Dec 29 21:34:12 base-installer: Err http://ftp.uk.debian.org etch
> >> Release.gpg
> >> > Dec 29 21:34:12 base-installer:   Could not connect to
> >> > ftp.uk.debian.org:80 (1.0.0.0), connection timed out
> >>
> >> The slug seems to think that ftp.uk.debian.org has an IP address of
> >> 1.0.0.0 which is obviously wrong.  It should be 83.142.228.128.  This
> >> suggests that there is something wrong with the DNS setup,> >>
> >
> > Contents of resolv.conf are:
> > nameserver 192.168.1.1
> >
> > ...which is the IP of my ADSL router and the same setting as on my
> > laptop that resolves the address just fine.
>
> Funnily enough I've just started experiencing exactly the same problem
> with a cheap no-name ADSL router...


It was a problem with my D-link router and NOT with the slug or debian
installer.

Problem is described here:

https://bugs.launchpad.net/ubuntu/+bug/81057

My quick fix was to go into a shell and hard-code my ISP's DNS server
IPs into /etc/resolve.conf before doing the install.  All then worked
fine, but the DNS is lost on re-boot.  I think openDNS will be my
longer term solution -- assuming no firmware for the router to fix it.

Thanks for all advice.

Dave.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]