New WLAN and Bluetooth adapter for my MiSTer

So far, I have two adapters, one for WLAN and one for Bluetooth. The WLAN one does not work anymore, so I looked and found an adapter that offers both services.

It’s a TP-Link Archer T2UB Nano AC600 adapter.

I configured the WLAN manually, thanks to a post where somebody posted a example configuration:

I updated my /etc/interfaces file:

# don't touch this code that was already present
# --------------------------------------------------------------------
auto lo
iface lo inet loopback

# new code
# --------------------------------------------------------------------
iface wlan0 inet dhcp   # use dhcp
auto wlan0
udhcpc_opts -t 10
wpa-ssid [my ssid] # put in your SSID
wpa-psk [my password] # put in your password
gateway 192.xxx.xxx.1  # put in your gateway

# don't touch this code that was already present
# --------------------------------------------------------------------
pre-up [ -f /media/fat/linux/wpa_supplicant.conf ]
pre-up wpa_supplicant -s -B -P /run/wpa_supplicant.$IFACE.pid -i $IFACE -D nl80211,wet -c /media/fat/linux/wpa_supllicant.conf
post-up sleep 2
post-down killall -q wpa_supplicant

After reboots, it takes a few seconds and the WLAN is up and running. Also, Bluetooth is working out of the box.

Comment