Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Issues running a autoinstall script for a linux Wi-Fi driver

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
dz2zd
Posts: 3
Joined: 2018-05-23 16:32

Issues running a autoinstall script for a linux Wi-Fi driver

#1 Post by dz2zd »

I'm having problems running an autoinstall script for a linux Wi-Fi driver off of my pocketbeagle. When I run the install file (./install.sh) I receive the following:

debian@beaglebone:/drivers/linux$ sudo ./install.sh
[sudo] password for debian:
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51.tar.gz
[...all of the files associated with rtl8821AU]
Authentication requested [root] for 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
Authentication requested [root] for make driver:
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.9.82-ti-r102/build M=/driv ers/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51 m odules
make[1]: Entering directory '/usr/src/linux-headers-4.9.82-ti-r102'
Makefile:629: arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/armv7l/Makefile'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.9.82-ti-r102'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

This is what my /drivers/ folder looks like in my terminal:

Image



This driver corresponds with the Wi-Fi dongle I am using (https://www.ourlink.us/products/glam-ho ... hz-433mbps) and the driver download found here: https://jumpshare.com/v/M3ydBZPgr5zHnPRIuY4e

So far I have connected my pocketbeagle to the internet via my USB cable by configuring the default gateway and editing resolv.conf to be able to resolve nameservers, did a sudo apt-get install for linux-headers-4.9.82-ti-r102, and plugged in the wi-fi dongle to a breakout board. However, the autoinstall script isn't running and I am not sure what to do from this point but am eager to learn. Anyone have any tips? I am posting here because I am not entirely familiar with linux, and I figure you guys could help me getting this installed. I know it's not PC linux but it's pretty close.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Issues running a autoinstall script for a linux Wi-Fi dr

#2 Post by stevepusser »

It doesn't look like that particular driver code supports arm71 builds. Have you searched around to see if there are any updated or patched versions, or if it might be in the kernel now and just needs firmware-realtek?
MX Linux packager and developer

dz2zd
Posts: 3
Joined: 2018-05-23 16:32

Re: Issues running a autoinstall script for a linux Wi-Fi dr

#3 Post by dz2zd »

I'm currently looking around for drivers that will support it, but this makes a bunch of sense. What is firmware-realtek? I've been looking but I'll post an update if I find one!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Issues running a autoinstall script for a linux Wi-Fi dr

#4 Post by stevepusser »

https://wiki.debian.org/Firmware

Pretty much all wi-fi hardware with open drivers still requires additional closed source firmware. Debian has these in a separate non-free section of the repository.
MX Linux packager and developer

dz2zd
Posts: 3
Joined: 2018-05-23 16:32

Re: Issues running a autoinstall script for a linux Wi-Fi dr

#5 Post by dz2zd »

I keep running into issues downloading the firmware. I'm also confused on how the architectures work.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Issues running a autoinstall script for a linux Wi-Fi dr

#6 Post by debiman »

dz2zd wrote:I keep running into issues downloading the firmware. I'm also confused on how the architectures work.
that doesn't really enable us to help you.

if i were you, i'd treat this debian install like any other debian install for now, regardless of architecture.

to find out about your wifi hardware, you could post the info requested here: https://forums.bunsenlabs.org/viewtopic.php?id=24
then we'll see if what you need is in the repos or you need to compile.

Post Reply