| Autor | 
    Nachricht | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: WLAN mit WPA-Schlüssel 
             Verfasst am: 22.04.2007, 20:56 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 19. Apr 2007 
            Beiträge: 17 
             
            
            
           | 
         
       
     | 
    
      
        
          Hallo,
 
 
erstmal zu Anfang: ich bin Linux Neuling und versuche gerade auf meinem alten Desktop Kanotix zu testen (Live CD).
 
 
Habe schon diverse andere Distro's angetestet, wobei Kanotix eine der wenigen ist, die überhaupt bootet (altes SCSI-System) und die einzige die meinen WLAN USB-Stick direkt erkennt (DWL-122 wird als Prism2(?) erkannt was wohl genau so sein soll).
 
 
Das Netzwerk ist auf WPA eingestellt, was auch von netcardconfig abgefragt wird.
 
 
Das Problem liegt jetzt in der Herstellung der Verbindung.
 
 
Da ich die 2006-01-RC4 Version benutze scheinen mir die älteren Beiträge hier im Forum meist nicht ganz zu passen.
 
 
ndiswrapper habe ich versucht nach Anleitung einzubinden, einmal Treiber direkt (mit ndis...NETPRISM.inf)über Konsole installiert, einmal per Drag and Drop von CD in 'pers. Ordner' und dann in 'ndiswrapper konfigurieren' übernommen.
 
 
Nach den erhaltenen Meldungen sah das auch ganz gut aus.
 
 
Ach ja, der Router wird nach iwlist wlan0 scan richtig erkannt (richtige MAC-Adresse und SSID) 
 
 
Verbindung bekomme ich aber leider nicht. 
 
 
Um hier die Logs einzustellen brauche ich wohl etwas Hilfe. Einmal hab ich den Konsolentext als txt.-Datei abgespeichert und einen als PDF. Beide kann ich hier wohl nicht hochladen.
 
 
Mit der Bitte um eure Tipps fürs weitere Vorgehen grüsst:
 
 
WBS | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: WLAN mit WPA-Schlüssel 
             Verfasst am: 22.04.2007, 22:02 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 25. Mar 2005 
            Beiträge: 2133 
             
            
            
           | 
         
       
     | 
    
      
        
          | Bitte mal die Ausgabe von 
 Code: 
lsusb
 
posten. Du kannst auch mal testweise die Verschlüsselung im Router abstellen bzw. auf WEP umstellen, damit wir die Fehlerursache eingrenzen können (WPA-Verschlüsselung?). Wie alt ist denn der WLAN-Stick? Unterstützt der überhaupt WPA, oder kann er nur WEP?
 
 
Den Inhalt der TXT-Datei kannst du doch mit Copy&Paste als Nachrichtentext einfügen, aber bitte als "Code" formatieren. | 
         
        
          
          
            
          
             _________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 22.04.2007, 22:44 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 19. Apr 2007 
            Beiträge: 17 
             
            
            
           | 
         
       
     | 
    
      
        
          Also erst mal die txt.Datei:
 
 
 
Code: 
 
root@1[knoppix]# ndiswrapper -i NETPRISM.inf
 
Installing netprism
 
couldn't copy NETPRISM.inf at /usr/sbin/ndiswrapper-1.8 line 144.
 
root@1[knoppix]# ndiswrapper -i NETPRISM.inf
 
netprism is already installed. Use -e to remove it
 
root@1[knoppix]# modprobe ndiswrapper
 
root@1[knoppix]# iwconfig
 
lo        no wireless extensions.
 
 
eth0      no wireless extensions.
 
 
wlan0     IEEE 802.11-DS  ESSID:"lothar"  Nickname:"lothar"
 
          Mode:Auto  Frequency:2.417 GHz  Access Point: Not-Associated
 
          Bit Rate:2 Mb/s   Tx-Power:18 dBm
 
          Retry min limit:8   RTS thr:off   Fragment thr:off
 
          Encryption key: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
 
 
root@1[knoppix]# iwlist wlan0 scan
 
wlan0     Scan completed :
 
          Cell 01 - Address: 00:04:0E:2B:DD:EB
 
                    ESSID:"lothar"
 
                    Mode:Master
 
                    Encryption key:on
 
                    Channel:10
 
                    Quality:25/92  Signal level:-66 dBm  Noise level:-91 dBm
 
 
root@1[knoppix]# netcardconfig
 
Done.
 
ifdown: interface wlan0 not configured
 
ioctl[SIOCSIWPMKSA]: Function not implemented
 
ioctl[SIOCSIWMODE]: Operation not supported
 
Could not configure driver to use managed mode
 
ioctl[SIOCSIWAUTH]: Function not implemented
 
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWAUTH]: Function not implemented
 
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Function not implemented
 
WEXT auth param 5 value 0x1 - Error for wireless request "Set Mode" (8B06) :
 
    SET failed on device wlan0 ; Operation not supported.
 
Error for wireless request "Set Frequency" (8B04) :
 
    SET failed on device wlan0 ; Operation not supported.
 
Error for wireless request "Set ESSID" (8B1A) :
 
    SET failed on device wlan0 ; Operation not supported.
 
Internet Software Consortium DHCP Client 2.0pl5
 
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
 
All rights reserved.
 
 
Please contribute if you find this software useful.
 
For info, please visit http://www.isc.org/dhcp-contrib.html
 
 
Listening on LPF/wlan0/00:11:95:87:f5:2f
 
Sending on   LPF/wlan0/00:11:95:87:f5:2f
 
Sending on   Socket/fallback/fallback-net
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
 
No DHCPOFFERS received.
 
No working leases in persistent database.
 
 
Exiting.
 
 
Failed to bring up wlan0.
 
root@1[knoppix]# pump -status
 
pump: bad argument -status: unknown option
 
root@1[knoppix]# pump--status
 
bash: pump--status: command not found
 
root@1[knoppix]# pump-status
 
bash: pump-status: command not found
 
root@1[knoppix]# pump --status
 
Operation failed.
 
root@1[knoppix]# iwconfig wlan0 essid 'lothar' mode managed pump wlan0
 
Error for wireless request "Set ESSID" (8B1A) :
 
    SET failed on device wlan0 ; Operation not supported.
 
root@1[knoppix]#
 
 
 
 
 
Der Stick wurde damals zwar als WEP angepriesen, läuft aber auch, spätestens seit Treiberupdate von D-Link, unter W2000 mit WPA-Verschlüsselung. Also, er kann es.
 
 
lsusb (bedeutet das Liste USB?) werde ich dann morgen probieren, ebenso die restlichen Logs neu erstellen ( der Rechner ist z.Zt. nicht erreichbar).
 
 
Erstmal vielen Dank
 
 
WBS | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 23.04.2007, 16:09 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 17. Dez 2004 
            Beiträge: 290 
            Wohnort: Detmold 
            
            
           | 
         
       
     | 
    
      
        
          | Bei manchen Versionen hat netcardconfig nicht richtig funktioniert. Poste doch einmal Deine /etc/network/interfaces. | 
         
        
          
          
            
          
             _________________ albatros
 
_________
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 23.04.2007, 18:52 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 19. Apr 2007 
            Beiträge: 17 
             
            
            
           | 
         
       
     | 
    
      
        
          Hallo, 
 
 
ich stelle das komplette Log ein, da ich ja auch jedesmal neu starte. Hatte z.B. einmal den Fall, dass netcardconfig nicht startete. 
 
 
Wenn das jedesmal zuviel ist, bitte Bescheid geben.
 
 
 
Code: 
 
root@1[knoppix]# ndiswrapper -i NETPRISM.inf
 
Installing netprism
 
couldn't copy NETPRISM.inf at /usr/sbin/ndiswrapper-1.8 line 144.
 
root@1[knoppix]# ndiswrapper -i NETPRISM.inf
 
netprism is already installed. Use -e to remove it
 
root@1[knoppix]# modprobe ndiswrapper
 
root@1[knoppix]# iwconfig
 
lo        no wireless extensions.
 
 
eth0      no wireless extensions.
 
 
wlan0     IEEE 802.11-DS  ESSID:off/any
 
          Mode:Auto  Frequency:2.452 GHz  Access Point: Not-Associated
 
          Bit Rate:2 Mb/s   Tx-Power:18 dBm
 
          Retry min limit:8   RTS thr:off   Fragment thr:off
 
          Encryption key: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
 
 
root@1[knoppix]# iwlist wlan0 scan
 
wlan0     Scan completed :
 
          Cell 01 - Address: 00:04:0E:2B:DD:EB
 
                    ESSID:"lothar"
 
                    Mode:Master
 
                    Encryption key:on
 
                    Channel:10
 
                    Quality:26/92  Signal level:-66 dBm  Noise level:-92 dBm
 
 
root@1[knoppix]# netcardconfig
 
awk: Kommandozeile:1: Fatal: Kann Datei '/etc/wpa_supplicant.conf' nicht zum Lesen öffnen (Datei oder Verzeichnis nicht gefunden).
 
awk: Kommandozeile:1: Fatal: Kann Datei '/etc/wpa_supplicant.conf' nicht zum Lesen öffnen (Datei oder Verzeichnis nicht gefunden).
 
Done.
 
ifdown: interface wlan0 not configured
 
ioctl[SIOCSIWPMKSA]: Function not implemented
 
ioctl[SIOCSIWMODE]: Operation not supported
 
Could not configure driver to use managed mode
 
ioctl[SIOCSIWAUTH]: Function not implemented
 
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWENCODEEXT]: Function not implemented
 
ioctl[SIOCSIWAUTH]: Function not implemented
 
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Function not implemented
 
WEXT auth param 5 value 0x1 - Error for wireless request "Set Mode" (8B06) :
 
    SET failed on device wlan0 ; Operation not supported.
 
Error for wireless request "Set Frequency" (8B04) :
 
    SET failed on device wlan0 ; Operation not supported.
 
Error for wireless request "Set ESSID" (8B1A) :
 
    SET failed on device wlan0 ; Operation not supported.
 
Internet Software Consortium DHCP Client 2.0pl5
 
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
 
All rights reserved.
 
 
Please contribute if you find this software useful.
 
For info, please visit http://www.isc.org/dhcp-contrib.html
 
 
Listening on LPF/wlan0/00:11:95:87:f5:2f
 
Sending on   LPF/wlan0/00:11:95:87:f5:2f
 
Sending on   Socket/fallback/fallback-net
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
 
iwconfig
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
 
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
 
No DHCPOFFERS received.
 
No working leases in persistent database.
 
 
Exiting.
 
 
Failed to bring up wlan0.
 
root@1[knoppix]# iwconfig
 
lo        no wireless extensions.
 
 
eth0      no wireless extensions.
 
 
wlan0     IEEE 802.11-DS  ESSID:"lothar"  Nickname:"lothar"
 
          Mode:Auto  Frequency:2.457 GHz  Access Point: Not-Associated
 
          Bit Rate:2 Mb/s   Tx-Power:18 dBm
 
          Retry min limit:8   RTS thr:off   Fragment thr:off
 
          Encryption key: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
 
 
root@1[knoppix]# lsusb
 
Bus 001 Device 002: ID 2001:3700 D-Link Corp. [hex] DWL-122 802.11b
 
Bus 001 Device 001: ID 0000:0000
 
root@1[knoppix]# /etc/network/interfaces
 
bash: /etc/network/interfaces: Keine Berechtigung
 
root@1[knoppix]#
 
 
 
 
 
Bezüglich der 'etc...' hab ich wohl was falsch verstanden, oder muss ich da woanders suchen?
 
 
Gruß WBS | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 23.04.2007, 19:11 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 25. Mar 2005 
            Beiträge: 2133 
             
            
            
           | 
         
       
     | 
    
      
        
          | 
 Code: 
cat /etc/network/interfaces
 
 | 
         
        
          
          
            
          
             _________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 23.04.2007, 19:36 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 19. Apr 2007 
            Beiträge: 17 
             
            
            
           | 
         
       
     | 
    
      
        
          Aha,
 
 
Code: 
 
 
su
 
knoppix@1[knoppix]$ su
 
root@1[knoppix]# cat /etc/network/interfaces
 
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 
 
# The loopback interface
 
# automatically added when upgrading
 
auto lo
 
iface lo inet loopback
 
 
iface wlan0 inet dhcp
 
 wireless-mode Managed
 
 wireless-channel 10
 
 wireless-essid lothar
 
  pre-up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
 
 
root@1[knoppix]#
 
 
 
 
 
 
 
Hoffe das hilft weiter
 
 
Gruß WBS | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 24.04.2007, 16:54 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 17. Dez 2004 
            Beiträge: 290 
            Wohnort: Detmold 
            
            
           | 
         
       
     | 
    
      
        
          Der Fehlermeldung von netcardconfig zufolge ist /etc/wpa_supplicant.conf nicht vorhanden. 
 
 
Du kannst die /etc/network/interfaces wie hier im wiki beschrieben aufbauen, dann brauchst du keine wpa_supplicant.conf:
 
http://kanotix.com/index.php?module=pnW ... ag=WlanWpa | 
         
        
          
          
            
          
             _________________ albatros
 
_________
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
  
    | 
      
     |