Hello everyone.
Please tell me how to use the USB Wireless (Wi-Fi) Adapter correctly if I already have a network card in my laptop? When I try to turn on the USB Wireless (Wi-Fi) Adapter, do I see that two interfaces are enabled? Here are my steps:
I also wanted to see if there was a conflict between connman + connman-gtk and the USB Wireless (Wi-Fi) Adapter
I didn't find the ath9k drivers separately in the repository, but I realized they were included in the kernel.
I loaded the kernel module with the command and checked:
$ sudo modprobe ath9k
$ sudo modprobe -v ath9k
$ sudo lsmod | grep ath
Next, I inserted the USB Wireless (Wi-Fi) Adapter and checked:
$ sudo dmesg | grep usb
Next, I checked the name of the USB Wireless (Wi-Fi) Adapter interface (I have it "wlan1")
$ ip -c a
Next, I activated the network interface "wlan1"
$ sudo ip link set wlan1 up
but received a message:
RTNETLINK answers: Operation not possible due to RF-kill
Okay, I checked if blocking the network interface with the command:
$ rfkill list all
phy2: Wareless LAN
Soft blocked: yes
Hard blocked: no
Unlock with the command:
$ rfkill unblock 3 # the number 3 is my phy2 it appears when you press TAB
Let's check again:
$ rfkill list all
phy2: Wareless LAN
Soft blocked: no
Hard blocked: no
I try to activate the interface again:
$ sudo ip link set wlan1 up
$ sudo ifconfig wlan1 up
Nothing happens??
Okay, I'm trying to act wpa_supplicant command:
$ sudo rc-service wpa_supplicant start
I see an error that says there is no wpa_supplicant.conf file. Okay,
I've created a file like this:
$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
ssid="YourWiFiNetworkName"
psk="YourWiFiPassword"
key_mgmt=WPA-PSK
proto=RSN
}
$ sudo chmod 600 /etc/wpa_supplicant/wpa_supplicant.conf
I try to activate the interface again:
$ sudo rc-service wpa_supplicant start
I see that rfkill is blocking the interface...