Install drivers USB Wifi - Butterblume - 11-04-2022
Hello everyone,
I have to install a Wifi dongle for my system, because the signal strength in the housing is too low. The dongle is a BrosTrend AC650. According to the manufacturer, the drivers should be installed with the command sh -c 'wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install'. After the download, the password of the "super user" is requested. Unfortunately, this is not "moodeaudio". I use shell in a Box for the console.
Code: pi@moode:~ $ sh -c 'wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install'
URL transformed to HTTPS due to an HSTS policy
--2022-11-04 21:48:25-- https://deb.trendtechcn.com/install
Resolving deb.trendtechcn.com (deb.trendtechcn.com)... 2606:50c0:8003::153, 2606:50c0:8000::153, 2606:50c0:8001::153, ...
Connecting to deb.trendtechcn.com (deb.trendtechcn.com)|2606:50c0:8003::153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16821 (16K) [application/octet-stream]
Saving to: ‘/tmp/install’
/tmp/install 100%[==========================================================================================================================================================================>] 16.43K --.-KB/s in 0.007s
2022-11-04 21:48:25 (2.40 MB/s) - ‘/tmp/install’ saved [16821/16821]
Root access is required
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/tmp/install' as the super user
Authenticating as: ,,, (pi)
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized
This incident has been reported.
I use the latest version: 8.2.2
Do i need an other install command? Sudo doesnt make no difference.
Hope you can help me
sunny wishes
Jan
RE: Install drivers USB Wifi - TheOldPresbyope - 11-04-2022
@Butterblume
So, instead of this command
Code: sh -c 'wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install'
Try, instead
Code: wget deb.trendtechcn.com/install -O /tmp/install
sudo sh /tmp/install
Regards,
Kent
RE: Install drivers USB Wifi - Tim Curtis - 11-05-2022
Remember that drivers are kernel version specific. Unless the manufacturer has compiled their driver for the particular kernel version that is currently used in moOde it won't work.
There is/was a site managed by MrEngMan that had an install script for WiFi drivers and he maintained compiled binaries for many kernel versions.
RE: Install drivers USB Wifi - Butterblume - 11-05-2022
-delete-
RE: Install drivers USB Wifi - Butterblume - 11-05-2022
(11-05-2022, 12:28 AM)Butterblume Wrote: Thank you for your help. It works this way. Sadly the Wifi dongle "couldnt detect the kernel headers". I will contact the manufactur and see what happens.
Code: pi@moode:~ $ sudo sh /tmp/install
Package manager is: apt-get
Installing prerequisites
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:5 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye InRelease [5,184 B]
Get:6 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [192 kB]
Get:7 http://security.debian.org/debian-security bullseye-security/main armhf Packages [192 kB]
Get:8 http://security.debian.org/debian-security bullseye-security/main Translation-en [123 kB]
Get:9 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [307 kB]
Get:10 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [299 kB]
Fetched 1,234 kB in 2s (791 kB/s)
Reading package lists... Done
Couldn't detect the appropriate kernel headers package!
===================================================
ERROR: The driver was NOT successfully installed!
===================================================
1) Please select all the text in this terminal, then right click with the
mouse and select Copy, and finally paste all the text in an email to:
support@trend-tech.net.cn
2) Please attach this autogenerated log file to the email:
/tmp/troubleshooting.txt
3) Some common problems are documented in:
https://deb.trendtechcn.com/troubleshooting/
if someone ist interested in the troubleshooting.txt it can be found here:
wetransfer
best wishes
Jan
RE: Install drivers USB Wifi - Butterblume - 11-08-2022
This is the solution to install the drivers:
Code: sudo apt update
sudo apt full-upgrade --yes
sudo apt install raspberrypi-kernel-headers
sudo apt install raspberrypi-kernel
--- reboot pi ---
to this day you should have the kernel
Code: pi@moode:~ $ uname -a
Linux moode 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
install the drivers:
Code: wget deb.trendtechcn.com/install -O /tmp/install
sudo sh /tmp/install
--- reboot pi ---
dont forget to disable the integrated Wifi-Modul
|