If you use command lsusb what does it show for your Asus USB-N10?makernz wrote:Fantastic instructions! Worked like a charm with my ASUS USB-N10 plugged directly into my Pi.
Thanks so much!
EDIT: and what does the output of command lsmod show?
If you use command lsusb what does it show for your Asus USB-N10?makernz wrote:Fantastic instructions! Worked like a charm with my ASUS USB-N10 plugged directly into my Pi.
Thanks so much!
I'm a little confused as well. What driver file are you looking at. I don't see one but there does appear to be a firmware file. Bit like the 8188cus. There is a driver and firmware built in but the 8188cus won't work with it.Montala wrote:Your comment puzzles me slightly as according to MrEngman "... you'll need to find the right driver, as the N10 driver is different to the one used with the Edimax. 8192SU rather than the 8192CU used with rthe rtl8188cus devices."makernz wrote:Fantastic instructions! Worked like a charm with my ASUS USB-N10 plugged directly into my Pi.
Thanks so much!
The correct driver does however appear to be 'built in' to the latest Raspbian "Wheezy" image!
Just to confirm: I started off with a 'hard wired' ethernet connection, and a new Raspbian "wheezy" image, which I first updated and upgraded, and without installing anything else I plugged the Asus USB-N10 into my powered hub, whereupon the screen went blank, and my RasPi rebooted itself!MrEngman wrote:I'm a little confused as well. What driver file are you looking at. I don't see one but there does appear to be a firmware file. Bit like the 8188cus. There is a driver and firmware built in but the 8188cus won't work with it.
command lsusbMrEngman wrote:If you use command lsusb what does it show for your Asus USB-N10?makernz wrote:Fantastic instructions! Worked like a charm with my ASUS USB-N10 plugged directly into my Pi.
Thanks so much!
EDIT: and what does the output of command lsmod show?
Have you changed the permissions using "chmod a+x <file name>"?rphiggins wrote:when I type
sudo /boot/install-rtl8188cus-latest.sh
I get "command not known"
HiHiC wrote:The symptoms were that everything worked fine except the reboot resulted in on red LED and a six-times flashing green LED indicating that start.elf didn't start.
Yes, the behavior can be different among different SD cards. But the script obviously deletes two files before rebooting the machine. Shouldn't there be a sync command first to make sure that the changes are properly written to the SD card before rebooting? (Or is there an implied sync built-in into rm or reboot?)I don't think it is a problem with the script as such but with rpi-update (which I believe the script runs) and certain SD cards
The driver for the N10 is not the one my script loads. It appears that the driver is already loaded and all my script does is set up some of the files that are needed, specifically /etc/network/interfaces. Otherwise it loads a driver you do not need.makernz wrote:command lsusbMrEngman wrote:If you use command lsusb what does it show for your Asus USB-N10?makernz wrote:Fantastic instructions! Worked like a charm with my ASUS USB-N10 plugged directly into my Pi.
Thanks so much!
EDIT: and what does the output of command lsmod show?
Bus 001 Device 004: ID 0b05:1786 ASUSTek Computer, Inc. USB-N10 802.11n Network Adapter [Realtek RTL8188SU]
command lsmod
It says that both 8192cu module is installed (which I am assuming is from your script), but also r8712u module is installed (which I am assuming was supported by Raspbian "Wheezy")
This is what I did:
-Wrote a fresh image of Raspbian "Wheezy" to my SD card
-Copied MrEngman's script to the root of the SD card
-Had my Pi connected to LAN
-Booted up Pi and followed the instructions listed by MrEngman
-Everything worked as described in the instructions, set my security, sssid and password
-Installation completed, rebooted my device (without LAN connected) and in the startup script before login it gives you the details of identifying the wifi adpater and configures itself 100% every time.
Have rebooted many times since, and every time my ASUS USB-N10 has worked correctly.
If you want any more information on the process I went through, let me know.
Is that just "ls" or is it "ls /boot"? try ls -l /boot. That will show the file permissions and it should show permissions as -rwxr-xr-x. You need at least the first -rwx to run the file as a script.rphiggins wrote:I am sorry for asking such a very simple question.
I have a new Pi, and have set up the sd card ok using latest download from this site.
I am trying to use this excellent script and have put the latest script and drivers for edimax wifi on the sd card.
when I type
sudo /boot/install-rtl8188cus-latest.sh
I get "command not known"
When is do "ls" I can see that the files are all there ok
I did originally think it was called rt18188 and not rtL8188 but I am sure I have the file name spelt correctly.
As a complete noob it must be a very stupid error?
Thanks
Code: Select all
sudo chmod 755 /boot/install-rtl8188cus-latest.sh
Thank you very much HiC, and to everyone else who've expressed their thanks very much appreciated.HiC wrote:The correct credit should go to MrEngman, of course![]()
If it's important to anyone, my dongle is a MicroNEXT MN-WD152B with the device ID 0bda:8176 as reported by lsusb. It's, however, listed as "Problem USB Wifi Adapters" on the RPi VerifiedPeripherals page.
Code: Select all
export LANG=C
Good suggestion Georg. Thank you. I have updated the script and added the extra line you suggested.GeorgWassen wrote:Hi MrEngman,
first thank you very much for your work. The script helped me a lot.
Although, I have a suggestion for an improvement: My system uses LANG=de and your script didn't proceed from the message "The wifi adapter driver is installed. Waiting for the wifi adapter to connect." (line 879) because the line "inet addr:" (line 893) is localized to "inet Adresse:" (German). The solution was very easy:...and the output is in English again. If you include that setting at the beginning of the script, it will work independently from the user's localization.Code: Select all
export LANG=C
Best regards,
Georg.
I was able to get wpa_supplicant working today so that roaming works and it will automatically find the first available router (in the order or priority of my choosing) during the boot process and assign a DHCP address and turn on wlan0 so my headless pi is ready to be logged in to. I use a quick nmap ping scan to discover the ip address. Also, by adding a parameter to the file it can even locate routers with hidden (not broadcasted) SSID's, which was not possible with the /etc/network/interfaces file. Another feature of wpa_supplicant is that it is not necessary to escape the special character "\" in the psk password key, which was necessary in /etc/network/interfaces.pjc123 wrote:Has anyone been able to get roaming working with wpa_supplicant on the RTL8188CUS? There are a ton of options for the wpa_supplicant.conf file, and I have tried a bunch, but I just can't get it to work. It does work fine with just the interfaces file only, so I know the dongle is working. I have two routers and it is a real pain having to change the interfaces file every time I want to change the router I need to use.
By the way, the latest Engmann script fixed my dongle that stopped working by selecting the upgrade option. I never do a firmware update specifically, but it must be done when I do an apt-get upgrade, so I suspect that is what killed it. Is there a way to perform an upgrade of all programs yet exclude some? I imagine there must be a file somewhere to set excludes.
Excelent, works on my Raspberry Pi with Raspbian and Inves model: I-W311USBMrEngman wrote:I have just uploaded a modified script to Dropbox.
Now there is no need to modify any files before copying them to the Pi and installing your Wifi. Just copy the files to the SD card, plug in your Pi and run the script to install your Realtek RTL8188CUS based wifi adapter.
The instructions can be downloaded from: http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt
and the script itself from: http://dl.dropbox.com/u/80256631/install-rtl8188cus.sh
Have fun with your Raspberry Pi.
Code: Select all
cd /boot
sudo wget http://dl.dropbox.com/u/80256631/install-rtl8188cus-latest.sh
sudo wget http://dl.dropbox.com/u/80256631/8192cu-20120701.tar.gz
sudo install-rtl8188cus-latest.sh
and then used:Press cntl-C to terminate the installation, any other key to continue…
Code: Select all
sudo apt-get update
sudo apt-get upgrade
Code: Select all
ifconfig
HiTrixster wrote:I seem to have a bit of trouble getting this working, using a fresh Raspbian install and an Edimax EW-7811Un.
I've copied the latest script to root and have successfully run it with a wired Internet connection connected. It appears to work fine, and I can confirm that the wifi adapter is connecting to the router correctly. The problem is when the script finishes and reboots - I remove the LAN cable as briefed, click enter to start the reboot processes and then once that's completed the pi will not start up again. I've tried removing the wifi adapter but no joy. The pi just will not boot up again with this sd card in. The power light comes on ok and the OK light periodically flashes but there's nothing showing on the screen.
I'm using the standard RS power supply, and the fact that the script appears to enable it fine suggests to me this isn't a power issue. Thoughts?