Results 1 to 4 of 4

Thread: NET-WL-UMD-606N and Linux

  1. #1

    NET-WL-UMD-606N and Linux

    The Solwise NET-WL-UMD-606N is very neat but is not recognised by Ubuntu 10.10 (Maverick). Fortunately it is fairly simple to make it work.

    The NET-WL-UMD-606N uses the Realtek RTL8188CU chip and Realtek produce a Linux driver. Download it
    here or go to www.realtek.com and follow the links through Downloads / Communications / Network ICs / Wireless LAN ICs / WLAN NIC / IEEE 802.11b/g/n Single Chip / Software / RTL8188CUS
    You should end up with a zip file RTL8188CUS_v2.0.1212.zip

    Code:
    % unzip RTL8188CUS_v2.0.1212.zip
    % cd RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1212.20101208/
    % chmod +x install.sh
    The script tries to figure out whether to use su or sudo to get root, but it does not work correctly for default Ubuntu (ie where you have not created a root password). Simply edit install.sh, look for the two lines saying:
    Code:
    if [ "`uname -r |grep fc`" == " " ]; then
    and remove the space between the double quotes
    Code:
    if [ "`uname -r |grep fc`" == "" ]; then
    Then run
    Code:
    % ./install.sh
    to compile and install the module.

    If all goes well, you get
    Code:
    The Setup Script is completed !
    You can check the module is loaded with:
    Code:
    $ lsmod | grep 8192
    8192cu                310805  0
    Plug in your USB dongle and open the network manager applet and you should see a wireless networking section. If not, try a reboot.

    I have not tested extensively but it connects easily to my 802.11g router.

    Note: If you upgrade the kernel you will need to run ./install.sh again to compile and install against your new kernel so keep the source code handy.

    From the thread at https://patchwork.kernel.org/patch/288882/ it looks like a suitable driver will be included in standard distros soon.

    Hope this helps!

  2. #2
    Join Date
    Oct 2004
    Location
    Leicestershire, England
    Posts
    11

    NET-WL-UMD-606N on Ubuntu and Lubuntu 11.04 (Natty)

    Quote Originally Posted by aydun View Post
    The Solwise NET-WL-UMD-606N is very neat but is not recognised by Ubuntu 10.10 (Maverick). Fortunately it is fairly simple to make it work. ...snip...
    Many thanks to Aydun for his post relating to Ubuntu 10.10 (Maverick). Starting from this I now have the dongle working well on Ubuntu 11.04 (Natty) and on the semi-official very light weight version Lubuntu Natty. Both WAP and WPS security are working. I am taking the liberty of cannibalising Aydun's work in what follows.

    On doing an lsusb command the NET-WL-UMD-606N shows as "0bda:8176 Realtek Semiconductor Corp" though it apparently uses the Realtek RTL8188CU chip.

    If you are using Lubuntu you will need to use the Synaptic package manager (or apt-get) to install "gcc" and "make" for the installation to work, so do that now. I suspect the same is true for Xubuntu.

    Download the Realtek Linux driver from
    - here
    by selecting
    - Communications network ICs
    - Wireless LAN ICs
    - WLAN NIC
    - IEEE 802.11b/g/n Single-Chip
    - Software
    then
    - ticking RTL8188CUS
    - clicking Go
    - selecting a download site for the Unix/Linux package

    The file used when preparing this note was
    - RTL8188CUS_linux_v3.0.1590.20110511.zip (a later version than available to Ayden)

    It can be saved in Downloads, or elsewhere. Unzip it and go in to the directory created:
    Code:
    % unzip RTL8188CUS_linux_v3.0.1590.20110511.zip
    % cd RTL8192CU_8188CUS_8188CE-VAU_linux_v3.0.1590.20110511/
    Aydun advises that we need to make a small change to the install script (install.sh). Open it in a text editor and look for the two lines both saying:
    Code:
    if [ "`uname -r |grep fc`" == " " ]; then
    and in both remove the space between the double quotes to give
    Code:
    if [ "`uname -r |grep fc`" == "" ]; then
    Save it and then make sure it is executable:
    Code:
    % sudo chmod +x install.sh
    Then run it:
    Code:
    % ./install.sh
    to compile and install the module.
    At some point you will need to enter your password.

    If all goes well, you get
    Code:
    The Setup Script is completed !
    - and it should work straight away. If not, try a reboot.

    BUT PLEASE NOTE: Whenever update manager updates the kernel you will need to re-do the installation ( ./install.sh ). So keep the files.

    Note added 25 June2012: At some point a driver was included with the Linux kernel, but comments elsewhere indicate that I am not alone in not getting it to work reliably. By using a slight variation on the above procedure I do now have the dongle working well with Ubuntu 12.04 on two machines, but not on a third. I hope crack this and then post again here. Aydun: Have you got anywhere with 12.04?
    Last edited by richardb; 25th June 2012 at 04:15 PM. Reason: Added note on Ubuntu 12.04.

  3. #3
    Quote Originally Posted by richardb View Post
    ... and it should work straight away.
    It does! Thanks richardb for updating this. It's good to see Realtek have fixed the driver - when I tried to update the driver on Natty about a month back it failed with a compilation error.

  4. #4
    Join Date
    Oct 2004
    Location
    Leicestershire, England
    Posts
    11

    NET-WL-UMD-606N with Ubuntu/Lubuntu 12.04 and 12.10

    These releases (and possibly other Linux varients) install a driver for the wireless mini dongle but it seems to have problems. A driver downloaded directly from RealTek for the RTL8188CUS chip used seems fine, but before installation the Ubuntu issued version needs to be sidelined, so simply following the procedure described in my previous post fails. I have now written a script (with embedded instructions) to simplify the whole procedure. This is it:
    Code:
    #!/bin/bash
    echo 
    echo "This script (mwdinstall.sh) is to"
    echo "    Install a Solwise NET-WL-UMD-606N mini wireless dongle on Ubuntu 12.04 or 12.10"
    echo "Before use please list it (cat mwdinstall.sh) and read the commented (#...) lines."
    echo -e "Have you done so and are now in the directory with the driver package etc.? (y/n): \c "
    read ans
    ans="$(echo $ans | tr 'A-Z' 'a-z')"
    if [ $ans = "y" ]; then
    echo "Thank you"
    else 
    echo "You really should!"
    exit
    fi 
    echo
    echo  "The script is provided in the hope that it will be helpful, but no liability for any consequenses of use can be accepted. You have been warned. Feel free to adapt and/or share it but please do not make any charge to others for it." 
    echo
    echo -e "Do you understand and accept the above? (y/n): \c "
    read ans
    ans="$(echo $ans | tr 'A-Z' 'a-z')"
    if [ $ans = "y" ]; then
    echo "You agreed"
    else 
    echo "You did not agree so should not make any use of this script."
    exit
    fi 
    # 
    # This process may well work on other Ubuntu versions, other Linux distributions and also with other dongles based on the  Realtek RTL8188CUS chip - see notes in comment lines at end.
    #
    # The dongle seemed to work to some extent with the kernel driver as incorportated initially in Ubuntu and Lubuntu 12.04 or 12.10 but was at best very unstable. 
    #
    #If using  Lubuntu and other "lightweight" linux versions you may need first to install compile (gcc) and make functionality, e.g through
    #        sudo apt-get build-essential 
    # BUT in Lubuntu 12.10 build-essential has vanished. Only the following was needed:
    #        sudo apt-get install gcc
    # even though  a search for gcc with Synaptic implied that it was already present.
    #
    # This script needs to be **run again** whenever the Linux kernel has been updated - typically in some semi-automatic software updates.
    # The kernel versions used in testing included 3.2.0-33 and 3.5.0-19 (3.2.0-23 up worked with earlier versions and probably will with this).
    #
    #################### GET THE DRIVER ##########################
    # You need the latest driver installation package - use Ethernet or download elsewhere and copy using a USB stick or whatever.
    # Get it from <http://www.realtek.com.tw/downloads/ > by selecting
    #	Communications network ICs
    #	Wireless LAN IC#s
    #	WLAN NIC
    #	IEEE 802.11b/g/n Single-Chip
    #	Software
    #then 
    #	ticking RTL8188CUS
    #	clicking Go
    #	selecting the download site for the Unix/Linux package
    #      unzipping the downloaded file
    #
    # The downloaded file used when preparing this note was
    #	RTL8188C_8192C_8192D_USB_linux_v3.4.2_3727.20120404.zip
    #
    # Best not to have the dongle attached yet to avoid a reboot later.
    #
    # ##################### Unpack it  ########################
    # (e.g. as folder RTL8188C_8192C_8192D_USB_linux_v3.4.2_3727.20120404)
    
    ################### Change into the resulting folder #####################
    # e.g. cd RTL8188C_8192C_8192D_USB_linux_v3.4.2_3727.20120404
    #and copy mwdinstall.sh (this script) into it.
    
    ################### Run this script ######################
    # If you have done the above then running this script using, say, 
    #                          sudo bash mwdinstall.sh
    # should do the following:
    #
    # 1) Find and report the kernel version
    # 2) Create or replace file blacklist-rtl8192 in  /etc/modprobe.d/blacklist.conf to disable the possibly wrongly selected Ubuntu supplied version.
    # 3) Rename the said problematic driver to effectively disable it, just in case 
    # 4) Run the install script you downloaded from Realtek. 
    
    # step 1
    KERNELVERSION=`uname -r | cut -c-8`
    echo
    echo For information: the running kernel is version $KERNELVERSION
    echo "The real work now starts. It will take a while."
    echo When asked to select the card, enter the digit 1
    echo -e "Do you want to continue? (y/n): \c "
    read ans
    ans="$(echo $ans | tr 'A-Z' 'a-z')"
    if [ $ans = "y" ]; then
    echo "You agreed"
    else 
    echo "You did not agree to continue."
    exit
    fi 
    # step 2
    echo
    echo We will now blacklist a problematic driver that the OS tries to use 
    echo This will not take immediate effect - needs e.g. a reboot 
    sudo echo "blacklist rtl8192cu" > /etc/modprobe.d/blacklist-rtl8192.conf
    
    # step 3
    echo
    echo We will now disable it by name change  as it sometimes seems to pop up again!
    sudo mv "/lib/modules/"$KERNELVERSION"-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko" "/lib/modules/"$KERNELVERSION"-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.WASko"
    
    # step 4 - the big one
    echo
    echo About to start the main install process. Reply with 1 when asked which chipset is being used.
    echo  The process takes a while and may display a warning message or two before completing. 
    echo  These are probably only warnings which the script deals with. 
    echo  If more drastic fail see the notes in this script.
    echo
    
    sudo bash install.sh
    
    #  Note that the module created is called 8192cu.ko - no rtl on the front - and is placed in 
    # /lib/modules/"$KERNELVERSION"-generic/kernel/drivers/net/wireless/
    
    echo
    echo Above should end with an encouraging message. If so ignore any
    echo warning messages. Plug in the dongle if necessary and try it.
    echo Be patient waiting for the initial connection.
    echo If it fails try rebooting.
    
    # On my system network manager asked for my WPA pass phrase and it then connected to my 802.11g router at 56Mbps. Seems stable.
    
    
    #Notes
    #----------
    # 1. The above is based on
    #      <http://www.solwiseforum.co.uk/showthread.php?9849-NET-WL-UMD-606N-and-Linux&highlight=NET-WL-UMD-606N>
    #      (Thanks for starting that, aydun) with reference to
    #      <http://www.r-statistics.com/2011/11/edimax-ew-7811un-usb-wireless-connecting-to-a-network-on-ubuntu-11-10/>
    #      <http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&ProdID=274>
    #      and ubuntuforums.com 
    
    # 2. If using (say) Lubuntu (which does not have the necessary compilation facilities by default), you will need first to install "gcc" and possibly "make". See note somewhere above.
    
    # 3. l susb reports the Solwise device  as 0bda:8176 The above  procedure will probably work for the Sabrent Mini USB-A11N (which also shows as 0bda:8176 on lsusb) and Guillemot Corp Hercules HWNUp-150 802.11n Wireless N Pico (which is physically the same size as the Solwise dongle and uses the same Realtek RTL8188CUS chip). It MAY work for the Netgear Micro G54/N150 (0846:9041) and Bekin N150 (050d:945a).
    # 
    # rjb 12 December 2012
    I call this mwdinstall.sh and run it using sudo bash mwdinstall.sh - note that it needs running after any kernel upgrade.

    Suggestions for improvements are welcome, as would be a simpler solution.
    Note 26 Feb 2013: A contact has advised that the above works with the TP-LinkTL-WN725N usb adaptor. - though of course you should buy the Solwise one!
    Last edited by richardb; 26th February 2013 at 06:31 PM. Reason: Note added at end re TP-LinkTL-WN725N

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •