Remove Microsoft Virtual Wifi Miniport Adapter

By // No comments:
I remember when I installed Virtual WiFi in my laptop I got this Microsoft Virtual Wifi Miniport Adapter. This was stubburn to be removed and I once even reinstalled the Operating System. But this time I didn't realised when it got through to the laptop. When it resides I have problem with my Wifi. It does not connect properly or it does not show my wifi AP and also it did not connect to the new Wifi AP only the old APs were able to connect. So I had disabled the Microsoft Virtual Wifi Miniport Adapter from the Network Connections (control panel >> ncpa.cpl). But one with the same problem came and even with disabling this from the network connections I cannot get through. Therefore I had google again and find its solution. Lucky enough I got it in one of the website and worked.
I am even going to try this in my laptop. Hope it works in mine too. Yes it worked too and this Microsoft Virtual Miniport adapter vanished from the network connections of control panel.
Running cmd as an administrator and the following commands were issued
"netsh wlan stop hostednetwork"
"netsh wlan set hostednetwork mode=disallow"

Change Office Language on MacBook Pro

By // No comments:
Change Microsoft Office 2011 Finnish to English Language on MacBook Pro
After the fresh unwrap of MacBook Pro, with the apple id created, all the necessary softwares had to be installed. All the freeware were not a problem to install on it, but the skype. I cannot download skype for mac from the windows computer. I was forced to download the skype from mac itself, after several times I downloaded the skype for mac from windows computer but always redirected to the skype for windows. Copied the links itself from the mac client and pasted to the windows pc, this time too redirected to failure. So gave up and had to download it though the internet in the macbook was slow. The next big hurdle was the Office package. Most of the clients were familiar with the Windows Package rather than other free ones. The client had the purchased version of Microsoft Office 2011 Home and Student Version 2011, but in Spanish and the Finish language only (two versions). I found it after I installed it. The installation process was in the English with the selection language (I don't know but later found those words were for Spanish and Finish, I remembered one of those word were suomi means Finnish.) After many search one of the search told to download a English version of Office 2011 with the same serial key provided. While others told to uninstall the previous version and delete this and that from different locations in mac, which was of course time consuming since this machine has not been much familiar to me as windows and linux. So I downloaded the English version of the same with the serial key. I later knew it had costed 15000 Nepali Rupees (I forgot the dollar it cost as told). So as said it worked without much pain to me. I had installed for mac as a backup. I tried for NeoOffice but could not as it would ask me 10 Dollar. Neither do I have any master card nor sending any money outside the country was easier enough than receiving. Trouble for now has been settled, more will be coming soon I hope.

Snort IDS and Honeyd on Windows XP and 2003

By // No comments:
Lately I have been working on snort IDS for windows. As per requirements to test it in windows, finally got hands on WinIDS. Though there is pre packaged solution on snort IDs with its graphical reporting snorby in Security Onion built in Ubuntu Iso, the preference were given to step by step built up and in windows. WinIds was great. But at last gave the Barnyard error in Windows XP. However such error was not present in windows server 2003. The error was while running barnyard in cmd prompt, it just did not want to run. Next thing I tried to run apache and mysql server that of xampp but just can't. So without further delay just installed fresh apache and mysql. So everything went well on testing in windows server 2003 and made it ready for the deployment.
The next task was to run honeypot in windows. I chose honeyd for windows version. This particular was also incompatible with windows xp. "WinHoneyd is NOT compatible with Windows XP SP2. Microsoft recommended solution:server 2003" one of the experts says in "Experts Exchange". So in favor of server 2003, gave up for Windows XP. I will publish further results after testing.

3G settings in Nepal Telecom (NTC) for Samsung Galaxy S III

By // No comments:
Samsung Galaxy S3 and another unkown android tablet already activated for NTC 3G were not able to connect to the internet via GPRS or 3G with the settings provided in the NTC site. The proxy settings whether correct or not gave the negative result and also the sms gprs for 1404 would not give the reply sms from the NTC as at the time of 12 - 2.30 PM yesterday. After playing for more than 1 hour the settings however worked for them. First the tablet was connected to the internet through 3G high speed then the S3. The APN setting I used was ntnet. APN name ntnet and APN ntnet. Nothing more than that. The mobile data and data roaming were turned on. After the restart of each device, I was able to browse the internet with the status H (which stands for HSDPA). I really want to note down this before I forget. For more information
Other unsuccessful try were with the ntc APN and ntwap

Download Chanakya font

By // 1 comment:
Font Chanakya.ttf is still being used a lot and is in great demand. The font is used in online edition of newspaper Annapurna Post. Without the font the online edition is unreadable.
Annapura Post Online Edition without Chanakya Font
Annapurna Post Online Edition after installing font
Download Chanakya Font
Download Preeti Font
Download kantipur Font
Download more Nepali Fonts here

Importing contacts in Nokia 6020

By // No comments:
Nokia 6020 when bought 10 years back cost me about 12k and was great at that time with the built-in camera, infrared and most of them the joystick made it very comfortable to use. It was my first mobile that could connect with the computer. It had data cable DKU-5 for the data transfer between the PC and mobile. It's still in use and my mom uses it. Though it lacks the nepali fonts for her, she uses contacts photo list to dial us and relatives. It is just that great and no other phones had been used so long without problem. The problem with it was, it was dead one day and brother had it fixed with the new T mobile symbian OS. Everything was fine unless one day most of the contacts were deleted by one of my kids while playing with it.
So I thought of restoring the contacts from my mobile to it. So my first task was getting the contacts from outlook 2010 to the format that Nokia supports, which was of course .vcf file.

Exporting the outlook 2010 contacts to vcard files (.vcf)
Method No. 1

  1. Create a new email message

  2. Click on Attach Item > Business Card > Other Business Cards

  3. Select the contact(s)

  4. The contact(s) will be attached. Select the contact(s) in vcf extensions; drag and drop to the folder or Ctrl+C (copy) and Ctrl+V (paste) to the desired folder.


Method No. 2

  1. Go to contacts section in outlook

  2. Select the contact(s) to export. Click on Forward contact drop down icon > As a Business Card. By default on clicking forward contact the contacts will be attached in .msg files (Outlook Contact). So we need to click on drop down icon in it to select Business Card

  3. The contact(s) will be attached. Select the contact(s) in vcf extensions; drag and drop to the folder or Ctrl+C (copy) and Ctrl+V (paste) to the desired folder.

Now the contacts were ready to be imported to the mobile.

Importing the contacts to Nokia 6020

The mobile was then connected with the computer with the cable so called DKU-5 or CA-42 (Whatever it may be) as I had connected previously but the different PC. The driver was installed and Nokia PC suite installed and updated. But whenever the mobile was connected it said Data Enhancement Connected and then again Enhancement not Supported. So I decided to go for IrDA connection. Then the old Dell Latitude C640 was powered on. Infrared had been disabled in it. So it was enabled from the BIOS settings. The Infrared settings was enabled in the Mobile and then placed near the Infrared reception of the laptop, a shortcut icon on the desktop was created enabling the data exchange between the devices.

Before I finally got the Infrared working on the laptop I downloaded the Infrared driver for it, since it was only disabled from the BIOS the driver was not needed. However the link for the driver is, just in case I format the laptop again.


Nepali Fonts Keyboard Layout

By // No comments:
It looks like turning back from unicode to true type nepali fonts, but several times it had been necessary to print out the keyboard layouts of preeti font, kantipur font and fontasy himali tt font. These keyboard layouts has been generated using Microsoft keyboard layout creator.

Fontasy Himali TT Font Keyboard Layout
Fontasy Himali TT Font Keyboard Layout

Preeti Font Keyboard Layout

Kantipur Font Keyboard Layout

Following Fontasy_Himali_ tt keyboard layout has been generated from kbdedit program (demo version). It may not be suitable for print however.

Fontasy Himali TT Font Keyboard Layout generated by KbdEdit
If you are looking for downloading these Nepali fonts and more, they are available at with the image of those fonts how they looks.

Do we still need FAT32?

By // No comments:
Still some people are formatting the harddisk with fat32 file format. I asked myself why?
1. connect it to a NAS device (to avoid NTFS file permission errors)
2. windows is not only the OS on earth, therefore for Mac, Linux, and OLD Windows such as Windows 98

But Windows XP and Windows Server 2003 or later does not let us format the hard disk more than 32GB as FAT32. So a workaround this is using a command prompt

format /FS:FAT32 X:

where X is the drive letter for the harddisk

Nepali Unicode render on Opera browser

By // No comments: in opera looks very unreadable in nepali unicode font at least difficult. The mangal font would have been easier to read in the browser. Firefox by default takes mangal and so no problem in it. But opera (my version 11.61) takes Aparajita as default in monospace font for Devnagari. In monospace font it is only Aparajita font, could not be changed. Though changing the other in Mangal worked in my co-workers but has not resolved in mine. Whereas Kantipur site is fine in this.

For the co-worker changing it to Mangal font in Normal section  Devnagari Writing system > in International fonts from the fonts of the advanced tab from the preference menu, it switched back to Mangal Font.

Tools >> Preference >> Advanced >> Fonts >> International fonts >> Writing system >> Devnagari >> Normal font >> Mangal.

Koha Installation Offline in Centos 6.0

By // No comments:
Installing koha in online environment is pretty simpler and easier than offline. All the dependencies are needed to be downloaded first, and finding the dependencies for me really took long. Finally below is the way I got through. All the required files and dependencies are directory listed here, except the iso of Centos 6. I will be adding all file in single zip soon.

Install Centos 6.0

Centos Desktop minimal edition was choosen with the customizati0n and added the following packages:

Applications: Emacs, Graphics -> ImageMagick

Base: Perl

Databases: MySQL Client, MySQL Server

Development: Additional Development -> libxslt-devel, tcp_wrappers-devel

Languages: Nepali if needed

Servers: Print Server, Email Server

Web Services: PHP Support -> php-mysql, Web Server -> all Perl modules

Selinux and firewall are disabled in the system.

Disable selinux
setenforce 0

Turn off firewall
service iptables stop
service ip6tables stop

To disables firewall service
chkconfig iptables off
chkconfig ip6tables off

Turning mysql and apache as service
chkconfig mysqld on
chkconfig httpd on

Copy the repo file for CENTOS repo, here I have disabled the internet CENTOS repo so our system will not spend its time on searching the installation file in the internet.
cp CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo

Copy the repo file for cdrom, here I have added the location of the Centos 6 CDROM and enabled it
cp CentOS-Media.repo /etc/yum.repos.d/CentOS-Media.repo

Now creating our own local repo server for the installation of some packages necessary for koha
yum -y --nogpgcheck localinstall /media/CentOS_6.0_Final/Packages/createrepo-0.9.8-4.el6.noarch.rpm
mkdir /var/myrepo
cp myrepo/* /var/myrepo/
createrepo /var/myrepo
cp myrepo.repo /etc/yum.repos.d/myrepo.repo

Now installing the files from our local repo that are needed by koha

yum -y install libyaz libyaz-devel perl-CPAN perl-CPAN-Meta-YAML gcc GraphicsMagick-perl perl-YAML

Fix the GraphicsMagic installationcd /usr/lib/perl5/auto/Graphics/Magick
ld -share -o `pwd`/ /usr/lib/

Unpack koha
tar zxf koha-3.06.03.tar.gz
cd koha-3.06.03
perl -m | grep 'Yes' | sed -e 's/::/-/g' | awk '{print "yum -y install perl-"$1}' > perl-pkgs-install

sh perl-pkgs-install

It will install the perl modules for the koha from our local repo and cdrom repo.

But there are still some perl modules which are not available in rpm, and need to be installed from the source file.

cd perlpkg

run the commands from the files

Don’t run all of them at once since we won’t be able to see the errors if any.

From the unzipped koha directory run
perl -m | grep 'Yes' | awk '{print "cpan -i "$1}' > perl-modules-install
sh perl-modules-install

Cat perl-modules-install

All the necessary perl modules must have been installed

Set up MySQL

Restart the Mysql daemon

service mysqld restart

Secure mysqld installation.  Follow the prompts and set a root password

Create koha database.  Give it a password other than 'kohakoha'
mysqladmin -u root -p create koha
mysql -u root –p
grant all privileges on koha.* to kohaadmin@localhost identified by 'kohakoha';
flush privileges ;

groupadd koha
useradd koha -s /bin/false -d /usr/share/koha -g koha -M

Install KOHA
cd into KOHA installation directory and type
perl Makefile.PL
make install

vi /etc/profile.d/koha.tcsh
setenv KOHA_CONF /etc/koha/koha-conf.xml
setenv PERL5LIB /usr/share/koha/lib

vi /etc/profile.d/
export KOHA_CONF=/etc/koha/koha-conf.xml
export PERL5LIB=/usr/share/koha/lib

Set up HTTPD
ln -s /etc/koha/koha-httpd.conf /etc/httpd/conf.d/
vi /etc/httpd/conf/httpd.conf
Listen 8080

Go to http://localhost:8080/ to set up the admin interface

Your might have to edit etc/koha/koha-conf.xml for the corret kohaadmin and password (here kohakoha)