LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2014, 03:54 PM   #1
parker.hugh
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Rep: Reputation: Disabled
I can't install driver for edimax EW-7811Un USB wireless adapter


Hi, I am completely new to linux. So please be patient with me, I would like to learn linux but don't have any experience with it so far.

Although I have a windows 7 laptop, I also have an old hp compaq nx6125 laptop running windows XP. Since Microsoft are ending support soon I decided I would try linux on the old laptop.

Although there is wireless built into the laptop, it is very old spec so I bought an edimax EW-7811Un USB wireless adaptor.

I inserted the wireless adapter and also a LAN cable I have installed zorin-os-6.2-lite.

The OS installed ok but zorin is showing no driver for the EW-7811Un.

My question is how do I install the driver, I have no experience with linux so if there is any step by step guidelines I would be very grateful.

I do have the install CD that came with the wireless adaptor but I don't know how steps to install the driver.

Should I have installed the OS without the LAN network cable? Should I re-install OS without the LAN network cable to see if a driver is installed during installation?

Sorry for such basic questions but I need help.

thanks and regards,

Hugh Parker
 
Old 02-06-2014, 10:23 AM   #2
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,707
Blog Entries: 19

Rep: Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970Reputation: 1970
Howdy

Open a terminal and post what it spits out in your next reply. In code tags (the # in the advanced reply toolbar, box).

Code:
sudo lsusb -v
On that readout which will be quite big. Just grab the edimax info but grab everything related to the edimax usb wireless.

Code:
sudo lsusb -t
Code:
uname -r
Code:
sudo ifconfig -a
Code:
cat /etc/resolv.conf
I don't run Zorin so I can't really help much with how it connects.

All we are checking if wlan0 is available and you just don't know it.

Edit: You need to insert the wireless usb before powering up the Laptop
so the kernel can pick it up on boot. Do not plug it in after you
boot Zorin.

Last edited by rokytnji; 02-06-2014 at 10:27 AM.
 
Old 02-07-2014, 07:21 PM   #3
parker.hugh
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks for your advice, I re-installed the os and made sure the wireless adapter was in laptop but I didn't put in the LAN cable to see if this time it would recognise the adapter since it didn't recognise it with the LAN cable plugged in during the earlier install.

during the new install it did identify I had the...
Edimax 7811un 802.11n USB adapter
and it also identified the build in wirelss adapter ...
Broadcom corp BCM4318 802.11g adapter

I don't think this was identified during the first install with cable in place.

..but after install neither wireless adapters are shown in the Network Connections, wireless tab.

I ran the scripts you suggested and the output is in the attached file.

Any help would be appreciated.

thanks.

Hugh
Attached Files
File Type: txt output_file.txt (26.5 KB, 25 views)
 
Old 02-08-2014, 12:31 AM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
Hi & Welcome to Linux Questions! -

Basically you would use the command line utility that came with Zorin OS.

If Zorin is Debian or Ubuntu based than the your cmdline utility would most likely be "APT"

This is just an an example here for you to understand.
Let's say that you have a radeon card and the driver is called catalyst c43_x86_4.
To install that driver you would open the terminal and execute this command:
Code:
cd Downloads
sudo apt-get install catalyst c43_4
Upon doing so you would be prompted for your root password.
After typing in your password hit ENTER.

Before you run that command you should download the driver to your Downloads directory.

To do that you would have to tell the terminal where that driver is like so:
Code:
Cd Downloads
(Use "ls" to list what's in your directory)
CD stands for change directory.

When you have time read the documentation for your distribution it will help you to understand how things work.
Go to http:\\zorin-os.com for more information.

Hope that helps--
 
Old 02-10-2014, 07:45 AM   #5
parker.hugh
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi, thanks for taking the time to explain things to me, it is much appreciated.

There was an installation CD came with the Edimax 7811un 802.11n USB adapter. And there is a folder called Linux Driver which contains lots of files including a compressed file called "rtl8192CU_linux_v2.0.939.20100726.tar" but I'm not sure which file I should copy to the downloads directory.

I zipped this folder to "Linux_Driver.7z"and I tried to attach it to the post, but received an error. the file size is only 1,996kb so not too big, but perhaps only text attachments are allowed for posts?

So I had a look online and found this hit ....

http://www.edimax.co.uk/en/support_d...id=1&pl2_id=44

There is a link at the bottom of the page to download the same Linux driver file that came with the CD, but again I'm not sure which file I should copy over to the downloads directory.

Any help would be appreciated, if you could advise the correct syntax that would be great as I'm still a novice on Linux.

thanks and best regards,

Hugh
 
Old 02-10-2014, 11:59 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by parker.hugh View Post
Hi, thanks for taking the time to explain things to me, it is much appreciated.

There was an installation CD came with the Edimax 7811un 802.11n USB adapter. And there is a folder called Linux Driver which contains lots of files including a compressed file called "rtl8192CU_linux_v2.0.939.20100726.tar" but I'm not sure which file I should copy to the downloads directory.

I zipped this folder to "Linux_Driver.7z"and I tried to attach it to the post, but received an error. the file size is only 1,996kb so not too big, but perhaps only text attachments are allowed for posts?

So I had a look online and found this hit ....

http://www.edimax.co.uk/en/support_d...id=1&pl2_id=44

There is a link at the bottom of the page to download the same Linux driver file that came with the CD, but again I'm not sure which file I should copy over to the downloads directory.

Any help would be appreciated, if you could advise the correct syntax that would be great as I'm still a novice on Linux.

thanks and best regards,

Hugh
Looking at that page; that's the driver you want.
Click on the orange circle with the arrow in the middle of the circle under the Linux icon.
When you do a window will open showing you this:
Code:
rtl8192cu-8188cu-linux_v2.0.939.20100726.zip
Save the file to your Dowloads folder.

To install the driver:
1. Open your Downloads folder.
2. Right click on that rtl8192cu.zip file and extract here. It will extract the script file from the folder.
3. Leaving the Downloads directory open, open the termianl and type:
Code:
cd Downloads
4. Then you'll get something like:
Code:
your name@ xxx: Downloads#
5. Right next to the (#) sign type ls and it will list everything in your Downloads folder.
6. At your your prompt type:
Code:
bash (word for word exactly the name of the driver including the .run at the end of it.
And press Enter.
7. Upon doing so the terminal should open a installer wizard for you to follow.
Follow the prompts till the installer tells you it is installed.
8. Once installed you most likely should restart your computer for it to take effect.

To make things easier you could remame the .run file. I always do.
For example I install the amd catalyst -13.12-linux x86.x86_64.zip that's to much to type at the bash prompt and it only takes one mispelling
or leave one letter out and it doesn't get installed properly. So, when I install a driver that has a long name I rename (amd.run) it like so-
Code:
Instead of $bash amd cataylast-13.12-linux x86.x86_64.run
This instead: $bash amd.run
Hope that helps.
 
1 members found this post helpful.
Old 02-12-2014, 06:00 PM   #7
parker.hugh
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
again, thanks for your reply to my post. I did download the driver and right click, extract here...

and followed your instructions, but failed to execute the bash command, see details below, can you see where I went wrong? ....

hugh@HP-Compaq-nx6125:~$ cd Downloads

hugh@HP-Compaq-nx6125:~/Downloads$ ls

EW-7811Un_Linux_1.0.0.3 EW-7811Un_Linux_1.0.0.3.zip

hugh@HP-Compaq-nx6125:~/Downloads$ bash EW-7811Un_Linux_1.0.0.3.run
bash: EW-7811Un_Linux_1.0.0.3.run: No such file or directory

hugh@HP-Compaq-nx6125:~/Downloads$ bash (EW-7811Un_Linux_1.0.0.3.run
bash: syntax error near unexpected token `EW-7811Un_Linux_1.0.0.3.run'

hugh@HP-Compaq-nx6125:~/Downloads$ bash$ EW-7811Un_Linux_1.0.0.3.run
No command 'bash$' found, did you mean:
Command 'bash' from package 'bash' (main)
bash$: command not found
hugh@HP-Compaq-nx6125:~/Downloads$

I tried a few times with different syntax but no joy. can you see where I went wrong?

thanks for your patience :-(

Hugh
 
Old 02-12-2014, 11:27 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by parker.hugh View Post
again, thanks for your reply to my post. I did download the driver and right click, extract here...

and followed your instructions, but failed to execute the bash command, see details below, can you see where I went wrong? ....

hugh@HP-Compaq-nx6125:~$ cd Downloads

hugh@HP-Compaq-nx6125:~/Downloads$ ls

EW-7811Un_Linux_1.0.0.3 EW-7811Un_Linux_1.0.0.3.zip

hugh@HP-Compaq-nx6125:~/Downloads$ bash EW-7811Un_Linux_1.0.0.3.run
bash: EW-7811Un_Linux_1.0.0.3.run: No such file or directory

hugh@HP-Compaq-nx6125:~/Downloads$ bash (EW-7811Un_Linux_1.0.0.3.run
bash: syntax error near unexpected token `EW-7811Un_Linux_1.0.0.3.run'

hugh@HP-Compaq-nx6125:~/Downloads$ bash$ EW-7811Un_Linux_1.0.0.3.run
No command 'bash$' found, did you mean:
Command 'bash' from package 'bash' (main)
bash$: command not found
hugh@HP-Compaq-nx6125:~/Downloads$

I tried a few times with different syntax but no joy. can you see where I went wrong?

thanks for your patience :-(

Hugh
Looking at your output of your Downloads folder you have
EW-7811Un_Linux_1.0.0.3.zip That is the zip file the outer shell so to speak that holds the .run file inside of that shell.
When you right clicked on the .zip did it extract the file into your Downloads directory?

You should have 2 files in your directory. One that's the outer shell (.zip) and the extracted file (.run)
Here is a picture of mine.
http://s1052.photobucket.com/user/Ul...tfile.png.html

As you can see the amd-catalyst .zip is on the left. The amd.run is one the right.
For me to install my driver I would run:
Code:
bash amd.run

Last edited by Ztcoracat; 02-13-2014 at 12:06 AM.
 
Old 02-12-2014, 11:41 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
Be careful with your typing. It has to be exact-
I make typing mistakes that's why I rename the file to help keep it simple.

Code:
Downloads$ bash (EW- THE LEFT PARENTHESE should not of been used
/Downloads$ bash$ EW-7 THE ($) SIGN should not have been typed
Hope that helps
 
Old 02-12-2014, 11:56 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
Be careful with your typing. It has to be exact-
I make typing mistakes that's why I rename the file to help keep it simple.

Code:
Downloads$ bash (EW- THE LEFT PARENTHESE should not of been used
/Downloads$ bash$ EW-7 THE ($) SIGN should not have been typed
Hope that helps
Don't forget to post the output of the commands that my associate Senior Member: rokytnji; asked you for in Post #2.
The output will help him to diagnose what is going on with your system and tell us what version of the kernel you are using.
 
Old 02-13-2014, 10:47 AM   #11
parker.hugh
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi, thanks again for feedback.

the file I downloaded was named "EW-7811Un_Linux_1.0.0.3.zip"

when I right click the zip file and extract here, then look for it by following method...

hugh@HP-Compaq-nx6125:~$ cd Downloads

hugh@HP-Compaq-nx6125:~/Downloads$ ls

I only see the original file "EW-7811Un_Linux_1.0.0.3.zip"

plus a new folder named "EW-7811Un_Linux_1.0.0.3" see two files below...

EW-7811Un_Linux_1.0.0.3 EW-7811Un_Linux_1.0.0.3.zip

But I don't see any .run file

I have put the original zip file in My Box folder and shared it with you...

https://www.box.com/s/hwjy5xkz5dbaww56zb7x

you may get message that says... "This user is not allowed to use direct links" but you can still click the link ok.

could you have a look to see if there is file in there that I can run with the bash command? is it contained in a folder further down the file structure?

Thanks for your patience, it is much appreciated, I think we are nearly there.

Hugh

here is the output file of the commands I ran ...
Attached Files
File Type: txt output_file.txt (26.5 KB, 10 views)
 
Old 02-13-2014, 11:30 AM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
I went ahead and downloaded the driver and opened the zip on my system.
I now see what you have going on.
For some reason that file doesn't have an extention.


The driver is inside of the EW-7811Un_Linux_1.0.0.3 right click extract-
Than you get EW-7811Un_linux_v2.0.939.20100726.tar.gz.
Now right click here and "Open The Termianl here"
And you should get:
yourname@localhostname of driver).tar.gz$

Last edited by Ztcoracat; 02-13-2014 at 04:22 PM. Reason: Correction
 
Old 02-13-2014, 11:56 AM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
lsusb -v

Code:
Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x7392 Edimax Technology Co., Ltd
  idProduct          0x7811 EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 802.11n WLAN Adapter
  iSerial                 3 00e04c000001
lsub -t

Code:
:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/4p, 12M
    |__ Port 1: Dev 2, If 0, Class=vend., Driver=, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/4p, 12M
    |__ Port 2: Dev 2, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
    |__ Port 2: Dev 2, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
    |__ Port 2: Dev 2, If 2, Class=vend., Driver=, 12M
uname -r

Code:
uname -r
3.2.0-37-generic
ifconfig -a (when I returned to the file to copy and paste it the text moved separately to a second page) Sorry about that: rokytnji-

Code:
eth0      .0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOP errors:0 dropped:0 overruns:0 frame:0
          TX packets:672 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:72905 (72.9 KB)  TX bytes:72905 (72.9 KB)BACK RUNNING  MTU:16436  Metric:1
          RX packets:672
Link encap:Ethernet  HWaddr 00:0f:b0:79:bd:13  
          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:b0ff:fe79:bd13/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15624 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10837 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:16980569 (16.9 MB)  TX bytes:1557400 (1.5 MB)
          Interrupt:23 

lo        Link encap:Local Loopback  
          inet addr:127.0
For cat /etc/resolv.conf I think the reason why the terminal returned 'no such file or directory' is because there has to be a space between the "t" in cat and the "/" forward slash.
 
Old 02-13-2014, 12:10 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,419
Blog Entries: 6

Rep: Reputation: Disabled
Here's that file on my system-
http://s1052.photobucket.com/user/Ul...river.png.html

And I opened the Ew-7811Un_Linux_1.0.003 file extracted it again and had a tar.gz.zip file. So I extracted that tar.gz.zip and found the file that is the actual driver it's self. (See in the picture where my cursor is pointing)
http://s1052.photobucket.com/user/Ul...Targz.png.html

Getting to this driver was a little more complex than I thought,parker.hugh;
Sorry about that.

I had to right click open terminal here: (you will have to do the same)
Quote:
[redcat@localhost EW-7811Un_Linux_1.0.0.3]$

Last edited by Ztcoracat; 02-13-2014 at 04:11 PM. Reason: Explain how to open the driver file in the terminal
 
Old 02-13-2014, 05:38 PM   #15
parker.hugh
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
again, thanks for your time in answering my post.

when I open the Ew-7811Un_Linux_1.0.0.3.zip file

I see EW-7811Un_linux_v2.0.939.20100726.tar.gz.zip

when I open this, I get

rtl8192CU_linux_v2.0.939.20100726.tar.gz

when I right click this file I don't get option to "Open in Terminal"

Am I missing something here? maybe I should extract this file?

sorry to keep asking questions.

regards,

Hugh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Edimax EW-7811Un on Raspberry Pi scubbo Linux - Hardware 1 09-05-2012 09:57 AM
Wireless N USB dongle Edimaxx EW-7811Un sysrez Linux - Hardware 11 08-21-2011 06:37 AM
How do i install a driver for a wireless usb adapter (debian) neil2010 Linux - Networking 42 09-23-2010 10:37 PM
edimax ew-7326ig wireless 11b/g PCI adapter jacquesbg Slackware 0 03-02-2010 05:12 PM
problem figuring out the Edimax wireless hi-gain USB Adapter glasgow SUSE / openSUSE 1 02-11-2007 10:22 AM


All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration