[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2009-01-03 Thread Leo von Klenze
Bootchart after workaround.

The boot process continues while dhclient is obtaining an address...

** Attachment added: "intrepid-20090103-3.png"
   http://launchpadlibrarian.net/20880449/intrepid-20090103-3.png

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2009-01-03 Thread Leo von Klenze
Bootchart before workaround

** Attachment added: "intrepid-20090103-1.png"
   http://launchpadlibrarian.net/20880442/intrepid-20090103-1.png

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2009-01-03 Thread Leo von Klenze
Another workaround for those who don't want to use the network manager:

I set the method of my wlan interface to manual in
/etc/network/interfaces:

iface wlan1 inet manual 
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
post-up /etc/network/dhclient-wrapper &
post-down [ -f /var/run/dhclient.wlan1.pid ] && kill `cat 
/var/run/dhclient.wlan1.pid`

To get an IP adress from an dhcp server I wrote the attached script 
dhclient-wrapper. It calls the dhclient3 with parameter -1. If the dhclient 
cannot obtain an address it exits with code 2. In this case I deactivate the 
wlan interface in the script. 
However the & makes the script running in the background preventing Ubuntu from 
hanging while it boots up.

The post-down statement is for killing the dhclient programm if the
interface is deactivated.


** Attachment added: "Script for calling dhclient in the background and 
deactivating the interface if no dhcp server was found"
   http://launchpadlibrarian.net/20880392/dhclient-wrapper

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2009-01-03 Thread Leo von Klenze
You are right, if I delete my /etc/network/interfaces there is no delay
on booting. But this is not a solution because you need the file for
configuring the network interfaces. I don't want to use the network
manager and I think the Ubuntu network should not depend on it.

For me the basic configuration with /etc/network/interfaces works much
better than the network manager. (Multiple default routes, proper
handling of access point selection with wpa_supplicant, even with hidden
networks).

So deleting the file and using the network manager would be a workaround
but no fix for this bug.

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2008-12-15 Thread Leo von Klenze
I think Adam is right. I don't understand it, too.

It worked just fine under Ubuntu 8.04, so I am almost sure this is a
bug!

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2008-12-06 Thread Leo von Klenze
I think setting to zero is not a good idea.

I have configured a netbook with an atheros network card yesterday.
After setting timeout to 5, I was not able to get an IP address so I had
to increase the value to 10.

As far as I have seen from the output, the network card was not ready in
5 seconds, so the first dhcp request was not successful and is waiting
for some seconds like this:

  DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6
  No DHCPOFFERS received.

If timeout is 5, no more discovers are made, instead the dhcplient
cancels. After setting timeout to 10 it worked because the second
request has been answered.

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2008-12-05 Thread Leo von Klenze
Wow. 
You dhclient is definitly much faster than mine? What did you set the timeout 
value to?

I set it to 5 (perhaps uncommenting it,  too ;-) )


** Attachment added: "intrepid-20081205-4.png"
   http://launchpadlibrarian.net/20233793/intrepid-20081205-4.png

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2008-12-05 Thread Leo von Klenze
I set the timeout value to 5. After that, Ubuntu boots faster but I have
still a delay for 20 seconds. It is better than one and a half minute
but still annoying if sitting in the train and waiting for linux to come
up. Maybe I will try it with the use of different runlevels (to disable
network at startup).

Thanks for the workaround.

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 293023] Re: Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on iwl3945 and iwl4965

2008-12-01 Thread Leo von Klenze
I have the same issue.

Ubuntu 8.10 hangs a while by "Configuring network devices..." if no
configured wlan is reachable.

System Informations:

uname -a
Linux dagobert 2.6.27-10-generic #1 SMP Fri Nov 21 19:19:18 UTC 2008 x86_64 
GNU/Linux

lspci | grep Network
0c:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN 
[Kedron] Network Connection (rev 61)

/etc/network/interfaces:
iface lo inet loopback
iface wlan1 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto lo
auto wlan1

NetworkManager is not installed! With NetworkManager installed and commenting 
out the entries in /etc/network/interfaces the problem is solved. But the NM 
doesn't work for me so I don't want to use it. 
--

In Ubuntu 8.04 all works fine.
If a network configured in wpa_supplicant.conf is in range Ubuntu boots just 
fast and fine.

Thanks for any suggestions.

-- 
Ubuntu 8.10 booting hangs for a while on "configuring network interfaces" on 
iwl3945 and iwl4965
https://bugs.launchpad.net/bugs/293023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs