[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#510271: installation-report: Lenny on a Slug - eventual success after a few tries and some fixups




On Jan 6, 2009, at 3:59 PM, Martin Michlmayr wrote:

* Rick Thomas <rbthomas@slug.rcthomas.org> [2008-12-30 19:12]:
One thing worth mentioning though: I have a full-service
DHCP on this subnet, so it got the network parameters from
DHCP.  This was successful, but for some reason it decided
that the DNS domain was "example.org", not the one being
offered by DHCP. The text "example.org" showed up in
the following places:

I need some more information on this.

Please make a backup of your flash with
   cat /dev/mtdblock? > mtd-backup
and copy it to your machine, so you can later write it back to the
NSLU2 with upslug2.

Then download the Debian installer image again and load it with
upslug2.

When you connect to the installer, open a shell and run the following
commands.  Please send me the output.

  cat /var/lib/dhcp3/dhclient.leases
  debconf-get netcfg/get_hostname
  debconf-get netcfg/get_domain
  cat /preseed.cfg

You can then flash mtd-backup with upslug2 to get back into your
system.

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


OK,

Here's the output (there was *no* file /var/lib/dhcp3/dhclient.leases )

~ # ls -l /var/lib/dhcp3/
~ # debconf-get netcfg/get_hostname
slug
~ # debconf-get netcfg/get_domain
example.org
~ # cat /preseed.cfg
d-i ethdetect/use_firewire_ethernet boolean false
d-i lowmem/low note
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string example.org
d-i network-console/password password install
d-i network-console/password-again password install
d-i partconf/already-mounted boolean false
d-i netcfg/choose_interface select eth0
d-i netcfg/get_ipaddress string 192.168.1.177
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.1.254
d-i netcfg/get_nameservers string 192.168.1.118 192.168.1.138 192.168.1.254
d-i netcfg/confirm_static boolean true
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_hostname string slug
~ #


In re-reading your doc "Installing Debian on NSLU2" at <http:// www.cyrius.com/debian/nslu2/install.html> I saw (not for the first time, but never before looking for things that had to do with DHCP) the paragraph:

If you have configured your network settings through the Linksys web interface to use a static IP address, these values will be used (including the hostname).

which reminded me that I had done exactly that -- use the Linksys web interface to set up a static IP: 192.168.1.177 .

This doesn't make it any less of a bug, but it may put the behavior in a different light.

Hope this helps!


Rick





Reply to: