Sie sind nicht angemeldet.

1

28.09.2010, 17:39

wlan funktioniert nicht mit wpa_gui, kein adapter wählbar

Hallo,
ich würde die wlans gerne mit wpa_gui verwalten, wenn ich wpa_gui starte kann ich jedoch keinen adapter auswählen und bei status steht "Could not get status from wpa_supplicant".

lspci liefert:

Quellcode

1
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)


ich hab einen 2.6.34-gentoo-r6 kernel, die richtigen Module meine ich aktiviert zu haben:
für die treiber:

Quellcode

1
2
3
4
5
6
7
<M>   Intel Wireless Wifi                                                                            │ │   
  │ │                               [ ]     Enable full debugging output in iwlagn and iwl3945 drivers                                   │ │   
  │ │                               [ ]     iwlwifi device access tracing                                                                │ │   
  │ │                               <M>     Intel Wireless WiFi Next Gen AGN (iwlagn)                                                    │ │   
  │ │                               [ ]       Intel Wireless WiFi 4965AGN                                                                │ │   
  │ │                               [ ]       Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000, and 6050 Series                   │ │   
  │ │                               <M>     Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)


für networking support:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Wireless                                                                                         │ │   
  │ │                               <*>   cfg80211 - wireless configuration API                                                          │ │   
  │ │                               [ ]     nl80211 testmode command                                                                     │ │   
  │ │                               [ ]     enable developer warnings                                                                    │ │   
  │ │                               [ ]     cfg80211 regulatory debugging                                                                │ │   
  │ │                               [*]     enable powersave by default                                                                  │ │   
  │ │                               [ ]     cfg80211 DebugFS entries                                                                     │ │   
  │ │                               [*]     cfg80211 wireless extensions compatibility                                                   │ │   
  │ │                               [*]   Wireless extensions sysfs files                                                                │ │   
  │ │                               < >   Common routines for IEEE802.11 drivers                                                         │ │   
  │ │                               <*>   Generic IEEE 802.11 Networking Stack (mac80211)                                                │ │   
  │ │                                     Default rate control algorithm (Minstrel)  --->                                                │ │   
  │ │                               [ ]   Enable mac80211 mesh networking (pre-802.11s) support                                          │ │   
  │ │                               [*]   Enable LED triggers                                                                            │ │   
  │ │                               [ ]   Export mac80211 internals in DebugFS                                                           │ │   
  │ │                               [ ]   Select mac80211 debugging features  --->



Ebenfalls habe ich "net-wireless/iwl3945-ucode" emerged.
Die /etc/init.d/net.wlan0 hab ich erstellt mit (cd /etc/init.d)

Quellcode

1
ln -s net.lo net.wlan0


wpa_supplicant hab ich emerged, folgende konfigurationsdateien hab ich selbst erstellt:

/etc/wpa_supplicant.conf

Quellcode

1
2
3
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1


/etc/conf.d/net

Quellcode

1
2
3
4
5
dns_domain_lo="homenetwork"
config_eth0=("dhcp")
iwconfig_wlan0="mode managed"
modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dwext"


Wenn ich jetzt versuche wlan zu starten passiert das:

Quellcode

1
2
3
4
5
entoorion linux # /etc/init.d/net.wlan0 start
 * Starting wlan0
 *   Starting wpa_supplicant on wlan0 ...                                                                                                [ ok ]
 *   Starting wpa_cli on wlan0 ...                                                                                                       [ ok ]
 *     Backgrounding ...


Danach brennt zumindest erstmal die grüne led "wifi" an meinem laptop.
Führe ich dann wpa_gui aus habe ich die oben beschriebenen problem... Bitte helft mir, ich weiß nicht was ich noch machen soll!


hier noch ein ausschnitt aus dmesg

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
[  425.559669] iwl3945 0000:0c:00.0: firmware: requesting iwlwifi-3945-2.ucode
[  425.633436] iwl3945 0000:0c:00.0: loaded firmware version 15.32.2.9
[  425.706655] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  529.787316] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  745.329708] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  807.934374] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2032.144376] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2597.701159] b44 ssb0:0: eth0: Link is down
[ 2600.701249] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex
[ 2600.701257] b44 ssb0:0: eth0: Flow control is off for TX and off for RX
[ 2993.232214] b44 ssb0:0: eth0: powering down PHY
[ 2995.700347] ADDRCONF(NETDEV_UP): wlan0: link is not ready


und hier noch emerge --info

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »ehrenfest« (28.09.2010, 19:27)


2

28.09.2010, 19:07

Hallo und willkommen im Forum!

ich würde die wlans gerne mit wpa_gui verwalten, wenn ich wpa_gui starte kann ich jedoch keinen adapter auswählen und bei status steht "Could not get status from wpa_supplicant".
etc/wpa_supplicant.conf

Quellcode

1
2
3
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
Wenn ich nicht irre müsste wpa_gui dann als root gestartet werden, da durch "ctrl_interface_group=0" nur root drauf zugreifen darf.
Daher die frage, hattest du wpa_gui mit root rechten gestartet?

Ansonsten poste doch bitte noch die

Quellcode

1
# iwconfig
Ausgabe.

3

28.09.2010, 19:25

Ja du hast recht, mit root rechten funktioniert alles super!! Da hab ich echt nicht dran gedacht, sorry!! Und vielen dank nochmal!!!

4

29.09.2010, 09:07

Anm. IIRC wpa_supplicant.cont versteht da nicht nur Gruppen-Nummern sondern auch -Namen:

Quellcode

1
ctrl_interface_group=wheel
damit sind alle User der Gruppe wheel (i.d.R. sind das die Sudoer) berechtigt ...
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>