Re: Automatic setup for RTL8188CUS based wifi adapters
Installed Raspbian yesterday and everything was great.
Then this appeared: https://twitter.com/ukscone/status/225729716211036161
Ever since wlan0 can not be detected, reflashed the sd-card but there was no change after trying a fresh install.
Using an Edimax EW-7811Un, WPA2, did choose to let it reconnect if device was unplugged.
Here's a photo I took of the error: http://i.imgur.com/cZIs6.jpg
Then this appeared: https://twitter.com/ukscone/status/225729716211036161
Ever since wlan0 can not be detected, reflashed the sd-card but there was no change after trying a fresh install.
Using an Edimax EW-7811Un, WPA2, did choose to let it reconnect if device was unplugged.
Here's a photo I took of the error: http://i.imgur.com/cZIs6.jpg
Re: Automatic setup for RTL8188CUS based wifi adapters
Was that with ethernet or putting the 3 files on sd card? I don't have ethernet at the moment and the 3 file method failed meNburnes wrote:Newest one worked fine for me.Paul_L wrote:Is there a script to install wireless dongle on new raspbian sd image. The one for wheezy is working ?


Alex Eames RasPi.TV, RasP.iO
Re: Automatic setup for RTL8188CUS based wifi adapters
Hi,alexeames wrote:Was that with ethernet or putting the 3 files on sd card? I don't have ethernet at the moment and the 3 file method failed meNburnes wrote:Newest one worked fine for me.Paul_L wrote:Is there a script to install wireless dongle on new raspbian sd image. The one for wheezy is working ?At least my Wheezy distro card still works though
There is a new updated script here.and you will need the driver file from here.
EDIT: Copy both files to the /boot directory and run the script
Code: Select all
sudo /boot/install-rtl8188cus-latest.sh
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.
Please post ALL technical questions on the forum. Please Do Not send private messages.
Re: Automatic setup for RTL8188CUS based wifi adapters
Awesome. Thanks - I'll give it a try 

Alex Eames RasPi.TV, RasP.iO
Re: Automatic setup for RTL8188CUS based wifi adapters
It works just fine!!! Used it with the stock Rasbian image and with fimware #171 and it never failed me!
Thanks for these constant updates MrEngman!!!
Thanks for these constant updates MrEngman!!!
Re: Automatic setup for RTL8188CUS based wifi adapters
Mr Engman does it again. I had some problems, but they weren't anything to do with your excellent script. They were to do with my screen and VGA adaptor not liking the new Raspbian, but I found a way round it long enough to get the wifi up and running and now I no longer need the screen attached. Fantastic! You da man.MrEngman wrote:There is a new updated script here.and you will need the driver file from here.
EDIT: Copy both files to the /boot directory and run the scriptIf you log on as root do not use "sudo".Code: Select all
sudo /boot/install-rtl8188cus-latest.sh


Alex Eames RasPi.TV, RasP.iO
Re: Automatic setup for RTL8188CUS based wifi adapters
Took a punt on this at £3.83 delivered http://www.ebay.co.uk/itm/230660622912
It works perfectly, thank you!
It works perfectly, thank you!
Re: Automatic setup for RTL8188CUS based wifi adapters
Hi I want to share a little my experience with Mr Engman script that might explain some difficulties that some users had on running the script . I am not a linux newbie ans up to now I have installed the driver by hand.
I downloaded the script on my office workstation running windows 7 and also the driver in tar.gz. Sent tham by e-mail to me at home , put on the /boot partition under windows and when I tried to run the script from the root account and I had a BIG surprise :
I was pretty sure that I was using bash as shell , checked my bashrc file , verify the environment variable, everything was ok . Finally I have observed that it is trying to run the shell /bin/bash^M .
The problem was that downloading the script or e-mailing under windows the script was converted to DOS format. Getting the script by wget directly under raspbian it worked like a charm
I downloaded the script on my office workstation running windows 7 and also the driver in tar.gz. Sent tham by e-mail to me at home , put on the /boot partition under windows and when I tried to run the script from the root account and I had a BIG surprise :
Code: Select all
root@raspberrypi ~ # /boot/install-rtl8188cus-latest.sh
-bash: /boot/install-rtl8188cus-latest.sh: /bin/bash^M: bad interpreter: No such file or directory
root@raspberrypi ~ #
The problem was that downloading the script or e-mailing under windows the script was converted to DOS format. Getting the script by wget directly under raspbian it worked like a charm
Re: Automatic setup for RTL8188CUS based wifi adapters
Works perfectly for me under Raspbian with one of these connected directly to the Pi (no powered hub): Edimax EW-7811UN Wireless 802.11b/g/n 150Mbps Nano USB Adaptor

Thanks very much for the script.
Andrew

Thanks very much for the script.
Andrew
Re: Automatic setup for RTL8188CUS based wifi adapters
You gave me a bit of a fright there for a momentPaul_L wrote:Hi I want to share a little my experience with Mr Engman script that might explain some difficulties that some users had on running the script . I am not a linux newbie ans up to now I have installed the driver by hand.
I downloaded the script on my office workstation running windows 7 and also the driver in tar.gz. Sent tham by e-mail to me at home , put on the /boot partition under windows and when I tried to run the script from the root account and I had a BIG surprise :
I was pretty sure that I was using bash as shell , checked my bashrc file , verify the environment variable, everything was ok . Finally I have observed that it is trying to run the shell /bin/bash^M .Code: Select all
root@raspberrypi ~ # /boot/install-rtl8188cus-latest.sh -bash: /boot/install-rtl8188cus-latest.sh: /bin/bash^M: bad interpreter: No such file or directory root@raspberrypi ~ #
The problem was that downloading the script or e-mailing under windows the script was converted to DOS format. Getting the script by wget directly under raspbian it worked like a charm

Anyway just to check I've just tried downloading the script on to my Windows7 system and then emailing as an attachment in Outlook, and also right clicking and using send to - mail recipient which sends as an attachment in Outlook, and had no problems. Also opened the script in Wordpad to view it and sent it as email from within Wordpad. All files arrived at the destination in the original state with no added Carriage Returns.
Are you sure you didn't view the file in some Windows editor and save it rather than just close the editor before emailing it?
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.
Please post ALL technical questions on the forum. Please Do Not send private messages.
-
- Posts: 8
- Joined: Thu Jul 19, 2012 8:41 pm
Re: Automatic setup for RTL8188CUS based wifi adapters
I was wondering 2 things;
1) How can you find out what Chipset your USB WiFi Adapter is running on
2) I have a http://www.amazon.com/Belkin-Micro-Wire ... B005HO1UHQ, is this the same/similar enough to 050d:1102 F7D1102 N150/Surf Micro Wireless Adapter v1000 [Realtek RTL8188CUS] - (Belkin Components) that it would work with my RaspberryPi
** I noticed that the ony difference is that the Micro Adapter I have is a F7D1102tt
** I am running Raspbian “wheezy”
Thank you in advance for any an all help!!
toonhead85
1) How can you find out what Chipset your USB WiFi Adapter is running on
2) I have a http://www.amazon.com/Belkin-Micro-Wire ... B005HO1UHQ, is this the same/similar enough to 050d:1102 F7D1102 N150/Surf Micro Wireless Adapter v1000 [Realtek RTL8188CUS] - (Belkin Components) that it would work with my RaspberryPi
** I noticed that the ony difference is that the Micro Adapter I have is a F7D1102tt
** I am running Raspbian “wheezy”
Thank you in advance for any an all help!!
toonhead85
Re: Automatic setup for RTL8188CUS based wifi adapters
If you have a Windows machine plug the wifi adapter it into a USB port then select Control Panel/Device Manager/Network Adapters. Right click the device and select Properties/Details. Open the Properties tab and select Hardware Ids. This will show something liketoonhead85 wrote:I was wondering 2 things;
1) How can you find out what Chipset your USB WiFi Adapter is running on
2) I have a http://www.amazon.com/Belkin-Micro-Wire ... B005HO1UHQ, is this the same/similar enough to 050d:1102 F7D1102 N150/Surf Micro Wireless Adapter v1000 [Realtek RTL8188CUS] - (Belkin Components) that it would work with my RaspberryPi
** I noticed that the ony difference is that the Micro Adapter I have is a F7D1102tt
** I am running Raspbian “wheezy”
Thank you in advance for any an all help!!
toonhead85
Code: Select all
USB\VID_050d&PID_1102
Trying this on a Linux machine may cause it to hang if the device driver is not installed. On a Linux machine you can plug it into a USB port and type the command
Code: Select all
lsusb
Probably best to use a Windows machine if you have one.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.
Please post ALL technical questions on the forum. Please Do Not send private messages.
-
- Posts: 8
- Joined: Thu Jul 19, 2012 8:41 pm
Re: Automatic setup for RTL8188CUS based wifi adapters
I did this with my RaspberryPi, running Raspbian “wheezy” and found out all the info I needed. Thank you so very much for the reply!MrEngman wrote:On a Linux machine you can plug it into a USB port and type the commandCode: Select all
lsusb
Guess its on to trying things out now, with me luck

Re: Automatic setup for RTL8188CUS based wifi adapters
Mr Engman!
we now have wi-pi !
Thanks to the new wheezy distro & the excellent new script, I now have a working wep key based wireless pi !
Many thanks for the sterling help & assistance you have given to help to get our Pi's wi-fi working !
we now have wi-pi !
Thanks to the new wheezy distro & the excellent new script, I now have a working wep key based wireless pi !
Many thanks for the sterling help & assistance you have given to help to get our Pi's wi-fi working !
Re: Automatic setup for RTL8188CUS based wifi adapters
Hi all,
My raspberry pi is just arrived and I'd like to install raspbian and i have a d-link aw121 micro usb wireless that i red is a RTL8188CUS model.
Now i put image disk on a 8 Gb SD with win32diskimager but I don't have any boot directory to put files into. Should I put install script plus drivers files after installation?
By the way Windows 7 recognize my SD as a removable Disk of 55 Mb.
Any suggestions?
Sorry for my english
Thanks in advice
My raspberry pi is just arrived and I'd like to install raspbian and i have a d-link aw121 micro usb wireless that i red is a RTL8188CUS model.
Now i put image disk on a 8 Gb SD with win32diskimager but I don't have any boot directory to put files into. Should I put install script plus drivers files after installation?
By the way Windows 7 recognize my SD as a removable Disk of 55 Mb.
Any suggestions?
Sorry for my english
Thanks in advice
-
- Posts: 14
- Joined: Sun Jun 03, 2012 8:47 am
Re: Automatic setup for RTL8188CUS based wifi adapters
Hi mikfaina - the 55Mb disk that Windows 7 sees, will become the /boot directory when you put it in the RasPi. So yes, that is where you put the script and driver files then you can run them on the RasPi. Once the RasPi has started up then you'll find them in /boot.mikfaina wrote: Now i put image disk on a 8 Gb SD with win32diskimager but I don't have any boot directory to put files into. Should I put install script plus drivers files after installation?
By the way Windows 7 recognize my SD as a removable Disk of 55 Mb.
Have fun.
Re: Automatic setup for RTL8188CUS based wifi adapters
MrEngman thanks for the script. Worked perfectly on the latest release of Raspbian. I slight problem when then WiFi adapter was plugged into a non-powered hub but I plugged into one of the Pi USB ports and no problem.
Re: Automatic setup for RTL8188CUS based wifi adapters
Thanks for your reply.japester36 wrote:Hi mikfaina - the 55Mb disk that Windows 7 sees, will become the /boot directory when you put it in the RasPi. So yes, that is where you put the script and driver files then you can run them on the RasPi. Once the RasPi has started up then you'll find them in /boot.mikfaina wrote: Now i put image disk on a 8 Gb SD with win32diskimager but I don't have any boot directory to put files into. Should I put install script plus drivers files after installation?
By the way Windows 7 recognize my SD as a removable Disk of 55 Mb.
Have fun.
But when I will put SD in raspi and boot sill start the installation process automaticcaly ?? If so how can i run script if it starts the system installation?
Re: Automatic setup for RTL8188CUS based wifi adapters
I forgot to add I have the same problem with the latest Archlinux but alas I've not found any such useful script (yet).
Re: Automatic setup for RTL8188CUS based wifi adapters
You need to copy the script and the files to the directory you see in Windows Explorer. This is the /boot directory. Windows will say the disk is removable and about 55MB. This is OK. You will see something like this.mikfaina wrote:Hi all,
My raspberry pi is just arrived and I'd like to install raspbian and i have a d-link aw121 micro usb wireless that i red is a RTL8188CUS model.
Now i put image disk on a 8 Gb SD with win32diskimager but I don't have any boot directory to put files into. Should I put install script plus drivers files after installation?
By the way Windows 7 recognize my SD as a removable Disk of 55 Mb.
Any suggestions?
Sorry for my english
Thanks in advice

Copy the script and files to this directory.

There is a new script here.Please download and use this one. It was updated today to fix a small error.
There are some instructions here. It has a list of the files you will have to download. Download the files for the version of Rasbian you want to use and copy them to the directory you see in Windows.
MrEngman
EDIT: put the SD card in the Pi. Log in and then start the script using the command
Code: Select all
sudo /boot/install-rtl8188cus-latest.sh
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.
Please post ALL technical questions on the forum. Please Do Not send private messages.
-
- Posts: 8
- Joined: Thu Jul 19, 2012 8:41 pm
Re: Automatic setup for RTL8188CUS based wifi adapters
Thanks for everyone that contributes to this forum... I dont know where I would be without it 
With that being said, I am having some issue connecting my Belkin n150 Micro WiFi Adapter. I have created a fresh install, added the files necessary for Rasbian "wheezy":
1) 8192cu-20120701.tar.gz
2) install-rtl8188cus.sh, later I found the post about the updated version install-rtl8188cus-latest.sh
• I am running the script "sudo /boot/install-rtl8188cus.sh which goes well, i get the message 1 wifi device configured, but then get an error in the file (line 803 or 808, cant remember) and my Pi crashes.
• Running the script install-rtl8188cus-latest.sh gets all the way up to the point when it asks for the device to be connected, I connect - the light blinks a few times and then nothing - Pi crashes.
Any thoughts? Am I missing a step/file that needs to be added to the /boot??
Thanks

With that being said, I am having some issue connecting my Belkin n150 Micro WiFi Adapter. I have created a fresh install, added the files necessary for Rasbian "wheezy":
1) 8192cu-20120701.tar.gz
2) install-rtl8188cus.sh, later I found the post about the updated version install-rtl8188cus-latest.sh
• I am running the script "sudo /boot/install-rtl8188cus.sh which goes well, i get the message 1 wifi device configured, but then get an error in the file (line 803 or 808, cant remember) and my Pi crashes.
• Running the script install-rtl8188cus-latest.sh gets all the way up to the point when it asks for the device to be connected, I connect - the light blinks a few times and then nothing - Pi crashes.
Any thoughts? Am I missing a step/file that needs to be added to the /boot??
Thanks
-
- Posts: 8
- Joined: Thu Jul 19, 2012 8:41 pm
Re: Automatic setup for RTL8188CUS based wifi adapters
I figured I would try to give a bit more information about the error I am getting. I am using the install-rtl8188cus-latest.sh script and I get all the way threw and see "You now have 1 wifi adapter configured" followed by "The wifi adapter driver is installed. Waiting for the wifi adapter to connect.toonhead85 wrote:but then get an error in the file (line 803 or 808, cant remember) and my Pi
/boot/install-rtl8188cus-latest.sh: line 883: 2557 Terminated
ifup --force wlan$ADAPTER_NUMBER > /dev/null 2>&1
All of this was done with a fresh install of Raspbian. I will try again, but this is quite frustrating

Re: Automatic setup for RTL8188CUS based wifi adapters
I got it working by using this image: http://files.velocix.com/c1410/debian-x ... 4-2012.zip
For some reason XBMC didnt work with it so i got XBMC working with this guide: http://www.memetic.org/pre-compiled-xbmc-for-raspbian/
Now I've got my PI up and running with wireless and XBMC. Thank you so much for this script!
For some reason XBMC didnt work with it so i got XBMC working with this guide: http://www.memetic.org/pre-compiled-xbmc-for-raspbian/
Now I've got my PI up and running with wireless and XBMC. Thank you so much for this script!
Re: Automatic setup for RTL8188CUS based wifi adapters
I wanna use the script with Raspbmc but i think the script don't know the operating system and abort the install:
Greetings,
Michael
What do i need to change in the script to get it working?Unrecognised software version: Linux raspbmc 3.1.9-test-12-06 #1 PREEMPT Mon Jun 18 20:07:45 UTC 2012 armv6l GNU/Linux
Downloading the latest script.
The script you're using is the latest version.
Aborting the rtl8188cus installation script.
Greetings,
Michael
Re: Automatic setup for RTL8188CUS based wifi adapters
Is that the new Raspbian image on the Rapberry Pi download page? I have had no problems with that image with both a Micronet SP907N adapter and an Edimax EW-7811Un adapter and have installed the wifi on that image many times while testing the script.toonhead85 wrote:Thanks for everyone that contributes to this forum... I dont know where I would be without it
With that being said, I am having some issue connecting my Belkin n150 Micro WiFi Adapter. I have created a fresh install, added the files necessary for Rasbian "wheezy":
1) 8192cu-20120701.tar.gz
2) install-rtl8188cus.sh, later I found the post about the updated version install-rtl8188cus-latest.sh
• I am running the script "sudo /boot/install-rtl8188cus.sh which goes well, i get the message 1 wifi device configured, but then get an error in the file (line 803 or 808, cant remember) and my Pi crashes.
• Running the script install-rtl8188cus-latest.sh gets all the way up to the point when it asks for the device to be connected, I connect - the light blinks a few times and then nothing - Pi crashes.
Any thoughts? Am I missing a step/file that needs to be added to the /boot??
Thanks
You have the right files.
I've seen another post with a similar error. I can't think of anything definite but it could be due to a power supply issue. The crash you are getting is happening just as the wifi adapter turns on and starts to take power. What power supply do you use? Have you tried plugging the wifi adapter into a hub?
There has been a lot of discussions regarding power supplies and wifi adapters plugged directly into the USB ports on the Pi. Insufficient power can cause some really bad problems like the one you're getting.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.
Please post ALL technical questions on the forum. Please Do Not send private messages.