Jump to content

[SOLVED] Banana [Pi] No WiFi (8192cu driver)


kevvy

Recommended Posts

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.

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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 :)

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines