• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

WLAN USB Stik TP-Link TL-WN321G

Hallo,
ich probiere meinen oben genannten WLAN Stick mit WPA2 verschlüsselung unter openSuse 11.0 zum laufen zu bekommen. Ich habe den Treiber rt73 (http://rt2x00.serialmonkey.com/wiki/index.php/Downloads) installiert und auch RutilTv0.18. Beides läuft auch, aber ich kann manuell über die Shell (siehe Code unten) gar keine Verschlüsselung einstellen, egal was ich einstelle, mit iwconfig sehe ich immer, das die Encryption off bleibt. Mit RutilTv0.18 geht wenigstens WEP, aber das reicht mir natürlich nicht. Unter Windows geht WPA2 problemlos. Der originaltreiber (http://www.tp-link.com/support/download.asp?a=1&m=TL-WN321G) lies sich leider nicht installieren.
Hier die Fehlermeldung:
Code:
linux-0gb0:/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT
73_Linux_STA_Drv1.1.0.0/Module # cp Makefile.6 ./Makefile
linux-0gb0:/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT
73_Linux_STA_Drv1.1.0.0/Module # make all
make -C /lib/modules/2.6.25.18-0.2-default/build SUBDIRS=/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.25.18-0.2-obj/i386/default'
make -C /usr/src/linux-2.6.25.18-0.2 O=/usr/src/linux-2.6.25.18-0.2-obj/i386/default/. modules
/usr/src/linux-2.6.25.18-0.2/scripts/Makefile.build:46: *** CFLAGS was changed in "/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module/Makefile". Fix it to use EXTRA_CFLAGS.  Schluss.
make[3]: *** [_module_/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT73_Linux_STA_Drv1.1.0.0/Module] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.18-0.2-obj/i386/default'
make: *** [all] Fehler 2
Habt ihr eine Idee?
Hier mein Kernel: Linux linux-0gb0 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 i686 i686 i386 GNU/Linux


Code:
MANUAL CONFIG:


    1. Set the interface mode and bring it up
          # iwconfig wlan0 mode managed
          # ifconfig wlan0 up

    2. Set your target network / Access Point
       If you just want to join a wireless network, set its ESSID:
          # iwconfig wlan0 essid <ESSID>
       If you want to associate with a specific AP, set its MAC
       address:
          # iwconfig wlan0 ap <BSSID>

    3. Set encryption if needed

       a) WEP (802.11b)
          Choose the authentication mode (open/restricted):
             # iwconfig wlan0 key open
          Or:
             # iwconfig wlan0 key restricted
          Set the encryption key:
             # iwconfig wlan0 key <KEY>

       b) WPA (802.11g)
          Set the authentication mode:
             # iwpriv wlan0 set AuthMode=WPAPSK
          Set the encryption key:
             # iwpriv wlan0 set WPAPSK=<KEY>
          Set the encryption type:
             # iwpriv wlan0 set EncrypType=TKIP

       c) WPA2 (802.11i)
          Set the authentication mode:
             # iwpriv wlan0 set AuthMode=WPA2PSK
          Set the encryption key:
             # iwpriv wlan0 set WPAPSK=<KEY>
          Set the encryption type:
             # iwpriv wlan0 set EncrypType=AES

    4. Check that you're associated with an AP
          # iwconfig wlan0
 

Grothesk

Ultimate Guru
Treiber von der Seite brauchtst du nicht, da fehlt vermutlich nur die Firmware.
Paket 'ralink-firmware' nachinstallieren.
 
Hallo,
vielen Dank für die Antworten.
Ja, ich hab entdeckt, das es noch den Ordner "WPA_Supplicant-0.5.8" im rt72 Treiber gibt. Das hat alles mit ralink zu tun. Ich schaff es aber einfach nicht den zu Compilieren. Foilgende Fehlermeldung erscheint.

Code:
linux-0gb0:/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT
73_Linux_STA_Drv1.1.0.0/WPA_Supplicant-0.5.8 # cp defconfig .config
linux-0gb0:/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT
73_Linux_STA_Drv1.1.0.0/WPA_Supplicant-0.5.8 # make
make: *** Keine Regel vorhanden, um das Target »config.o«, 
  benötigt von »wpa_supplicant«, zu erstellen.  Schluss.
linux-0gb0:/home/harry/Desktop/2008410104449/TL-WN321G_080409/Linux/2008_0117_RT
73_Linux_STA_Drv1.1.0.0/WPA_Supplicant-0.5.8 #

Anbei noch das Txt File vom collectNWData.sh Skript.
 

Grothesk

Ultimate Guru
'usbutils' nachinstallieren.
Code:
- !!! CND0240E: Knetworkmanager wird für die Netzwerkkonfiguration benutzt aber die Netzwerkkartenkonfiguration für wlan0,eth0 existiert
http://www.linux-club.de/viewtopic.php?f=19&t=95352
http://www.linux-club.de/viewtopic.php?f=19&t=93318

Der Stick läuft schon. Da sind nur die Einstellungen für WLAN verfummelt.

Am Rande: In welchen (englischsprachigen?) Foren hast du die Frage noch gestellt?
 
Hallo,

vielen Dank für die Antworten.
Ich werd mir das alles mal anschauen.
Ich hab die Frage nur hier gestellt, die englischsprachige Überschrift hab ich nur für die Seite http://phpfi.com/383685 geschrieben. Ich habs erst nicht geschnallt, das ich den Link dann hier rein stellen muss :).
 
Hallo,
'usbutils' hab ich nachinstalliert. Wenn ich aber WPA2 einstellen will, erscheint untere Fehlermeldung (no private ioctls.). Könnt ihr was damit anfangen? In der Readme vom Treiber steht doch, das WPA2 geht??
Danke.


Code:
linux-0gb0:/home/harry # iwconfig wlan0 mode managed
linux-0gb0:/home/harry # ifconfig wlan0 up
linux-0gb0:/home/harry # iwconfig wlan0 essid WLANHome
linux-0gb0:/home/harry # iwpriv wlan0 set AuthMode=WPA2PSK
wlan0     no private ioctls.

linux-0gb0:/home/harry # iwconfig wlan0 key restricted
linux-0gb0:/home/harry # iwpriv wlan0 set AuthMode=WPA2PSK
wlan0     no private ioctls.

linux-0gb0:/home/harry #
 
Benutze Knetworkmanager. Alles was Du brauchst steht hier: http://www.linux-club.de/viewtopic.php?f=19&p=603126#p602905
Gruß
 
Oben