Forum

Full Version: 300mbps wlan adapter RTL8191SU
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
will this adapter work on xbian?
based on RTL8191SU
i have a 150n now, but the speed for hd is just not enough

http://www.ebay.de/itm/WLAN-Dongle-Wireless-USB-2-0-Stick-300Mbps-Realtek-Neu-/400408067358?pt=DE_Computing_USB_WLAN_Adapter_Dongles&hash=it...194wt_1139
Yes but you probably need a powered USB hub for that one.
Have you been able to verify if this works?? I have been fighting with this http://www.trendnet.com/products/proddetail.asp?prod=200_TEW-649UB but I cannot get it to work.

Ninja edit: it is also using the RTL8191SU chipset.
Can you try this:

Code:
sud su            #default password = raspberry
cd /lib/modules/3.6.11+/kernel/net/wireless/
wget http://www.t3node.com/fileadmin/user_upload/linux/r8712u.ko
apt-get install firmware-realtek
depmod -a
modprobe r8712u
dmesg

The output of the dmesg command should look something like this
Code:
r8712u: module is from the staging directory, the quality is unknown, you have been warned.
usbcore: registered new interface driver r8712u
usb 1-1.2: new high speed USB device number 6 using dwc_otg
usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8172
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: RTL8191S WLAN Adapter
usb 1-1.2: Manufacturer: Manufacturer Realtek
usb 1-1.2: SerialNumber: 00e04c000001
r8712u: DriverVersion: v7_0.20100831
r8712u: register rtl8712_netdev_ops to netdev_ops
r8712u: USB_SPEED_HIGH with 4 endpoints
r8712u: Boot from EFUSE: Autoload OK
r8712u: CustomerID = 0x000a
r8712u: MAC Address from efuse = 00:0a:eb:14:13:52
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
r8712u: 1 RCR=0x153f00e
r8712u: 2 RCR=0x553f00e

If yes, the firmware is now working and you can setup your wireless in xbian-config.
You cannot simply download modules from the internet because the kernel versions must be the same (you could have tested this yourself). If you can provide me with the source of the module i will compile it.
(12th Mar, 2013 10:47 PM)CurlyMo Wrote: [ -> ]You cannot simply download modules from the internet because the kernel versions must be the same (you could have tested this yourself). If you can provide me with the source of the module i will compile it.
Sorry, this about the depth of my linux knowledge. What module are you referring to?
This is the result after I performed the above steps and before reboot
Code:
root@xbian:/home/xbian# iwconfig
wlan0     unassociated  Nickname:"rtl_wifi"
          Mode:Managed  Access Point: Not-Associated   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

and dmesg

Code:
[    3.504521] usb 1-1.3.1.1: new high-speed USB device number 7 using dwc_otg
[    3.606979] usb 1-1.3.1.1: New USB device found, idVendor=0bda, idProduct=8172
[    3.607006] usb 1-1.3.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.607022] usb 1-1.3.1.1: Product: 11n USB Ada
[    3.607035] usb 1-1.3.1.1: Manufacturer: Manufacturer Realtek
[    3.607048] usb 1-1.3.1.1: SerialNumber: 00e04c000001
[    6.376128] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[    6.380291] r8712u: Staging version
[    6.380399] r8712u: register rtl8712_netdev_ops to netdev_ops
[    6.380419] r8712u: USB_SPEED_HIGH with 4 endpoints
[    6.446438] r8712u: Boot from EFUSE: Autoload OK
[    8.229311] r8712u: CustomerID = 0x0000
[    8.229339] r8712u: MAC Address from efuse = d8:eb:97:18:da:eb
[    8.229352] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"

Then I reboted and now these are the results of the above steps

Code:
root@xbian:/lib/modules/3.6.11+/kernel/net/wireless# modprobe r8712u
ERROR: could not insert 'r8712u': Exec format error
root@xbian:/lib/modules/3.6.11+/kernel/net/wireless# dmesg
...
[    3.504545] usb 1-1.3.1.1: new high-speed USB device number 6 using dwc_otg
[    3.606996] usb 1-1.3.1.1: New USB device found, idVendor=0bda, idProduct=8172
[    3.607022] usb 1-1.3.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.607039] usb 1-1.3.1.1: Product: 11n USB Ada
[    3.607052] usb 1-1.3.1.1: Manufacturer: Manufacturer Realtek
[    3.607065] usb 1-1.3.1.1: SerialNumber: 00e04c000001
[    6.031308] r8712u: disagrees about version of symbol module_layout
[    6.033224] r8712u: disagrees about version of symbol module_layout
The 8712 module has been present in the kernel for the past 2 weeks as you can see here:
https://github.com/xbianonpi/xbian/tree/xbian-beta1/lib/modules/3.6.11%2B/kernel/drivers/staging/rtl8712

Just run:
Code:
sudo modprobe r8712u

@Koenkk, if you're looking for a module just search in this file:
https://github.com/xbianonpi/xbian/blob/xbian-beta1/lib/modules/3.6.11%2B/modules.dep
Ok, so then its not a module or firmware issue but I still can't connect. I'm open to suggestions.
Keep in mind 300mbps adapters are quite useless on the pi as the usb interface on the pi is only 100mbps.
That makes sense. Is the only solution to buy a new dongle?
How do you mean?
I was asking in this thread http://forum.xbian.org/thread-590-page-3.html. I can't seem to stay connected to my available networks.
I don't know what the exact problem is. But basically the Edimax ew-7811UN is just THE dongle for the pi.
Pages: 1 2
Reference URL's