Skip to content

Instantly share code, notes, and snippets.

@RipperFox
Created June 15, 2019 21:07
Show Gist options
  • Save RipperFox/b08f7fb54709f139be756368d37d5de1 to your computer and use it in GitHub Desktop.
Save RipperFox/b08f7fb54709f139be756368d37d5de1 to your computer and use it in GitHub Desktop.

WARNING: This is for advanced users - if you missconfigure your wired network you most likely have to reinstall!

Login to your KiwiSDR via SSH or enter the commands via console in admin section of the webinterface

First we probably need to install firmware and stuff for Wifi dongles:

apt install firmware-realtek firmware-ralink firmware-misc-nonfree wpasupplicant wireless-tools

After that, your device should be recognized automatically - see end of dmesg output after plugging it in. (If not - you might have a device which requires compiling a driver, etc. - sorry, not described here.)

Then we edit /etc/wpa_supplicant/wpa_supplicant.conf and enter out Wifi credentials for WPA2 (watch your country code):

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
ap_scan=1
country=DE
fast_reauth=1

network={
        ssid="MySSID"
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        group=CCMP
        psk="MyWifiPassword"
}

Next we configure the wifi interface wlan0 for dhcp in /etc/network/interfaces by adding the lines:

allow-hotplug wlan0
iface wlan0 inet manual
  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

After that, the Wifi interface should come up after plugging in the wifi dongle.

If you happen to fiddle with more than one Wifi dongle, you might end up with multiple interface names (e.g. wlan0, wlan1, etc.): The interface names are saved via the device's MAC address in the file /etc/udev/rules.d/70-persistent-net.rules

@RipperFox
Copy link
Author

Don't know exactly, but since the product description reads:

PC Support Windows 10/8.1/8/7/XP/Vista/Mac OS10.6-10.13 (Without Driver)

it's very likely that there's a relatively new Realtek chipset in it which is afaik NOT supported from the Linux OS on the Kiwi (that's Debian 8.5 based) out of the box.

I've had success with a "Ralink Rt5370" based device - you'll find cheap devices with this chipset on Amazon - hth..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment