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

Re: WLAN automatisch beim Booten?



Hallo Mario,

sorry für mein komisch geartetes Zitat, aber Kmail hat mir dazwischen gefunkt
und ausgerechnet Deine Mail gelöscht, so dass ich auf ein altes Posting 
antworte.

>Mario Börner schrieb:
>Hi!
>Habe gerade etwas später zum Thread gefunden.

>Wenn der manuelle Start des Interfaces klappt, aber beim Booten nicht, dann
>hilft vielleicht folgender Workaround aus einem Ubuntu-Forum:
>----------------------------------------
>Allerdings baut er die Verbindung nicht beim Hochfahren auf, sondern immer
>erst dann, nach dem ich den Befehl "sudo /etc/init.d/networking restart"
>ausgeführt habe. 

Kannst Du bitte den Link posten, danke.

>Hallo,trage das in die /etc/rc.local ein.
>/etc/init.d/networking restart (Speichern nicht vergessen)
>Rechner neu starten.
>Sollte dann gehen.

Geht jetzt automatisch, danke!!! ;-)

Einen kleinen Haken hat der Workaround allerdings:

Das Booten dauert SEHR lange, da der erste Versuch ja nicht klappt:

Wed Jun 27 16:19:58 2007: Setting up networking....
Wed Jun 27 16:19:58 2007: Starting ipw3945 regulatory daemon: ipw3945d.
Wed Jun 27 16:20:01 2007: Configuring network interfaces...Internet Systems 
Consortium DHCP Client V3.0.4
Wed Jun 27 16:20:01 2007: Copyright 2004-2006 Internet Systems Consortium.
Wed Jun 27 16:20:01 2007: All rights reserved.
Wed Jun 27 16:20:01 2007: For info, please visit http://www.isc.org/sw/dhcp/
Wed Jun 27 16:20:01 2007:
Wed Jun 27 16:20:02 2007: Listening on LPF/eth2/00:1b:77:38:26:de
Wed Jun 27 16:20:02 2007: Sending on   LPF/eth2/00:1b:77:38:26:de
Wed Jun 27 16:20:03 2007: Sending on   Socket/fallback
Wed Jun 27 16:20:03 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 
interval 4
Wed Jun 27 16:20:06 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 
interval 11
Wed Jun 27 16:20:17 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 
interval 18
Wed Jun 27 16:20:35 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 
interval 13
Wed Jun 27 16:20:48 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 
interval 15
Wed Jun 27 16:21:03 2007: No DHCPOFFERS received.
Wed Jun 27 16:21:03 2007: No working leases in persistent database - sleeping.
Wed Jun 27 16:21:03 2007: done.

...

Wed Jun 27 16:21:13 2007: Reconfiguring network interfaces...There is already 
a pid file /var/run/dhclient.eth2.pid
 with pid 2580
Wed Jun 27 16:21:13 2007: killed old client process, removed PID file
Wed Jun 27 16:21:13 2007: Internet Systems Consortium DHCP Client V3.0.4
Wed Jun 27 16:21:13 2007: Copyright 2004-2006 Internet Systems Consortium.
Wed Jun 27 16:21:13 2007: All rights reserved.
Wed Jun 27 16:21:13 2007: For info, please visit http://www.isc.org/sw/dhcp/
Wed Jun 27 16:21:13 2007:
Wed Jun 27 16:21:13 2007: Listening on LPF/eth2/00:1b:77:38:26:de
Wed Jun 27 16:21:13 2007: Sending on   LPF/eth2/00:1b:77:38:26:de
Wed Jun 27 16:21:13 2007: Sending on   Socket/fallback
Wed Jun 27 16:21:13 2007: DHCPRELEASE on eth2 to 192.168.0.1 port 67
Wed Jun 27 16:21:13 2007: send_packet: Network is unreachable
Wed Jun 27 16:21:13 2007: send_packet: please consult README file regarding 
broadcast address.
Wed Jun 27 16:21:14 2007: There is already a pid 
file /var/run/dhclient.eth1.pid with pid 2762
Wed Jun 27 16:21:14 2007: killed old client process, removed PID file
Wed Jun 27 16:21:14 2007: Internet Systems Consortium DHCP Client V3.0.4
Wed Jun 27 16:21:14 2007: Copyright 2004-2006 Internet Systems Consortium.
Wed Jun 27 16:21:14 2007: All rights reserved.
Wed Jun 27 16:21:14 2007: For info, please visit http://www.isc.org/sw/dhcp/
Wed Jun 27 16:21:14 2007:
Wed Jun 27 16:21:14 2007: Listening on LPF/eth1/00:19:b9:77:97:88
Wed Jun 27 16:21:14 2007: Sending on   LPF/eth1/00:19:b9:77:97:88
Wed Jun 27 16:21:14 2007: Sending on   Socket/fallback
Wed Jun 27 16:21:14 2007: DHCPRELEASE on eth1 to 192.168.0.1 port 67
Wed Jun 27 16:21:14 2007: send_packet: Network is unreachable
Wed Jun 27 16:21:14 2007: send_packet: please consult README file regarding 
broadcast address.
Wed Jun 27 16:21:14 2007: Internet Systems Consortium DHCP Client V3.0.4
Wed Jun 27 16:21:14 2007: Copyright 2004-2006 Internet Systems Consortium.
Wed Jun 27 16:21:14 2007: All rights reserved.
Wed Jun 27 16:21:14 2007: For info, please visit http://www.isc.org/sw/dhcp/
Wed Jun 27 16:21:14 2007:
Wed Jun 27 16:21:15 2007: Listening on LPF/eth2/00:1b:77:38:26:de
Wed Jun 27 16:21:15 2007: Sending on   LPF/eth2/00:1b:77:38:26:de
Wed Jun 27 16:21:15 2007: Sending on   Socket/fallback
Wed Jun 27 16:21:18 2007: DHCPDISCOVER on eth2 to 255.255.255.255 port 67 
interval 8
Wed Jun 27 16:21:18 2007: DHCPOFFER from 192.168.0.1
Wed Jun 27 16:21:18 2007: DHCPREQUEST on eth2 to 255.255.255.255 port 67
Wed Jun 27 16:21:18 2007: DHCPACK from 192.168.0.1
Wed Jun 27 16:21:18 2007: bound to 192.168.0.3 -- renewal in 111430 seconds.
Wed Jun 27 16:21:18 2007: done.

Hat da jemand noch eine Idee, wie man gleich beim ersten Versuch zum Erfolg 
kommen kann?

Vielen Dank an alle.

Michael



Reply to: