Debian verwende ich schon seit 2, Linux seit 4 Jahren. Und mich plagt auch gleich mal ein gröberes Problem.
Wenn ich mit dem physischen Schalter die Wlan-Karte deaktiviere und wieder aktiviere, dann wird das Interface wlan0 nicht mehr gestartet.
Dazu hab ich schon einiges rausgefunden, was aber immer noch nicht geholfen hat.
Mein Netzwerk betreibe ich mit whereami, ifplugd und guessnet. Und ich weiß leider nicht mehr bis wann das so war, aber es hat schon eine geraume Zeit funktioniert. Ich denke einmal, ein Update hat da was zerschossen. Das war unter Lenny. Derzeit verwende ich eine Mischung aus Lenny, Squeeze, Backports und Experimental. Und es funktioniert immer noch nicht. Eher schlechter denn je.
Was ich bisher rausgefunden habe:
In /usr/share/acpi-support/state-funcs wird im sys-Verzeichnis nach einem Unterverzeichnis "wireless" gefragt. Das gibt es aber bei mir im Verzeichnis von wlan0 nicht. Somit ignoriert acpi-support meine wlan-Karte. Ob das einen Einfluss auf die Funktionalität hat, weiß ich noch nicht.
Ich bin darangegangen, dass ich mir für rfkill eine udev-Regel schreibe.
Dazu:
Code: Alles auswählen
# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[1257258916.097797] change /devices/pci0000:00/0000:00:1c.1/0000:0c:00.0/rfkill/rfkill3 (rfkill)
UDEV [1257258916.098248] change /devices/pci0000:00/0000:00:1c.1/0000:0c:00.0/rfkill/rfkill3 (rfkill)
Code: Alles auswählen
# udevadm info -a -p /devices/pci0000:00/0000:00:1c.1/0000:0c:00.0/rfkill/rfkill3
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:1c.1/0000:0c:00.0/rfkill/rfkill3':
KERNEL=="rfkill3"
SUBSYSTEM=="rfkill"
DRIVER==""
ATTR{name}=="3945ABG"
ATTR{type}=="wlan"
ATTR{state}=="1"
ATTR{claim}=="0"
looking at parent device '/devices/pci0000:00/0000:00:1c.1/0000:0c:00.0':
KERNELS=="0000:0c:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="iwl3945"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x4222"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{subsystem_device}=="0x1021"
ATTRS{class}=="0x028000"
ATTRS{irq}=="29"
ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
ATTRS{local_cpulist}=="0-1"
ATTRS{modalias}=="pci:v00008086d00004222sv00008086sd00001021bc02sc80i00"
ATTRS{numa_node}=="0"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
ATTRS{antenna}=="0"
ATTRS{channels}==""
ATTRS{flags}=="0x8015"
ATTRS{filter_flags}=="0x0024"
ATTRS{measurement}==""
ATTRS{retry_rate}=="1"
ATTRS{status}=="0x000002e4"
ATTRS{temperature}=="-134"
ATTRS{tx_power}=="16"
Code: Alles auswählen
KERNEL=="rfkill*", DRIVERS=="iwl3945", SUBSYSTEM=="rfkill", ACTION=="change", ATTR{name}=="3945ABG", ATTR{state}=="1", RUN+="/sbin/ifup wlan0"
KERNEL=="rfkill*", DRIVERS=="iwl3945", SUBSYSTEM=="rfkill", ACTION=="change", ATTR{name}=="3945ABG", ATTR{state}=="2", RUN+="/sbin/ifdown wlan0"
Es rührt sich nichts.
Syslog gibt beim Ausschalten:
Code: Alles auswählen
Nov 3 16:05:10 pluto kernel: [ 6042.121439] iwl3945 0000:0c:00.0: Radio Frequency Kill Switch is On:
Nov 3 16:05:10 pluto kernel: [ 6042.121445] Kill switch must be turned off for wireless networking to work.
Nov 3 16:05:10 pluto bluetoothd[3383]: HCI dev 0 down
Nov 3 16:05:10 pluto bluetoothd[3383]: Adapter /org/bluez/3383/hci0 has been disabled
Nov 3 16:05:10 pluto bluetoothd[3383]: Stopping security manager 0
Nov 3 16:05:10 pluto kernel: [ 6042.176158] usb 3-2: USB disconnect, address 21
Nov 3 16:05:10 pluto kernel: [ 6042.177219] btusb_intr_complete: hci0 urb ffff88007bc75b00 failed to resubmit (19)
Nov 3 16:05:10 pluto kernel: [ 6042.177236] btusb_bulk_complete: hci0 urb ffff88006f9d8980 failed to resubmit (19)
Nov 3 16:05:10 pluto kernel: [ 6042.178222] btusb_bulk_complete: hci0 urb ffff88007bc75a40 failed to resubmit (19)
Nov 3 16:05:10 pluto kernel: [ 6042.178661] btusb_send_frame: hci0 urb ffff880061c8c980 submission failed
Nov 3 16:05:11 pluto bluetoothd[3383]: HCI dev 0 unregistered
Nov 3 16:05:11 pluto bluetoothd[3383]: Unregister path: /org/bluez/3383/hci0
Code: Alles auswählen
Nov 3 16:05:18 pluto udevd-work[8523]: '/sbin/ifup wlan0' unexpected exit with status 0x000d
Nov 3 16:05:18 pluto kernel: [ 6049.611379] Registered led device: iwl-phy0::radio
Nov 3 16:05:18 pluto kernel: [ 6049.611473] Registered led device: iwl-phy0::assoc
Nov 3 16:05:18 pluto kernel: [ 6049.611514] Registered led device: iwl-phy0::RX
Nov 3 16:05:18 pluto kernel: [ 6049.611566] Registered led device: iwl-phy0::TX
Nov 3 16:05:18 pluto kernel: [ 6050.061042] usb 3-2: new full speed USB device using uhci_hcd and address 22
Nov 3 16:05:19 pluto kernel: [ 6050.253059] usb 3-2: New USB device found, idVendor=413c, idProduct=8140
Nov 3 16:05:19 pluto kernel: [ 6050.253063] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Nov 3 16:05:19 pluto kernel: [ 6050.253149] usb 3-2: configuration #1 chosen from 1 choice
Nov 3 16:05:19 pluto bluetoothd[3383]: HCI dev 0 registered
Nov 3 16:05:19 pluto bluetoothd[3383]: HCI dev 0 up
Nov 3 16:05:19 pluto bluetoothd[3383]: Starting security manager 0
Nov 3 16:05:19 pluto bluetoothd[3383]: Parsing /etc/bluetooth/serial.conf failed: No such file or directory
Nov 3 16:05:19 pluto bluetoothd[3383]: probe failed with driver input-headset for device /org/bluez/3383/hci0/dev_00_24_EF_9A_90_CB
Nov 3 16:05:19 pluto bluetoothd[3383]: Adapter /org/bluez/3383/hci0 has been enabled
Vielleicht kann mir hier jemand weiterhelfen. Weder auf den Debian-Mailinglisten noch im Usenet konnte ich sinnvolle Hilfe erhalten.
lg jakob