LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 10-13-2009, 10:18 PM   #1
Torsten1981
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Firmware for Realtek 8192


Hi,

I have a Realtek rtl8192 wireless card in my notebook. Unfortunately it was not supported by the kernel until 2.6.31. Lucky me there is a staging driver in 2.6.32 for this card (rtl8192E). I've compiled it but the kernel module needs to load a firmware (boot.img)
i've spent many hours searching for the firmware file but i've had no luck.
does anybody know where i can get the needed file or perhaps you have some other hints for me to get the wlan running

thanks a lot

Torsten
 
Old 10-14-2009, 03:33 PM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
Hi, try this page (unpack and copy firmware to /lib/firmware), or try looking into the windows driver package for .bin files...

Serafean
 
Old 10-14-2009, 04:37 PM   #3
Torsten1981
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Serafean,

thank you for your answer. unfortunately there isn't any url in your reply.


Quote:
Originally Posted by serafean View Post
Hi, try this page (unpack and copy firmware to /lib/firmware), or try looking into the windows driver package for .bin files...

Serafean
 
Old 10-17-2009, 06:55 AM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
Very sorry repaired. And is I said, look into the windows installation files for the firmware (from your first post, I'd say boot.img.) another source of info is here

Serafean
 
Old 10-20-2009, 01:48 PM   #5
mariogiov
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Rep: Reputation: 0
rtl8192e firmware available

Hi Torsten --
I recently dealt with getting the Realtek 8192E card working using the 2.6.32(-rc5 I think?) kernel. I also had trouble finding the firmware for the card, but I finally got ahold of them (thanks Greg!). I was going to post the requisite files here but there doesn't appear to be a way to do that. I believe you can email me (?) from this forum and I can send the firmware to you directly. I'm fairly new to this particular forum but I'll see if I can put them in a blog and link to them there as well. This should allow you to avoid using NDISwrapper.

Either way, I believe they should be pushed into the linux-firmware package soon.

mario
 
Old 10-24-2009, 02:08 PM   #6
micro.
LQ Newbie
 
Registered: Oct 2009
Location: ATX
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
I'm about to try this...

May I ask where to get the firmware?
 
Old 10-26-2009, 09:51 AM   #7
find.karl
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
Has anyone managed to get the RTL8192E wireless working under a 64bit version of linux?

I recently decided that I would ditch Windows in favor of Ubuntu but am being held back by that fact that my wireless card does not even show-up in Ubuntu 9.1. I have searched everywhere but have yet to hear that someone actually got it working. I really don't have the knowledge, time or patience to spend weeks in the depths of Linux code etc. to get this essential component working. Sadly it looks like I will probably have to go back to Windows soon.

Any help very much appreciated
 
Old 10-27-2009, 03:01 AM   #8
alpha-linux
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Hello,
Can anyone upload the firmwarefor the rtl8192e?
I think many of us would really appreciate that.


Greetings
 
Old 10-27-2009, 04:36 PM   #9
micro.
LQ Newbie
 
Registered: Oct 2009
Location: ATX
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
kernel panic

I'm still attempting to get this working with debian 5.0 'lenny' 64 bit but have yet to be successful.

I'm attempting to compile the linux-2.6.32-rc5 kernel from source with the staging drivers for the 8192E chipset.

So far, I keep getting a kernel panic after compiling at least three different times. I am using the same machine I compiled with so it would take some time to type out the output from the kernel when loading the ramdisk... (I think that's what it was saying before hand.)

[ 24.307015] <IRQ> [<ffffffff812f81b7>] ? Panic+0x86/0x141

That's the first line on the screen when kernel goes to panic...

Goes on to oops_end...
__bad_area_nosemaphore...
Page_fault...
rtl8192_irq_rx_tasklet+0x2a1/0x1770 [r8192_pci]

And ends with...

[ 24.308220] [<ffffffff8100fdd5>] ? cpu_idle+0x59/0x91


All totally foreign to me, I hate to say... Something's not doing something right, lol.

Any advice?
 
Old 10-27-2009, 05:56 PM   #10
alpha-linux
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Hey micro,
I think this can be the solution:
1. download drivers for RTL8192SE from: http://rapidshare.com/files/29879398...it.tar.gz.html

2. Extract files/folders go into HAL and edit Makefile:
replace NIC_SELECT = RTL8192SE with NIC_SELECT = RTL8192E
...
Although it's supposed to be for the RTL8192SE it works also with the RTL8192E.
But you need the firmware for RTL8129E which i dont have.
I still would appreciate if somebody could upload the firmware.

Edit:
I tried to get the NIC work with the RTL8192SE firmware but it doesnt work i think because of two reasons:
1. it is not in the right format (*.bin original) but is requested as boot.img
-> i already renamed it and put it into /lib/firmware/RTL8129E, /lib/firmware/, /lib/firmware/`uname -r`, lib/firmware/`uname -r`/RTL8192E
2. it is not the right firmware oviously.


Regards,
alpha-....

Last edited by alpha-linux; 10-27-2009 at 06:01 PM.
 
Old 10-29-2009, 07:20 PM   #11
micro.
LQ Newbie
 
Registered: Oct 2009
Location: ATX
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
hmmm

I'm having an issue trying to 'make' after unpacking the archive...

(btw, I found the Makefile in /rtl8192se_linux_2.6.0010.1020.2009_64bit/HAL/rtl8192/)

I tried once by editing the Makefile as regular user then 'su' to 'make' before removing the directory and starting over with root privileges...

########################

micro@debian-satellite:/mnt/shared/progz/linux/rtl8192$ tar xvf rtl8192se_linux_2.6.0010.1012.2009_64bit.tar.gz
rtl8192se_linux_2.6.0010.1020.2009_64bit/
*snip*
cd rtl8192se_linux_2.6.0010.1020.2009_64bit

##set the first line to 'NIC_SELECT = RTL8192E'

nano -w HAL/rtl8192/Makefile

##checked the readme.txt file and looked at the different ways to install... I was just planning on make && make install

debian-satellite:/rtl8192se_linux_2.6.0010.1020.2009_64bit# make
make: *** /lib/modules/2.6.30-bpo.2-amd64/build: No such file or directory. Stop.
make: *** [all] Error 2
debian-satellite:/mnt/shared/progz/linux/rtl8192/rtl8192se_linux_2.6.0010.1020.2009_64bit# mkdir /lib/modules/2.6.30-bpo.2-amd64/build
debian-satellite:/mnt/shared/progz/linux/rtl8192/rtl8192se_linux_2.6.0010.1020.2009_64bit# make
make[1]: Entering directory `/lib/modules/2.6.30-bpo.2-amd64/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.30-bpo.2-amd64/build'
make: *** [all] Error 2

############################

I looked around the Makefile and in /lib/modules... Of course, the directory I had created was empty.

Hmmm... That wasn't what I'd anticipated...

**edited**

I believe I had installed the backports kernel image through aptitude. Regardless, I went ahead and compiled a 2.6.30 kernel from source and then make && make install the drivers with root privileges. Everything went fine and I see that it requests the firmware with no obvious problems.

Knetworkmanager runs by default (I usually do a very minimalistic DE by net installing debian and then adding kdebase and what packages I want using aptitude through cli, but since this is a new machine and I wanted more capability without the work, I opted to see how it would handle bloated KDE...

Anywho... It sees the interface and will attempt to connect to my router but fails...

####################################################

debian-satellite:/home/micro# dmesg
*snip*
[ 984.956023] softmac_mgmt_xmit():insert to waitqueue!
[ 999.648054] rtl819xE:Setting SW wep key
[ 1000.916520] softmac_mgmt_xmit():insert to waitqueue!
*snip*
####################################################

It's the same on and on...

I am still looking into managing it via cli.

I added:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
ssid="XXXXXXXXXXXX"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="XXXXXXXXXXX"
}

... to my /etc/wpa_supplicant.conf file (marked out secure information, lol) and tried:

#######################################################

debian-satellite:/etc/wpa_supplicant# wpa_supplicant -iwlan0 -Dr8192e_pci -c/etc/wpa_supplicant.conf
Unsupported driver 'r8192e_pci'.

debian-satellite:/etc/wpa_supplicant#

#######################################################

The good thing is that the interface is recognized and everything seems to be running fine. I just have to figure out how to connect now, lol. I'm almost there, though... I can almost taste it...

Thanks for all the help so far...

Last edited by micro.; 10-30-2009 at 03:15 PM.
 
Old 10-31-2009, 09:21 AM   #12
Torsten1981
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,

I finally have got the firmware. If somebody wants to have it too, please write an email.
Nevertheless the device doesnt't work. I changed the Makefile, make amd make install worked fine, dmesg tells that the device has been recognised, I can bring the device up but it is not possible to connect to the router. I also tried it without any network security like wep or wpa. If i scan for wlan nothing is found. If i try "iwconfig wlan0 essid 12345 ap any" iwconfig tells me that the ap is invalid.
dmesg tells me something about the activities but it makes no sence for me. i'm going to post the dmesg message later.

Is there anybody with an idea what i could try?

Torsten

Last edited by Torsten1981; 10-31-2009 at 01:24 PM.
 
Old 10-31-2009, 08:54 PM   #13
mariogiov
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Rep: Reputation: 0
I believe the firmware is also available via this link:
http://rapidshare.com/files/30069734...mware.zip.html

Perhaps this will help!
 
Old 11-02-2009, 07:49 AM   #14
Torsten1981
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,

okay, here is the demsg message I get trying to connect to my router:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'WEP'

Linux kernel driver for RTL8192 based WLAN cards
Copyright (c) 2007-2008, Realsil Wlan
rtl819xE 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
rtl819xE 0000:02:00.0: setting latency timer to 64
===============>NIC 8192E
Dot11d_Init()
IRQ 16============>r8192_wx_set_essid():driver is not up return
===>rtl8192_SetWirelessMode(), wireless_mode:0x8, support_mode:0x16
<===rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/boot.img
rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/main.img
rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/data.img
===>ieee80211_start_scan_rsl()
====================>haha:IPSEnter()


===>rtl8192_SetWirelessMode(), wireless_mode:0x10, support_mode:0x16
<===rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
===>ieee80211_start_scan_rsl()
===>ieee80211_start_scan_rsl()
rtl819xE:Setting SW wep key
rtl819xE:EnableHWSecurityConfig8192:, hwsec:1, pairwise_key:1, SECR_value:f

rtl819xE:====>to setKey(), dev:ffff88013bf80000, EntryNo:0, KeyIndex:0, KeyType:1, MacAddr00:00:00:00:00:00

rtl819xE:=========>after set key, usconfig:8004


Is there anybody out there with an idea?


in addition: if i want to bring up the device when my usb wlan is already up i'm getting the following message:


Linux kernel driver for RTL8192 based WLAN cards
Copyright (c) 2007-2008, Realsil Wlan
rtl819xE 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
rtl819xE 0000:02:00.0: setting latency timer to 64
===============>NIC 8192E
Dot11d_Init()
IRQ 16===>rtl8192_SetWirelessMode(), wireless_mode:0x8, support_mode:0x16
<===rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/boot.img
rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/main.img
rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/data.img
rtl819xE:====>error=====dwRegRead: 2f, WriteData: 27

rtl819xE:PHY_RF8256_Config():Check Radio[0] Fail!!

rtl819xE:PHY Initialization failed

rtl819xE:RF Config failed

rtl819xE:ERR!!! _rtl8192_up(): initialization is failed!

perhaps there is any problem with the generic 802.11 stuff but i also tried to use the one that ist included in the realtek driver package. it doens'T help

bye

Last edited by Torsten1981; 11-02-2009 at 10:43 AM.
 
Old 11-03-2009, 10:54 PM   #15
find.karl
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
Just a guess (No really) but looking at the output it looks like the Wireless card is not up meaning that you still have a driver issue.

“IRQ 16============>r8192_wx_set_essid():driver is not up return”

I was getting ready to try and write one but then I discovered that my sound was not working and my DVD is only working as a CD so I decided to give it up and run Linux in VirtualBox. Sad really, it would be nice if hardware vendors supported Windows, Linux and Mac as a rule. I would love it if I could see that a machine was “Linux Certified” prior to purchase.
 
  


Reply

Tags
driver, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure to find E100 firmware even though present in /lib/firmware afhartman Linux - Networking 2 07-27-2009 08:31 AM
Samba - When is "socket options = SO_SNDBUF=8192 SO_RCVBUF=8192" Nessesary? JeffC1 Linux - Software 4 09-05-2008 10:39 AM
Raising Number Of File Descriptors To 8192 debloxie Linux - Software 2 12-18-2006 11:37 AM
Raising Number Of File Descriptors To 8192 debloxie Fedora 1 12-18-2006 06:37 AM
messed up my ipod firmware..need new firmware.. casimir Linux - Hardware 2 09-13-2004 09:11 PM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration