Installing External Wireless Driver

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
daytripper

Installing External Wireless Driver

Post by daytripper »

I've got a Dell 1500 dual booting with Linux Mint and Windows XP. The onboard Wireless on my laptop is fried and unusable. I can't boot into linux when the Wireless/Bluetooth switch is turned on (don't ask me why, it just doesn't).

I currently use an external wireless adapter. It's the LM006 Wi-Fi USB Nano Adapter. Here's the product page for it http://www.lm-technologies.com/business ... Adapter_N/

They've also provided me with Linux drivers which I have on my shared drive, but have NO IDEA how to go about installing it. Linux hasn't come up with anything like 'Found New Hardware' for me to just say 'hey, look here for the drivers'.

How do I go about this? Would be nice to have Wireless when I boot into Linux.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
nunol
Level 9
Level 9
Posts: 2633
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Re: Installing External Wireless Driver

Post by nunol »

Have you tired to boot into Linux and check if wireless is working?
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

nunol wrote:Have you tired to boot into Linux and check if wireless is working?
Well I've booted into linux with my wireless adapter plugged in and ready, but nothing happens until I plug in an ethernet cable. Any ideas?
User avatar
nunol
Level 9
Level 9
Posts: 2633
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Re: Installing External Wireless Driver

Post by nunol »

First you have to chose a wireless connection to connect to.

You should have at the bottom right the Network-Manager, chose your wireless connection and the computer will ask for the wireless password and then another password for the GNOME_key_ring (this one you chose the password you want, if you haven't already).
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

nunol wrote:First you have to chose a wireless connection to connect to.

You should have at the bottom right the Network-Manager, chose your wireless connection and the computer will ask for the wireless password and then another password for the GNOME_key_ring (this one you chose the password you want, if you haven't already).
But in order to see what wireless networks are available, I need the wireless adapter which linux doesn't know is plugged in. Which is why I thought installing the wireless driver was the first step.

Did I make sense there?
User avatar
nunol
Level 9
Level 9
Posts: 2633
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Re: Installing External Wireless Driver

Post by nunol »

The kernel usually takes care of that, have you tried the pen on another USB port?

Type at the terminal "lsusb", we need to know what's the wifi chipset because I can't open the driver page for that pen...
http://www.lm-technologies.com/business ... item=LM006 Driver
mads

Re: Installing External Wireless Driver

Post by mads »

I just opened the product page link. It says chipset is Realtek RTL8188SU.
User avatar
nunol
Level 9
Level 9
Posts: 2633
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Re: Installing External Wireless Driver

Post by nunol »

daytripper

Re: Installing External Wireless Driver

Post by daytripper »

nunol wrote:Then, this should work: http://ubuntuforums.org/showthread.php?t=1594535
This seems like exactly what I need, but I can't figure out how to do this:
Hi, you just need to make the driver and insert it into ubuntu. I followed your link and used the fedora instructions that came from Realtek for the chipset (I have an Encore ENUWI-N4 USB wireless N adapter). Only a couple changes are needed to work on ubuntu.

1) extract the driver from the driver's folder. you can use 'archive manager' or from a command line:

$ tar zxvf rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201006 25.tar.gz

2) make 8712 USB driver module (doesn't matter that the chipset is 8188SU), use a terminal window and navigate to the folder you just extracted

$ make

3) clean the operation environment, I needed to have root permission to get this to work

$ sudo ./clean

4) insert 8712 USB modules, with root access

$ sudo insmod 8712u.ko

After that, the blue light came on and the card was able to connect to networks via the NetworkManager applet. Hope this works for you
I tried this one:
This one worked for me, on another network card, but with the same chipset as yours: https://bugs.launchpad.net/ubuntu/ma...re/+bug/595455

quote:
Run the following in a terminal:
wget http://svn.debian.org/wsvn/kernel/di...rtl8192sfw.bin
sudo mkdir /lib/firmware/RTL8192SU
sudo cp rtl8192sfw.bin /lib/firmware/RTL8192S
But this is what I got on my terminal (again, no idea what it means)

Code: Select all

nikhil@LUCY ~ $ wget http://svn.debian.org/wsvn/kernel/di...rtl8192sfw.bin
--2011-04-19 07:58:05--  http://svn.debian.org/wsvn/kernel/di...rtl8192sfw.bin
Resolving svn.debian.org... 217.196.43.134
Connecting to svn.debian.org|217.196.43.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [application/octet-stream]
Saving to: `di...rtl8192sfw.bin'

    [ <=>                                   ] 0           --.-K/s   in 0s      

2011-04-19 07:58:06 (0.00 B/s) - `di...rtl8192sfw.bin' saved [0/0]

nikhil@LUCY ~ $ sudo mkdir /lib/firmware/RTL8192SU
[sudo] password for nikhil: 
mkdir: cannot create directory `/lib/firmware/RTL8192SU': File exists
nikhil@LUCY ~ $ sudo cp rtl8192sfw.bin /lib/firmware/RTL8192S
cp: cannot stat `rtl8192sfw.bin': No such file or directory
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

daytripper wrote:
nunol wrote:Then, this should work: http://ubuntuforums.org/showthread.php?t=1594535
This seems like exactly what I need, but I can't figure out how to do this:
Hi, you just need to make the driver and insert it into ubuntu. I followed your link and used the fedora instructions that came from Realtek for the chipset (I have an Encore ENUWI-N4 USB wireless N adapter). Only a couple changes are needed to work on ubuntu.

1) extract the driver from the driver's folder. you can use 'archive manager' or from a command line:

$ tar zxvf rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201006 25.tar.gz

2) make 8712 USB driver module (doesn't matter that the chipset is 8188SU), use a terminal window and navigate to the folder you just extracted

$ make

3) clean the operation environment, I needed to have root permission to get this to work

$ sudo ./clean

4) insert 8712 USB modules, with root access

$ sudo insmod 8712u.ko

After that, the blue light came on and the card was able to connect to networks via the NetworkManager applet. Hope this works for you
I tried this one:
This one worked for me, on another network card, but with the same chipset as yours: https://bugs.launchpad.net/ubuntu/ma...re/+bug/595455

quote:
Run the following in a terminal:
wget http://svn.debian.org/wsvn/kernel/di...rtl8192sfw.bin
sudo mkdir /lib/firmware/RTL8192SU
sudo cp rtl8192sfw.bin /lib/firmware/RTL8192S
But this is what I got on my terminal (again, no idea what it means)

Code: Select all

nikhil@LUCY ~ $ wget http://svn.debian.org/wsvn/kernel/di...rtl8192sfw.bin
--2011-04-19 07:58:05--  http://svn.debian.org/wsvn/kernel/di...rtl8192sfw.bin
Resolving svn.debian.org... 217.196.43.134
Connecting to svn.debian.org|217.196.43.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [application/octet-stream]
Saving to: `di...rtl8192sfw.bin'

    [ <=>                                   ] 0           --.-K/s   in 0s      

2011-04-19 07:58:06 (0.00 B/s) - `di...rtl8192sfw.bin' saved [0/0]

nikhil@LUCY ~ $ sudo mkdir /lib/firmware/RTL8192SU
[sudo] password for nikhil: 
mkdir: cannot create directory `/lib/firmware/RTL8192SU': File exists
nikhil@LUCY ~ $ sudo cp rtl8192sfw.bin /lib/firmware/RTL8192S
cp: cannot stat `rtl8192sfw.bin': No such file or directory

ALSO, I couldn't find anything called 'realtek-firmware' on synaptic
mads

Re: Installing External Wireless Driver

Post by mads »

daytripper wrote:ALSO, I couldn't find anything called 'realtek-firmware' on synaptic
It is called 'firmware-realtek'.
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

mads wrote:
daytripper wrote:ALSO, I couldn't find anything called 'realtek-firmware' on synaptic
It is called 'firmware-realtek'.
Thanks for this. Just looked for 'firlware-realtek' and couldn't find anything!
dagon
Level 7
Level 7
Posts: 1655
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden
Contact:

Re: Installing External Wireless Driver

Post by dagon »

daytripper wrote:
mads wrote:
daytripper wrote:ALSO, I couldn't find anything called 'realtek-firmware' on synaptic
It is called 'firmware-realtek'.
Thanks for this. Just looked for 'firlware-realtek' and couldn't find anything!
check spelling!
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

It is called 'firmware-realtek'.
Thanks for this. Just looked for 'firlware-realtek' and couldn't find anything![/quote]
check spelling![/quote]

Sorry I've just misspelled it here! Can't find anything called firmware-realtek
mads

Re: Installing External Wireless Driver

Post by mads »

daytripper wrote:They've also provided me with Linux drivers which I have on my shared drive, but have NO IDEA how to go about installing it.
Could you post the complete name of these driver files?
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

mads wrote: Could you post the complete name of these driver files?
OK, so it was a .zip file. Unzipping it gets me a folder called 'LM CD 1086.5.1111.2009'. Inside, there's a setup.exe file (which I obviously can't use), and a folder called 'Linux' inside which I found another .zip called 'rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4'

Here's a screenshot of what's inside (Have a look at the address bar to see how deep this this) - Yes, I'm in Windows but it's a shared NTFS drive.

Screenshot: http://i56.tinypic.com/28gyv5l.jpg
mads

Re: Installing External Wireless Driver

Post by mads »

autoconf_rtl8712_usb_linux looks interesting. You could use Notepad in Windows to read the content.
If it is too complicated, post the content.
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

mads wrote:autoconf_rtl8712_usb_linux looks interesting. You could use Notepad in Windows to read the content.
If it is too complicated, post the content.
It's too complicated, maybe because I'm looking at it on Windows.

Here's the yousendit link for the file: https://www.yousendit.com/download/VnBy ... bTlFQlE9PQ
daytripper

Re: Installing External Wireless Driver

Post by daytripper »

Here's the content of the file too:

Code: Select all

/*
 * Automatically generated C config: don't edit
 */
#define AUTOCONF_INCLUDED
#define RTL871X_MODULE_NAME "RTL8712U-BGN"

//#define CONFIG_DEBUG_RTL871X 1

#define CONFIG_USB_HCI	1
#undef  CONFIG_SDIO_HCI

#undef CONFIG_RTL8711
#define  CONFIG_RTL8712 1
#undef  CONFIG_RTL8716



#define CONFIG_LITTLE_ENDIAN 1
#undef CONFIG_BIG_ENDIAN

#undef PLATFORM_WINDOWS
#undef PLATFORM_OS_XP 
#undef PLATFORM_OS_CE


#define PLATFORM_LINUX 1

#define CONFIG_PWRCTRL	1
//#define CONFIG_H2CLBK 1

#define CONFIG_MP_INCLUDED

//#undef CONFIG_EMBEDDED_FWIMG
#define CONFIG_EMBEDDED_FWIMG 1

#define CONFIG_R871X_TEST 1


//#define CONFIG_DRVEXT_MODULE 1


#ifdef CONFIG_RTL8712

	#define CONFIG_DEBUG_RTL8712 1	

	#define CONFIG_XMIT_ENQUEUE

	//#define CONFIG_XMIT_DIRECT

	#define CONFIG_80211N_HT 1

        #define CONFIG_RECV_REORDERING_CTRL 1	

	#ifdef PLATFORM_LINUX

		#define CONFIG_XMIT_BH 1
		#define CONFIG_SKB_COPY 1

		#define CONFIG_RECV_TASKLET 1		

		#ifndef CONFIG_RECV_TASKLET
		#define CONFIG_RECV_BH 1
		#else			
			#define CONFIG_PREALLOC_RECV_SKB 1
		#endif
	
	#endif

	#ifdef CONFIG_R871X_TEST

		#define CONFIG_R8712_TEST 1	

              //#define CONFIG_MLME_EXT 1
	       //#define CONFIG_AP_MODE 1
             //#define CONFIG_HOSTAPD_MODE 1	
	
              #ifdef CONFIG_MLME_EXT
                #define CONFIG_EVENT_THREAD_MODE 1
              #endif  

              //#define CONFIG_R8712_TEST_ASTA 1

              #define CONFIG_R8712_TEST_BSTA 1			  

	#endif
	
	#define CONFIG_RTL8712_TCP_CSUM_OFFLOAD_RX
	#define CONFIG_REDUCE_USB_TX_INT

#endif

#ifdef CONFIG_DRVEXT_MODULE

	#define INTERNAL_MD5
	#define INTERNAL_MD4
	#define INTERNAL_DES
	#define INTERNAL_SHA1
	#define CONFIG_CRYPTO_INTERNAL
	

	#define CONFIG_INTERNAL_AES
	#define CONFIG_INTERNAL_SHA1
	#define CONFIG_INTERNAL_MD5
	#define CONFIG_INTERNAL_SHA256

	#define CONFIG_INTERNAL_LIBTOMMATH
		
	#define OPENSSL_NO_FP_API
	#define OPENSSL_NO_ENGINE



	#define CONFIG_NO_STDOUT_DEBUG 1

	#define CONFIG_ETH_INTF	1

	//#define CONFIG_WSC_CRYPTO_TEST	1
	#ifdef CONFIG_WSC_CRYPTO_TEST
	//#define CONFIG_WSC_CRYPTO_DH_TEST 1
	//#define CONFIG_WSC_CRYPTO_SHA256_TEST 1
	//#define CONFIG_WSC_CRYPTO_AES128_TEST 1
	#endif


	//#define CONFIG_DRVEXT_MODULE_WSC 1
	
	#ifdef CONFIG_DRVEXT_MODULE_WSC
		//#define CONFIG_WSCCRYPTO_PREALLOC  1
	#endif

	//#define CONFIG_WSC_DEBUG 1  //for temmprarily setting debug
	#ifdef CONFIG_WSC_DEBUG
		#define allowed_ssid "802.11g-SSID"
	#endif


	#ifdef CONFIG_DEBUG_RTL871X

		#define CONFIG_DEBUG_WSC 1
		//#define CONFIG_DUMP_WSC_KEY	1

		
		#define CONFIG_DEBUG_WPA 1
		//#define CONFIG_DUMP_WPA_KEY 1

	#endif	

#endif
mads

Re: Installing External Wireless Driver

Post by mads »

daytripper wrote:
mads wrote: Could you post the complete name of these driver files?
OK, so it was a .zip file. Unzipping it gets me a folder called 'LM CD 1086.5.1111.2009'. Inside, there's a setup.exe file (which I obviously can't use), and a folder called 'Linux' inside which I found another .zip called 'rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4'

Here's a screenshot of what's inside (Have a look at the address bar to see how deep this this) - Yes, I'm in Windows but it's a shared NTFS drive.

Screenshot: http://i56.tinypic.com/28gyv5l.jpg
I went to LM Technologies download site and downloaded LM006 Driver. When I unzip "rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091112.p4.zip",
I see a folder called "document". Inside this folder there is a "Quick user guide" ("RTL8712(8188_8191_8192SU)_usb_quick_installation_guide.ppt").

Anyway forget about "Quick user guide" right now. We come back to it later (suggestion 3). Try the following suggestions. Start from 1, then 2 ...

1) If you are using Mint 10, I am almost sure that the firmware is already installed on your system (see "/lib/firmware/RTL8192SU" folder). So, what
you could try to do is to remove and reinsert the Wireless USB Adapter in the same USB port. It should be working now. See if Network Manager can see your AP.

2) If you are not using Mint 10:
a) Download the firmware here, and put in your "Downloads" folder.
b) Open a terminal. Run these 4 commands:
cd Downloads
gunzip rtl8192swf.bin.gz
sudo mkdir /lib/firmware/RTL8192SU
sudo mv rtl8192sfw.bin /lib/firmware/RTL8192SU/
c) After this, you can just remove and reinsert the adapter in the same USB port. It should be working now and Network Manager should show your AP.

3) If you want to follow the quick user guide, copy "rtl8712_8188_8191_8192SU_usb_linux_v2.6.0005.20091229" (the same folder that you attached the screenshot of)
to a USB flash drive and then copy it somewhere on your Linux home directory. Then right click the folder and select "Open in Terminal". Now, run these commands:

Code: Select all

make

Code: Select all

sudo ./clean

Code: Select all

sudo insmod 8712u.ko
Now you should see the blue light come on and use the card via the NetworkManager applet (tray icon to the left of clock).
PS! If you don't see the light, remove and re-insert the adapter in the same USB port. Still no light, open a terminal and run:
sudo ifconfig wlan0 up

4) If you don't get it it work, use Menu > Windows Wireless Drivers. This will launch the Ndiswrapper tool.
Navigate to "88_91_92_SU_Driver/WinXp" folder (the Windows wireless driver .inf file is there) and load "net8192su.inf".
Locked

Return to “Hardware Support”