Matti65
About
- Username
- Matti65
- Joined
- Visits
- 35
- Last Active
- Roles
- Member
- Points
- 5
-
Connecting Kiwi via WiFi
Today I was successful in getting my Vilros WiFI adapter to work with my KiwiSDR. I did the following:
- Put in the dongle in the USB port of the Kiwi.
- Use Putty to connect per SSH to my Kiwi (user=root; no pw)
- Execute one by one the following commands:
sudo apt-get install usbutils
sudo apt-get install iw tools
sudo apt-get install wireless-tools
sudo apt-get install wpasupplicant
sudo apt-get install wavemon
- Then execute lsusb to get the name and the chipset of the adapter. I f.e. got the following result:
Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- If your chipset cannot be identified by this output, you should additionally look on this page to query for the chipset of your adapter:
https://wikidevi.com/wiki/Special:RunQuery/Wireless_adapter_query
- Then look in this list if there exists a linux driver for your chipset:
https://wiki.debian.org/WiFi#USB_Devices
- Go to the help page for your chipset. In my case it was rtl819x. There I found the hint, that I have to install the package firmware-realtek.
- So I had to put in the command "apt-get install firmware-realtek" in Putty.
- After completing the driver installation, send the command lsmod to see if the driver is installed. In my case the output was
( )
rtl8192cu 52250 0
rtl_usb 8852 1 rtl8192cu
rtl8192c_common 38293 1 rtl8192cu
rtlwifi 54277 3 rtl_usb,rtl8192c_common,rtl8192cu
( )
So everything seemed to be fine.
- Then put in the command ifconfig -a to see if the adapter is working. The output should have a wlan0 section then.
- Next you should encrypt your WiFI passphrase by using this command:
wpa_passphrase WiFi SSID your ASCII passphrase (without the )
The resulting value for psk (not#psk!) is the encrypted passphrase. Memorize this for the next step.
- Then you have to edit the file interfaces to configure your WiFi. Use this command: sudo nano /etc/network/interfaces
- You have to add these lines here:
auto lo
iface lo inet loopback
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "SSID" # without
wpa-psk your encrypted pw # see above
- Then Strg + O and Strg + X to save the file and quit the editor
- Next you have to activate your WiFi once with the command "sudo ifup wlan0" and everything should be fine.