It's Ubuntu so it wants you to use sudo.
I'm trying to install an LB-Link wireless adapter (P/N BL-LW05-AR5). I downloaded the drivers here: LB-LINK BL-LW05-AR5 Driver (Linux / MAC / WIN CE)
There's an install.sh script that is asking for root password, but I don't know it.
The line in the script that's asking for root is:
su -c make; Error=$?
Anyone know the root password? If not, can I just change the above line to
sudo make;
Here's the install.sh file.
Code:#!/bin/bash # Writed by Realtek : willisTang # September, 1 2010 v 1.0.0 ########################################################################### echo " Auto install for 8192cu" echo " September, 1 2010 v 1.0.0" cd driver Drvfoulder=`ls |grep .tar.gz` tar zxvf $Drvfoulder Drvfoulder=`ls |grep -iv '.tar.gz'` echo "$Drvfoulder" cd $Drvfoulder echo "Authentication requested [root] for make driver:" if [ "`uname -r |grep fc`" == " " ]; then sudo su -c make; Error=$? else su -c make; Error=$? fi module=`ls |grep -i 'ko'` if [ "$Error" != 0 ];then echo "Compile make driver error: $Error, Please check error Mesg" read REPLY exit else echo "Compile make driver ok!!" fi if [ "`uname -r |grep fc`" == " " ]; then echo "Authentication requested [root] for remove driver:" sudo su -c "rmmod $module" echo "Authentication requested [root] for insert driver:" sudo su -c "insmod $module" echo "Authentication requested [root] for install driver:" sudo su -c "make install" else echo "Authentication requested [root] for remove driver:" su -c "rmmod $module" echo "Authentication requested [root] for insert driver:" su -c "insmod $module" echo "Authentication requested [root] for install driver:" su -c "make install" fi echo "################################################################" echo "The Setup Script is completed !" echo "Plese Press any keyword to exit." read REPLY echo "################################################################"
Similar Threads:
"You can't teach stuff in a school that you would learn in real life unless the real life people are in charge of the school." - Gene Sherman
It's Ubuntu so it wants you to use sudo.
Thanks. using sudo seems to have done the trick.
"You can't teach stuff in a school that you would learn in real life unless the real life people are in charge of the school." - Gene Sherman