Enable The RT2860STA Linux Wireless Driver

August 31, 2009 by Linerd · Leave a Comment
Filed under: HowTo, Ubuntu, linux 

I've been using ndiswrapper and the Windows drivers for the Ralink RT2700E wireless card in my MSI Wind U100 432US. It turns our that the kernel included with Ubuntu Jaunty now includes the native Linux driver for this card. I'm not sure when this was added to the kernel, but I'm using version 2.6.28-15.

If you've been using ndiswrapper you'll need to disable it first. This is done by removing the ndiswrapper kernel module using the modprobe command. Open a terminal and enter

sudo rmmod ndiswrapper

You can now try out the RT2860STA driver by enabling the proper kernel module.

sudo modprobe rt2860sta

You should now be able to see a "new" wireless device called ra0 listed in the results of iwconfig.

iwconfig

You'll need to reconnect to your wireless network using Network Manager or whatever tool you use to connect to wifi.

If everything is working OK for you with the new driver, there are a few steps you need to take to make sure the changes hold after a reboot.

Blacklist ndiswrapper

You need to blacklist ndiswrapper to keep the module from loading on the next boot. Edit /etc/modprobe.d/blacklist.conf

sudo gedit /etc/modprobe.d/blacklist.conf

Add this line to the end of the file and save it.

blacklist ndiswrapper

Load the rt2860sta module at Boot Time

Edit /etc/modules to force the rt2860sta driver to be loaded when you boot.

sudo gedit /etc/modules

Add the following and save the file.

# wireless drivers for Ralink 2860
rt2860sta

You are now running your RT2700E wireless card with the native Linux driver.

Fade Out Images with GIMP

August 26, 2009 by Linerd · 5 Comments
Filed under: HowTo, image editing, linux, web development 

There's no need to go out and buy Adobe Photoshop and take Photoshop classes. Just follow this simple GIMP tutorial to learn how to fade out the edge of an image.

One of the features that gives images a web 2.0 kind of look is fading out the edges. This is most commonly seen in the image reflection effects. I'm not going to cover a reflection in this post. I'll just cover the image fade out part for now.

I'm going to start out with an image of our favorite Linux mascot, Tux. I've already trimmed out the white background and made it transparent.

Tux in GIMP

Tux in GIMP

Add a Layer Mask

  1. Open up the Layers menu [CTRL][L]. If you're opening just a basic jpeg or png there should be just one layer at this point.
  2. In the Layers menu, right click on the layer and select Add Layer Mask.
  3. Make sure White (full opacity) is selected and click Add. You should see a white box show up next to the thumbnail of your image in the Layers menu.

Create the Fade Effect

  1. Right click on your layer and make sure that Edit Layer Mask is selected.
  2. Make sure that the Foreground Color is set to Black and the Background Color is set to White in the GIMP tools menu.
  3. Click on the Blend Tool (it should be just to the right of Bucket Fill).
  4. Drag a vertical line from the bottom of the image to where you want to stop the fade effect. (Hint: Hold down the [CTRL] key to help make the line vertical.)

If you right click in the Layers menu, you can select Show Layer Mask. It should look something like this:

GIMP with Layer Mask shown

GIMP with Layer Mask shown

Right click again and select Apply Layer Mask.

Tux in GIMP with Fade Effect

Tux in GIMP with Fade Effect

You can now save your file. In the image window select File?Save As. Enter a new name and click Save. A menu will pop up with save options. The defaults should be fine. Click Save.

Here's the final product.

Tux with Fade Effect

Tux with Fade Effect

Next Page »