Edimax Wifi EW-7811UN setup

General programming chat and advice for beginners

49 posts   Page 1 of 2   1, 2
by alanb32 » Mon Jun 04, 2012 4:31 pm
hi all

I have managed to setup this Wifi adaptor
download these 3 files

Realtek driver - from "http://www.electrictea.co.uk/rpi/8192cu.tar.gz"
Realtek firmware - from "ftp://ftp.dlink.com/Wireless/dwa130_revC/Drivers/dwa130_revC_drivers_linux_006.zip"
Initialisation script - from "http://dl.dropbox.com/u/80256631/install-rtl8188cus.sh"

copy all 3 to your SD card

start Pi
login to root
type: sudo /boot/install-rtl8188cus.sh


info all here
http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt

brought from amazon
http://www.amazon.co.uk/Edimax-EW-7811U ... 396&sr=8-1
Posts: 4
Joined: Sun Jun 03, 2012 11:48 am
by Montala » Mon Jun 04, 2012 4:48 pm
Thank you! :)

Although I haven't received my RasPi yet, I did buy one of these apapters from Amazon in readiness, so will keep this information "on file".
User avatar
Posts: 638
Joined: Mon Mar 05, 2012 11:54 pm
Location: Herefordshire (U.K.)
by olibanum » Fri Jun 08, 2012 11:07 pm
You Sir/Madam are a God amongst mortals!

Your script worked perfectly thank you very much!

I initially tried the instructions from here:
http://www.ctrl-alt-del.cc/2012/05/raspberry-pi-meets-edimax-ew-7811un-wireless-ada.html
via:
http://elinux.org/RPi_VerifiedPeripherals#Working_USB_Wifi_Adapters

but I had no end of trouble. You've done all the hard work for me and all I needed to do was copy three files to my SD card and run one command!

Genius!

I should say to others that I followed the instructions listed in the install-rtl8188cus.txt text file rather than just the 3 lines you put in your post as (I think) it used a more up to date version of your script which was actually dated today:
http://dl.dropbox.com/u/80256631/install-rtl8188cus-20120608.sh and it contained more detailed information about what was happening too.

Great work and thank you again!
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by alexeames » Sat Jun 09, 2012 4:40 pm
olibanum wrote:You Sir/Madam are a God amongst mortals!


Credit ought to go to MrEngman, who wrote the script really. ;)

viewtopic.php?f=26&t=6256

By the way, he released an updated script yesterday that deals with issues brought up with rpi-update updates (which previously caused issues with this chipset a couple of weeks back).
My Pi uses 2 watts - what what? ---- HiRes early production Pi photos RS Front Back | Farnell Front Back
User avatar
Posts: 2018
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
by rcosnett » Sun Jun 10, 2012 8:19 am
Hi,
I found the information to be very useful, the script worked great.
Thanks
Bob
Posts: 4
Joined: Sun Jun 10, 2012 8:18 am
by Ed Raket » Sun Jun 10, 2012 11:50 am
The adapter is still waiting for the Pi to arrive..., but this setup is going to be sooooo easy :D

THX mate!
User avatar
Posts: 164
Joined: Mon Apr 30, 2012 4:28 pm
by ethzero » Sun Jun 10, 2012 9:14 pm
Just need some nice person to care about building something for ArchLinux now ;)
From age 8: Atari 800 XL > Spectrum ZX81 > Amiga 500+ > ESCOM 486+OS/2 warp (!), Few Dell Towers and Laptops (1 Alienware)

Currently in use: Dell XPS 630 > 2G iPod touch > 1G iPad 3G > 15" MacBook Pro > Raspberry Pi, Model-B :)
User avatar
Posts: 6
Joined: Fri May 18, 2012 1:18 pm
by matthew5384 » Mon Jun 11, 2012 3:53 am
I am using a fresh Debian install. I run the script and everything seems to work successfully all of the files successfully downloaded, but when booting I get a bunch of errors like "no such device" and "wpa-supplicant daemon failed to start" and "failed to setup wlan0", however they scroll too fast in order to read a lot of them.

After boot I run lsusb and can confirm that the drivers are correctly installed because Isusb prints "Bus 001 Device:004... Edimax Technology Co., Ltd EW-7811Un 802.11n wireless adapter"

I have tried running the script multiple times on fresh installs each time, same result.

Anyone else having problems? Suggestions?
Posts: 4
Joined: Wed Apr 18, 2012 2:06 am
by alexeames » Mon Jun 11, 2012 7:25 am
matthew5384 wrote:Anyone else having problems? Suggestions?


My suggestion would be to mention this problem in the original thread I linked to a couple of posts ago. Then MrEngman, who wrote the installation script, might be able to help you. He probably doesn't know this thread even exists.

For what it's worth, I get a lot of new error messages on startup, but the wifi still works (although I'm not routinely using it).
My Pi uses 2 watts - what what? ---- HiRes early production Pi photos RS Front Back | Farnell Front Back
User avatar
Posts: 2018
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
by Archie630 » Mon Jun 11, 2012 6:26 pm
LEGEND!!!

I have tried using 2 other methods countless times, but to no avail :(

It took me a couple of goes to get it working, but that was 100% down to me....being a total noob :oops:

I have the Edimax EW-7811Un and it now works :D
Thanks to everyone whom contributed towards my success
Posts: 2
Joined: Mon Jun 11, 2012 6:17 pm
by froddy » Wed Jun 13, 2012 12:00 pm
Thanks this worked for me too. The only strange thing was my Netgear router only played ball if I allowed the SSID to be broadcast, not that it should make any difference.

My HTC smartphone acting as a wireless hot spot worked with the PI and this script straight away.

Happy days :D
Posts: 1
Joined: Wed Jun 13, 2012 11:48 am
by olibanum » Wed Jun 13, 2012 7:36 pm
alexeames wrote:
olibanum wrote:You Sir/Madam are a God amongst mortals!


Credit ought to go to MrEngman, who wrote the script really. ;)

viewtopic.php?f=26&t=6256

By the way, he released an updated script yesterday that deals with issues brought up with rpi-update updates (which previously caused issues with this chipset a couple of weeks back).


Charlatan! :P

Cheers anyway. It was your post that was found on a top search hit on Google.
Not long after I posted my thanks I also found MrEngmans post. Since then I have been keeping up to date with his changes to the script and drivers on that thread, for as you mention, the latest firmware update did kill everything a couple of days ago.
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by CPOpi » Sun Jun 17, 2012 4:05 pm
Hello All,
I have had no success so far trying to install the 7811 Wi-Fi dongle, after about five trys, each taking about 25 mins, including RPI-Update. What happens is that using an Ethernet connection initially and the latest script file, all goes well until the firmware update happens then, some 10 mins into this the screen goes blank. Watching the 'link' LED and the SD Activity LED there is still something happening. However, no matter how long I wait, the screen never return, unless I press a key. At that point the message about inserting the adaptor is there, but of course the adaptor had not been inserted... so failure. I tried inserting the adaptor during the balnk screen phase, no success. The message on reboot is always that wlan0 could not be found. The adaptor works on a Windows PC. Any similar problems from anyone? Using a wired link on the RPi, I have no problem connecting.
Posts: 8
Joined: Fri Jan 27, 2012 10:58 pm
by olibanum » Sun Jun 17, 2012 5:27 pm
CPOpi wrote:Hello All,
I have had no success so far trying to install the 7811 Wi-Fi dongle, after about five trys, each taking about 25 mins, including RPI-Update. What happens is that using an Ethernet connection initially and the latest script file, all goes well until the firmware update happens then, some 10 mins into this the screen goes blank. Watching the 'link' LED and the SD Activity LED there is still something happening. However, no matter how long I wait, the screen never return, unless I press a key. At that point the message about inserting the adaptor is there, but of course the adaptor had not been inserted... so failure. I tried inserting the adaptor during the balnk screen phase, no success. The message on reboot is always that wlan0 could not be found. The adaptor works on a Windows PC. Any similar problems from anyone? Using a wired link on the RPi, I have no problem connecting.


You may wish to refer to the original thread here:
viewtopic.php?f=26&t=6256&p=102291#p102291

The script and drivers have been updated a few times lately
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by olibanum » Sun Jun 17, 2012 5:28 pm
If you're still having troubles after that then drop a message into that same thread. It's very active.

I hope this helps
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by rat256 » Tue Jun 26, 2012 4:50 pm
I'm getting a 404 on the shell script download :0( Help!
Posts: 7
Joined: Tue Jun 26, 2012 4:49 pm
by olibanum » Tue Jun 26, 2012 6:08 pm
http://dl.dropbox.com/u/80256631/instal ... -latest.sh

Check out the Micronet Auto install script @
http://www.elinux.org/RPi_VerifiedPerip ... i_Adapters

or the forum I posted above for more info.
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by rat256 » Wed Jun 27, 2012 8:00 pm
olibanum wrote:http://dl.dropbox.com/u/80256631/install-rtl8188cus-latest.sh

Check out the Micronet Auto install script @
http://www.elinux.org/RPi_VerifiedPerip ... i_Adapters

or the forum I posted above for more info.


Thanking you muchly!
Posts: 7
Joined: Tue Jun 26, 2012 4:49 pm
by olibanum » Wed Jun 27, 2012 9:34 pm
You're welcome
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by rapunzel » Sat Jun 30, 2012 7:06 pm
Sorry I'm an absolute newbie under Linux and the Raspberry Pi. I bought the Edimax EW-7811UN because I had believed the installation is very easy. The introductions from MrEngman are very clear. But he has written: "sudo /boot/install-rtl8188cus-latest.sh" But if i had a look on my SD Card under Win 7:

Image

Where can I find this "boot " - directory ? under Win 7 ?
He wrote for idiots, but not enough. for me, i think ;-)


I
Posts: 1
Joined: Sat Jun 30, 2012 6:17 pm
by olibanum » Sat Jun 30, 2012 8:20 pm
That partition is the boot directory as you call it.

When your Pi is running, /boot will reference that partition. Therefore copy the latest script to that partition in windows (assuming youre using a LAN cable otherwise other files will be needed too. Refer to the instructions for more info.). Then put the SD card in your Pi and boot up and again follow the instructions from there, namely as you said:
sudo /boot/install-rlt8188cus-latetest.sh
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by mfilos » Thu Jul 19, 2012 8:57 am
Any news about running on the new official Wheezy Rasbian distro?
It was working awesomely well on all previous Debian squeezy distros but now that I installed the new one, the latest.sh screwed the installation, while the beta-wheezy doesn't work.

:(

Please update it for Rasbian :)
Posts: 2
Joined: Thu Jul 19, 2012 8:51 am
Location: Athens, Greece
by olibanum » Thu Jul 19, 2012 10:47 am
The main discussion is on the thread in this link. Ive specifically selected a post from MrEngman about Raspbian.
viewtopic.php?p=127325#p127325
Posts: 20
Joined: Wed Jun 06, 2012 9:11 pm
by MrEngman » Thu Jul 19, 2012 1:25 pm
rapunzel wrote:Sorry I'm an absolute newbie under Linux and the Raspberry Pi. I bought the Edimax EW-7811UN because I had believed the installation is very easy. The introductions from MrEngman are very clear. But he has written: "sudo /boot/install-rtl8188cus-latest.sh" But if i had a look on my SD Card under Win 7:

Image

Where can I find this "boot " - directory ? under Win 7 ?
He wrote for idiots, but not enough. for me, i think ;-)


I

The /boot directory is the one you see when viewing with Windows Explorer. The image you are showing.

No, I didn't write for idiots. Read the document carefully - I'm the idiot. Look at all the problems it's causing me :D
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Posts: 1391
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK
by MrEngman » Thu Jul 19, 2012 1:28 pm
mfilos wrote:Any news about running on the new official Wheezy Rasbian distro?
It was working awesomely well on all previous Debian squeezy distros but now that I installed the new one, the latest.sh screwed the installation, while the beta-wheezy doesn't work.

:(

Please update it for Rasbian :)

There is a new script that should work with all versions of Raspbian including the new one. Just follow olibanum's link to find it.
olibanum wrote:The main discussion is on the thread in this link. Ive specifically selected a post from MrEngman about Raspbian.
viewtopic.php?p=127325#p127325

Thanks olibanum.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Posts: 1391
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK