LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2017, 03:01 PM   #1
aaa137946
LQ Newbie
 
Registered: Dec 2017
Posts: 1

Rep: Reputation: Disabled
HELP with installing realtek 8812au (awus036ACH) driver in KALI please


i have tried many things but nothing works. I'm NOT using a virtual machine.

at last i have tried doing:

sudo apt remove realtek-rtl88xxau-dkms
sudo apt autoremove

sudo apt install realtek-rtl88xxau-dkms
and output was:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dkms
Suggested packages:
python3-apport
The following NEW packages will be installed:
dkms realtek-rtl88xxau-dkms
0 upgraded, 2 newly installed, 0 to remove and 1639 not upgraded.
Need to get 1,752 kB/1,827 kB of archives.
After this operation, 18.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.free.fr/pub/kali kali-rolling/contrib amd64 realtek-rtl88xxau-dkms all 5.1.5~20171206-0kali1 [1,752 kB]
Fetched 1,752 kB in 4s (400 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 323625 files and directories currently installed.)
Preparing to unpack .../archives/dkms_2.3-3_all.deb ...
Unpacking dkms (2.3-3) ...
Selecting previously unselected package realtek-rtl88xxau-dkms.
Preparing to unpack .../realtek-rtl88xxau-dkms_5.1.5~20171206-0kali1_all.deb ...
Unpacking realtek-rtl88xxau-dkms (5.1.5~20171206-0kali1) ...
Setting up dkms (2.3-3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up realtek-rtl88xxau-dkms (5.1.5~20171206-0kali1) ...
Loading new realtek-rtl88xxau-5.1.5~20171206 DKMS files...
Building for 4.9.0-kali3-amd64
Building initial module for 4.9.0-kali3-amd64
Error! Bad return status for module build on kernel: 4.9.0-kali3-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/make.log for more information.


in this make.log file

DKMS make.log for realtek-rtl88xxau-5.1.5~20171206 for kernel 4.9.0-kali3-amd64 (x86_64)
Thu Dec 14 21:43:51 CET 2017
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-kali3-amd64/build M=/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.14.0-kali1-amd64'
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_security.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_debug.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_io.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_mi.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_vht.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_rf.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_recv.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_ap.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_iol.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/rtw_odm.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/usb_intf.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/usb_ops_linux.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/mlme_linux.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.o
/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_alloc’:
/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.c:238:12: error: ‘struct ieee80211_supported_band’ has no member named ‘channels’; did you mean ‘n_channels’?
spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_supported_band));
^~~~~~~~
n_channels
/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.c:239:66: error: ‘struct ieee80211_supported_band’ has no member named ‘channels’; did you mean ‘n_channels’?
spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee80211_channel) * n_channels);
^~~~~~~~
n_channels
/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.c:245:34: error: ‘struct ieee80211_supported_band’ has no member named ‘channels’; did you mean ‘n_channels’?
rtw_2g_channels_init(spt_band->channels);
^~~~~~~~
n_channels
/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.c:248:34: error: ‘struct ieee80211_supported_band’ has no member named ‘channels’; did you mean ‘n_channels’?
rtw_5g_channels_init(spt_band->channels);
^~~~~~~~
n_channels
/usr/src/linux-headers-4.14.0-kali1-common/scripts/Makefile.build:319: recipe for target '/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.o' failed
make[4]: *** [/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build/os_dep/linux/ioctl_cfg80211.o] Error 1
/usr/src/linux-headers-4.14.0-kali1-common/Makefile:1520: recipe for target '_module_/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build' failed
make[3]: *** [_module_/var/lib/dkms/realtek-rtl88xxau/5.1.5~20171206/build] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-amd64'
Makefile:1857: recipe for target 'modules' failed
make: *** [modules] Error 2
 
Old 12-14-2017, 03:14 PM   #2
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
Why do not you build your own kernel ?>

Configuration hint
your current kernel config
Quote:
zcat /proc/config.gz

Last edited by _roman_; 12-14-2017 at 03:18 PM.
 
Old 12-14-2017, 03:19 PM   #3
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 15
Posts: 490
Blog Entries: 2

Rep: Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576
Please read this, then read this.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
8812au driver on raspi 2 aihaike Slackware - ARM 12 12-01-2017 07:26 PM
[SOLVED] Realtek 8812au Nille_kungen Slackware 7 09-24-2017 05:03 PM
issue installing fglrx legacy driver on kali linux 2.0 cpufreak101 Linux - Software 5 02-03-2016 01:52 AM
Help Installing Driver, Realtek ALC 880 jp_css Linux - Newbie 2 08-09-2005 03:47 PM
Help installing driver for Realtek ALC650 krissly1 Linux - Newbie 23 12-12-2003 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration