Showing posts with label MacBook Pro. Show all posts
Showing posts with label MacBook Pro. Show all posts

Thursday, 12 November 2009

Ubuntu 9.10 issues and solutions

One of the major issues I have had with my Macbook Pro and Ubuntu 9.10 relates to virtual machines and Virtualbox. My virtual machines would freeze for a few seconds (10-15 seconds) then do some more work, then freeze again for 20-30 seconds, then some more, then freeze, then go, then freeze...


This drove me nuts! I run XP every once in a while and it was so quick on Virtualbox prior to the upgrade that I thought VB was the culprit.


I messed around with the settings, I turned things on and off; all to no avail.


Then I remembered a post somewhere that mentioned the video drivers. Not the virtual machine's virtual video driver, but the actual driver of the host machine.


So I looked at what I was running.


Nvidia's driver version 183 - which was suggested and recommended by Ubuntu 9.10 after the upgrade. It worked fine with everything I did... could it be the culprit?


I then swapped the driver to version 173 which I was running previously (that reminded me I tried 180 and had problems with virtual machines then too) and my XP virtual machine was happy once again.


I did experience an issue or two with my machine freezing (the whole thing, not the VMs) after doing this and thought it was the Nvidia drivers again.


However I noticed something interesting. The freezes occurred only when I had Firefox running. If FF wasn't running, everything ran smoothly.


So I went into the FF add-ons and thought about how a "new" add-on I had installed and almost never used would actually use cool 3D effects. I'm talking about FoxTab. I disabled that after 20 minutes and guess what?


My virtual machines are happy, my Macbook runs smooth as silk!


Now to troubleshoot something else... OpenVPN on NetworkManager.


-P

Saturday, 31 October 2009

Ubuntu 9.10 on MacBook Pro

So Ubuntu 9.10 (Karmic Koala) is out and in the usual way, I went ahead and did the upgrade from 9.04. Did I have any issues? Not really, the servers were a little slower than I'm use to which I'd expect.

After the upgrade I discovered that my O2 USB data card (a Novatel Ovation) wouldn't work. However, I manged to get it working after a reboot. (Not sure why.)

Wifi works, keyboard + multitouch pad worked, bluetooth keyboard + mouse worked, sound worked. What seems to not work? Well, when I put the machine to sleep and it comes up, I ALWAYS get a crash report which says that there was a kernel crash of sorts and that the system would be unstable.

Does this annoy me? Yes. Does it stop me from still using the system (i.e. is it really unstable?) No.

I haven't finished trying out all the usual apps that I use, but so far, I'm happy with the result.

Now, I can't wait to upgrade my Myth Server at home! I have seen there are a LOT of really cool things in that arena!

-P

Monday, 11 August 2008

64-bit Ubuntu on MacBookPro and Google Earth

Well, I managed to get the last thing that wasn't quite working to work.

I like to use Google Earth. It's a great learning tool and it helps to make you realize how small you really are. But I was running into problems the first time I installed this. This isn't specifically a Mac problem, it's a 32-bit vs 64-bit problem. I had several 32-bit libraries installed but the one that Google Earth was missing and therefore causing my headaches turned out to be lib32nss-mdns. Once I installed it, I was going around the world in 2 seconds.

I found the solution in a Google Groups posting.

So now, everything works. I can suspend, hibernate, wifi, voip, VPN, google earth, browsing the web, email, sound, IM, VNC, scanning and printing from my HP printers (the office and home printer using HPLIP toolbox.) I even got desktop recording to work which will help with tutorials.

I also use Skype, my Vodafone data card, dual screens, project management, development, Asterisk monitoring (using gastman) oh, and lets not forget games! There's a ton of OpenSource games out there that I found thanks to another site and I've just had to "sudo apt-get install" them. The iSight works too with Cheese although I hope they improve that app a little. I can burn DVDs and ISOs of the different server images we have for work.

Right clicking is done by using the right "cmd" button instead of ctrl-click.

The only thing I haven't tried to do yet because I haven't had the necesity to is to use Bluetooth. I haven't paired my Plantronic 509B Headphones or my Sony Ericsson phone.

I'll try that later and post about it.

So in conclusion ... MacBook + Ubuntu is a win-win situation. You get great hardware and great software with a little bit of hassle if you've never set things up. I'm sure if I had to do it again, I would have less trouble doing so and I'd still be very happy with the outcome.

-P

Tuesday, 15 July 2008

Ubuntu isn't perfect, but it's damn close

I have everything working on my new MacBook Pro. I installed Ubuntu Hardy (i.e. 8.04) like I mentioned in the previous post and after using it for a few weeks for my day to day tasks I can honestly say that it's 99% there.

I've discovered a few annoying issues that are slowly being worked on by the Linux community at large and I hope will fix my problems once they release the new version of these applications.

Which applications are causing problems? Well the two worst issues are the ones that unfortunately I think are quite important. One is something I need to have for daily use - a softphone. Now there are several applications out there: Ekiga and Twinkle are two of the Open Source ones that are available for install - Ekiga being the default. However I found that there were a few times where they didn't work. When I used Mac OS X I would use X-Lite, then I discovered Zoiper and used that instead. Well, Zoiper runs on Linux too, so I've installed it as well to test. I also found WengaPhone which I installed and tested too.

The reason for testing all these applications is that I would always encounter a problem or on a different application, a different problem. On Twinkle, my audio drivers would not work if some other audio application (or itself) crashed. With Ekiga, I couldn't get it to work over the VPN. I tried different settings and maybe I missed something, but on a VPN it doesn't work. With Zoiper - I thought that being on a familiar application I would be able to troubleshoot it better and get it to work. Well, that didn't work either. I also tried WengaPhone which worked much better, but had the same problems as Zoiper - the audio would sometimes fail and I wouldn't be able to hear or talk to anyone. I think this may be due to the applications being 32 bit while I'm on a 64 bit installation. I have the compatibility libraries - including sound, but still no go.

Anyway - while I'm in the office I'm going to use Twinkle and just have to reboot if the audio driver fails (what a pain.) A possible solution which I haven't tried yet is finding a way to reload or reset the audio drivers. If you have an idea of how I can do this easily, let me know. I may just have to script the rmmod, insmod for the sound modules.

The other issue that I have is related to the wireless connectivity. At home I setup my wifi to use WPA+WPA2 for protection. I was able to get our wifi printer on the network, our Nintendo Wii and the two other computers. My MacBook Pro on Unbuntu sees the network requests the key and then doesn't do anything. It seems to connect to the network, but doesn't get a DHCP address. I've tried using a static IP address, overwriting Network Manager, but that worked once and then stopped working. I even had created a profile for "home" so I could just toggle that and have a static IP at home... but nothing!

For now I'm tethered via a network cable. Not the best solution, but it'll have to do until I find a solution.

By the way, I did disable the WPA+WPA2 settings and went with JUST WPA and then with JUST WPA2, but in both situations I had the same problem that I don't quite complete the connection and don't get an IP address from the router's DHCP server and I can't get the static IP address to work either.

Anyway - all in all - I'm very pleased with my Ubuntu installation.

-P