Hi! Some general question + Wifi USB Realtek RTL8191S

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Fri Nov 01, 2013 10:33 am

I found an old rt73usb donle in one of the boxes in my cupboard.

I have connected it to the nwsp2 and its working on wpa connection using wpa-supplicant
Thanks for the example conf file, it saved me some time to figure it out. ;)
assigning ip address automatic is not working, but manual works as you described.
lets see if we can solve this last
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Fri Nov 01, 2013 2:44 pm

I did what you recommended on page 5 of this thread )althoug the file is already present one folder up=.



mkdir /lib/firmware
mkdir /lib/firmware/rtlwifi
cp /share/1000/public/rtl8712u.bin /lib/firmware/rtlwifi/
chmod 755 /lib/firmware/rtlwifi/rtl8712u.bin


Attachment:
rtl8712u.zip [64.71 KiB]



Now it is in the webinterface:

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=8172 Rev=02.00
S: Manufacturer=Manufacturer Realtek
S: Product=RTL8191S WLAN Adapter
S: SerialNumber=00e04c000001
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u
I: If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u


But ifconfig does not find any wlan interface
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Fri Nov 01, 2013 3:11 pm

did you do
Code: Select all
ifconfig wlan0 up
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Fri Nov 01, 2013 3:20 pm

yes but

ifconfig:SIOCGIFFLAGS: No such device
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Fri Nov 01, 2013 6:53 pm

mmm..what do the commands "iwconfig" and "ifconfig" give as output
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Fri Nov 01, 2013 8:12 pm

here it is

root@fvdwsl-base:/ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:4B:91:71:FF
inet addr:192.168.178.2 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::2d0:4bff:fe91:71ff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5881 errors:0 dropped:0 overruns:0 frame:0
TX packets:2967 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:637862 (622.9 KiB) TX bytes:250019 (244.1 KiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:696 errors:0 dropped:0 overruns:0 frame:0
TX packets:696 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:57352 (56.0 KiB) TX bytes:57352 (56.0 KiB)

root@fvdwsl-base:/ # iwconfig
ipddp0 no wireless extensions.

lo no wireless extensions.

tunl0 no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Fri Nov 01, 2013 8:25 pm

clearly no driver loaded

its getting confusing.
I will compile a kernel with all drivers included to avoid we miss any modules.
the firmware files should be there in this /lib/firmware folder not sure if it also needs to be in sub folder rtlwifi
Compiler is running...
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Fri Nov 01, 2013 8:32 pm

pm sent with a new trial kernel
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby matzi » Fri Nov 01, 2013 9:04 pm

kernel loaded and running.

Results are

dmesg

[ 12.724925] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 12.888518] usb 1-1: New USB device found, idVendor=0bda, idProduct=8172
[ 12.898537] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 12.914960] usb 1-1: Product: RTL8191S WLAN Adapter
[ 12.919920] usb 1-1: Manufacturer: Manufacturer Realtek
[ 12.943353] usb 1-1: SerialNumber: 00e04c000001
[ 12.963352] r8712u: Staging version
[ 12.967046] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 12.972789] usb 1-1: r8712u: USB_SPEED_HIGH with 4 endpoints
[ 13.005136] usb 1-1: r8712u: Boot from EFUSE: Autoload OK
[ 13.758509] usb 1-1: r8712u: CustomerID = 0x000a
[ 13.763126] usb 1-1: r8712u: MAC Address from efuse = 00:0d:81:aa:25:7e
[ 13.776560] usb 1-1: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"




webinterface

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=8172 Rev=02.00
S: Manufacturer=Manufacturer Realtek
S: Product=RTL8191S WLAN Adapter
S: SerialNumber=00e04c000001
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u
I: If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u


ifconfig
root@fvdwsl-base:/ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:4B:91:71:FF
inet addr:192.168.178.2 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::2d0:4bff:fe91:71ff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:227 errors:0 dropped:0 overruns:0 frame:0
TX packets:1040 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29232 (28.5 KiB) TX bytes:86821 (84.7 KiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:256 errors:0 dropped:0 overruns:0 frame:0
TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26871 (26.2 KiB) TX bytes:26871 (26.2 KiB)


iwconfig
root@fvdwsl-base:/ # iwconfig
ipddp0 no wireless extensions.

lo no wireless extensions.

tunl0 no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Hi! Some general question + Wifi USB Realtek RTL8191S

Postby fvdw » Fri Nov 01, 2013 9:13 pm

:scratch
at least we know it loads the the firmware from /lib/firmware/rtlwifi

maybe this dongle needs a a newer firmware...

try this one
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 12 guests