Archive

Posts Tagged ‘hardware’

Using a USB modem for wireless 3G internet with Ubuntu 10.04 “Lucid Lynx”

October 2, 2010 Leave a comment

Many of these devices contain their own software to work with Windows.
If you use them with a Windows machine, they act like a USB flash key containing the software and will install the necessary drivers.
Once this is done, they switch into a different mode of operation and act like a modem from then on.
This is not required in Ubuntu so we just need to make sure the modem skips that first stage. It’s a very simple fix actually but will involve getting an internet connection through another means first i.e. home internet, wifi at a cafe, a friend’s place etc

Open a Terminal window (under the Applications menu, Accessories).
Type the following to install what you need

sudo apt-get install usb-modeswitch

This will ask you for your password in order to install the software.
Once it is completed, you can just insert the USB modem again and connect using the Network Manager applet near the top right hand corner of the screen.
From here it depends on the internet provider that the USB modem relates to but it should get you a good deal closer to getting it working.

Inexpensive 802.11n Wifi USB with Ubuntu 10.04 Lucid Lynx

June 18, 2010 6 comments

UPDATE: it may be possible to get this working with two simple lines. Tested as working under Ubuntu 10.10 “Maverick Meerkat”.

In a terminal window try the following and then reinsert the USB wireless N adapter.

cd /lib/firmware
ln -s RTL8192SE RTL8192SU

END UPDATE

 

I bought this relatively cheap USB wireless N adapter online but it did not work when initially inserted using Ubuntu 10.04 Lucid Lynx.

Now I cannot determine the speed as my Wireless Access point is actually on Wireless g (54Mbps) but this is what I did to get it working.

From the CD that came with the adapter, I copied off the file containing the Linux driver and then copied only the firmware to the appropriate location for Ubuntu to be able to utilise it.

(Assuming the CD is visible at /media/WLAN_6.58/)

Open a terminal window (from the Applications menu, Accessories), then type each line as shown below followed by Enter key each time.

mkdir ~/tmpwifidriver

cd ~/tmpwifidriver

cp /media/WLAN_6.58/USB-11N_RTL8191\&8188/Linux/rtl8192su_linux_2.6.0002.0708.2009.tar.gz ~/tmpwifidriver/

tar xvf rtl8192su_linux_2.6.0002.0708.2009.tar.gz

sudo cp -r ./rtl8192su_linux_2.6.0002.0708.2009/firmware/RTL8192SU/ /lib/firmware/

Just delete the temporary folder now to cleanup

rm -rf /home/tony/tmpwifidriver/

Then just insert the wifi USB adapter and click on the icon for Network Manager in the top right of the screen.  You should be able to see any nearby wireless hotspots.

For the record, my wifi adapter looks like this when queried with lsusb

Bus 001 Device 010: ID 0bda:8172 Realtek Semiconductor Corp.

A bargain for only $16!!