With the release of Ubuntu 9.04 (Jaunty Jackalope) it is time to dust off the tweaks I perform with each new version.
I have a few RaLink rt2500 based wireless (wifi) pci adapters from MSI . One issue I tweak for is well known and is due to the way the driver is initialised in the kernel at 1Mb/s instead of 54Mb/s.
The other problem is related to suspend. It is nice to see that suspend and resume is working so well in Jaunty. Unfortunately the rt2500pci doesn’t seem to wake up after resuming from suspend.
It appears that there is an easy solution for the rt2500pci or the hard way. The easy solution is to install linux-backports-modules-jaunty (sudo apt-get install linux-backports-modules-jaunty).
Problems solved.
(August 26, 2009 – Well not always. I seem to have to use the procedure below to get my machine to return from suspend without locking up.)
The more difficult (not recommended – but works more reliably for me) methods:
1) The old solution for the network connection speed was to type the following in the terminal:
sudo gedit /etc/rc.local
and add the line:
/sbin/iwconfig wlan0 rate 54M
Make sure it is before “exit 0″ and save it. After the next restart it should be operating at full speed. To make it happen sooner than after the next restart you can run this command in your favourite terminal:
sudo /sbin/iwconfig wlan0 rate 54M
and then uncheck and recheck “wireless networking” in the Network Manager Applet.
2) The old solution for suspend/resume was to add a file to the /etc/pm/config.d directory:
sudo gedit /etc/pm/config.d/rt2500pci
and add the line:
SUSPEND_MODULES="rt2500pci"
The file name can be whatever you want it to be but go ahead and save it and then after the next restart it should wake from suspend properly.
* Updated August 26, 2009 – Second set of procedures work better for me.