Last active
January 2, 2018 05:36
-
-
Save jamesray1/67af875dc4dac83aa1c22e7079ecd74a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bought here: https://rover.ebay.com/rover/0/e11051.m43.l1123/7?euid=e37cba6f833f48758143a03348892b46&bu=44260427166&loc=http%3A%2F%2Fwww.ebay.com.au%2Fulk%2Fitm%2F112568140958&sojTags=bu=bu | |
james@james-Streacom:/media/james/RTL8814/Linux$ ./install.sh | |
bash: ./install.sh: Permission denied | |
james@james-Streacom:/media/james/RTL8814/Linux$ sudo ./install.sh | |
[sudo] password for james: | |
sudo: ./install.sh: command not found | |
james@james-Streacom:/media/james/RTL8814/Linux$ sudo bash ./install.sh | |
./install.sh: line 8: $'\r': command not found | |
################################################## | |
Realtek Wi-Fi driver Auto installation script | |
Novembor, 21 2011 v1.1.0 | |
################################################## | |
./install.sh: line 13: $'\r': command not found | |
./install.sh: line 17: cd: $'driver\r': No such file or directory | |
Decompress the driver source tar ball: | |
tar (child): \r\r: Cannot open: No such file or directory | |
tar (child): Error is not recoverable: exiting now | |
tar: Child returned status 2 | |
tar: Error is not recoverable: exiting now | |
./install.sh: line 22: $'\r': command not found | |
android_ref_codes_JB_4.2 | |
android_ref_codes_KK_4.4 | |
android_ref_codes_L_5.x | |
android_ref_codes_M_6.x | |
document | |
driver | |
install.sh | |
readme.txt | |
ReleaseNotes.pdf | |
WiFi_Direct_User_Interface | |
wireless_tools | |
wpa_supplicant_hostapd | |
./install.sh: line 25: cd: too many arguments | |
./install.sh: line 26: $'\r': command not found | |
./install.sh: line 50: syntax error near unexpected token `else' | |
'/install.sh: line 50: `else | |
james@james-Streacom:/media/james/RTL8814/Linux$ su - | |
Password: | |
root@james-Streacom:~# cd /media/james/RTL8814/Linux | |
root@james-Streacom:/media/james/RTL8814/Linux# ./install.sh | |
-su: ./install.sh: Permission denied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DKMS make.log for rtl8814AU-4.3.21 for kernel 4.13.0-22-generic (x86_64) | |
Tue 2 Jan 16:30:11 AEDT 2018 | |
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-22-generic/build M=/var/lib/dkms/rtl8814AU/4.3.21/build modules | |
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-22-generic' | |
CC [M] /var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o | |
In file included from /var/lib/dkms/rtl8814AU/4.3.21/build/include/drv_types.h:32:0, | |
from /var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.c:22: | |
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h: In function ‘thread_enter’: | |
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration] | |
allow_signal(SIGTERM); | |
^~~~~~~~~~~~ | |
do_signal | |
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h: In function ‘flush_signals_thread’: | |
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration] | |
if (signal_pending (current)) | |
^~~~~~~~~~~~~~ | |
timer_pending | |
/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration] | |
flush_signals(current); | |
^~~~~~~~~~~~~ | |
do_signal | |
cc1: some warnings being treated as errors | |
scripts/Makefile.build:302: recipe for target '/var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o' failed | |
make[2]: *** [/var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o] Error 1 | |
Makefile:1546: recipe for target '_module_/var/lib/dkms/rtl8814AU/4.3.21/build' failed | |
make[1]: *** [_module_/var/lib/dkms/rtl8814AU/4.3.21/build] Error 2 | |
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-22-generic' | |
Makefile:1699: recipe for target 'modules' failed | |
make: *** [modules] Error 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Following instructions here: https://github.com/sbosshardt/rtl8814AU | |
james@james-Streacom:~$ git clone https://github.com/sbosshardt/rtl8814AU.git | |
Cloning into 'rtl8814AU'... | |
remote: Counting objects: 548, done. | |
remote: Total 548 (delta 0), reused 0 (delta 0), pack-reused 548 | |
Receiving objects: 100% (548/548), 2.13 MiB | 542.00 KiB/s, done. | |
Resolving deltas: 100% (203/203), done. | |
james@james-Streacom:~$ apt-get install dkms | |
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) | |
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? | |
james@james-Streacom:~$ sudo apt-get install dkms | |
[sudo] password for james: | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
dkms is already the newest version (2.3-3ubuntu3). | |
The following packages were automatically installed and are no longer required: | |
linux-headers-4.13.0-18 linux-headers-4.13.0-18-generic | |
linux-image-4.13.0-18-generic linux-image-extra-4.13.0-18-generic | |
linux-image-extra-4.13.0-19-generic linux-signed-image-4.13.0-18-generic | |
Use 'sudo apt autoremove' to remove them. | |
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. | |
james@james-Streacom:~$ sudo ./dkms-install.sh | |
sudo: ./dkms-install.sh: command not found | |
james@james-Streacom:~$ sudo apt autoremove | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages will be REMOVED | |
linux-headers-4.13.0-18 linux-headers-4.13.0-18-generic | |
linux-image-4.13.0-18-generic linux-image-extra-4.13.0-18-generic | |
linux-image-extra-4.13.0-19-generic linux-signed-image-4.13.0-18-generic | |
0 to upgrade, 0 to newly install, 6 to remove and 0 not to upgrade. | |
After this operation, 481 MB disk space will be freed. | |
Do you want to continue? [Y/n] y | |
(Reading database ... 327251 files and directories currently installed.) | |
Removing linux-headers-4.13.0-18-generic (4.13.0-18.21) ... | |
Removing linux-headers-4.13.0-18 (4.13.0-18.21) ... | |
Removing linux-signed-image-4.13.0-18-generic (4.13.0-18.21) ... | |
Generating grub configuration file ... | |
Found linux image: /boot/vmlinuz-4.13.0-22-generic | |
Found initrd image: /boot/initrd.img-4.13.0-22-generic | |
Found linux image: /boot/vmlinuz-4.13.0-21-generic | |
Found initrd image: /boot/initrd.img-4.13.0-21-generic | |
Found linux image: /boot/vmlinuz-4.13.0-19-generic | |
Found initrd image: /boot/initrd.img-4.13.0-19-generic | |
Found linux image: /boot/vmlinuz-4.13.0-18-generic | |
Found initrd image: /boot/initrd.img-4.13.0-18-generic | |
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi | |
done | |
Removing linux-image-extra-4.13.0-18-generic (4.13.0-18.21) ... | |
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
Error! Your kernel headers for kernel 4.13.0-18-generic cannot be found. | |
Please install the linux-headers-4.13.0-18-generic package, | |
or use the --kernelsourcedir option to tell DKMS where it's located | |
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
update-initramfs: Generating /boot/initrd.img-4.13.0-18-generic | |
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
Generating grub configuration file ... | |
Found linux image: /boot/vmlinuz-4.13.0-22-generic | |
Found initrd image: /boot/initrd.img-4.13.0-22-generic | |
Found linux image: /boot/vmlinuz-4.13.0-21-generic | |
Found initrd image: /boot/initrd.img-4.13.0-21-generic | |
Found linux image: /boot/vmlinuz-4.13.0-19-generic | |
Found initrd image: /boot/initrd.img-4.13.0-19-generic | |
Found linux image: /boot/vmlinuz-4.13.0-18-generic | |
Found initrd image: /boot/initrd.img-4.13.0-18-generic | |
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi | |
done | |
Removing linux-image-4.13.0-18-generic (4.13.0-18.21) ... | |
Examining /etc/kernel/prerm.d. | |
run-parts: executing /etc/kernel/prerm.d/dkms 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
Examining /etc/kernel/postrm.d . | |
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
update-initramfs: Deleting /boot/initrd.img-4.13.0-18-generic | |
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.13.0-18-generic /boot/vmlinuz-4.13.0-18-generic | |
Generating grub configuration file ... | |
Found linux image: /boot/vmlinuz-4.13.0-22-generic | |
Found initrd image: /boot/initrd.img-4.13.0-22-generic | |
Found linux image: /boot/vmlinuz-4.13.0-21-generic | |
Found initrd image: /boot/initrd.img-4.13.0-21-generic | |
Found linux image: /boot/vmlinuz-4.13.0-19-generic | |
Found initrd image: /boot/initrd.img-4.13.0-19-generic | |
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi | |
done | |
Removing linux-image-extra-4.13.0-19-generic (4.13.0-19.22) ... | |
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic | |
run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic | |
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic | |
update-initramfs: Generating /boot/initrd.img-4.13.0-19-generic | |
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic | |
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic | |
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic | |
Generating grub configuration file ... | |
Found linux image: /boot/vmlinuz-4.13.0-22-generic | |
Found initrd image: /boot/initrd.img-4.13.0-22-generic | |
Found linux image: /boot/vmlinuz-4.13.0-21-generic | |
Found initrd image: /boot/initrd.img-4.13.0-21-generic | |
Found linux image: /boot/vmlinuz-4.13.0-19-generic | |
Found initrd image: /boot/initrd.img-4.13.0-19-generic | |
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi | |
done | |
james@james-Streacom:~$ cd rtl8814AU | |
james@james-Streacom:~/rtl8814AU$ sudo ./dkms-install.sh | |
About to run dkms install steps... | |
Creating symlink /var/lib/dkms/rtl8814AU/4.3.21/source -> | |
/usr/src/rtl8814AU-4.3.21 | |
DKMS: add completed. | |
Kernel preparation unnecessary for this kernel. Skipping... | |
Building module: | |
cleaning build area... | |
'make'.....(bad exit status: 2) | |
ERROR (dkms apport): binary package for rtl8814AU: 4.3.21 not found | |
Error! Bad return status for module build on kernel: 4.13.0-22-generic (x86_64) | |
Consult /var/lib/dkms/rtl8814AU/4.3.21/build/make.log for more information. | |
Kernel preparation unnecessary for this kernel. Skipping... | |
Building module: | |
cleaning build area... | |
'make'...(bad exit status: 2) | |
ERROR (dkms apport): binary package for rtl8814AU: 4.3.21 not found | |
Error! Bad return status for module build on kernel: 4.13.0-22-generic (x86_64) | |
Consult /var/lib/dkms/rtl8814AU/4.3.21/build/make.log for more information. | |
Finished running dkms install steps. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment