Joseph Zikusooka ~ Zik

A software engineer specializing in open source technologies | Very experienced in building and configuring UNIX/Linux systems and servers. Passionate about developing software applications and hardware for the smart home | Currently serving as the CEO of Jambula Labs and the project leader at JambulaTV, a smart home automation and entertainment platform - https://jambulatv.com | This blog focuses on the following areas: Linux How-Tos and Tutorials ::: IT Security News ::: Free and Libre Open Source Software ::: Smart Home Software ::: Digital Innovations in East Africa https://mastodon.social/@jzik | https://github.com/zikusooka

Mobile SMS gateway server using Linux

Like many parts of Africa, SMS messages in Uganda continue to play a big role in the way people communicate. For the majority, the mobile phone is the first tech device and as such the use of SMS messages to send information in bulk and real time makes it ideal in fields such as health. As a Linux administrator, this is something you can do at little or no cost.

I thought, I would share these GSM SMS/WAP gateways available for Linux

1.Kannel: By far the most widely used open source software. It can be used to serve the established user base with SMS capable handsets as well as the early adopters with their WAP terminals. Learn more at:
Kannel
2.SMS Server Tools: SmsTools
3.PointSMS: an easy-to-use program that enables you build your own SMS gateway. Learn more at PontSMS

Setting up an SMS gateway using Linux is fairly easy, and if you use kannel for example, you will be able to send and receive bulk SMS messages in no time. I have tested Kannel with our local mobile operators like Uganda Telecom, and it works pretty well using your typical 3G modem dongles, like Huawei E220, and E173s.

If you are interested in instructions on how to install and configure the server… drop me a comment.

UTL 3G – A painful experience

I’ve recently been testing 3G-based Internet access provided by Uganda Telecom. The test locations were in the Northern suburbs of Kampala. My experience with this connection type was not a good one. Here is why.

Depending on your location, the 3G signal is very weak. Typical strengths range anywhere form 0 to 19%.
The 3G signal seems to degrade through out the day and by 1 pm, the signal goes off. I was able to get the assistance of an engineer, when ever that was the case, however, after 7pm the connection would fail completely.

The Internet connection when successful is painfully slow. So much slow that it feels like your are using a GPRS/2G connection.

I’ve been told that this service by UTL will improve in the future, but for now, I would discourage anyone who wants to use a mobile 3G connection from this ISP.

While the UTL service is unlimited per month and at a competitive rate of 80,000/= (Uganda shillings), it is not worth the trouble.

Save your self the trouble and look at alternatives like Orange Uganda. Next I will see how the service from Orange and the other providers is like.

If yoou have any experience with UTL, and other ISPs, please share your experience in the comments below.

Remind: A Cool CLI based UNIX program

I have started a category on this blog featuring cool open source programs. These are mainly command line based, since that is where I spend most of my time. I will also pick those programs that have real life and practical applications.

Remind: As its name suggests is a reminder application. I use it to remind me of birthdays, anniversaries, holidays, etc

To install it: Use your favorites package manager such as apt or yum:
Using Yum: yum -v install yum
Typical Usage: remind [options] [filename]
e.g. remind ../mybirthdays
Typical contents of the file: mybirthdays:
REM 1 Feb MSG Peter’s birthday

This tells the app to remind you that it is Peter’s Birthday on Feb 1.
You can now script this command and do all sorts of cool things, like sending an email or SMS to your phone, when there’s a reminder.

For Help: Type ‘man remind’ to get a detailed how to

PulseAudio – How to control the volume of individual applications via CLI

Using the Gnome interface, its pretty easy to adjust the volume of running audio based applications i.e. Go to sound Preferences >> Applications Tab. When using the Command Line interface (CLI) on the other hand, Its not that straight forward.

At the command prompt, run the following command:
pactl list | grep -A16 ‘Sink Input’ | more

The above command will give you details of your running streams or in ‘pulseaudio speak’ Sink Inputs (go figure). Take note of the Index number of the Sink Input you wish to control.

To control the volume of your application:
To mute: pactl set-sink-input-mute [sink Index no.] 1
To unmute: pactl set-sink-input-mute [sink Index no.] 0
To set Volume: pactl set-sink-input-volume [sink Index no.] 65535 (0-65535)

Uganda’s transition to digital television – Where are we?

With less than 16 months left, questions are being asked as to whether Uganda will beat the December 2012 deadline of switching from analogue to Digital TV. A couple of posts of interest:
UBC Not ready … Daily Monitor
Government Stops … New Vision

My observations so far:
There seems to be a lot of misinformation about the migration from analogue to digital TV. For example, the general public perception is that this switch would necessitate households to subscribe to a TV digital provider. There’s very little information with the exception of the informational TV ads that were run by Uganda Communications Commison (UCC) a few months back.

There’s lack of any serious pilot testing taking place at the moment. The only broadcaster currently transmitting a Free to Air signal is Uganda Broadcasting Corporation (UBC). With more broadcasters allowed to run tests, I believe most early adopters would begin to switch.

Do you live in Uganda? What do you think?

Google+, Facebook, and Ubuntu

A couple of items caught my attention this week.

1. Google plus, a facebook alternative was launched by the search company, Google. While it’s currently an invite-only service, Google+ looks very promising and may very well attract those who are not comfortable with facebook’s privacy. You can read more about Google plus at: Google+

With facebook launching an exciting product next week (some sort of Skype?), things are getting very exciting in the social networking space.

2. For Linux enthusiasts out there, many of you already know how ubuntu, the Canonical based Linux distribution, helped accelerate the adoption of the Linux desktop. Well things are no longer rosy, for the distribution, as it slipped from No.1 position to No. 2 on distrowatch’s last-3-month’s rankings. Lots of users have been turned off by the latest Ubuntu 11.04 release which uses the Unity interface that was picked in favor of the traditional Gnome desktop. For those looking at alternatives, consider Fedora, a Red-Hat Linux derivative. Fedora continues to set the trend when it comes to bleeding edge technology. An example is the recently released Fedora 15. Check it out at: Fedora Project

For the folks in the good ole US of A, Happy 4th of July!

Uganda Telecom 3G Mobile Internet Down

As UTL 3G users in Uganda have noticed, Internet access via 3G has been down since 19 May 2011. While other clients on ADSL etc lines are active, the performance is really poor. If you have called the customer care center hotline (300), the best you will hear each time is ‘Our technicians are working on the problem …. blah blah blah’ Come on guys you can do better than this!

UPDATE: As of 6pm 24 May 2011, 3G service seems to have been restored. 5 days later . Wow…

Hauppauge WinTV MiniStick on Linux – Digital TV in Uganda

As Uganda prepares to migrate to digital TV broadcasts in 2012, I have been testing some of the pilot broadcasts out there. I’m using Linux i.e. Fedora 12 – Kernel version: 2.6.32.21-168.fc12.i686 and an off-the shelf USB Hauppauge WinTV MiniStick.

– The first major task is to get the DVB-T USB stick to be recognized.
– Open the terminal: run the command ‘tail -f /var/log/messages’

The first time you insert the USB Stick. It will not be recognized out of the box as shown in the following errors:

firmware: requesting sms1xxx-hcw-55xxx-dvbt-02.fw
firmware.sh[4212]: Cannot find firmware file ‘sms1xxx-hcw-55xxx-dvbt-02.fw

– Remove WinTV USB stick

– cd /lib/firmware/

– wget -c http://www.steventoth.net/linux/sms1xxx/sms1xxx-hcw-55xxx-dvbt-02.fw

– Plug in Stick again

– This time it is recognized and you’ll see the following in the log:

kernel: DVB: registering new adapter (Hauppauge WinTV MiniStick)
kernel: DVB: registering adapter 0 frontend 0 (Siano Mobile Digital MDTV Receiver)…

– OK, time to scan for some channels. I have whipped up a quick and dirty script that will allow you to scan for free view channels in your area.

– Download the script at: My DVB-T Scan Script
NOTE: For this script you need to first install w_scan utility i.e. In Fedora, yum -vy install w_scan

– Run the script i.e. sh vb_scan_ug.sh (You may need to first make it executable – chmod 755 vb_scan_ug.sh)

– After a successful run, the script will place your channels file to the appropriate location.

– Time to play. Open your favorite media application. I am using xine.
Run the command: xine dvb:// (You can also use the GUI – click on DVB)

Enjoy

Scroll to top