Thursday, 4 September 2008

C&C: RA1 and Ubuntu

So who said you can't play games on Linux? I've just downloaded the ISOs for Red Alert 1 from the EA website. Yes, it's a free download as the franchise has turned 13 years old (or maybe it's just that game.)

I installed it on my MacBook Pro - in Ubuntu - using wine.

There were a few issues but these were issues that were mentioned in the WineHQ website and were seemingly easy to overcome.

One issue I still have though is that the menu entry didn't get created, but I'll just add it manually. Also, you have to set the emulation mode to Win95 or Win98 for it to work well, but I'm not complaining.

Red Alert is a classic - I still have the CDs somewhere in storage!

RA 3 looks really kewl - wish they'd made a Linux version...

-P

Google Chrome

I don't know anything other than what I've read in other blogs, articles and on the Google page. I'm just trying to see if by putting this in the title I'll get more hits!

Why? Just because...

Move on... Nothing to see here...

-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

Wednesday, 23 July 2008

TTG - Text Traffic Grapher

Have you ever wanted to know how much bandwidth you were using this instant? Do you like CLIs? (i.e. Command Line Interfaces) Then this utility is for you!!!

I found this utility the other day and discovered that it's one of those tools that I don't know why it's not included in most distributions. It's actually at the very bottom of that page, but it's very good.

You provide the name of the router or switch you want to monitor traffic on, the RO community string (usually public) and then you can type "list" to see the interfaces you can monitor and their status. Once you know, use that and you'll see the most recent traffic utilization through that interface.

e.g.

ttg switch public gi1/0/1

Found "GigabitEthernet1/0/1" at index 10101:
[09:44:59] current throughput: in 411.9 kB/s out 218.8 kB/s
[09:45:00] current throughput: in 405.9 kB/s out 247.4 kB/s
[09:45:01] current throughput: in 485.4 kB/s out 342.4 kB/s
[09:45:02] current throughput: in 523.7 kB/s out 357.5 kB/s
[09:45:03] current throughput: in 538.3 kB/s out 350.8 kB/s
[09:45:04] current throughput: in 486.4 kB/s out 302.4 kB/s

---- ttg statistics ----
in out
maximum throughput: 538.3 kB/s 357.5 kB/s
average throughput: 475.3 kB/s 303.2 kB/s
minimum throughput: 405.9 kB/s 218.8 kB/s

Nice huh? This will definitely help me when trying to figure out bandwidth utilization over a short interval.

And there's loads of things it can do ... try the help.

-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

Wednesday, 2 July 2008

New MacBook Pro now with Ubuntu

I got a new MacBook Pro for work and I decided that I was going to run Ubuntu on it. So after reading multiple threads, webpages and blogs on the subject went ahead with the install.

Let me tell you that IT'S AWESOME!

I've always liked Ubuntu and had it running on my old MacBook Pro on Parallels. Well, running it directly on HW is so much better.

If you want to know how I did it, just Google it, or click on the links at the bottom.

I got everything to work: sound, iSight, wifi (although I have a strange problem at home where DHCP doesn't take so I had to create a profile and give myself a static ip,) even my 3G Vodafone USB modem.

So far, everything that I use for work I can find a replacement for an apt-get away.

The only tool so far that I can't get a straight replacement for is OmniGraffle. We'll, I'm working on something...

Links:
Ubuntu on MacBook Pro 1
Ubuntu on MacBook Pro (most recent hardware)
Ubuntu and Vodafone 3G

Thursday, 27 March 2008

Concept laptops

Computer World has an interesting article on concept laptops and what we expect laptops to look like in 7 years. It's an interesting read and I find that there are several things that aren't mentioned that I would expect in future laptops.

Have you had a laptop stolen? How about manufacturers starting to build "phone home" hardware. I think this feature should be built into ALL laptops and activated when the user does the first setup.

How about cooler hardware (as in temperature, not looks) or maybe the head dissipating through the screen cover (I'm tired of warming my pants - except in winter) could be used to partially recharge the battery. It's not impossible according to this press release.

I'm sure there are tons of things that other people can think of that they want from their laptops.

-P