Are there plans to support the mt7662u_sta WiFi device? I believe that this is necessary to support the NetGear A6210 which I’d like to use to try and improve my WiFi connectivity.
Hi,
On which device?
Pi, vero ?
Thanks Tom.
Oops, sorry, I should have said! I have a Vero2, so ideally would be across all Vero builds.
Hi,
From a search of the forums, it doesn’t look like support for this driver is currently on the roadmap.
Thanks Tom.
Any chance of adding it? From one of the earlier posts there was an implication that it would be added to Pi?
Thanks,
Tony
Hi,
I’m seemed to have missed that post, when I searched the forum?
Could you please provide a link to the post?
Thanks Tom.
Hi Tom,
This post: https://discourse.osmc.tv/t/wifi-adaptor-help-netgear-ac1200/3667
I believe the AC2100 and A6210 are the same hardware, named directly in different markets.
Regards,
Tony
Hi,
According to that thread support was added some time back, admittedly for the pi. So the vero2 doesn’t see the dongle?
Thanks Tom.
No, I see the device in lsusb
but no networks appear on the WiFi screen of the GUI. Should I move this query to one of the support threads?
Regards,
Tony
provide full logs grab-logs -A
so we can see what is going on.
also URL of lsusb | paste-log
Thanks for stepping in @fzinken. Here are the URLs:
- Grab-logs: https://paste.osmc.tv/uwifapesiq
- lsusb: https://paste.osmc.tv/ejahufabuv
Regards,
Tony
Ok, seems no driver being loaded.
Maybe try to compile from source GitHub - jurobystricky/Netgear-A6210: AC1200 High Gain WiFi USB Adapter Linux kernel driver
OK, so I installed git
and make
by runningsudo apt install git-all
and sudo apt-get install build-essential
and then used git clone https://github.com/jurobystricky/Netgear-A6210
to download the source, however when I ran make
from the newly created Netgear-A6210
directory, I got the following. Have a omitted a step?
osmc@VERO2OSMC:~/Netgear-A6210$ make
export DBGFLAGS
*** Building driver with debug messages ***
cp -f os/linux/Makefile.6 /home/osmc/Netgear-A6210/os/linux/Makefile
make -C /lib/modules/3.10.105-12-osmc/build DBGFLAGS=-DDBG SUBDIRS=/home/osmc/Netgear-A6210/os/linux modules
make[1]: *** /lib/modules/3.10.105-12-osmc/build: No such file or directory. Stop.
Makefile:59: recipe for target 'debug' failed
make: *** [debug] Error 2
Regards,
Tony
Hi,
sudo apt-get vero2-headers-$(uname -r)
That should install the required kernel headers. Please be advised you will need to recompile and re-install with each kernal update.
Thanks Tom.
Tom,
Sorry, still getting the same error after sudo apt-get install vero2-headers-$(uname -r)
. Dump of output from apt-get
and make
below.
Regards,
Tony
osmc@VERO2OSMC:~$ sudo apt-get install vero2-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
armv7-libcrossguid-osmc bluez libapt-inst1.5 libbind9-90 libdbus-1-dev
libdns100 libgif4 libgnutls-deb0-28 libhogweed2 libicu52 libisc95 libisccc90
libisccfg90 liblwres90 libmicrohttpd10 libmysqlclient18 libnettle4 libntdb1
libplist2 libpng12-0 libpsl0 libssl1.0.0 libwebp5 libwebpdemux1 libwebpmux1
libxtables10 pkg-config python-dbus-dev
Use 'sudo apt autoremove' to remove them.
Suggested packages:
module-init-tools
The following NEW packages will be installed:
vero2-headers-3.10.105-12-osmc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 6589 kB of archives.
After this operation, 47.5 MB of additional disk space will be used.
Get:1 http://ftp.fau.de/osmc/osmc/apt stretch/main armhf vero2-headers-3.10.105-12-osmc armhf 12 [6589 kB]
Fetched 6589 kB in 6s (969 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "en_GB.UTF-8",
LC_COLLATE = "en_GB.UTF-8",
LC_MESSAGES = "en_GB.UTF-8",
LANG = "en_HK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_HK.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package vero2-headers-3.10.105-12-osmc.
(Reading database ... 44557 files and directories currently installed.)
Preparing to unpack .../vero2-headers-3.10.105-12-osmc_12_armhf.deb ...
Unpacking vero2-headers-3.10.105-12-osmc (12) ...
Setting up vero2-headers-3.10.105-12-osmc (12) ...
Examining /etc/kernel/header_postinst.d.
osmc@VERO2OSMC:~$ cd Netgear-A6210/
osmc@VERO2OSMC:~/Netgear-A6210$ make
export DBGFLAGS
*** Building driver with debug messages ***
cp -f os/linux/Makefile.6 /home/osmc/Netgear-A6210/os/linux/Makefile
make -C /lib/modules/3.10.105-12-osmc/build DBGFLAGS=-DDBG SUBDIRS=/home/osmc/Netgear-A6210/os/linux modules
make[1]: *** /lib/modules/3.10.105-12-osmc/build: No such file or directory. Stop.
Makefile:59: recipe for target 'debug' failed
make: *** [debug] Error 2
Hi,
Please provide the output of:
ls -lah /lib/modules/3.10.105-12-osmc/build
Thanks Tom.
The directory does not seem to exist:
osmc@VERO2OSMC:~$ ls -lah /lib/modules/3.10.105-12-osmc/build
ls: cannot access '/lib/modules/3.10.105-12-osmc/build': No such file or directory
Here is the contents of /lib/modules/3.10.105-12-osmc
:
osmc@VERO2OSMC:/lib/modules/3.10.105-12-osmc$ ls
kernel modules.builtin modules.dep.bin modules.softdep
modules.alias modules.builtin.bin modules.devname modules.symbols
modules.alias.bin modules.dep modules.order modules.symbols.bin
Regards,
Tony
Hi,
Sorry I haven’t got a vero2 to test this on, but it doesn’t look like the kernel-headers have installed properly.
Thanks Tom.
@tmenzies edit, I’ve done some digging; more packages need to be installed. As I say I haven’t got a vero2, but I’ll see if I can work out what they are from what I’ve got to test with here.
@tmenzies can’t get it to compile on my vero4k, (i think its a userland issue). You may get further on your vero2. To fix the current message:
sudo ln -s /usr/src/vero364-headers-3.10.105-12-osmc /lib/modules/3.10.105-12-osmc/build
Hopefully that will do it, if not provide error messages.
Thanks Tom.
Tom,
Thanks for your further checking - I’ll give this a try and let you know how I get on.
Regards,
Tony
Tom,
I linked the directory (for anyone following this thread in future, the link on a Vero2 is sudo ln -s /usr/src/vero2-headers-3.10.105-12-osmc /lib/modules/3.10.105-12-osmc/build
), then ran make
from ~/Netgear-A6210
- which sadly fails with a fatal error when it fails to find mach/memory.h
, details below.
Regards,
Tony
osmc@VERO2OSMC:~/Netgear-A6210$ make
export DBGFLAGS
*** Building driver with debug messages ***
cp -f os/linux/Makefile.6 /home/osmc/Netgear-A6210/os/linux/Makefile
make -C /lib/modules/3.10.105-12-osmc/build DBGFLAGS=-DDBG SUBDIRS=/home/osmc/Netgear-A6210/os/linux modules
make[1]: Entering directory '/usr/src/vero2-headers-3.10.105-12-osmc'
CC [M] /home/osmc/Netgear-A6210/os/linux/../../sta/assoc.o
In file included from /usr/src/vero2-headers-3.10.105-12-osmc/arch/arm/include/asm/page.h:163:0,
from include/linux/mmzone.h:20,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/osmc/Netgear-A6210/include/os/rt_linux.h:14,
from /home/osmc/Netgear-A6210/include/rtmp_os.h:30,
from /home/osmc/Netgear-A6210/include/rtmp_comm.h:64,
from /home/osmc/Netgear-A6210/include/rt_config.h:34,
from /home/osmc/Netgear-A6210/os/linux/../../sta/assoc.c:28:
/usr/src/vero2-headers-3.10.105-12-osmc/arch/arm/include/asm/memory.h:22:25: fatal error: mach/memory.h: No such file or directory
#include <mach/memory.h>
^
compilation terminated.
scripts/Makefile.build:308: recipe for target '/home/osmc/Netgear-A6210/os/linux/../../sta/assoc.o' failed
make[2]: *** [/home/osmc/Netgear-A6210/os/linux/../../sta/assoc.o] Error 1
Makefile:1238: recipe for target '_module_/home/osmc/Netgear-A6210/os/linux' failed
make[1]: *** [_module_/home/osmc/Netgear-A6210/os/linux] Error 2
make[1]: Leaving directory '/usr/src/vero2-headers-3.10.105-12-osmc'
Makefile:59: recipe for target 'debug' failed
make: *** [debug] Error 2