Posts: 27
benji
Joined: 10 Nov 2008
#1
Please help me out with an advise
I got an usb dongle with rtl8192s chip, but its driver isn't in the 2.6.32-1 kernel
Please take a look at this:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.debian.org/rtl819x"
linktext was:"http://wiki.debian.org/rtl819x"
====================================

Is it safe to follow the tutorial in the Installation-Lenny section for a kernel upgrade?
TIA
benji
Last edited by benji on 22 Oct 2010, 06:51, edited 1 time in total.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#2
I just looked in the config for the 2/.6.32-1-mepis-smp and it shows the

Code: Select all

CONFIG_RTL8192SU=m
and then I looked in
/lib/modules/2.6.32-1-mepis-smp/kernel/drivers/staging/rtl8192su

and there is

r8192s_usb.ko

so the driver is there

since wireless-tools is already installed
how about trying as root in terminal

modprobe r8192s_usb

then iwconfig

edit: If that does not work, then you should be able to follow the wiki link you supplied and install the firmware-realtek

cheers,
ohh
Posts: 27
benji
Joined: 10 Nov 2008
#3
Thank you, you are right, it's really there, I have read that it is"Enabled in linux-2.6 2.6.32-10", sorry.

But unfortunately it still doesn't work.

Code: Select all

# modprobe r8192s_usb
# iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.
And rutilt says:
Critical error :
Can't find any wireless network interface.
Code : -3

Previously I removed wicd, could that be the problem?
Or should I edit /etc/network/interfaces?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
edit: If that does not work, then you should be able to follow the wiki link you supplied and install the firmware-realtek

firmware-realtek should be in your synaptic package manager or can be installed using apt-get install firmware-realtek as root through terminal.

Code: Select all

biker@antiX1:~$ apt-cache policy firmware-realtek
firmware-realtek:
  Installed: (none)
  Candidate: 0.26
  Version table:
     0.26 0
        500 http://ftp.us.debian.org/debian/ testing/non-free i386 Packages
biker@antiX1:~$ 
After installing firmware-realtek. Try ifconfig or iwconfig again. If wireless is then detected. rutilt should pick it up then.
Posts: 27
benji
Joined: 10 Nov 2008
#5
__{{emoticon}}__ Doesn't work... but thanks anyway.

May somebody use this thing successfully or something else with this chip?
Posts: 27
benji
Joined: 10 Nov 2008
#6
Okay, it works with ndiswrapper,
and natively too, could be useful for someone, so here is the solution:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ubuntuforums.org/archive/index.php/t-1451484.html"
linktext was:"http://ubuntuforums.org/archive/index.p ... 51484.html"
====================================
(chili555 May 6th, 2010, 09:32 AM)
Please remove the device, open a terminal and do:sudo gedit /etc/udev/rules.d/network_drivers.rules
The text editor gedit will open ready for you to write a new file. Add one long line:ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8171", RUN+="/sbin/modprobe -qba r8192s_usb"
Proofread carefully. Save and close gedit. Now do:sudo gedit /etc/modprobe.d/network_drivers.confAdd one long line:install r8192s_usb /sbin/modprobe --ignore-install r8192s_usb $CMDLINE_OPTS; /bin/echo"0bda 8171" > /sys/bus/usb/drivers/rtl819xU/new_id
Proofread, save and close gedit. Re-insert the device.
I only had to change the device ID 0bda:8171 to mine, that I found out with

Code: Select all

#lsusb
Thanks, chili555!

Code: Select all

# iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     802.11b/g  link  ESSID:"***"  
          Mode:Managed  Frequency=2.462 GHz  Access Point: ***   
          Bit Rate=54 Mb/s   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:***   Security mode:open
          Power Management:off
          Link Quality=86/100  Signal level=-54 dBm  Noise level=-113 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
__{{emoticon}}__
Now antiX is completely fully functional for me! Thank you!
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#7
and thanks for posting the fix.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#8
Excellent post benji, __{{emoticon}}__

It's great to see someone persevere and be successful in tackling a problem, and very good of you to post your solution so others with the same problem will be able to resolve it due to your diligence.




cheers,
ohh