I already asked, but I'll ask again since there was no answer provided...
Connected USB WLAN adapter iwconfig sees it but I can't connect to wireless network.. tried editing /etc/network/interfaces with wlan0 and data it needs but it still doesn't work...
Any suggestions how to connect rigs to wi-fi ?
Hello, dakky. Here is my workaround:
whet plugging in usb dongle dmesg shows staff like this:
[ 9327.178789] usb 1-1: new high-speed USB device number 3 using ehci-pci
[ 9327.327647] usb 1-1: New USB device found, idVendor=0bda, idProduct=8179
[ 9327.327655] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9327.327659] usb 1-1: Product: 802.11n NIC
[ 9327.327663] usb 1-1: Manufacturer: Realtek
[ 9327.327666] usb 1-1: SerialNumber: 00E04C0001
[ 9327.493091] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[ 9327.494636] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[ 9327.526941] usbcore: registered new interface driver r8188eu
lsmod shows r8188eu loaded in. Ofcourse there are many chips besides 8188. Lets include our module to /etc/modules-load.d/modules.conf
root@simpleminer:~# cat /etc/modules-load.d/modules.conf | grep 8188
r8188eu
For making /etc/network/interfaces working with WPA2/PSK we need to install wpa_supplicant package:
root@simpleminer:~# apt install wpasupplicant
Reading package lists... Done
Building dependency tree
Reading state information... Done
wpasupplicant is already the newest version (2.4-0ubuntu6).
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.
As u can see mine is allready installed. So, the last thing is modifying /etc/network/interfaces file:
root@simpleminer:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto eth0
#iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wpa-essid BUTERIN_IS_A_GOD
wpa-psk supersecretpassword
As u can see, i commented out eth0 staff. U can leave is uncommented, but systemd will wait for 5 mins while booting with dhcpclient. The good thing is that u get a wire backup if something go wring with wifi. Choose of ur own.