Debian Wlan Konfiguration; verbindung an wlanbox

vendredi 17 novembre 2017

Hallo,

Ich habe Probleme mein WLan stick mit wpa_supplicant zum laufen zu bekommen.

Meine wlankarte mit dmesg/lsusb:
Code:

dmesg des wlan sticks:

       
Zitat:

       

               


               
                          68.192193] eth0: no IPv6 routers present
[  75.858427] usb 4-1: USB disconnect, device number 2
[  81.752281] usb 1-3: new high-speed USB device number 3 using ehci_hcd
[  81.886275] usb 1-3: New USB device found, idVendor=0bda, idProduct=a811
[  81.886284] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  81.886292] usb 1-3: Product: 802.11ac WLAN Adapter
[  81.886297] usb 1-3: Manufacturer: Realtek
[  81.886302] usb 1-3: SerialNumber: 00e04c000001

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
                       
               


       


/etc/wpa_supplikant/wpa_supplikant.conf
Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
id_str="wlan0"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
ssid="meine-ssid"
#psk="abcdefg"
psk=c37298a418889af819b9f52efe5000989a54c9e5717c06dbcbe48c3292eebdaa
}

Die psk wurde wie folgt erstellt (hier mit meine-ssid und abcdefgh:
Code:

# wpa_passphrase meine-ssid
# reading passphrase from stdin
abcdefgh
network={
        ssid="meine-ssid"
        #psk="abcdefgh"
        psk=c37298a418889af819b9f52efe5000989a54c9e5717c06dbcbe48c3292eebdaa

/etc/network/interfaces
Code:


auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp

auto eth0
iface eth0 inet static
        address 192.168.1.254
        netmask 255.255.255.0
        gateway 192.168.1.1

iface wlan0 inet dhcp
        wpa-driver wext
        wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf


Mit einem neustart der Interfaces:
Zitat:

# /etc/init.d/networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interfaces...Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
done.
ifconfig sagt:
Code:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 2c:76:8a:ab:d3:9b
          inet addr:192.168.2.254  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::2e76:8aff:feab:d39b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:376 errors:0 dropped:0 overruns:0 frame:0
          TX packets:317 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:35862 (35.0 KiB)  TX bytes:56663 (55.3 KiB)
          Interrupt:18

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Folgendes bewirkt auch nix:
Code:

ifup wlan0, wpa_supplicant
Ignoring unknown interface wlan0,=wlan0,.
Ignoring unknown interface wpa_supplicant=wpa_supplicant.

Code:

# ifup --force wlan0
wpa_supplicant: wpa-roam can only be used with the "manual" inet METHOD
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit http://ift.tt/11EyUhx

Cannot find device "wlan0"
Bind socket to interface: No such device
Failed to bring up wlan0.



0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor