Tag Archives: ubuntu

Link

[puppet forge] proletaryo-supervisor v0.4.0 now supports Ubuntu

Necessity is the great motivator.

I wrote this puppet module almost a year ago. The first version up to the last one only supports RedHat-based distros. Amazon Web Services is the primary platform that I use so the module is heavily tested and used in AWS Linux environments.

I was planning to support Ubuntu since day one but I managed to procrastinate because it’s not really needed in our deployments. That changed today though because we’re rolling out a few Ubuntu instances in AWS 🙂

I hope some people will find this module useful. It’s always open for contributions. Just fork it in GitHub:

https://github.com/proletaryo/puppet-supervisor

If you have an existing Puppet installation, just install it in your Puppet Server:

puppet module install proletaryo-supervisor –version 0.4.0

Send / Receive SMS messages using Wammu and a Huawei e160 dongle in Ubuntu 10.04

The same case as most hardware vendors, Huawei’s support for Linux is disappointing. It doesn’t have an out-of-the-box application that you can use right away for Linux if you want to send/receive SMS through your dongle. For Windows? yes. For Mac? yes. Linux? just a plain simple NO.

I’m having these frustrations because I’ve been using a prepaid Globe Tattoo for the past few weeks. I use Ubuntu as my main OS and I only switch to Windows if (and only IF) there’s a task that I can’t accomplish on Ubuntu.

If you’re familiar with Globe Tattoo’s SUPERSURF service, then you know that you can only subscribe to it by sending an SMS message (e.g. SUPERSURF50 to 8888).  Switching to Windows just to activate SUPERSURF then switching back to Ubuntu to really connect to the internet became an annoyance after doing it for a few times. Besides, Globe Tattoo has currently a bandwidth cap and you’ll only be notified that you’ve reached it through an SMS!

There has to be a better way and most of the time, the Linux community provides it. After a little Google search, I saw this site and it lead me to Wammu.

Now, Wammu isn’t perfect. If you’re expecting an application that will notify you right away if your dongle received an SMS, Wammu’s not it. But, it can send and receive SMS, you just have to be patient with it 🙂

To install it, just run this in your terminal:

$ sudo apt-get install wammu

Or, search for Wammu in Ubuntu Software Center (Applications -> Ubuntu Software Center)

Once you’ve done installing it, plug in your dongle and run Wammu. You can find it in: Applications -> Accessories -> Wammu

main application window

To let Wammu detect your dongle, run the phone wizard and just follow the on-screen instructions, click on: Wammu -> Phone Wizard

my setting for my Huawei e160 dongle after running the phone wizard

To connect to your dongle, click on: Phone -> Connect

waiting screen

Once you’re connected, you can retrieve the SMS messages in your dongle by clicking: Retrieve -> Messages

my messages a few days back, don’t be surprised by the date in the bottom 🙂

Note: As far as I know, Wammu won’t retrieve new messages automatically. In my case, I have to check for messages manually, the shortcut Alt + R, M comes in handy.

To send an SMS, click on: Create -> Message or Ctrl + M

make sure you’ve checked the “Send message” checkbox before clicking OK

And this is how I send / receive SMS in Ubuntu using Wammu. It’s not perfect, but it works 🙂

Gmail with Offline enabled with Firefox 3.6.12 in Ubuntu 10.04

A couple of months ago, I switched from Firefox to Google Chrome because the fox is eating a lot of memory. And to free that up, I have to quit Firefox with all the opened tabs (unlike in Chrome) and just run it again, which is pretty annoying if you have a lot of tabs opened.

So, I decided to switch to Google Chrome. Then, I found out that Google Chrome for Linux doesn’t support Gmail’s Offline feature, one feature that I really find quite handy. Still, I stayed with Chrome, hoping for the best that eventually, Offline will be supported in the next releases. Ironic that Gmail Offline is not supported in Google Chrome…

After months of hoping and waiting… still no Gmail Offline support. *sigh*

I decided to switch back to Firefox. The last time I installed Google Gears, it’s not supported yet in 64-bit, that’s why I looked for ways on how to do it.  I was using Ubuntu 9.04 back then. Since I already upgraded to Ubuntu 10.04, I figured that I’ll just have to retrace the steps that I did back then.

Apparently, I don’t have to. Google Gears installs fine in 64-bit nowadays 🙂

How-To: Enable bluetooth internet using Ubuntu Karmic 9.10 + Sony Ericsson K770i

Long before USB 3G modems and mobile broadband became ubiquitous, most phones can already be used as modems a few years back. It can either be by USB cable or Bluetooth. A good friend of mine even created a detailed guide on how to enable Bluetooth internet three years ago. It’s a series of steps, has a lot of manual tasks, but it’s the only option during that time.

Using a phone to connect to the internet via Bluetooth may not be practical in a sense, but the holiday season is here, a long vacation awaits for me, so I have to keep this option open. Besides, I’ll be out of the metro, so my Sun Broadband Wireless is quite useless.

So, I was revisiting the steps in how to enable Bluetooth internet in Karmic and it turned out to be a breeze… (proves the point things are improving in the Linux community)

Here’s how I did it in Ubuntu Karmic 9.10, using a Sony Ericsson K770i phone:

Note: Before anything else, I enabled Bluetooth in my K770i and made sure that it’s visible.

1. I made sure first that Bluetooth is enabled in my laptop (of course!).

2. I clicked on the Bluetooth icon, then clicked on Set up new device… It gave me this window, Bluetooth New Device Setup


3. I clicked on Forward, then, it searched for Bluetooth devices…


4. I selected my phone, jhayem-k770i, then clicked on Forward, then it gave me the PIN window.


5. The k770i detected that a device wants to pair, it asked for the PIN and I entered the PIN provided above. The phone inquired if I want to enable the following:
    – add to pro-ubuntu-0 to my Devices? – Yes
    – allow pro-ubuntu-0 to use the phone as modem? Yes, Allow always
    – allow pro-ubuntu-0 to use your phone as remote control? – Yes
    – start remote control now? – No

6. After all those inquiries, the Bluetooth New Device Setup has this last window

7. I checked Access the Internet using your mobile phone, then clicked on Close

That ends the set-up part, now, how to connect?

Once your done with the set up, If you click on the Network Manager icon, you now should have a PANU in your list of networks…

Just click on that to connect to the internet via Bluetooth through your phone :p

How-To: Install printer driver for Brother DCP-150c in Ubuntu 9.10

OK, I have a confession to make, I keep on using Windows just to print my documents… I know, I know…

Against my will, I woke up early today (5:30am). To make use of the time, I started downloading a series of TED talks videos (if you have the time, I suggest you watch TED videos, you’ll learn a lot, at the same time it can give you some tips in how to present your idea well). While I’m in the middle of my second download, I remembered that I have to print some documents. I don’t want to disrupt my downloads so I decided to install my printer, a Brother DCP-150c, in Ubuntu 9.10

A little googling led me to Ubuntu’s wiki about Brother printers, here.

Note: don’t connect your printer just yet.

According to the guide, the DCP-150c belongs to the bh7 group. That’s pretty straightforward and quite easy to install, hmmm… (I was quite skeptic about this, looks easy)

I ran this command to install the said package:

    sudo apt-get install brother-cups-wrapper-bh7

Once that’s done, I plugged-in the printer. Ubuntu detected the new printer then the Printer configuration application popped up, then it gave me a list of drivers.

Brother is already selected so I just clicked on Forward.

Then, it gave me a list of specific printers. There’s no Brother DCP-150c in the list, the closest one is DCP-130c. I clicked on that because it says [recommended], then I clicked on Forward.

The next window asked me for some additional information, it’s filled up already, so I just clicked on OK. Once that’s done, it asked me if I want to print a test page, I clicked on Yes.

I crossed my finges… then I heard that familiar noise, the printer is cleaning it’s head, then it started printing, haha!

It worked!