Installing LB-Link Wireless Adapter - need root password

Results 1 to 3 of 3

Thread: Installing LB-Link Wireless Adapter - need root password

  1. #1
    Member scott216's Avatar
    Join Date
    Apr 2012
    Location
    United States
    Posts
    161
    Downloads
    0
    Uploads
    0

    Default Installing LB-Link Wireless Adapter - need root password

    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


  2. #2
    Member
    Join Date
    Jun 2005
    Location
    USA
    Posts
    654
    Downloads
    0
    Uploads
    0

    Default Re: Installing LB-Link Wireless Adapter - need root password

    It's Ubuntu so it wants you to use sudo.



  3. #3
    Member scott216's Avatar
    Join Date
    Apr 2012
    Location
    United States
    Posts
    161
    Downloads
    0
    Uploads
    0

    Default Re: Installing LB-Link Wireless Adapter - need root password

    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


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Installing LB-Link Wireless Adapter - need root password

Installing LB-Link Wireless Adapter - need root password