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

Bug#431657: automatic wlan connection at bootprocess on Etch only on second try



Package: ipw3945d
Version: 1.7.22-4

Debian release: 4.0
Hardware: Dell Inspiron 6400

Hi,

my WLAN connection starts only at the second try.

Etch-nb:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.mynet.conf

The first try never works:

/var/log/boot:

Fri Jun 29 18:51:01 2007: Setting up networking....
Fri Jun 29 18:51:01 2007: Starting ipw3945 regulatory daemon: ipw3945d.
Fri Jun 29 18:51:04 2007: Configuring network interfaces...Internet Systems
Consortium DHCP Client V3.0.4
Fri Jun 29 18:51:05 2007: Copyright 2004-2006 Internet Systems Consortium.
Fri Jun 29 18:51:05 2007: All rights reserved.
Fri Jun 29 18:51:05 2007: For info, please visit http://www.isc.org/sw/dhcp/
Fri Jun 29 18:51:05 2007:
Fri Jun 29 18:51:06 2007: Listening on LPF/eth2/00:1b:77:38:26:de
Fri Jun 29 18:51:06 2007: Sending on   LPF/eth2/00:1b:77:38:26:de
Fri Jun 29 18:51:06 2007: Sending on   Socket/fallback
Fri Jun 29 18:51:10 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 6
Fri Jun 29 18:51:16 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 8
Fri Jun 29 18:51:24 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 21
Fri Jun 29 18:51:45 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 9
Fri Jun 29 18:51:54 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 11
Fri Jun 29 18:52:05 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 6
Fri Jun 29 18:52:11 2007: No DHCPOFFERS received.
Fri Jun 29 18:52:11 2007: No working leases in persistent database - sleeping.
Fri Jun 29 18:52:11 2007: done.

[...]

Fri Jun 29 18:52:21 2007: Starting K Display Manager: kdm.
Fri Jun 29 18:52:21 2007: Reconfiguring network interfaces...There is already
a pid file /var/run/dhclient.eth2.pid
 with pid 2486
Fri Jun 29 18:52:21 2007: killed old client process, removed PID file
Fri Jun 29 18:52:21 2007: Internet Systems Consortium DHCP Client V3.0.4
Fri Jun 29 18:52:21 2007: Copyright 2004-2006 Internet Systems Consortium.
Fri Jun 29 18:52:21 2007: All rights reserved.
Fri Jun 29 18:52:21 2007: For info, please visit http://www.isc.org/sw/dhcp/
Fri Jun 29 18:52:21 2007:
Fri Jun 29 18:52:21 2007: Listening on LPF/eth2/00:1b:77:38:26:de
Fri Jun 29 18:52:21 2007: Sending on   LPF/eth2/00:1b:77:38:26:de
Fri Jun 29 18:52:21 2007: Sending on   Socket/fallback
Fri Jun 29 18:52:21 2007: DHCPRELEASE on eth2 to 192.168.0.1 port 67
Fri Jun 29 18:52:21 2007: send_packet: Network is unreachable
Fri Jun 29 18:52:21 2007: send_packet: please consult README file regarding
broadcast address.
Fri Jun 29 18:52:22 2007: There is already a pid
file /var/run/dhclient.eth1.pid with pid 2487
Fri Jun 29 18:52:22 2007: killed old client process, removed PID file
Fri Jun 29 18:52:22 2007: Internet Systems Consortium DHCP Client V3.0.4
Fri Jun 29 18:52:22 2007: Copyright 2004-2006 Internet Systems Consortium.
Fri Jun 29 18:52:22 2007: All rights reserved.
Fri Jun 29 18:52:22 2007: For info, please visit http://www.isc.org/sw/dhcp/
Fri Jun 29 18:52:22 2007:
Fri Jun 29 18:52:22 2007: Listening on LPF/eth1/00:19:b9:77:97:88
Fri Jun 29 18:52:22 2007: Sending on   LPF/eth1/00:19:b9:77:97:88
Fri Jun 29 18:52:22 2007: Sending on   Socket/fallback
Fri Jun 29 18:52:22 2007: DHCPRELEASE on eth1 to 192.168.0.1 port 67
Fri Jun 29 18:52:22 2007: send_packet: Network is unreachable
Fri Jun 29 18:52:22 2007: send_packet: please consult README file regarding
broadcast address.
Fri Jun 29 18:52:22 2007: Internet Systems Consortium DHCP Client V3.0.4
Fri Jun 29 18:52:22 2007: Copyright 2004-2006 Internet Systems Consortium.
Fri Jun 29 18:52:22 2007: All rights reserved.
Fri Jun 29 18:52:22 2007: For info, please visit http://www.isc.org/sw/dhcp/
ri Jun 29 18:52:22 2007:
Fri Jun 29 18:52:23 2007: Listening on LPF/eth2/00:1b:77:38:26:de
Fri Jun 29 18:52:23 2007: Sending on   LPF/eth2/00:1b:77:38:26:de
Fri Jun 29 18:52:23 2007: Sending on   Socket/fallback
Fri Jun 29 18:52:25 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 7
Fri Jun 29 18:52:32 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67
interval 15
Fri Jun 29 18:52:32 2007: DHCPOFFER from 192.168.0.1
Fri Jun 29 18:52:32 2007: DHCPREQUEST on eth2 to 255.255.255.255 port 67
Fri Jun 29 18:52:32 2007: DHCPACK from 192.168.0.1
Fri Jun 29 18:52:32 2007: bound to 192.168.0.3 -- renewal in 120338 seconds.
Fri Jun 29 18:52:32 2007: done.
Fri Jun 29 18:52:32 2007:

To get the second try working I added this line

/etc/init.d/networking restart

to /etc/rc.local


If I modify /etc/network/interfaces this way:

iface eth2 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.mynet.conf
#auto eth2

and /etc/rc.local:

Etch-nb:~# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

ifup --verbose eth2
exit 0

my WLAN connects at the first try
without any errors.

/var/log/boot:

Mon Jul  2 23:51:35 2007: .
Mon Jul  2 23:51:35 2007: Setting parameters of disc: (none).
Mon Jul  2 23:51:35 2007: Activating swap...done.
Mon Jul  2 23:51:35 2007: Checking root file system...fsck 1.40-WIP 
(14-Nov-2006)
Mon Jul  2 23:51:35 2007: /dev/sda1: clean, 116501/750720 files, 
671203/1500061 blocks
Mon Jul  2 23:51:35 2007: done.
Mon Jul  2 23:51:35 2007: Setting the system clock..
Mon Jul  2 21:51:37 2007: Cleaning up ifupdown....
Mon Jul  2 21:51:37 2007: Loading kernel modules...done.
Mon Jul  2 21:51:37 2007: Loading device-mapper support.
Mon Jul  2 21:51:37 2007: Checking file systems...fsck 1.40-WIP (14-Nov-2006)
Mon Jul  2 21:51:37 2007: /dev/sda2: clean, 2451/3932160 files, 196089/7863817 
blocks
Mon Jul  2 21:51:37 2007: done.
Mon Jul  2 21:51:37 2007: Setting kernel variables...done.
Mon Jul  2 21:51:37 2007: Invalidating stale software suspend images... done.
Mon Jul  2 21:51:37 2007: Mounting local filesystems...done.
Mon Jul  2 21:51:37 2007: Activating swapfile swap...done.
Mon Jul  2 21:51:37 2007: Detecting hardware...FATAL: Error inserting i8xx_tco 
(/lib/modules/2.6.18-4-686/kernel/drivers/char/watchdog/i8xx_tco.ko): No such 
device
Mon Jul  2 21:51:38 2007: Setting up networking....
Mon Jul  2 21:51:38 2007: Starting ipw3945 regulatory daemon: ipw3945d.
Mon Jul  2 21:51:41 2007: Configuring network interfaces...done.
Mon Jul  2 21:51:42 2007: Starting portmap daemon....
Mon Jul  2 21:51:43 2007: Setting console screen modes and fonts.
Mon Jul  2 21:51:43 2007: ^[]R^[[9;30]^[[14;30]Setting up ALSA...done.
Mon Jul  2 21:51:44 2007: INIT: Entering runlevel: 2
Mon Jul  2 21:51:44 2007: Saving VESA state....
Mon Jul  2 21:51:44 2007: Starting system log daemon: syslogd.
Mon Jul  2 21:51:44 2007: Starting kernel log daemon: klogd.
Mon Jul  2 21:51:44 2007: Starting 915resolution: Intel 800/900 Series VBIOS 
Hack : version 0.5.2
Mon Jul  2 21:51:44 2007: 
Mon Jul  2 21:51:44 2007: Chipset: 945GM
Mon Jul  2 21:51:44 2007: BIOS: TYPE 1
Mon Jul  2 21:51:44 2007: Mode Table Offset: $C0000 + $269
Mon Jul  2 21:51:44 2007: Mode Table Entries: 36
Mon Jul  2 21:51:44 2007: 
Mon Jul  2 21:51:44 2007: Patch mode 3c to resolution 1280x800 complete
Mon Jul  2 21:51:44 2007: Intel 800/900 Series VBIOS Hack : version 0.5.2
Mon Jul  2 21:51:44 2007: 
Mon Jul  2 21:51:44 2007: Chipset: 945GM
Mon Jul  2 21:51:44 2007: BIOS: TYPE 1
Mon Jul  2 21:51:44 2007: Mode Table Offset: $C0000 + $269
Mon Jul  2 21:51:44 2007: Mode Table Entries: 36
Mon Jul  2 21:51:44 2007: 
Mon Jul  2 21:51:44 2007: Patch mode 4d to resolution 1280x800 complete
Mon Jul  2 21:51:44 2007: Intel 800/900 Series VBIOS Hack : version 0.5.2
Mon Jul  2 21:51:44 2007: 
Mon Jul  2 21:51:44 2007: Chipset: 945GM
Mon Jul  2 21:51:44 2007: BIOS: TYPE 1
Mon Jul  2 21:51:44 2007: Mode Table Offset: $C0000 + $269
Mon Jul  2 21:51:44 2007: Mode Table Entries: 36
Mon Jul  2 21:51:44 2007: 
Mon Jul  2 21:51:44 2007: Patch mode 5c to resolution 1280x800 complete
Mon Jul  2 21:51:44 2007: 915resolution.
Mon Jul  2 21:51:44 2007: Starting portmap daemon...Already running..
Mon Jul  2 21:51:44 2007: Starting HP Linux Printing and Imaging System: hpiod 
hpssd.
Mon Jul  2 21:51:46 2007: Loading ACPI modules:
Mon Jul  2 21:51:46 2007:     battery
Mon Jul  2 21:51:47 2007:     ac
Mon Jul  2 21:51:47 2007:     processor
Mon Jul  2 21:51:47 2007:     button
Mon Jul  2 21:51:47 2007:     fan
Mon Jul  2 21:51:47 2007:     thermal
Mon Jul  2 21:51:47 2007: Starting Advanced Configuration and Power Interface 
daemon: acpid.
Mon Jul  2 21:51:47 2007: Starting Common Unix Printing System: cupsd.
Mon Jul  2 21:51:47 2007: Starting system message bus: dbus.
Mon Jul  2 21:51:48 2007: Starting Hardware abstraction layer: hald.
Mon Jul  2 21:51:50 2007: Starting DHCP D-Bus daemon: dhcdbd.
Mon Jul  2 21:51:50 2007: Starting network connection manager: NetworkManager.
Mon Jul  2 21:51:50 2007: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Mon Jul  2 21:51:50 2007: Starting network events dispatcher: 
NetworkManagerDispatcher.
Mon Jul  2 21:51:50 2007: Starting DirMngr: dirmngr.
Mon Jul  2 21:51:50 2007: Starting MTA: exim4.
Mon Jul  2 21:51:51 2007: Starting internet superserver: inetd.
Mon Jul  2 21:51:51 2007: Starting OpenBSD Secure Shell server: sshd.
Mon Jul  2 21:51:51 2007: Starting NFS common utilities: statd.
Mon Jul  2 21:51:51 2007: Starting bluetooth: hcid sdpd sdp_options rfcomm.
Mon Jul  2 21:51:51 2007: Starting anac(h)ronistic cron: anacron.
Mon Jul  2 21:51:52 2007: Starting deferred execution scheduler: atd.
Mon Jul  2 21:51:52 2007: Starting periodic command scheduler: crond.
Mon Jul  2 21:51:52 2007: Checking battery state....
Mon Jul  2 21:51:52 2007: Starting K Display Manager: kdm.
Mon Jul  2 21:51:52 2007: Configuring interface eth2=eth2 (inet)
Mon Jul  2 21:51:52 2007: run-parts --verbose /etc/network/if-pre-up.d
Mon Jul  2 21:51:52 2007: run-parts: 
executing /etc/network/if-pre-up.d/wireless-tools
Mon Jul  2 21:51:52 2007: run-parts: 
executing /etc/network/if-pre-up.d/wpasupplicant
Mon Jul  2 21:51:52 2007: wpa_supplicant: using default driver type: 
wpa-driver wext
Mon Jul  2 21:51:52 2007: 
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.eth2.pid -i 
eth2 -D 
wext -c /etc/wpa_supplicant/wpa_supplicant.mynet.conf -C /var/run/wpa_supplicant
Mon Jul  2 21:51:52 2007: Starting /sbin/wpa_supplicant...
Mon Jul  2 21:51:52 2007: wpa_supplicant: ctrl_interface socket located 
at /var/run/wpa_supplicant/eth2
Mon Jul  2 21:51:52 2007: 
Mon Jul  2 21:51:52 2007: 
dhclient3 -pf /var/run/dhclient.eth2.pid -lf /var/lib/dhcp3/dhclient.eth2.leases 
eth2
Mon Jul  2 21:51:52 2007: Internet Systems Consortium DHCP Client V3.0.4
Mon Jul  2 21:51:52 2007: Copyright 2004-2006 Internet Systems Consortium.
Mon Jul  2 21:51:52 2007: All rights reserved.
Mon Jul  2 21:51:52 2007: For info, please visit http://www.isc.org/sw/dhcp/
Mon Jul  2 21:51:52 2007: 
Mon Jul  2 21:51:54 2007: Listening on LPF/eth2/00:1b:77:38:26:de
Mon Jul  2 21:51:54 2007: Sending on   LPF/eth2/00:1b:77:38:26:de
Mon Jul  2 21:51:54 2007: Sending on   Socket/fallback
Mon Jul  2 21:51:56 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 
interval 4
Mon Jul  2 21:51:56 2007: DHCPOFFER from 192.168.0.1
Mon Jul  2 21:51:56 2007: DHCPREQUEST on eth2 to 255.255.255.255 port 67
Mon Jul  2 21:51:56 2007: DHCPACK from 192.168.0.1
Mon Jul  2 21:51:56 2007: bound to 192.168.0.3 -- renewal in 109194 seconds.
Mon Jul  2 21:51:56 2007: run-parts --verbose /etc/network/if-up.d
Mon Jul  2 21:51:56 2007: run-parts: 
executing /etc/network/if-up.d/avahi-daemon
Mon Jul  2 21:51:56 2007: run-parts: executing /etc/network/if-up.d/mountnfs
Mon Jul  2 21:51:56 2007: run-parts: executing /etc/network/if-up.d/ntpdate
Mon Jul  2 21:51:56 2007: run-parts: 
executing /etc/network/if-up.d/wpasupplicant
Mon Jul  2 21:51:56 2007: 

I think my solution is only a workaround and there must be a problem in the boot sequence of Etch belonging to ipw3945d.
I didn't change anything on the standard Etch boot sequence after installation.


Regards

Michael Lansche



Reply to: