raspberrypiAndMe
Posts: 10
Joined: Thu May 10, 2012 6:00 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver

Fri May 11, 2012 12:36 pm

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!

tqm
Posts: 16
Joined: Tue May 08, 2012 12:00 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver

Fri May 11, 2012 12:45 pm



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!

raspberrypiAndMe
Posts: 10
Joined: Thu May 10, 2012 6:00 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver

Fri May 11, 2012 12:49 pm

I know, got a check that and will give feedback when I solved it. YEEES I'm so glad now, haha, THANKS again!

greypower
Posts: 92
Joined: Sat Jan 07, 2012 10:00 am

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver

Fri May 11, 2012 12:55 pm

@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!!

tqm
Posts: 16
Joined: Tue May 08, 2012 12:00 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver

Fri May 11, 2012 10:40 pm

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.

greypower
Posts: 92
Joined: Sat Jan 07, 2012 10:00 am

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting up Driver

Sat May 12, 2012 5:01 pm

@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"??

tqm
Posts: 16
Joined: Tue May 08, 2012 12:00 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Sat May 12, 2012 11:59 pm

uhm...8192cu != 8191su :-) but was worth a try - glad you got it working and thanks for the pointer to the solution

normal
Posts: 61
Joined: Sun May 27, 2012 9:50 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Wed May 30, 2012 11:21 pm

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......, :cry:

kihon
Posts: 5
Joined: Thu Jan 12, 2012 3:25 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Thu May 31, 2012 1:52 pm

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.

Patrik
Posts: 20
Joined: Fri Feb 17, 2012 7:22 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Thu May 31, 2012 2:02 pm

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......, :cry:
Same here with 8192cu since the latest updates "disagrees about version of symbol module_layout" and the kernel module would not load.

MrEngman
Posts: 3856
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Thu May 31, 2012 3:06 pm

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......, :cry:
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.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

MrEngman
Posts: 3856
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Thu May 31, 2012 3:23 pm

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
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Patrik
Posts: 20
Joined: Fri Feb 17, 2012 7:22 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Thu May 31, 2012 4:05 pm

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......, :cry:
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.

normal
Posts: 61
Joined: Sun May 27, 2012 9:50 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Thu May 31, 2012 4:40 pm

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

Patrik
Posts: 20
Joined: Fri Feb 17, 2012 7:22 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Mon Jun 04, 2012 11:58 am

I solved the problem and it's working now after manually recompiling the module against the latest kernel source.

MrEngman
Posts: 3856
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Mon Jun 04, 2012 12:21 pm

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
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Patrik
Posts: 20
Joined: Fri Feb 17, 2012 7:22 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Mon Jun 04, 2012 2:26 pm

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:

Code: Select all

uname -r

normal
Posts: 61
Joined: Sun May 27, 2012 9:50 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Tue Jun 05, 2012 6:26 pm

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.

MrEngman
Posts: 3856
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Tue Jun 05, 2012 11:44 pm

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

Code: Select all

export SKIP_KERNEL=1
rpi-update
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.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rdmandel
Posts: 1
Joined: Fri Jul 27, 2012 9:44 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Fri Jul 27, 2012 9:51 pm

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.

jjones3
Posts: 4
Joined: Fri Aug 17, 2012 7:21 pm

Re: Debian Squeeze: WiFi RealTek RTL8191SU: Problem Setting

Fri Aug 17, 2012 7:26 pm

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]

Return to “Troubleshooting”