I am trying to get a USB WiFi dongle to work with Debian Stretch (9.7).
So far I have done the following:
Identified the dongle using iwconfig / lsusb (see outputs below)
Installed Realtek drivers (I added 'deb http://httpredir.debian.org/debian/ stretch main contrib non-free' to my /etc/apt/sources.list and installed firmware-realtek)
Done a full update (update / upgrade / dist-upgrade)
Setup /etc/network/interfaces with a static IP to connect to my WiFi
Rebooted
However, it is not working (I cannot get on the LAN using WiFi), and I am stuck, so looking for some suggestions.
Further Info (Not sure if this helps):
# iwconfig
Code: Select all
enp0s25 no wireless extensions.
wlx000b8193b559 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management: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
lo no wireless extensions.
Code: Select all
Bus 007 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 0424:2503 Standard Microsystems Corp. USB 2.0 Hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0624:0200 Avocent Corp.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Code: Select all
auto lo
iface lo inet loopback
auto wlx000b8193b559
iface wlx000b8193b559 inet static
address 192.168.1.105
netmask 255.255.255.0
gateway 192.168.1.254
wpa-ssid MyWiFiSSID
wpa-psk MyWiFiPSK
dns-nameservers 192.168.1.254 8.8.8.8