vrms – check your Ubuntu for Non-free packages (Virtual Richard M Stallman)

vrms is an application that checks for non-free packages or components installed in your Debian-based system (including Ubuntu) and subsequently display a statistic of how many percentage of your system is non-free.

vrms can be installed using Synaptic Package Manager :

VRMS - Virtual Richard Stallman

To execute it, just type "vrms" in the terminal, here's an example of vrms output for my system :

JAVASCRIPT:
  1. mypapit@mypapit-desktop:~$ vrms
  2.           Non-free packages installed on mypapit-desktop
  3.  
  4. bsdgames-nonfree          rogue, the classic dungeon exploration game
  5.   Reason: No commercial use
  6. fglrx-modaliases          Identifiers supported by the ATI graphics driver
  7. latex2html                LaTeX to HTML translator
  8. linux-generic             Complete Generic Linux kernel
  9. linux-restricted-modules- Non-free Linux 2.6.28 modules helper script
  10. linux-restricted-modules- Restricted Linux modules for generic kernels
  11. nvidia-173-modaliases     Modaliases for the NVIDIA binary X.Org driver
  12. nvidia-180-modaliases     Modaliases for the NVIDIA binary X.Org driver
  13. nvidia-71-modaliases      Modaliases for the NVIDIA binary X.Org driver
  14. nvidia-96-modaliases      Modaliases for the NVIDIA binary X.Org driver
  15. rar                       Archiver for .rar files
  16. sun-java6-bin             Sun Java(TM) Runtime Environment (JRE) 6 (architecture
  17. sun-java6-demo            Sun Java(TM) Development Kit (JDK) 6 demos and example
  18. sun-java6-jdk             Sun Java(TM) Development Kit (JDK) 6
  19. sun-java6-jre             Sun Java(TM) Runtime Environment (JRE) 6 (architecture
  20. sun-java6-plugin          The Java(TM) Plug-in, Java SE 6
  21. tangerine-icon-theme      Tangerine Icon theme
  22.  
  23.            Contrib packages installed on mypapit-desktop
  24.  
  25. jetty                     Java servlet engine and webserver
  26. nvidia-common             Find obsolete NVIDIA drivers
  27. openttd                   reimplementation of Transport Tycoon Deluxe with enhan
  28.  
  29.   17 non-free packages, 1.1% of 1601 installed packages.
  30.   3 contrib packages, 0.2% of 1601 installed packages.

So if you prefer a completely free (as in freedom!) operating system, you can use install gNewsense instead of Ubuntu.

Misconception about computer guy

This comic strip is true, at least in my situation...

mostly-harmful.net APz I Will not fix your computer

Original strip : Mostly Harmful - I will not fix your computer

My Backyard Chickens (mix of ayam serama and ayam kapan)

Here is a video of my ayam (chickens) taken on the 2nd day of Hari Raya Aidilfitri. I keep them in my backyard as pets and egg producer. Because of them, I rarely had the need to shop for eggs.

How to use Celcom Broadband Prepaid on Ubuntu Linux

Here's how to use the latest Celcom offering - Celcom Broadband Prepaid on Ubuntu GNU/Linux distribution. As its name implies, Celcom Broadband Prepaid works in a prepaid basis, using the following plan: RM 6 /day or RM20/week of unlimited internet use.

Celcom Broadband Prepaid

This guide assumes you use Huawei E160* or E220 series 3G modem.

First, plug-in the 3G modem to USB connector. After a while, a dialog will appear :

Ubuntu Wizard : Celcom Broadband

Press next, you will see a list of local broadband service provider. Select "Celcom".

Ubuntu Wizard :Service Provider Selections

The dialog will close after you click "Forward". However for Celcom Broadband Prepaid to work, you need to change the APN to "celcom3g", and PIN to "1234"

To do that, you need to right click on the network connection icon, and select "Edit Connections":

Edit Connections - Network Manager

Then change the APN value to "celcom3g" and set the PIN to "1234".

Network Manager - Celcom Broadband 3G Prepaid Setup

Sending SMS to subscribe Celcom Prepaid Broadband
Users of Celcom Broadband Prepaid would know that they need to send SMS containing the message "Broadband Daily" or "Broadband Weekly" to 28882 to activate their internet subscription.

In order to do that in Ubuntu GNU/Linux, you need to install 'gammu' package from Synaptic Package Manager. 'gammu' allows you to send SMS using your Huawei 3G Modem, and it works sweetly with Celcom Broadband Prepaid.

Using 'gedit' or your favorite text editor, create ~/.gammurc config file containing these information :

PYTHON:
  1. [gammu]
  2. port = /dev/ttyUSB0
  3. model =
  4. connection = at19200
  5. synchronizetime = yes
  6. logfile = gammu.log
  7. logformat = textall
  8. use_locking =
  9. gammuloc =

To send SMS, you need to open the terminal application and type "gammu sendsms text 28882", it should look like this :

PYTHON:
  1. $ gammu sendsms text 28882
  2. Enter message text and press ^D:
  3. Broadband weekly 
  4. If you want break, press Ctrl+C...
  5. Sending SMS 1/1....waiting for network answer..OK, message reference=33

Note: "Broadband weekly" for subscribing Celcom Broadband Prepaid at RM20/week.

Then send another SMS, execute "gammu sendsms text 28882" :

PYTHON:
  1. $ gammu sendsms text 28882
  2. Enter message text and press ^D:
  3. Broadband Yes 
  4. If you want break, press Ctrl+C...
  5. Sending SMS 1/1....waiting for network answer..OK, message reference=33

Send "Broadband Yes", to confirm your subscription. You can then enjoy the Celcom Broadband Prepaid right from your Ubuntu Desktop ! No need to depend on Microsoft Windows based "Mobile Partner" or Vodafone striped-down application to connect to the internet!

To read sms from your Celcom Broadband Prepaid SIM card, type "gammu getsms folder 1 15" and you will see a list of SMS received in your SIM card inbox memory.

PYTHON:
  1. $ gammu getsms folder 1 10
  2. Location 1, folder "Inbox", SIM memory, Inbox folder
  3. SMS message
  4. SMSC number          : "+60193900000"
  5. Sent                 : Sun 05 Jul 2009 06:48:50 PM  +0800
  6. Coding               : Default GSM alphabet (no compression)
  7. Remote number        : "28882"
  8. Status               : Read
  9.  
  10. Enjoy 24hrs of unlimited usage @ only RM6. To confirm yr subscription, type Broadband Yes & send to 28882. RM6 will be charged to yr account upon confirmation.
  11.  
  12. Location 2, folder "Inbox", SIM memory, Inbox folder
  13. SMS message
  14. SMSC number          : "+60193900000"
  15. Sent                 : Sat 19 Sep 2009 04:01:24 PM  +0800
  16. Coding               : Default GSM alphabet (no compression)
  17. Remote number        : "28882"
  18. Status               : UnRead
  19.  
  20. Enjoy 7days of unlimited usage @ only RM20.To confirm yr subscription, type Broadband Yes & send to 28882.RM20 will be charged to yr account upon confirmation.

Happy surfing !

How to block ads and malware websites using /etc/hosts files in Ubuntu

Here's an easy way to block annoying advertisement and malware sites using '/etc/hosts' file.

First edit the /etc/hosts files using your favorite text editor :

sudo gedit /etc/hosts

Then, paste the list of ads/malware servers in the 'hosts' file. You can get the list from http://someonewhocares.org/hosts/ or by searching through Google.

Close the file, and Save. The change will take effect immediately after that. One of the side-effect from this modfication is that your web surfing experience would be significantly faster because your browser does not have to wait for the annoying advertisement to load.

Subscribe by email

Enter your Email