11-28-2018, 05:07 AM
(11-28-2018, 04:43 AM)evilbunny Wrote:(11-28-2018, 04:28 AM)Nether494 Wrote:(11-27-2018, 07:33 PM)evilbunny Wrote:(11-27-2018, 06:21 PM)Nether494 Wrote: Okay I see. My wifi dongle is not appropriate. If I buy the same wifi dongle that the official website Pine64 is good? will it work with OMV?
Same problem, you will need to build drivers for nearly all 802.11ac devices. A quick google of rtl8811au brought up the following driver on github.
https://github.com/sloretz/rtl8811au
Hi thanks !
Code:root@rock64:/usr/src/rtl8811au# make
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
Makefile:645: arch/aarch64/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/aarch64/Makefile'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2
Impossible to make this driver, I try to find a another git
Best regards
I forgot how painful it is, you need to set ARCH=arm64, setting -j4 will speed things up as it'll use all cores, and finally you have to disable various warnings because the compiler will fail there too.
Hi,
Please excuse me I am a beginner. I try to do the best I can
Code:
root@rock64:/usr/src/rtl8811au# sudo make clean
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
root@rock64:/usr/src/rtl8811au# make ARCH=arm64 -j4
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
CC [M] /usr/src/rtl8811au/core/rtw_cmd.o
CC [M] /usr/src/rtl8811au/core/rtw_security.o
CC [M] /usr/src/rtl8811au/core/rtw_debug.o
CC [M] /usr/src/rtl8811au/core/rtw_io.o
CC [M] /usr/src/rtl8811au/core/rtw_ioctl_query.o
CC [M] /usr/src/rtl8811au/core/rtw_ioctl_set.o
/usr/src/rtl8811au/core/rtw_security.c: In function 'aes_cipher':
/usr/src/rtl8811au/core/rtw_security.c:1598:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
error, forbidden warning:rtw_security.c:1598
for (j = 0; j < 8; j++)
^~~
/usr/src/rtl8811au/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
payload_index = hdrlen + 8;
^~~~~~~~~~~~~
/usr/src/rtl8811au/core/rtw_security.c: In function 'aes_decipher':
/usr/src/rtl8811au/core/rtw_security.c:1984:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
error, forbidden warning:rtw_security.c:1984
for (j = 0; j < 8; j++)
^~~
/usr/src/rtl8811au/core/rtw_security.c:1987:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
payload_index = hdrlen + 8;
^~~~~~~~~~~~~
scripts/Makefile.build:277: recipe for target '/usr/src/rtl8811au/core/rtw_security.o' failed
make[2]: *** [/usr/src/rtl8811au/core/rtw_security.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1474: recipe for target '_module_/usr/src/rtl8811au' failed
make[1]: *** [_module_/usr/src/rtl8811au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2
Best regards