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!