You are here

Risharde's Blog

Adding static routes to CENTOS

Let's say the interface is eth0, you would create file perhaps using nano like this:

nano /etc/sysconfig/network-scripts/route-eth0

Then add your network/subnet and the gateway/router (example): via

where is the router and the is the network/subnet

Then restart the network using
service network restart

Good luck!

TSTT redeemed themselves a little

After a meeting recently, myself and other people were happy with the outcome. We were able to explain why we felt that TSTT wasn't giving us the customer service we wanted and some of the managers at TSTT were able to resolve most of the issues within 2 days. This impressed me so I'm giving them some kudos on my blog.

Flow 25MB internet is legit!

I recently tested a 25MBit connection from FLOW / Columbus Communications I have to tell you - It's AWESOME! You get every single drop of bandwidth. So far, I've experienced no downtime, the install was easy, nothing to really do other than plug into your router and boom, you're on!

IT Managers of the Government

You know, I've had chats with a lot of people and for some reason, people tend to believe that Government works don't work hard. This is particular FAR FROM THE TRUTH from my experience. I work EXTREMELY HARD! If you're one of those people who believe that government workers don't work hard, you are misinformed to a certain extent. I am not saying that some people don't slack of but this happens in both public and private institutions. Today, I sat at an IT Managers group and I really felt that we want to create a better tomorrow for the citizens of Trinidad and Tobago. I know its going to be a lot of work but we are accustomed to working so the iffy part for me is if we all can agree to move forward. Putting 10 brilliant people together and trying to get them to agree on something is generally very hard. With the right steering however maybe our work isn't in vain. Overall thought, it was good to be an attendee at IT4MD (iGovTT).

Freepbx Paging/Intercom tweaking for devices that cannot autoanswer / conference

Right, so the title is really complicated so I need to explain what I am trying to do here. Essentially, I had some extensions that I wanted in an "Intercom mode" (kind of like a conference), except I wanted to be able to dial a number and it would do automatic calling to all the other extensions and hope that they have autoanswer enabled. Well, generally speaking, the devices I am using (which are soft phones) don't seem to have autoanswer so the Paging and Intercom settings in FreePBX basically times out the call to each device after 5 seconds which is way too short for you to manually answer it. So.... I did some ..... tweaking and thought this would be useful for those of you having this strangely unique issue.

Time to get to the linux console
Go to /var/www/html/admin/modules/paging

Edit the
I use nano to do this: nano

Look for and change the value to something higher. I used 20 (its in seconds apparently)



Now go to the Paging and Intercom Freepbx webpage, create a new group and associate the extensions you want to intercom to. I use duplex because I want it to be like an emergency conference.

Save, apply

and now test it out! ;]

Good luck!

Samsung Prices

Maybe its because of the craze and popularity... or perhaps its because its the latest advertised technology but I really think that Samsung prices are fairly expensive. Getting one of their higher end phones will cost you 4000Tt and up such as the note 2 and note 3 or even the s4. Now why would I describe it as expensive? Well for one the added samsung gear would cost you another 2000 tt easy. Compare the cost of an s4 to a high end Blu phone and the features dont seem to be much different except for the fact that Blu doesnt have a smart watch to my knowledge. Furthermore this gorilla glass is over rated. I really dont care for gorilla glass with regard to scratching... I want something strong enough to handle a fall and gorilla glass cracks very easily.

Kloxo vulnerability causes devastating outbound ddos attacks

Recently Kloxo a fairly popular open source control panel for linux contained a vulnerability that allowed an attacker to take control of the server running kloxo and sending out attacks via multiple methods one of which was dns reflection due to misconfiguration. This is one of the reasons I decided to move on from kloxo a few years ago, it was extremely vulnerable and I wanted to sleep better at night. While they have released an update I am not convinced it is safe for production use. As for KloxoMR I really dont see how one man can keep up with maintaining it forever.

When work became work

Today, is my first day official home after resigning from my job. It's really astonishing to literally FEEL how much time I've gotten back by just not having to fight to beat the traffic to Port of Spain and well work itself. So what can I say from my experience without breaking contractual privacy / confidentiality agreements. Well, let's start where work became work. I know this sounds like I've made a typographical error but it isn't. One reason for pursuing my tertiary education in Computer Science was because I am truly passionate about Information Technology. Doing "I.T" has been turned from second into first nature for me, it is who I am. People in the work place really get confused when I haven't heard about a piece of technology that they know about - as if to say that someone in I.T MUST KNOW THE ENTIRE WORLD OF I.T.

So coming back to my topic about when work became work. I.T has always been the fun part for me, both in and out of work. In work though, I.T became "work" as opposed to a "job". You see, a job is technically work BUT some people actually LIKE their jobs. So a job is like 1 + 1 = 2 in math. The work I am referring to is when its no longer really a job that you like but really just perhaps a frustration. Getting down deeper into how I feel, I'd say that work was once fun and enjoyable but then circumstances changed (as it naturally does) but in an unnatural way. I had to deal with people who thought they knew I.T and further more, people who would say a few sentences and think that one could build the actually solution within the same time it took for them to say some sentences.

For example: Let there be a house, and there was a house....

Obviously, only God could do such miracles... or so I would imagine.
As I further stated, it became work when I had to really explain I.T to people who couldn't understand it but think that they do. Of course, I'm not saying I'm perfect but why hire someone (with experience and knowledge) and then don't take their advice. So essentially, work became literally work... the joy and fun of having a job was lost and thank God I have the resources to quit. I really do feel sorry for those of you out there who are not in a position to quite your miserable works - I really genuinely do feel sorry. Life isn't fair and the work world is worse than life, its hell.

Stay strong my friends.

When should you use MySQL and SQLite

Since I've been recently working on some additional web development projects to get my skills back to top shape and further my skills altogether, I decided I'd talk today on a topic that I couldn't get a straight answer to on the internet. So for those of you who don't know, many websites in this day and age are "dynamic". This means that the data is generated via scripts (basically, little programs) that pull data usually from a database and return it as a page to the user. Most of these websites rely on a database such as MySQL and this is all well and good for most websites. But it really depends. Mainly because running a database also utilizes background resources and retrieving information may require CPU and RAM to get the data back to the user. So firstly, let's talk about MySQL and Sqlite. MySQL is a full fledge compliant database that is extremely popular on the internet. To run mysql with InnoDB, it takes about 512MB of RAM to safely allow it to perform "OK". SQLite is a flat file database which doesn't require the sources of MySQL and might be limited in its functions but it does have it's place. Putting them to a test, it was noticeable that MySQL took a few seconds to do transactions (2 seconds or so) to load a Drupal page with memcache enabled as opposed to a SQlite database which was able to load the page in about 1 second. Overall drupal performance for a small website with about 100 content items is dramatically faster with SQLite. Now with that being said, if you have a lot of records (over 1000), SQLite may perform slower especially on indexed tables and this is where you should use MySQL to get the performance break you need. So in the end, it really depends on how much data you're working with to gain performance breaks.

Flow merges with Cable Wireless, not optimistic at all

A day ago, I received an automated call from Flow with an announcement that Flow would be merging with Cable and Wireless. This really alarmed me because if I have not mistaken, TSTT is also partially owned and operated by Cable and Wireless. Thus for the pas 10 years and more, I was subjected to poor, substandard service from TSTT and thus Cable and Wireless. A good example of such poor service was extremely low dsl speeds and international calling rates that were really insane to easily describe it.

I therefore dont expect that this will improve the Flow brand at all. In fact, if you can recall, it was so bad, people were begging digicel to come into the telecommunications market.