rtl8812au odroid

Post Reply
kappahd
Posts: 35
Joined: Tue Jun 19, 2018 6:51 am
languages_spoken: english
Contact:

rtl8812au odroid

Unread post by kappahd » Tue Jan 15, 2019 12:02 am

I'm trying my best to get the drivers installed. I ended up following steps on this link https://forum.armbian.com/topic/3949-od ... -rtl8812au which are :

Code: Select all

git clone https://github.com/gnab/rtl8812au
sed -i -e 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/' \
    -e 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/' rtl8812au/Makefile
sudo apt install build-essential dkms
sudo mv rtl8812au /usr/src/8812au-4.2.2
sudo dkms add -m 8812au -v 4.2.2
sudo dkms build -m 8812au -v 4.2.2
sudo dkms install -m 8812au -v 4.2.2
When I do

Code: Select all

sudo dkms build -m 8812au -v 4.2.2
I get:
Error! Your kernel headers for kernel 4.9.103-odroidxu4 cannot be found.
Please install the linux-headers-4.9.103-odroidxu4 package,
or use the --kernelsourcedir option to tell DKMS where it's located

kappahd
Posts: 35
Joined: Tue Jun 19, 2018 6:51 am
languages_spoken: english
Contact:

Re: rtl8812au odroid

Unread post by kappahd » Tue Jan 15, 2019 3:50 am

I just reinstalled and then tried again. getting these errors:

root@odroidxu4:/# sudo apt install build-essential dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.3).
dkms is already the newest version (2.3-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130) ...
/boot/initrd.img-4.19.14-odroidxu4 does not exist. Cannot update.
W: APT had planned for dpkg to do more than it reported back (0 vs 4).

User avatar
igorpec
Posts: 293
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Contact:

Re: rtl8812au odroid

Unread post by igorpec » Tue Jan 15, 2019 4:28 am

kappahd wrote:
Tue Jan 15, 2019 3:50 am
/boot/initrd.img-4.19.14-odroidxu4 does not exist. Cannot update.
This part is a bit confusing. Have you start from a clean build?
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

kappahd
Posts: 35
Joined: Tue Jun 19, 2018 6:51 am
languages_spoken: english
Contact:

Re: rtl8812au odroid

Unread post by kappahd » Tue Jan 15, 2019 4:50 am

igorpec wrote:
Tue Jan 15, 2019 4:28 am
kappahd wrote:
Tue Jan 15, 2019 3:50 am
/boot/initrd.img-4.19.14-odroidxu4 does not exist. Cannot update.
This part is a bit confusing. Have you start from a clean build?
Sorry, I jsut did a fresh one now:
root@odroidxu4:~# git clone https://github.com/gnab/rtl8812au
Cloning into 'rtl8812au'...
remote: Enumerating objects: 658, done.
remote: Total 658 (delta 0), reused 0 (delta 0), pack-reused 658
Receiving objects: 100% (658/658), 1.82 MiB | 169.00 KiB/s, done.
Resolving deltas: 100% (273/273), done.
root@odroidxu4:~# sed -i -e 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/' \
> -e 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/' rtl8812au/Makefile
root@odroidxu4:~# sudo apt install build-essential dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.3).
Suggested packages:
python3-apport menu
Recommended packages:
fakeroot linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic
| linux-headers
The following NEW packages will be installed:
dkms
0 upgraded, 1 newly installed, 0 to remove and 112 not upgraded.
Need to get 74.8 kB of archives.
After this operation, 289 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main armhf dkms all 2.3-2 [74.8 kB]
Fetched 74.8 kB in 0s (181 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 50182 files and directories currently installed.)
Preparing to unpack .../archives/dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Setting up dkms (2.3-2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0xb6332468>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0xb6332468>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
root@odroidxu4:~#


If I continue with that error I get:
root@odroidxu4:~# ^C
root@odroidxu4:~# sudo mv rtl8812au /usr/src/8812au-4.2.2
root@odroidxu4:~# sudo dkms add -m 8812au -v 4.2.2

Creating symlink /var/lib/dkms/8812au/4.2.2/source ->
/usr/src/8812au-4.2.2

DKMS: add completed.
root@odroidxu4:~# sudo dkms build -m 8812au -v 4.2.2
Error! Your kernel headers for kernel 4.14.87-odroidxu4 cannot be found.
Please install the linux-headers-4.14.87-odroidxu4 package,
or use the --kernelsourcedir option to tell DKMS where it's located
root@odroidxu4:~#



thank you for replying, I really want to get this done

User avatar
igorpec
Posts: 293
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Contact:

Re: rtl8812au odroid

Unread post by igorpec » Tue Jan 15, 2019 3:17 pm

- you are trying to install worse driver. Best possible 8812au and 8814au drivers are already present
- headers package has different name, because we have many different kernels: apt install linux-headers-odroidxu4

Just plug your wifi and enjoy.
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest