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

Re: Fwd: Missing network configuration after installing Wheezy image



Forwarding private mail to list:


Date: Fri, 18 Jan 2013 12:46:24 +0100
From: Julian Pawlowski <julian.pawlowski@gmail.com>
To: Holger Wansing <linux@wansing-online.de>
Subject: Re: Fwd: Missing network configuration after installing Wheezy image


Hi Holger,

actually Daniel from the debian-live team just gave me the opposite advice
;-)

Let's see:

I believe the issue is in the netcfg package.
I just had a look into /var/log/installer/syslog after the installation
where I can find the following lines:

Jan 16 16:43:10 netcfg[5970]: INFO: Starting netcfg v.1.103 (built
20121210-1746)
Jan 16 16:43:10 netcfg[5970]: WARNING **: Couldn't read Wpasupplicant pid
file, not trying to kill.
Jan 16 16:43:10 netcfg[5970]: INFO: Could not find valid BOOTIF= entry in
/proc/cmdline
Jan 16 16:43:10 netcfg[5970]: INFO: Taking down interface eth0
Jan 16 16:43:22 netcfg[5970]: INFO: Taking down interface lo
Jan 16 16:43:22 netcfg[5970]: INFO: Taking down interface lo
Jan 16 16:43:22 netcfg[5970]: INFO: Activating interface eth0
Jan 16 16:43:23 kernel: [   40.433149] pcnet32 0000:02:01.0: eth0: link up
Jan 16 16:43:23 netcfg[5970]: INFO: executing: ip addr add
192.168.6.61/24 broadcast
192.168.6.255 dev eth0
Jan 16 16:43:23 netcfg[5970]: INFO: Waiting time set to 3
Jan 16 16:43:24 netcfg[5970]: INFO: ethtool-lite: eth0 is connected.
Jan 16 16:43:24 netcfg[5970]: INFO: Found link on eth0
Jan 16 16:43:24 netcfg[5970]: ARPING to 192.168.6.30 from 192.168.6.61 via
eth0
Jan 16 16:43:24 netcfg[5970]: Unicast reply from 192.168.6.30
[0:24:fe:eb:bc:53] 0.856ms
Jan 16 16:43:24 netcfg[5970]: Sent 1 probe(s) (1 broadcast(s))
Jan 16 16:43:24 netcfg[5970]: Received 1 replies (0 request(s), 0
broadcast(s))
Jan 16 16:43:24 netcfg[5970]: INFO: Gateway reachable on eth0
Jan 16 16:43:24 netcfg[5970]: DEBUG: Getting default hostname from rDNS
lookup of static-configured address 192.168.6.61
Jan 16 16:43:24 netcfg[5970]: DEBUG: getnameinfo() returned -2: errno 11
(Resource temporarily unavailable)
Jan 16 16:43:27 netcfg[5970]: DEBUG: No interface given; clearing
/etc/network/interfaces
Jan 16 16:43:27 netcfg[5970]: DEBUG: Writing informative header
Jan 16 16:43:27 netcfg[5970]: DEBUG: Success!
Jan 16 16:43:27 netcfg[5970]: DEBUG: Writing loopback interface
Jan 16 16:43:27 netcfg[5970]: DEBUG: Success!
Jan 16 16:43:27 netcfg[5970]: DEBUG: Writing static IPv4 stanza for eth0

For me the line "No interface given; clearing /etc/network/interfaces"
looks like the file could not be written correctly due to a missing
interface name.
That is why I added "d-i netcfg/choose_interface select eth0" to
preseed.cfg but unfortunately there was not change with a new ISO image
build with it.

Is my assumption correct, should I open a bug report for netcfg with these
information?

In fact it's just the /etc/network/interfaces file which is missing
information. It's not written by any debian-live specific script IMHO.


Cheers,
Julian


On Thu, Jan 17, 2013 at 5:26 PM, Holger Wansing <linux@wansing-online.de>wrote:

> Hi,
>
> Julian Pawlowski <julian.pawlowski@gmail.com> wrote:
> > I am currently evaluating the new Debian Installer for Wheezy and am
> about
> > to migrate a Debian Live 2.0 ISO image creation to Debian Live 3.0.
> >
> > However it seems I have an issue with the Installer when the live image
> > gets installed to a harddrive. I have activated user manual network
> > configuration by preseeding the installer (see
> > https://gist.github.com/64fd3d812400438d7f6e). However it seems the
> > configuration for eth0 is not written to /etc/network/interfaces so after
> > the first boot no network is available. As soon as I add settings for
> eth0
> > to /etc/network/interfaces everything is working fine.
> > Oh and I am using current Debian Live version from Sid to actually build
> > the Wheezy ISO, I guess it also includes the latest version of the Debian
> > Installer then.
> >
> > I'm not sure if this is a standalone issue with the Installer,
> > unfortunately I got no answer from the debian-live mailing list regarding
> > this so far which is why I hope anybody here could maybe shortly comment
> on
> > this.
>
> The install functionality from the live-images is completely different
> from the debian-installer. So debian-boot is the wrong list.
> debian-live is what you want... (as you have guessed).
>
> Holger


-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Created with Sylpheed 3.0.2
    under  D e b i a n   G N U / L I N U X   6.0  ( S q u e e z e )
        Registered LinuxUser #311290 - http://linuxcounter.net/
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =


Reply to: