I have bought a Netgear wifi usb dongle which was supposed to work under Debian (as mentioned here: https://wiki.debian.org/rtl818x).
When I plug it, I can see several networks, but the connexion fails.
My OS version:
Code: Select all
xxxxxx@debian0:~$ uname -r
4.9.0-4-amd64
Code: Select all
xxxxxx@debian0:~$ cat /etc/debian_version
9.3
Code: Select all
xxxxxx@debian0:~$ lsusb
Bus 001 Device 008: ID 0846:6a00 NetGear, Inc. WG111v2 54 Mbps Wireless [RealTek RTL8187L]
Code: Select all
xxxxxx@debian0:~$ lsmod |grep rtl
rtl8187 40960 0
eeprom_93cx6 16384 1 rtl8187
mac80211 671744 1 rtl8187
btrtl 16384 1 btusb
cfg80211 589824 3 iwlwifi,mac80211,rtl8187
usbcore 249856 8 uvcvideo,usbhid,usb_storage,xhci_pci,btusb,uas,rtl8187,xhci_hcd
when I run nmcli i got:
Code: Select all
xxxxxx@debian0:~$ nmcli r wifi on
xxxxxx@debian0:~$ nmcli d wifi connect dd-wrt password DFlop125
Erreur : échec de l'activation de la connexion : (53) Le réseau Wi-Fi est introuvable.
# which means something like:
Error: connexion's activation fails: (53) The Wi-Fi network is unreachable.
Code: Select all
root@debian0:~# ip a
4: wlx00146cb34d22: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 2a:89:0c:99:78:34 brd ff:ff:ff:ff:ff:ff
root@debian0:~# wpa_passphrase my_network passphrase
Code: Select all
# /etc/networks/interfaces:
auto wlx00146cb34d22
iface wlx00146cb34d22 inet dhcp
wpa-ssid my_network
wpa-psk my_hash
Code: Select all
root@debian0:~# ifup wlx00146cb34d22
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlx00146cb34d22
Thanks,