kevvy Posted July 24, 2017 Posted July 24, 2017 So I'm back again! - The guy with the Banana Pi's he thought were Banana Pro's. I went and bought one of those stubby little WiFi dongles...fairly generic, Realtek 8192cus...but still (can't believe I'm saying this in public) can't get it up. I'm super frustrated. My current project with these boards is to set myself up some magical WiFi "security" cameras. Everything else works. Webcam works, "motion" detects and records, a little nodejs app manages some scheduling stuff, ssmtp sends me video recordings....but this blasted WiFi!! Help? I'll comment shortly with some technical details/diagnostic dumps(busy re-writing my backup img from last night), but for now, let me say I've tried a bunch of os-images, with a bunch of guides, and feel like I'm banging my head against a brick wall.
Igor Posted July 24, 2017 Posted July 24, 2017 Bad luck. You bought the one that needs out of the tree driver You need to block kernel driver and install new driver, check docs.armbian.com "how to build wireless driver"
kevvy Posted July 24, 2017 Author Posted July 24, 2017 Gah! 'course I did! I ordered two more (of two different brands), so they're coming in the mail. I'll get reading in the meantime, thanks for pointing me in the right direction
kevvy Posted July 24, 2017 Author Posted July 24, 2017 Huh...that didn't last long... root@bananapi:/usr/src/linux-headers-4.11.5-sunxi# make scripts HOSTCC scripts/selinux/genheaders/genheaders scripts/selinux/genheaders/genheaders.c:17:22: fatal error: classmap.h: No such file or directory #include "classmap.h" ^ compilation terminated. scripts/Makefile.host:107: recipe for target 'scripts/selinux/genheaders/genheaders' failed make[3]: *** [scripts/selinux/genheaders/genheaders] Error 1 scripts/Makefile.build:553: recipe for target 'scripts/selinux/genheaders' failed make[2]: *** [scripts/selinux/genheaders] Error 2 scripts/Makefile.build:553: recipe for target 'scripts/selinux' failed make[1]: *** [scripts/selinux] Error 2 Makefile:562: recipe for target 'scripts' failed make: *** [scripts] Error 2
zador.blood.stained Posted July 24, 2017 Posted July 24, 2017 On mainline it should work with the in-tree driver. Only firmware may be missing, hard to say without logs.
kevvy Posted July 24, 2017 Author Posted July 24, 2017 Found this thread, tried to follow @Igors instructions there, but "make scripts fails right away: root@bananapi:/usr/src/linux-headers-4.11.5-sunxi# make headers_check CHK include/generated/uapi/linux/version.h make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'. Stop. arch/arm/Makefile:316: recipe for target 'archheaders' failed make: *** [archheaders] Error 2 root@bananapi:/usr/src/linux-headers-4.11.5-sunxi# make ARCH=arm make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'. Stop. arch/arm/Makefile:316: recipe for target 'archheaders' failed make: *** [archheaders] Error 2
Igor Posted July 24, 2017 Posted July 24, 2017 Don't need to build a driver on kernel 4.x ... dmesg (or better: armbianmonitor -u) and see which firmware is requested. Installing package armbian-firmware-full might solve this issue.
kevvy Posted July 24, 2017 Author Posted July 24, 2017 (edited) armbianmonitor: http://sprunge.us/aMaG Some other logs: https://pastebin.com/h0MCXTWq After that, Pi locked up until I rebooted WITHOUT dongle plugged in Edited July 24, 2017 by kevvy More info
zador.blood.stained Posted July 24, 2017 Posted July 24, 2017 Kernel packages need to be updated to 5.32.
kevvy Posted July 24, 2017 Author Posted July 24, 2017 As in "apt-get upgrade", or is there something else you mean?
xeniter Posted September 10, 2018 Posted September 10, 2018 @kevvy: How did you solved it? i also get following error: root@lime:/usr/src/linux# make headers_check CHK include/generated/uapi/linux/version.h HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'. Stop. arch/arm/Makefile:319: recipe for target 'archheaders' failed make: *** [archheaders] Error 2 edit: I commented following lines out in the ./arch/arm/Makefile: #archheaders: # $(Q)$(MAKE) $(build)=arch/arm/tools uapi #archprepare: # $(Q)$(MAKE) $(build)=arch/arm/tools kapi maybe not a proper fix, but was till now a working workaround fore me yours, Manuel
Recommended Posts