Hallo Zusammen
Ich möchte auf meinem Dell Laptop mein WLan nutzen. Scheitere aber an den vielen Versuchen.
Wenn ich ein dmesg ausführe erhalte ich folgende Aussage:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
dmesg | grep iwlagn
[7.970332] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[7.970334] iwlagn: Copyright(c) 2003-2008 Intel Corporation
[7.970381] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[7.970388] iwlagn 0000:04:00.0: setting latency timer to 64
[7.970407] iwlagn: Detected Intel Wireless WiFi Link 5100AGN REV=0x54
[7.999519] iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
[7.999689] iwlagn 0000:04:00.0: PCI INT A disabled
[ 875.815927] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 875.815998] iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x1
00106)
[ 875.843370] iwlagn: iwlwifi-5000-1.ucode firmware file req failed: Reason -2
[ 875.843373] iwlagn: Could not read microcode: -2
[ 875.843404] iwlagn 0000:04:00.0: PCI INT A disabled
[ 875.849658] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 875.849726] iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
[ 875.851995] iwlagn: iwlwifi-5000-1.ucode firmware file req failed: Reason -2
[ 875.851998] iwlagn: Could not read microcode: -2
[ ...]
[ 1126.306614] iwlagn 0000:04:00.0: PCI INT A disabled
[ 1193.364286] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 1193.364354] iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
[ 1196.439014] iwlagn: Error sending REPLY_ADD_STA: time out after 500ms.
[ 1196.969037] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[ 1199.786437] iwlagn: Error sending REPLY_ADD_STA: time out after 500ms.
[ 1200.291262] iwlagn: Error sending REPLY_ADD_STA: time out after 500ms.
[ 1200.291608] iwlagn: Error: Response NULL in 'REPLY_ADD_STA'
[ 1210.930972] iwlagn: Error sending REPLY_TX_POWER_DBM_CMD: enqueue_hcmd failed: -5
[ 1210.974437] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[ 1212.990408] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[ 1213.000560] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[ 1213.011621] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[ 1213.260484] iwlagn 0000:04:00.0: PCI INT A disabled
[ 1728.511835] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 1728.511904] iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
[ 1728.512172] iwlagn: Radio disabled by SW RF Kill switch
[ 1728.565014] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[...]
[ 6076.274884] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 6076.274966] iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
[ 6076.275101] iwlagn: Radio disabled by SW RF Kill switch
[ 6076.286049] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[ 6076.431440] iwlagn 0000:04:00.0: PCI INT A disabled
[ 6694.656924] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 6694.657038] iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
[ 6900.869680] iwlagn: Radio disabled by SW RF Kill switch
[ 6900.906219] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
[ 6900.950228] iwlagn 0000:04:00.0: PCI INT A disabled
|
Da stimmt schonmal etwas sicher nicht!
Habe im Kernel 2.6.27-r8
"Intel Wireless WiFi 5000AGN"
ausgewählt und alle nötigen Module(iwlagn, iwcore) sollten eigentlich auch geladen sein.
Wenn ich iwconfig aufrufe zeigt er mir:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
|
wlan0 IEEE 802.11abgn ESSID:""
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
|
Habe "net-wireless/iwl5000-ucode" installiert.
Habe dann "wpa_supplicant" mit "madwifi" installiert und so sehen die Konfigurationen aus:
/etc/conf.d/net
|
Quellcode
|
1
2
3
4
5
6
|
config_eth0=( "dhcp" )
modules_wlan0=( "wpa_supplicant" "!iwconfig" )
wpa_supplicant_wlan0="-Dmadwifi -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf"
config_wlan0=( "dhcp" )
dhcpd_wlan0="-t 120"
|
Habe net.eth0 kopiert nach net.wlan0. Das ist glaubs gar nicht nötig.
Dann habe ich die wpa_supplicant.conf so angepasst:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
|
ctrl_interface=/var/run/wpa_supplicant
update_config=1
ctrl_interface_group=0
ap_scan=1
network={
ssid="Meine_SSID"
psk="Passphrase"
}
|
Die Einstellung habe ich mir erstellt durch den Befehl "wpa_passphrase". Jedoch musste ich die oberen vier Zeilen noch einfügen.
Dann habe ich gesehen das man auch mit dem Befehl
|
Quellcode
|
1
|
wpa_supplicant -Dmadwifi -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
|
die Konfiguration erstellen kann. Also habe ich meine Konfiguration umbenannt und führte den Befehl aus:
|
Quellcode
|
1
|
wpa_supplicant -Dmadwifi -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
|
Dann erhalte ich diese Fehlermeldung:
"ioctl[IEEE80211_IOCTL_SETPARAM]: Operation not supported
Failed to initialize driver interface"
In den messges kommt dann dies:
|
Quellcode
|
1
2
3
4
5
6
|
May 1 13:37:31 tomoko [ 8485.979145] iwlagn 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
May 1 13:37:31 tomoko [ 8485.979244] iwlagn 0000:04:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
May 1 13:37:31 tomoko [ 8485.979803] iwlagn: Radio disabled by SW RF Kill switch
May 1 13:37:31 tomoko [ 8485.992077] iwlagn: WARNING: Requesting MAC access during RFKILL wakes up NIC
May 1 13:37:31 tomoko [ 8486.002577] ADDRCONF(NETDEV_UP): wlan0: link is not ready
May 1 13:37:32 tomoko [ 8487.016181] iwlagn 0000:04:00.0: PCI INT A disabled
|
Auch ein ganz normaler Scan mit "iwlist wlan0 scanning" sagt mir das das das Netzwerk nicht gestartet ist.
"wlan0 Interface doesn't support scanning : Network is down"
Ich denke ich habe etwas vergessen, jedoch weiss ich nicht was.
Danke für die Hilfe