Problems with D-Link USB Wifi-adapter

Solution 1:

Your device 07d1:3a09 works with the driver carl9170. It also requires firmware which should be installed by default. Check:

ls /lib/firmware | grep carl

You should find carl9170-1.fw and carl9170fw. If not, install with:

sudo apt-get install linux-firmware

Now unload and reload the module:

sudo modprobe -r carl9170 && sudo modprobe carl9170

Was a wireless interface, ideally wlan0, created?

iwconfig

Does it scan and connect?

sudo iwlist wlan0 scan

If not, look for other problems in the message logs:

dmesg | grep carl
rfkill list all