Thursday, December 12, 2013

Issues with Internet Print Protocol on Windows

Missing Connect Link

If the 'Connect' link is missing when you select an IPP printer from the list in the server, then you will need to enable the 'Compatibility View' of the Internet Explorer.

Unable to install printer

If you face issues installing the printer driver after you click the 'Connect' link, then you will need to add the printer to the local Intranet list 

Thursday, November 21, 2013

Windows 8.1 - Skip Microsoft account sign in during installation

To skip this portion of the installation, there are two ways to do it.

Without Internet connection

It will ask you to create a local account instead and will not ask you to sign in to your Microsoft account. In other words,  it will be easier if you disable your internet connection first to skip this totally.

With Internet connection

1. Choose 'Create a new account'

2. Choose 'Sign in without a Microsoft Account'

Wednesday, November 13, 2013

Paypal phishing scam

You may received another one of these emails. Usually they will warn about a problem with your account and asked that it be reverified when all it does is to trick you into keying in your username and password and then using that info to make illegal transactions.

This time however you may be informed of a 'purchase' that you have recently 'made'.

Of course, knowing that you have not made any such purchase, it alarms you and the first instinct is to click on that link to cancel the transaction.

When you click that link it will bring you to a phishing site that looks familiar to you. It looks the same as the real PayPal site that you visited all these while. You login and by then your account have been compromised.

There are some things you can do to protect yourself. Reading my earlier post will arm you will the knowledge required to protect yourself.

If all that is too technical, then the easiest thing you can do is

1. DO NOT CLICK on such links.
2. Go to WWW.PAYPAL.COM directly and verify if you have indeed made such purchases.

Monday, October 14, 2013

How to remove Antivirus Security Pro malware

Antivirus Security Pro is a bad bad malware that duped you into subscribing to their non-existent subscription with fake messages that your system is badly infected (strange isn't that only after installing this 'fix', your system is suddenly full of viruses?)

It is not actually dangerous but just totally irritating. Before you can clean it, you have to kill it first and this is by far the easiest way to recover back the control to your system.

No registration key, no registry edit, no rebooting to safe mode etc needed!

1. Right click on Antivirus Security Pro icon on desktop and choose Properties

2. Take note of the name of the EXE file

3. Go to Start>All Programs>Accessories and right click on Command Prompt and choose Run as administrator

Note: If you unable to get to the command prompt, then get to safe mode (by pressing F8 after BIOS boot) and delete the file you noted in Step 2. You can proceed to Step 6.

4. Type the following command

taskkill /IM xxxxx.exe /F

Note: xxxx.exe is the name you noted in STEP 2

5. Type 'tasklist' and check if the application is no longer listed to know that it is really terminated.

6. Use any of the solutions below
Note: I strongly recommend installing Microsoft Security Essential.

Thursday, October 3, 2013

Wireplay on Ubuntu 12.04

Credit to those who found out how to solve the errors first. All I am doing here is to list out the steps for a successful installation.

1. Install all the required dependencies on an Ubuntu 12.04

sudo apt-get install ruby1.8 ruby1.8-dev libruby1.8 libpcap0.8 libpcap0.8-dev libnet1 libnet1-dev

2. Check your Ruby version and take note of it

ls /usr/lib/ruby/1.8/ | grep linux

3. Download the Wireplay source file from the following URL


4. Go to the location where you save the zip file and unzip it


5. Go to the libnids-123 folder

cd wireplay-master/libnids-123

6. Edit the killtcp.c file in libnids-1.23/src folder

vi src/killtcp.c

7. Change the last




8. Run 'configure' and then 'make'

./configure --enable-shared --disable-libglib

9. Go to wireplay-master folder

cd ..

10. Edit the Makefile

vi Makefile

and check if the Ruby version is the same as in Step 2. If it is not the same, edit it.

11. Run 'make'


Thursday, September 12, 2013

Clearing Squid cache

I ran into some problems and found out that the cache was the culprit. After reading a few documentation which differs from one another on which is the right way to clear the cache, and after performing them myself, I found that the following is the best way

1. Find out where your Squid is storing the cache. Different distro saves in a different location. To do this, look in the /etc/squid/squid.conf file and search for 'cache' line.

2. Stop squid

3. Remove Squid cache content from the folder eg rm -rf /var/spool/squid/*

4. Recreate the cache internal folders with the Squid script - squid -z

5. Restart Squid.

Tuesday, May 28, 2013

Windows Server 2012 and Wireshark

The latest Wireshark still include Winpcap v4.1.2 which is not supported in Windows Server 2012.

You will need to download and install the latest Winpcap v4.1.3 separately.

Dnsmasq and DHCP Option 60 Vendor Class Identifier

To make Dnsmasq assigned different range of IP addresses to different set of clients based on DHCP option 60 (Vendor Class Identifier), you will need to add/modify a few lines to the configuration file

1. The first thing you need to do is to add a line that will define the vendor class identifier that will be assigned to a specific name.

dhcp-vendorclass=[name],"[vendor class identifier]"

The vendor class identifier can be entered in full or partial. The example shown below will assigned any clients with vendor class that contains MSFT to vendor class name WINDOWS


2. The next thing to do is the add the following line that will assign a range of IP addressed based on the vendor class identifier

dhcp-range=net:[name],net:[interface],[start of range],[end of range],[lease period in hours]h

This example below will assign clients with vendor class identifier as defined in vendor class name WINDOWS on interface ETH0 with IP addresses starting from - for a lease period of 24 hours


To do a reverse, that is to assign a range of IP addresses to clients that do not contain the vendor class identifier in vendor class name WINDOWS, you use the '#' sign, which is the same as 'NOT EQUALS TO', as shown below


You can repeat the same lines for other clients with other vendor class identifiers. However, you will need to have a fall back range for those clients that do not fit to any of your specified range.