[SOLVED] LM19 - trying to install Netgear A6210 driver from github

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
wrd2093au
Level 1
Level 1
Posts: 2
Joined: Sat Jan 12, 2019 11:56 pm
Location: Sydney, Australia

[SOLVED] LM19 - trying to install Netgear A6210 driver from github

Post by wrd2093au » Sun Jan 13, 2019 12:16 am

Apologies if this is the wrong place to post this question. After installing LM 19.1 64-bit on an older PC with only wifi access, am trying to get its Netgear WND3100v3 (USB wifi dongle) working.

Some previous threads here had led me to the Netgear-A6210 driver so I thought I would install that.

I was attempting to follow instructions to install the driver here: https://github.com/jurobystricky/Netgear-A6210

I have copied the GitHub repository manually (as zip file, then extract to the PC).

When I run

Code: Select all

make
command, I see the following output, with an error:

Code: Select all

bill@bill-z69029:~/Netgear-A6210$ make
export DBGFLAGS

*** Building driver with debug messages ***

cp -f os/linux/Makefile.6 /home/bill/Netgear-A6210/os/linux/Makefile
make -C /lib/modules/4.15.0-20-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/bill/Netgear-A6210/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/bill/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o
In file included from ./include/linux/bitmap.h:9:0,
                 from ./include/linux/cpumask.h:12,
                 from ./arch/x86/include/asm/cpumask.h:5,
                 from ./arch/x86/include/asm/msr.h:11,
                 from ./arch/x86/include/asm/processor.h:21,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:10,
                 from /home/bill/Netgear-A6210/include/os/rt_linux.h:14,
                 from /home/bill/Netgear-A6210/include/rtmp_os.h:30,
                 from /home/bill/Netgear-A6210/include/rtmp_comm.h:64,
                 from /home/bill/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:33:
In function ‘memcpy’,
    inlined from ‘rt_ioctl_iwaplist’ at /home/bill/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:549:2:
./include/linux/string.h:340:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
    __read_overflow2();
    ^~~~~~~~~~~~~~~~~~
scripts/Makefile.build:332: recipe for target '/home/bill/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o' failed
make[2]: *** [/home/bill/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o] Error 1
Makefile:1552: recipe for target '_module_/home/bill/Netgear-A6210/os/linux' failed
make[1]: *** [_module_/home/bill/Netgear-A6210/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'
Makefile:59: recipe for target 'debug' failed
make: *** [debug] Error 2

Hoping someone can interpret this error and give any suggestions to get past it? Or is this driver not compatible with LM 19.1?

Thanks in advance.
Last edited by wrd2093au on Mon Jan 14, 2019 6:49 am, edited 2 times in total.

User avatar
Pierre
Level 18
Level 18
Posts: 8783
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: LM19 - trying to install Netgear A6210 driver from github

Post by Pierre » Sun Jan 13, 2019 12:58 am

Hi Bill,
did you follow the Git Hub Instructions,,
To build the driver, follow these steps:

$ git clone https://github.com/jurobystricky/Netgear-A6210
$ cd Netgear-A6210
$ make
$ sudo make install

as well as that make command ?.

also2: did you note the section called DKMS Install & where you can add the module to DKMS - on Debian-based distros?.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

ajgringo619
Level 6
Level 6
Posts: 1314
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California

Re: LM19 - trying to install Netgear A6210 driver from github

Post by ajgringo619 » Sun Jan 13, 2019 12:59 am

I just went through this exact same thing today with a different WiFi adapter. You need to install libelf-dev. If you look at the output of the make command, you'll see the complaint near the top.
Mint 19.2 Cinnamon
kernel 5.0.0-25-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (430.40)
Image

User avatar
wrd2093au
Level 1
Level 1
Posts: 2
Joined: Sat Jan 12, 2019 11:56 pm
Location: Sydney, Australia

Re: LM19 - trying to install Netgear A6210 driver from github

Post by wrd2093au » Mon Jan 14, 2019 6:47 am

Thanks for the replies!

Installed libelf-dev but still no luck getting the "make" to work with that version of the driver.

However with a bit more searching, I found a thread elsewhere that mentioned another driver version which it says is for "kernel 4.15 and up" ...

https://github.com/kaduke/Netgear-A6210

Using this one (instead of the jurobysticky version) and it installed first time, and the wireless now works (once I rebooted and restarted the network service).

aprilloper
Level 1
Level 1
Posts: 1
Joined: Thu Jul 25, 2019 7:36 pm

Re: [SOLVED] LM19 - trying to install Netgear A6210 driver from github

Post by aprilloper » Thu Jul 25, 2019 7:41 pm

This solved my wifi issue. I'm using LM 18.3 with Linux kernel 4.15.

Thanks

Post Reply

Return to “Wireless”