Page 2 of 2
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver
Posted: Fri May 11, 2012 12:36 pm
by raspberrypiAndMe
I'm sooo sorry for bugging you so long! )
I got it now!!! Did it without the encoded psk, worked!
psk="REALPWD"
Kind of weird it's not understanding the encoded psk but works for me! YES!
Thank you sooo much for your help!
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver
Posted: Fri May 11, 2012 12:45 pm
by tqm
Having the plaintext psk is a risky thing... but if you run it via wpa_passphrase and put result in config file exactly as wpa_passphrase returns it, it will work as well.
Glad you got it going!
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver
Posted: Fri May 11, 2012 12:49 pm
by raspberrypiAndMe
I know, got a check that and will give feedback when I solved it. YEEES I'm so glad now, haha, THANKS again!
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver
Posted: Fri May 11, 2012 12:55 pm
by greypower
@tqm:
Sudo iwconfig gives (only):
lo no wireless extensions
eth0 no wireless extensions
There is no sign of wlan0
The pen-untimate line of the boot output is:
usbcore: registered new interface driver rtl8192cu
Is there still hope I wonder. I am more than willing to get a new wifi adapter that is known to work - before we all die of bordum trying to bring life to this one!!
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver
Posted: Fri May 11, 2012 10:40 pm
by tqm
rtl8192cu is the name of the original module that comes with debian package…
The fact it loads means you didn't blacklist it first… unless blacklisted it will load before the 8192cu (from the website) and block the card because it can't use it.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver
Posted: Sat May 12, 2012 5:01 pm
by greypower
@tqm: SOLVED
The module which works with your Edimx (8192cu) does not seem to work with rtl8191su chipset. However, Steffen Muller's blog provides the working one .
See :
http://www.t3node.com/blog/sem.....pberry-pi/
Many thanks for your patience in helping me.
"Hurrah" I have a wlan0 - now for the next bit!!
How do I edit the Title to say "SOLVED"??
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Sat May 12, 2012 11:59 pm
by tqm
uhm...8192cu != 8191su

but was worth a try - glad you got it working and thanks for the pointer to the solution
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Wed May 30, 2012 11:21 pm
by normal
I tried to do the same thing following the guide linked two posts up, compiled from source and updated firmware today and everything, but when I modprobe r8712u I get "FATAL: Error inserting r8712u (/lib/modules/3.1.9+/kernel/net/wireless/r8712u.ko): Invalid module format"
And naturally when i look at dmesg i can see "r8712u disagrees about version of symbol module_layout" and "r8712u: no symbol version for module_layout". Really really annoying because i looked at
http://www.element14.com/community/docs ... er-testing and bought the first dongle on the list just to be sure i wouldn't have to compile anything, even tryed unplugging my keyboard and mouse and doing it over ssh and still nothing......,

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Thu May 31, 2012 1:52 pm
by kihon
I hope someone can help me - When I put my wifi dongle in (an edimax one) and try running lsusb the command appears to freeze. Any idea why this could be?
Thanks
Kihon.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Thu May 31, 2012 2:02 pm
by Patrik
normal wrote:I tried to do the same thing following the guide linked two posts up, compiled from source and updated firmware today and everything, but when I modprobe r8712u I get "FATAL: Error inserting r8712u (/lib/modules/3.1.9+/kernel/net/wireless/r8712u.ko): Invalid module format"
And naturally when i look at dmesg i can see "r8712u disagrees about version of symbol module_layout" and "r8712u: no symbol version for module_layout". Really really annoying because i looked at
http://www.element14.com/community/docs ... er-testing and bought the first dongle on the list just to be sure i wouldn't have to compile anything, even tryed unplugging my keyboard and mouse and doing it over ssh and still nothing......,

Same here with 8192cu since the latest updates "disagrees about version of symbol module_layout" and the kernel module would not load.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Thu May 31, 2012 3:06 pm
by MrEngman
Patrik wrote:normal wrote:I tried to do the same thing following the guide linked two posts up, compiled from source and updated firmware today and everything, but when I modprobe r8712u I get "FATAL: Error inserting r8712u (/lib/modules/3.1.9+/kernel/net/wireless/r8712u.ko): Invalid module format"
And naturally when i look at dmesg i can see "r8712u disagrees about version of symbol module_layout" and "r8712u: no symbol version for module_layout". Really really annoying because i looked at
http://www.element14.com/community/docs ... er-testing and bought the first dongle on the list just to be sure i wouldn't have to compile anything, even tryed unplugging my keyboard and mouse and doing it over ssh and still nothing......,

Same here with 8192cu since the latest updates "disagrees about version of symbol module_layout" and the kernel module would not load.
Have you run rpi-update in the last 24hrs or so. My wifi using rtl8188cus is also giving this error but only after running rpi-update.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Thu May 31, 2012 3:23 pm
by MrEngman
kihon wrote:I hope someone can help me - When I put my wifi dongle in (an edimax one) and try running lsusb the command appears to freeze. Any idea why this could be?
Thanks
Kihon.
I presume this is before you have installed the drivers, right? The driver often includes firmware for the dongle and if the firmware is not loaded this may be why it it behaves the way it does. Mine does the same before the driver is installed. Micronet SP907NS, 11N Wireless LAN USB Adapter. Works just fine once the driver is installed.
Is your wifi adapter the EDIMAX EW-7811UN ? This uses the rtl8188cus driver. If it is take a look
here for installation instructions and an automatic install script.
MrEngman
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Thu May 31, 2012 4:05 pm
by Patrik
MrEngman wrote:Patrik wrote:normal wrote:I tried to do the same thing following the guide linked two posts up, compiled from source and updated firmware today and everything, but when I modprobe r8712u I get "FATAL: Error inserting r8712u (/lib/modules/3.1.9+/kernel/net/wireless/r8712u.ko): Invalid module format"
And naturally when i look at dmesg i can see "r8712u disagrees about version of symbol module_layout" and "r8712u: no symbol version for module_layout". Really really annoying because i looked at
http://www.element14.com/community/docs ... er-testing and bought the first dongle on the list just to be sure i wouldn't have to compile anything, even tryed unplugging my keyboard and mouse and doing it over ssh and still nothing......,

Same here with 8192cu since the latest updates "disagrees about version of symbol module_layout" and the kernel module would not load.
Have you run rpi-update in the last 24hrs or so. My wifi using rtl8188cus is also giving this error but only after running rpi-update.
Yes, the problem appears after doing an update.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Thu May 31, 2012 4:40 pm
by normal
Yeah I wiped my card clean and started from scratch, and it worked perfect. I didn't update firmware yet so I guess I'll hold off until it's fixed. Thanks anyway
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Mon Jun 04, 2012 11:58 am
by Patrik
I solved the problem and it's working now after manually recompiling the module against the latest kernel source.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Mon Jun 04, 2012 12:21 pm
by MrEngman
Patrik wrote:I solved the problem and it's working now after manually recompiling the module against the latest kernel source.
Hi Patrik,
I'm looking to recompile the driver but don't have much of a clue how to.
Can you provide some pointers how to do it. I've been able to compile a kernel and run it on the Pi using
these instructions, but I'm not sure what to do with the driver.
MrEngman
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Mon Jun 04, 2012 2:26 pm
by Patrik
MrEngman wrote:Patrik wrote:I solved the problem and it's working now after manually recompiling the module against the latest kernel source.
Hi Patrik,
I'm looking to recompile the driver but don't have much of a clue how to.
Can you provide some pointers how to do it. I've been able to compile a kernel and run it on the Pi using
these instructions, but I'm not sure what to do with the driver.
MrEngman
Sure,
So after you compiled the kernel from the latest source, either following
http://elinux.org/Rpi_kernel_compilation or some other guide, you need to download the Realtek RTL8188/RTL8192 driver source.
Older version:
v3.0.2164.20110715
Latest version:
v3.4.2_3727.20120404
You could try if the older or the newer version is working better with this kernel on the RPi.
Building the driver module:
Code: Select all
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- KSRC=/path/to/kernel/source KVER=kernel.ver
Determining the kernel version:
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Tue Jun 05, 2012 6:26 pm
by normal
Two things about this
1. I switched to Raspbian Pisces r1 and was able to get the r8712u driver working the same way I did it in squeeze. Then I updated firmware with rpi-update and it broke the exact same way. Could there be a bug with rpi-update that causes this or is the firmware still broken?
2. Your FTP links are broken and i want to compile new driver in wheezy to test if that wroks.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Tue Jun 05, 2012 11:44 pm
by MrEngman
normal wrote:Two things about this
1. I switched to Raspbian Pisces r1 and was able to get the r8712u driver working the same way I did it in squeeze. Then I updated firmware with rpi-update and it broke the exact same way. Could there be a bug with rpi-update that causes this or is the firmware still broken?
2. Your FTP links are broken and i want to compile new driver in wheezy to test if that wroks.
rpi-update loads new software as well as the Pi's new firmware. The new software stops the wifi module loading. You can load the firmware without loading the software if you use the commands
SKIP_KERNEL=1 stops rpi-update loading the software and changing module definitions or something like that which kills the wifi.
The latest wifi drivers are available on the Realtek web site.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Fri Jul 27, 2012 9:51 pm
by rdmandel
grabbed the latest wheezy from the Pi site, ran the rpi-updater, and now I try to get my Patriot USB Wifi going. But whenever it is inserted, hard crash.
A tail of /var/log/syslog shows the device is detected correctly, and after that:
- loading firmware rtlwifi/rtl8712u.bin
- kernel: [170.135923] r8712u: 1 RCR 0 x 153f00c
- kernel: [170.136781] r8712u: 2 RCR 0 x 553f00c
that is where the syslog stops and the system has to be powered off.
Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting
Posted: Fri Aug 17, 2012 7:26 pm
by jjones3
Has anyone built the 8192cu driver for:
Linux pwnpi 3.2.20-rpi1+ #5 Sun Jun 17 15:59:27 BST 2012 armv6l GNU/Linux
I am not smart enough to cross compile

and I have the:
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]