The wireless firmware for my Intel Centrino Ultimate-N 6300 AGN Wireless card (Lenovo T410) kicks me off the internet about every 5 minutes. Here’s how I fixed it:
- Backup /lib/firmware/iwlwifi-6000-4.ucode
sudo mv /lib/firmware/iwlwifi-6000-4.ucode /lib/firmware/iwlwifi-6000-4.ucode.old
- Download the openSUSE 11.4 firmware here.
- Extract the rpm.
- Move iwlwifi-6000-4.ucode inside the rpm (in ./lib/firmware/iwlwifi-6000-4.ucode) to /lib/firmware/
Basically what you just did was download the old (working) firmware for the device, and replaced it with the new firmware (which doesn’t work).
P.S. As of this posting, downloading the latest firmware from Intel does not fix the problem (I tried). It’s the same version of firmware that ships with openSUSE 12.1.
So, I had trouble getting the Google API to work in MonoDevelop, so I thought I’d show you how I did it. I got this from google code:
Setting up your environment
- Download the latest ZIP file release of the client library from http://code.google.com/p/google-gdata/downloads/list
- Extract to a local directory (e.g. “/scratch/gdata.NET”)
- Use your distribution’s package management to install Mono. Alternatively, you can download it from http://www.mono-project.com.
- In some distributions you have to make sure that the nunit.framework.dll file is properly linked into the mono library. If mono was installed to “/usr/lib/mono”, then ensure that there are symbolic links in “/usr/lib/mono/1.0” and “/usr/lib/mono/2.0” for nunit.framework.dll (which should be installed in “/usr/lib/mono/gac/nunit.framework/<someversionstring>/nunit.framework.dll”).
Compiling and running samples
- Assuming you installed the client library to “/scratch/gdata.NET”, change to the “/scratch/gdata.NET/clients/cs” directory.
- Edit the Makefile depending on what version of .NET you wish to use. For .NET 1.x, use
CSC=mcs and for .NET 2.x, use
make to compile the libraries and sample applications.
make install if you want to install the client library DLLs into the Mono library.
Developing your own application
If you executed a
make install after compiling the client library, you should be able to include the libraries in your own code by passing
-r:Google.GData.Extensions.dll -r:Google.GData.Client.dll to the Mono C# compiler along with references to the DLL files of any specific service extensions you wish to use.
Now the Google API is available in the ‘Packages’ tab when you go to add references to your project.
After setting up my environment, I was still getting a security error (something about the Authentication failing). That’s because Mono is locked down by default. So, I ran this to import all of the SSL certs from Firefox (and therefore Google’s cert because I’ve logged into Google from Firefox):
You just have to say yes to all the imports (there are a lot of them).