Trouble setting up USB WiFi device

Need help with peripherals or devices?
Post Reply
Message
Author
gk1089
Posts: 1
Joined: 2024-08-22 11:30

Trouble setting up USB WiFi device

#1 Post by gk1089 »

I am having some trouble setting up Tenda AX300 WiFi Router on my freshly installed Debian 12 on a desktop (kernel: 6.1.0-22-amd64). I Searched the web and downloaded the driver as mentioned in https://askubuntu.com/questions/1499222 ... 300-w311mi . Trying to set up the downloaded .deb results in the following:

Code: Select all

sudo dpkg -i w311miv6-pkg-v1.0.0-amd64.deb 
[sudo] password for gaurav: 
(Reading database ... 167550 files and directories currently installed.)
Preparing to unpack w311miv6-pkg-v1.0.0-amd64.deb ...
Uninstall aic8800 wifi driver!!!!!
rmmod: ERROR: Module aic8800_fdrv is not currently loaded
rmmod: ERROR: Module aic_load_fw is not currently loaded
/bin/sh: 1: test: -lt: unexpected operator
rm -rf *.o *.ko *.o.* *.mod.* modules.* Module.* .a* .o* .*.o.* *.mod .tmp* .cache.mk
/bin/sh: 1: test: -lt: unexpected operator
rm -rfv /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800/aic8800_fdrv.ko
/sbin/depmod -a 6.1.0-22-amd64
rm -rf *.o *.ko *.o.* *.mod.* modules.* Module.* .a* .o* .*.o.* *.mod .tmp* .cache.mk
rm -rfv /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800/aic_load_fw.ko
/sbin/depmod -a 6.1.0-22-amd64
rm *.o wifi_test bt_test
Install aic8800 wifi driver!!!!!
Unpacking w311miv6-pkg (1.0.0) over (1.0.0) ...
Uninstall aic8800 wifi driver successful!!!!!
Setting up w311miv6-pkg (1.0.0) ...
udev done
device not exist
cp fw done
make -C /lib/modules/6.1.0-22-amd64/build M=/AIC8800/drivers/aic8800 ARCH=x86_64 CROSS_COMPILE= modules
make[1]: *** /lib/modules/6.1.0-22-amd64/build: No such file or directory.  Stop.
make: *** [Makefile:55: modules] Error 2
mkdir -p /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800
install -p -m 644 aic_load_fw/aic_load_fw.ko  /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800/
install: cannot stat 'aic_load_fw/aic_load_fw.ko': No such file or directory
make: *** [Makefile:59: install] Error 1
insmod: ERROR: could not load module /AIC8800/drivers/aic8800/aic_load_fw/aic_load_fw.ko: No such file or directory
insmod: ERROR: could not load module /AIC8800/drivers/aic8800/aic8800_fdrv/aic8800_fdrv.ko: No such file or directory
insmod done
gcc -c wifi_test.c -o wifi_test.o
gcc wifi_test.o -o wifi_test
gcc -c bt_test.c -o bt_test.o
gcc bt_test.o -lpthread -o bt_test
sudo cp wifi_test /sbin
sudo cp bt_test /sbin
Install aic8800 wifi driver successful!!!!!
I am, sort of, a n00b but that last line of install successful definitely is not true. However, I am able to see he device listed in lsusb as: Bus 001 Device 007: ID 2604:0013 Tenda AIC8800DC

What can I do to resolve the problem?

Cheers!

Aki
Global Moderator
Global Moderator
Posts: 4038
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 112 times
Been thanked: 533 times

Re: Trouble setting up USB WiFi device

#2 Post by Aki »

Hello,

Can you please update the subject of your post adding "USB ID 2604:0013 Tenda AIC8800DC" (Tenda AX300 WiFi Router)", e.g.:
Trouble setting up USB WiFi device USB ID 2604:0013 Tenda AIC8800DC (Tenda W311MI v6-AX300 Wi-Fi 6 USB 2.0 Adapter)
Can you reference a link to the manual of the device ?

----
note: discussion moved to "Hardware" sub-forum.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
stevepusser
Posts: 13068
Joined: 2009-10-06 05:53
Has thanked: 50 times
Been thanked: 97 times

Re: Trouble setting up USB WiFi device

#3 Post by stevepusser »

wikidevi page on the thing: https://wikidevi.wi-cat.ru/Tenda_W311MI_v6

Uses an AIC chip? Great, another company to rival Realtek's massive horde of chipsets.

Well, I can't imagine any problems here: :?
With a mini and portable exterior, the 286 Mbps Wi-Fi 6 driver-free adapter W311MI fits securely into your computer and has no effect on the usage of neighboring ports. It contains an internal driver, which completes installation automatically once plugged into your computer without tedious installation steps.Therefore,you do not need to manually install the driver with a CD-ROM or a file downloaded from the internet.
Anyway, I assume it still has to build kernel modules, so you will need a kernel module building framework installed. An easy way to do that is to install module-assistant and use it to set up the framework:

Code: Select all

sudo apt install module-assistant
sudo m-a prepare
MX Linux packager and developer

Post Reply