Ubuntu Issues With Wireless

If you have installed Ubuntu on your notebook/netbook, You might experience some problems with your wireless card, as Ubuntu might load a wrong driver or don’t recognize your wireless card at all.

In my case, Ubuntu loaded the wrong driver for a Ralink rt3090 card, but you can do it for any other model without a problem, just replace the number 3090 with yours.

Here is how it’s done:

  • Download the Official Driver from Ralink to your home directory, Here , Look for 3090 on the page
  • Extract the downloaded archive, by right clicking it and choosing “extract here” from pull down menu.
  • A folder will be created in your home directory which we will refer to it like 20***, Replace the asterisk with the actual name when needed
  • Locate the file 20***/os/linux/config.mk, open it with gedit by double clicking it
  • In the file config.mk find the option HAS_WPA_SUPPLICANT=n and change it to HAS_WPA_SUPPLICANT=y (if it’s already set, don’t worry, just leave it like that)
  • Find the option HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n and change it to HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
  • Find the option HAS_CFG80211_SUPPORT=y and change it to HAS_CFG80211_SUPPORT=n
  • Locate the file ./20**/common/cmm_wpa.c and open it for editing with gedit. If it gives error about encoding, from gedit’s pull down menu choose “Western
  • find the option WPA_MIX_PAIR_CIPHER FlexibleCipher = MIX_CIPHER_NOTUSE and change “The Entire Line” to WPA_MIX_PAIR_CIPHER FlexibleCipher = WPA_TKIPAES_WPA2_TKIPAES; with the semicolon at the end
  • Open the Terminal and go to the directory 20*** it’s probably here: ~/Downloads/20**, you can use the command “cd ~/Downloads/20*
  • Issue this commands, you can copy/paste them:

read [1] about step 5, read [2] about step 9,11

  1. sudo make
  2. sudo make install
  3. sudo ifconfig wlan0 down
  4. sudo rmmod rt2860sta #you might need to replace the number
  5. sudo mv /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt2860/rt2860sta.ko ~/rt2860sta.ko
  6. sudo depmod -a
  7. sudo modprobe rt3090sta
  8. sudo ifconfig wlan0 up #it might be ra0 instead of wlan0
  9. sudo cp ~/Downloads/20*/os/linux/rt3090sta.ko /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt2860/
  10. sudo mkdir /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt3090/
  11. sudo cp ~/Downloads/20*/os/linux/rt3090sta /lib/modules/2.6.38-11-generic/kernel/drivers/staging/rt3090/
  • at the end of the file /etc/modules add “rt3090sta” without quotations.

And your are done, BUT PAY ATTENTION: you need to do this every time you update your kernel

[1]: you need to replace the number 2.6.38-11 with the current kernel version you are using, you can find that information with the command “uname -r”

[2] if it gives an error about not finding the flie rt3090sta, just replace the first appearance of number 3090 in command with 2860

Posted: August 29th, 2011
Categories: tut::Ubuntu
Tags: , , , , ,
Comments: No Comments.

Paintyyyy

An application for Symbian (S60 3rd edition+) which will draw a line on screen by turning and moving phone. You should have python 1.9.7 installed. Paintyyyy version 2.0.0 for Nokia 5800:

Usage: Touching upper right : will ‘exit’ from Paintyyyy

Touching upper left : will ‘clear screen’

Touching lower right : will ‘change color’ of pen from black to white or vica versa

Touching lower left : will ‘stop’ drawing meanwhile your hand is on screen

Touching lower right and then upper left: will set background color to black and pen’s to white or vice versa

Paintyyyy version 2.0.1 for All Phones with accelerometer:

Usage: Down Arrow : will ‘change color’ of pen from black to white or vice versa

Up Arrow : will ‘clear screen’ Key 0 : will ‘exit’ from Paintyyyy

‘Down Arrow’ and then ‘Up Arrow’ : will set background color to black and pen’s to white or vice versa

 

Requirements: symbian OS, python 1.9.7, accelerometer-enabled device

Download:

For Nokia 5800

For All Accelerometer Enabled Phones

Posted: December 23rd, 2010
Categories: app::symbian
Tags:
Comments: No Comments.