Hi! Some general question + Wifi USB Realtek RTL8191S

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

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

Sorry, no difference
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:30 pm

seems we are at the same point were msa-lacie stopped, driver loaded but still not visible in ifconfig or iwconfig :thinking
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 9:36 pm

did you dongle came with a CD, that might have (linux) drivers on it ?
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 10:21 pm

yes there is a CD...
You do not have the required permissions to view the files attached to this post.
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 11:59 pm

thanks, I look at those file but thats a no go in combination with linux-3.9.5
I think we have a driver bug here maybe a more recent kernel contains a fix.
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 » Sat Nov 02, 2013 8:48 am

looking to the kernel code the chance that we have the wrong driver is not high, the device is clearly listed
Probably we need to find the right firmware file.

Additionally I found some info how to adapt the source coude of the driver as on your cd. maybe it will compile then

so still there is hope :-D
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 » Sat Nov 02, 2013 12:09 pm

Just an experience:
I gave this dongle try on my raspberry pi. The pi is running linux 3.6. At first try no success. Almost the same situation as on the lacie. Shown in dmesg, but not visible for ifconfig. Then I searched the net for a special .bin file for this. Found, installed, running! Tried the file on lacie - no success. At least it shows were on the right track.
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 » Sat Nov 02, 2013 12:49 pm

I am made progress in compiling the driver from source downloaded from realtek site
with some patching :whistle
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 » Sat Nov 02, 2013 4:54 pm

:punk think I managed to compile the native driver for RTL8192S from realtek for linux-3.9.5
Now I need to adapt the kernel so we can load it as module

In the meantime I also manged to get the ralink (rt73usb) based dongle working on wpa2.
with wpa_supplicant it connects and with udhcpc I can get an ip address also visible when lease is obtained form the router without any other setting (so no "route" commands) Also disconnecting the fixed lan cable on eth0 leaves the connection working
So in principle there is no reason why other dongles should not run, we only need a proper driver

example output rt73usb wlan dongle
Code: Select all
root@nwsp2-5:/ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0

root@nwsp2-5:/ #


Code: Select all
root@nwsp2-5:/ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:D0:4B:91:17:22
          inet addr:192.168.1.147  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2d0:4bff:fe91:1722/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:626 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1364 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:53749 (52.4 KiB)  TX bytes:112702 (110.0 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:351 errors:0 dropped:0 overruns:0 frame:0
          TX packets:351 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:33215 (32.4 KiB)  TX bytes:33215 (32.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:0A:78:9D:C9:F5
          inet addr:192.168.1.166  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:78ff:fe9d:c9f5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:494 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:77796 (75.9 KiB)  TX bytes:2390 (2.3 KiB)

root@nwsp2-5:/ #


Code: Select all
root@nwsp2-5:/ # iwconfig
ipddp0    no wireless extensions.

lo        no wireless extensions.

tunl0     no wireless extensions.

sit0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"xxxx"
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:24:01:28:AC:5D
          Bit Rate=54 Mb/s   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=44/70  Signal level=-66 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:749   Missed beacon:0

eth0      no wireless extensions.


wpa-aJPG.JPG
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

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

Postby fvdw » Sat Nov 02, 2013 7:34 pm

@matzi
pm sent with a new kernel and driver
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