In this article I am explaining IPv4 subnetting in following two situations.
1. Subnetting when given a required number of networks [Example 1]
2. Subnetting when given a required number of hosts [Example 2]
Note : You need to have basics of IPv4 address types and basics of subnetting.
Example 1 :
You have a Class C network range 210.20.1.0 and need to break it into 20 separate networks.
Note : Here you have the information about number of nerworks you needed.
Solution :
Read more…
In this article I am explaining the Encapsulation part of a TCP/IP network model.
The process of sending data can be viewed as a five-step process in TCP/IP model.
Note: For understanding the things explained in this article you need to have a good idea about TCP/IP network model.
Step 1:
Create and encapsulate the application data with any required application layer headers.
For example, the HTTP OK message can be returned in an HTTP header, followed by part of the contents of a web.
Read more…
“/proc” contains many files critical to a Linux OS. In “/proc” there is a file named “filesystems”. And as the name implies, it contains what all filesystems are supported by a running kernel.
Read more…
This article will help you to utilize the power of bash scripting for “test”ing conditions.

File tests
Read more…
Data in MySQL is stored in files (or memory) using a variety of different techniques. Each of these techniques employ different storage mechanisms, indexing facilities, locking levels and ultimately provide a range of different functions and capabilities. By choosing a different technique you can gain additional speed or functionality benefits that will improve the overall functionality of your application.
Comparison between the MyISAM and InnoDB storage engines of MySQL.
|
innodb |
myisam |
|
1
|
row-level locking |
table-level locking |
|
2
|
supports transaction |
does not support transactions |
|
3
|
foreign key constraints |
no foreign key constraints |
|
4
|
row count is not stored internally and so slow COUNT(*)s |
row count is stored internally and so fast COUNT(*)s |
|
5
|
automatic crash recovery |
no automatic crash recovery, but it does offer repair table functionality |
|
6
|
stores both data and indexes in one file |
stores indexes in one file and data in another |
|
7
|
uses a buffer pool (innodb_buffer_pool_size) to cache both data and indexes |
uses key buffers (key_buffer) for caching indexes and leaves the data caching management to the operating system |
|
8
|
ACID(Atomicity, Consistency, Isolation and Durability) compliant |
not ACID compliant |
In this article I am explaining the steps for booting a Hiren’s Boot CD over network.
Note : For booting over network need Network Boot enabled mother board.
Environment:
1. A pfsense gateway with DHCP enabled.
2. Network subnet is 192.168.3.0/24.
3. Ubuntu machine as TFTP server.
Basically for PXE booting we need DHCP server and a TFTP server. Here we already have a DHCP server (pfsense DHCP server).
Step 1: DHCP and PXE Server
Read more…
I installed chmsee viewer for viewing chm files in my Suse11.4 box using Application Manager of Suse. But it was not working. I was sure that there was some thing more to do for getting a working chmsee. I ran chmsee command in terminal and it gives following error.
suku@laptop:~/Desktop> chmsee
** (chmsee:10764): WARNING **: GECKO_UTILS >>> Couldn't find a compatible GRE!
** ERROR **: Initialize html render engine failed!
aborting...
Read more…
This article explains the steps for connecting to Internet using Nokia Mobile phone with BSNL GPRS in Linux.
I conformed following settings on my Laptop using Nokia n97.
Steps:
1. Connect the Mobile phone to your Linux Box.
2. Select PC Suite USB mode on your phone.
Read more…
While compiling lighthttpd I have encountered following error.
configure: error: bzip2-headers and/or libs where not found, install them or build with --without-bzip2
The above error was due to missing of development package of bzip2. So in order to install development package of bzip2, in SUSE 11.4 box do:
zypper install libbz2-devel
While compiling lighthttpd on my SUSE 11.4 virtual machine I have encountered following error.
configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre
From this error itself we can identify the reason for error, right?.
Yes, its just becuase of missing of pcre development package. To install pcre development package, in SUSE just do:
zypper install pcre-devel
If you want to know more about PCRE – Perl Compatible Regular Expressions, click on me.