Re: NSLU2 Install problems with 4.0r2

2008-01-02 Thread Jake McGraw
I had one crash and one failure while trying to install Debian 4.0r2 on my
NSLU2:

1. Crashed while trying to write a new partition table.
2. Failed during software install step, tried to setup as a Web Server and
File Server.

The crash was a one time event, I haven't tried to recreate the failure
because it only happens after taking some two hours to install all the
necessary software. After installing using only the base software I was
successful in getting the slug up and running.

- jake

On Dec 30, 2007 11:03 AM, 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, either on
 the
  slug itself, or on the machine which it is using as a DNS server.
 
  Given that you're picking up your IP address by DHCP, what values are
  being sent for the DNS server?  What ends up in /etc/resolv.conf on the
  slug?
 
 
  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 which I'm trying to set up for my father.
  The first computer to connect to it gets working DNS whilst the second
 one gets all DNS queries answered with 1.0.0.0 as the address.  This is on
 the end of a Tiscali ADSL connection, so I don't know whether it's the
 router or Tiscali f**king things up.

 Sounds like it's the same as your problem though.


 --
 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-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

2007-12-30 Thread John Winters
 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, either on the
 slug itself, or on the machine which it is using as a DNS server.

 Given that you're picking up your IP address by DHCP, what values are
 being sent for the DNS server?  What ends up in /etc/resolv.conf on the
 slug?


 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 which I'm trying to set up for my father.
 The first computer to connect to it gets working DNS whilst the second
one gets all DNS queries answered with 1.0.0.0 as the address.  This is on
the end of a Tiscali ADSL connection, so I don't know whether it's the
router or Tiscali f**king things up.

Sounds like it's the same as your problem though.


-- 
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]



Re: NSLU2 Install problems with 4.0r2

2007-12-29 Thread Martin Michlmayr
* Dave Potts [EMAIL PROTECTED] [2007-12-29 12:12]:
 I've been trying to install the 4.0r2 release. It gets up to selecting
 the kernel to install and I pick linux-image-2.6.18-5-ixp4xx. It
 goes on a bit more then it stops with Unable to install
 initramfs-tools . I pulled the USB external drive out and plugged it
 into another machine, but /var/log/syslog is empty. Any suggestions?

/var/log/syslog in the installer is not the USB drive, but a
filesystem in memory.  You need to manually copy /var/log/syslog to
/target (the USB drive).

 One thing I might have done wrong is I set aside 1gig for swap.  Is
 that way too much?  Could that be the issue?

Shouldn't be, assuming you left enough space for root (/).

-- 
Martin Michlmayr
http://www.cyrius.com/


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



RE: NSLU2 Install problems with 4.0r2

2007-12-29 Thread Sam Reed
What size of drive are you using?


Sam

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Potts
Sent: 29 December 2007 12:12
To: debian-arm@lists.debian.org
Subject: NSLU2 Install problems with 4.0r2

Hello,

Anyone about who can help a newbie with Debian installation to an NSLU
2 problems please?

I've been trying to install the 4.0r2 release. It gets up to selecting
the kernel to install and I pick linux-image-2.6.18-5-ixp4xx. It
goes on a bit more then it stops with Unable to install
initramfs-tools . I pulled the USB external drive out and plugged it
into another machine, but /var/log/syslog is empty. Any suggestions?

One thing I might have done wrong is I set aside 1gig for swap.  Is
that way too much?  Could that be the issue?

Cheers,

Dave.

http://dadhacker.blogspot.com/


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



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



Re: NSLU2 Install problems with 4.0r2

2007-12-29 Thread Dave Potts
Hi,

Following up on my previous posting, I've got the /var/log/syslog off
the slug from my failed install.  I've put it on google docs at:

http://docs.google.com/Doc?id=dhg5vq6x_73dbsv3ggs

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
Dec 29 21:34:12 base-installer: Reading package lists...
Dec 29 21:34:12 base-installer: Failed to fetch
http://ftp.uk.debian.org/debian/dists/etch/Release.gpg  Could not
connect to ftp.uk.debian.org:80 (1.0.0.0), connection timed out

...followed by subsequent failures to authenticate packages.

From my laptop going through the same ADSL router I can get to
ftp.uk.debian.org:80.  Have I got something set up wrong in my slug's
network?  Any idea how I could debug?  I *think* I'm setting up the
slug by DHCP.  I can obviously SSH into the slug from the same
192.168.1.x network.

Cheers,

Dave.



Thanks,

Dave.
http://dadhacker.blogspot.com/

On 29/12/2007, Dave Potts [EMAIL PROTECTED] wrote:
 Hi,

 I've got a 120 gig external drive: 1gig swap, 119gig in one big
 partition (yes: newbie configuration choices I'm sure!)

 I'm going to give it another go getting the /var/log/syslog off the
 slug when the installer fails.

 I'll report back.

 Thanks,

 Dave.

 On 29/12/2007, Sam Reed [EMAIL PROTECTED] wrote:
  What size of drive are you using?
 
 
  Sam
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Potts
  Sent: 29 December 2007 12:12
  To: debian-arm@lists.debian.org
  Subject: NSLU2 Install problems with 4.0r2
 
  Hello,
 
  Anyone about who can help a newbie with Debian installation to an NSLU
  2 problems please?
 
  I've been trying to install the 4.0r2 release. It gets up to selecting
  the kernel to install and I pick linux-image-2.6.18-5-ixp4xx. It
  goes on a bit more then it stops with Unable to install
  initramfs-tools . I pulled the USB external drive out and plugged it
  into another machine, but /var/log/syslog is empty. Any suggestions?
 
  One thing I might have done wrong is I set aside 1gig for swap.  Is
  that way too much?  Could that be the issue?
 
  Cheers,
 
  Dave.
 
  http://dadhacker.blogspot.com/
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]
 
 
 



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



Re: NSLU2 Install problems with 4.0r2

2007-12-29 Thread John Winters

Dave Potts wrote:

Hi,

Following up on my previous posting, I've got the /var/log/syslog off
the slug from my failed install.  I've put it on google docs at:

http://docs.google.com/Doc?id=dhg5vq6x_73dbsv3ggs

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
Dec 29 21:34:12 base-installer: Reading package lists...
Dec 29 21:34:12 base-installer: Failed to fetch
http://ftp.uk.debian.org/debian/dists/etch/Release.gpg  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, either on the 
slug itself, or on the machine which it is using as a DNS server.


Given that you're picking up your IP address by DHCP, what values are 
being sent for the DNS server?  What ends up in /etc/resolv.conf on the 
slug?


John


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



Re: NSLU2 Install problems with 4.0r2

2007-12-29 Thread Dave Potts
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, either on the
 slug itself, or on the machine which it is using as a DNS server.

 Given that you're picking up your IP address by DHCP, what values are
 being sent for the DNS server?  What ends up in /etc/resolv.conf on the
 slug?


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.

Any suggestions what I should do?  What about setting up
ftp.uk.debian.org manually in the hosts file?

Dave.


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