I think you may need to use some sort of network manager. There's a load of stuff on the internet, mostly from people having the same problem you have, but I didn't see any definitive solution.kohr wrote:I was able to get my pi to accept my usb wifi dongle by using this script, all is working fine. However, I can't get my it to connect to my WIFI unless I turn SSID broadcasting ON. Normally I keep it off, as I don't like to broadcast my connection. Can someone tell me how to fix this?
I'm really glad to hear you've finally got it working. Have fun.swizzard wrote:SUCCESS!
I had to scroll down to the end of the instructions (at http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt) and find the specific one listed for my kernel, but that's to be expected. Sorry I was such an idiot about all this. Knowledge is power, etc., etc.
Thanks!
The fix is to stop hiding your SSID since that is not real security at all. Not only are you not really hidden, but you are easily discovered.kohr wrote:... However, I can't get my it to connect to my WIFI unless I turn SSID broadcasting ON. Normally I keep it off, as I don't like to broadcast my connection. Can someone tell me how to fix this?
Code: Select all
/boot/install-rtl8188cus-latest.sh: line 1096: 2156 Terminated ifup --force wlan$ADAPTOR_NUMBER > dev/null 2>&1
Code: Select all
Unrecognised software version: Linux raspberrypi 3.2.27+ #84 PREEMPT Tue Aug 28 18:11:56 BST 2012 armv6l GNU/Linux
Downloading the latest script.
The script you're using is the latest version.
Aborting the rtl8188cus installation script.Bit slow on the uptake this time around but the script has now been updated. The latest driver, for #66 and #84, is http://dl.dropbox.com/u/80256631/8192cu-20120825.tar.gzDweeber wrote:Should be an update soon.... MrEngman is pretty good at keeping on top of these.
The last update in the script was for:
Linux raspberrypi 3.2.27+ #66 PREEMPT Fri Aug 24 23:52:42 BST 2012 armv6l GNU/Linux
It is possible that http://dl.dropbox.com/u/80256631/8192cu-20120819.tar.gz which is the driver used for the above kernel might also work for the new one, but you would have to add the kernel version to the install script manually to try it.
Did you read the first couple of lines of the instructions? http://dl.dropbox.com/u/80256631/install-rtl8188cus.txtsimplesi wrote:@MrEngman -Thanks for all you efforts
Are you wishing you hadn't started now
Simon
First time round your problem could have been with the file /etc/udev/rules.d/70-persistent-net.rules discussed a while back in this thread.morticiaskeeper wrote:Followed the instructions exactly, used a new raspbian image, tried it connected to the family tv, but had a few problems with different powered USB hubs.
Switched to running the dongle directly into the Rpi, used SSH (stops family arguments) but using the sudo bash command. The script runs until it gets to the line:
CTRL-C out of it and run the script again. This time choosing an update. Same result.Code: Select all
/boot/install-rtl8188cus-latest.sh: line 1096: 2156 Terminated ifup --force wlan$ADAPTOR_NUMBER > dev/null 2>&1
On another fresh image, two attempts at running the script got it working, giving me an IP address, which I could ping from another pc. However, on reboot, it failed to work.
Getting there slowly, off to make another couple of image cards.
Yes, I was able to get this working by using a wpa_supplicant file and some experimentation. You really need to read the documentation because it gives you multiple ways (settings) to try and achieve this depending on the hardware that you have.kohr wrote:I was able to get my pi to accept my usb wifi dongle by using this script, all is working fine. However, I can't get my it to connect to my WIFI unless I turn SSID broadcasting ON. Normally I keep it off, as I don't like to broadcast my connection. Can someone tell me how to fix this?
Code: Select all
If your wifi adapter is NOT already plugged in please plug it in now.
The wifi adapter should start automatically. Just wait a while for the wifi
adapter LED to start flashing then press any key to continue.
If your wifi adapter is already plugged in and the LED doesn't start flashing
automatically please unplug the wifi adapter and then plug it back in.
Wait for the LED to start flashing then press any key to continue...
You now have 1 wifi adapter configured
The wifi adapter driver is installed. Waiting for the wifi adapter to connect.This is the first line displayed by the script "This script will install the driver for Realtek RTL8188CUS based wifi adapters"therulerofchina wrote:I believe that i have messed something up.
it just hangs at this point doing nothing (as far as i can tell)Code: Select all
If your wifi adapter is NOT already plugged in please plug it in now. The wifi adapter should start automatically. Just wait a while for the wifi adapter LED to start flashing then press any key to continue. If your wifi adapter is already plugged in and the LED doesn't start flashing automatically please unplug the wifi adapter and then plug it back in. Wait for the LED to start flashing then press any key to continue... You now have 1 wifi adapter configured The wifi adapter driver is installed. Waiting for the wifi adapter to connect.
please could somebody give me some advice on how to fix this?
here's some helpful information that will almost definetly show that i messed up big time here:
Bus 001 Device 007: ID 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 [Atheros AR9271]
rpi model B
runs raspbian image.
ifconfig shows wlan0
Thanks for the update. Note taken on the driver info and other pointers, very helpful.amyren wrote:I have just sucsessfully installed my wifi adaptor on 2012-08-16-wheezy-raspbian using your instructions
My adaptor is a cheap one (EDUP 802.11n from dealextreme)
I had to do an offline install, and your script was working fine. Its currently installing the updates as I write.
One thing in the instructions though, I didnt find the image 2012-08-16-wheezy-raspbian listed at the end with the drivers link. However, the script prompted me anyway that the file 8192cu-20120726.tar.gz was missing, so I downloaded it to an USB stick and copied it to /boot.
I had to use a root terminal to get access to copy the driver, perhaps you will include that information in your instructions as well since you have explained the other stuff so thorough.
One thing I'd like to ask, is there a way to change the SSID later on, or do I have to resinstall the image and do it all over again if I want to connect to a different network?
What is the output of command "uname -a". And what is the image you are using. Not seen that one before. Where can I download it from?mm0dun wrote:I have attempted without success to get my Edimax EW-7811Un to install.
lsusb gives the info: Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wirless Adapter [Realtek RTL8188CUS]
OS: Debian Wheezy Linux Kernel 3.2.23-rpi1+
CPU: armv61
I have tried numerous options and it now tells me when I run the install-rtl8188cus-latest.sh that an RTL8188CUS driver module is installed but is not loaded. I have 1 wifi adapter configured. wlan0 is configured but is not installed.
It then goes on to tell me unrecognised software version: Linux raspberrypi 3.2.23-rpi1+ #3
I am assuming that it is the "Linux raspberrypi 3.2.23-rpi1+ #32 that it is the problem.
Give me Windows or Netware anyday.....Linux I am stumped on as it is a steep learning curve.
Can anyone provide further guidance?
Martin
Not seen/heard of this one before. Sounds like some file privileges have changed. Certainly nothing in the script that does that. What image are you using?grandadtom wrote:I have installed the driver for the Edimax EW-7811Un wireless adapter using the script:
http://dl.dropbox.com/u/80256631/instal ... -latest.sh
I also upgraded the installed software packages using same script.
Fine, I can now connect to internet.
HOWEVER, before I ran the script, I could enter startx - and it brought up GUI - no problem.
But now, when I enter startx, I get error message xauth: (stdin):2: unknown command.
The GUI will not start
However, if I enter sudo startx, I am in GUI as super user. WHY?
As a newcomer, I do not want to always be a super user in case I mess up the system.
Can anyone help?
Thanks for the reply. I did take a short look at the wpa_supplicant, and it looks like its possible like you said. But I'm not to sure about how to set that up to work properly.MrEngman wrote:Thanks for the update. Note taken on the driver info and other pointers, very helpful.amyren wrote:I have just sucsessfully installed my wifi adaptor on 2012-08-16-wheezy-raspbian using your instructions
My adaptor is a cheap one (EDUP 802.11n from dealextreme)
I had to do an offline install, and your script was working fine. Its currently installing the updates as I write.
One thing in the instructions though, I didnt find the image 2012-08-16-wheezy-raspbian listed at the end with the drivers link. However, the script prompted me anyway that the file 8192cu-20120726.tar.gz was missing, so I downloaded it to an USB stick and copied it to /boot.
I had to use a root terminal to get access to copy the driver, perhaps you will include that information in your instructions as well since you have explained the other stuff so thorough.
One thing I'd like to ask, is there a way to change the SSID later on, or do I have to resinstall the image and do it all over again if I want to connect to a different network?![]()
The basic setup is in the file /etc/network/interfaces. You can edit the settings to connect to different networks but there are other ways to do this without needing to edit files.
If you're looking to move the Pi around and connect to various different networks then you probably need to use wpa_supplicant, or a network manager program. It something I'm not to familiar with but there's documentation included in the images about wpa_supplicant. try "man wpa_supplicant" and "man wpa_supplicant.conf". This will allow you to set up for connecting to different networks as you move about without having to edit the ssid in /etc/network/interfaces.
MrEngman