Search My Techie Guy

Ad from yllix

Friday, June 27, 2014

ookla speed test mini upload calculation failing

My boss wanted me to setup this mini speed test tool to be used by our clients in testing our mobile internet speeds; Download and upload.
Details on how to download and setup the tool here

I managed to setup the tool successfully but i however ran into a small problem.
The download calculation was working fine, but the upload calculation that uses a script called "upload.php" was failing.

The tool would only stop at calculating the download speed, the upload icon would highlight but the calculation simply wouldn't happen.

Problem:

For my particular case, the problem was that my Apache2 configuration was never set to recognize php scripts and that's why when ever i would run that file in a browser e.g "http://x.x.x.x/mini/speedtest/upload.php" instead of the script returning the value "size=500", it would return the source code, just like a text file.
And whenever i would run the script directly on the server, it would execute successfully.

Solved:

Edit the Apache configuration file (i.e. "httpd.conf ") to be able to parse PHP files. Add the lines below:

AddType application/x-httpd-php .php
AddType application/x-httpd-phps .phps
AddType application/x-httpd-php3 .php3 .phtml
AddType application/x-httpd-php .html

Restart Apache

e.g. ./httpd -k restart

I tested again by calling the script in the browser and it executed successfully and returned the value "size=500"

I tested my mini speed test server and it was working OK:
OOKLA MINI SPEEDTEST


Monday, June 16, 2014

Full Car Service Checklist

Pre Engine Checks
  • ·         Check car history.
  • ·         Check timing belt replacement interval.
  • ·         Check for damage to bodywork, lamps and trims.
  • ·         Check condition of all seat belts.
  • ·         Check operation of interior and exterior lights.
  • ·         Check operation of ABS and/or air bag warning lights.
  • ·         Check windscreen washers and wipers.
  • ·         Check horn.
  • ·         Check operation of suspension dampers.
  • ·         Lubricate all door hinges, locks, and bonnet catches.
  • ·         Check fuel cap.

 Under the Bonnet
  • ·         Check cooling system.
  • ·         Check anti-freeze protection.
  • ·         Check brake fluid boiling point.
  • ·         Check all auxiliary drive belts.
  • ·         Check engine breather system.
  • ·         Check vacuum pipes.
  • ·         Check power steering operation and fluid condition.
  • ·         Check full throttle settings and lubricate linkage.
  • ·         Check battery level and lubricate terminals.
  • ·         Check and top up all under bonnet fluid levels.

 Vehicle Raised
  • ·         Change oil, filter and fit new sump plug washer.
  • ·         Check fuel lines and brake pipes.
  • ·         Check the condition and security of the exhaust.
  • ·         Check and top up rear axle and transfer box oil levels.
  • ·         Check and top up gear box oil level.
  • ·         Check all steering and suspension joints, mounting and gaiters.
  • ·         Carry out tyre check.
  • ·         Check all wheel bearings for excessive ‘play’ and noise.
  • ·         Check CV gaiters and joints for wear or splits.
  • ·         Check clutch adjustment and adjust.
  • ·         Grease all greasing points.
  • ·         Check operation and condition of front brakes.
  • ·         Check operation and condition of rear brakes, including handbrake.
  • ·         Carry out brake report.

 Vehicle Lowered
  • ·         Refill engine oil.
  • ·         Torque wheel nuts/studs.

 To Finish
  • ·         Road test vehicle and report any findings.
  • ·         Re-check engine oil level.
  • ·         Carry out emission report.
  • ·         Reset service lights.
  • ·         Ensure all upholstery; gear lever, steering wheel etc. are clean.


Thursday, June 12, 2014

solutions next technologies uganda

SOLUTIONS NEXT TECHNOLOGIES (SNT) - UGANDA
"Whatever your challenge is, We shall provide you a quick solution"












Contact Us for:
  • Domain name registration and administration for less than $20 a Year
  • Simple Website Designs and administration for less than $100 (one-off cost)
  • IP/Data Networks Specialist (Cisco, Juniper, Extreme, Huawei, HP, Ericsson ..etc)
  • Systems Administration (UNIX/LINUX)
  • Telecoms Consultation
  • Electrical Consultation
  • Buying stuff online
  • Many more
Call: +256782212595
Email: jnomwesigwa@gmail.com
Skype: nomwesigwa

world cup 2014 printable fixture download

Time to Enjoy the World Cup 2014.
Get your copy of the printable fixture now:

DOWNLOAD HERE

Friday, June 6, 2014

Linux Commands to Monitor Network Interfaces

There are so many commands you can run to monitor Linux network interfaces.

1. # ip link show
2. # mii-tool <interface_name> for example # mii-tool eth0
3. # ifconfig -a
4. # ethtool <interface_name> for example # ethtool eth0
5. # dmesg | grep eth0

The above commands should help you monitor the network interfaces of any linux server. if i land on more commands, i will update the list.