I am attempting to install drivers for my wifi adapter (Netgear Ac6120 Wifi Adapter)
The adapter shows up when I type
$ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 003 Device 002: ID 154b:00ee PNY Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth Bus 001 Device 005: ID 0846:9053 NetGear, Inc. Bus 001 Device 003: ID 258a:0001
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
After following these steps
$ git clone https://github.com/jurobystricky/Netgear-A6210
$ cd netgear-a6210
$ make
I get this error
export DBGFLAGS* Building driver with debug messages *
cp -f os/linux/Makefile.6 /home/alexander/netgear-a6210/os/linux/Makefile make -C /lib/modules/4.15.0-29-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/alexander/netgear-a6210/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-29-generic' arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" CC [M] /home/alexander/netgear-a6210/os/linux/../../sta/assoc.o /bin/sh: 1: gcc: not found scripts/Makefile.build:332: recipe for target '/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o' failed make[2]: * [/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o] Error 127 Makefile:1552: recipe for target 'module/home/alexander/netgear-a6210/os/linux' failed make[1]: * [module/home/alexander/netgear-a6210/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-29-generic' Makefile:59: recipe for target 'debug' failed make: *** [debug] Error 2
What do I need to install or do to resolve this.
Thanks
Update 1
After installing gcc and libelf-dev i get
$ make export DBGFLAGS* Building driver with debug messages *
cp -f os/linux/Makefile.6 /home/alexander/netgear-a6210/os/linux/Makefile make -C /lib/modules/4.15.0-39-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/alexander/netgear-a6210/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-39-generic' CC [M] /home/alexander/netgear-a6210/os/linux/../../sta/assoc.o cc1: error: code model kernel does not support PIC mode scripts/Makefile.build:332: recipe for target '/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o' failed make[2]: * [/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o] Error 1 Makefile:1551: recipe for target 'module/home/alexander/netgear-a6210/os/linux' failed make[1]: * [module/home/alexander/netgear-a6210/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-39-generic' Makefile:59: recipe for target 'debug' failed make: *** [debug] Error 2
Update 2
After following the steps you mentioned i got an internal error but i wasn't able to catch what it was and it didn't show after restarting twice
The wifi adapter is showing up connecting to the wifi now
so thank you for that
it does take a little long to connect (about a 1 to 1 1/2 minutes ), is that just how the adapter runs on linux/ something i'll have to accept?