Wifi problem
#8
(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
  Reply


Messages In This Thread
Wifi problem - by Nether494 - 11-27-2018, 08:36 AM
RE: Wifi problem - by Nether494 - 11-27-2018, 11:59 AM
RE: Wifi problem - by evilbunny - 11-27-2018, 03:42 PM
RE: Wifi problem - by Nether494 - 11-27-2018, 06:21 PM
RE: Wifi problem - by evilbunny - 11-27-2018, 07:33 PM
RE: Wifi problem - by Nether494 - 11-28-2018, 04:28 AM
RE: Wifi problem - by evilbunny - 11-28-2018, 04:43 AM
RE: Wifi problem - by Nether494 - 11-28-2018, 05:07 AM
RE: Wifi problem - by evilbunny - 11-28-2018, 05:37 AM
RE: Wifi problem - by Nether494 - 11-28-2018, 05:51 AM
RE: Wifi problem - by evilbunny - 11-28-2018, 06:26 AM
RE: Wifi problem - by Nether494 - 11-28-2018, 06:32 AM
RE: Wifi problem - by mcerveny - 11-28-2018, 09:48 AM
RE: Wifi problem - by Nether494 - 11-28-2018, 01:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  External hard drive problem k8Va 17 10,077 03-09-2021, 02:31 PM
Last Post: calinb
  Arch Linux Arm - external RTC problem max 1 1,019 08-17-2020, 10:35 AM
Last Post: max
  Read-only problem mikedhoore 5 2,671 07-14-2020, 11:41 AM
Last Post: zein
Question bluetooth rock64 problem deta 3 1,801 05-06-2020, 11:29 PM
Last Post: deta
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 1,428 01-20-2020, 12:25 PM
Last Post: kf5zmi
  Ayufan Debian Stretch Openmediavault 4 5G Wifi Not Connecting Poincare 0 948 03-26-2019, 07:28 PM
Last Post: Poincare
  ROCK64 Kernel compilation problem cao 0 1,186 01-21-2019, 01:21 AM
Last Post: cao
  Can't connect to wifi on a Rock64 SuperSaiyanCaleb 2 1,645 12-18-2018, 11:51 PM
Last Post: SuperSaiyanCaleb
  8812au wifi driver OS pane 9 3,692 11-19-2018, 02:46 AM
Last Post: pane
  Problem with time in rock64 gedas07 2 2,148 11-12-2018, 12:07 PM
Last Post: gedas07

Forum Jump:


Users browsing this thread: 1 Guest(s)