• support[@]kurinchilion.com
  • +1 (888) 666-4252

Blog

Linux: Determining IP information for eth0… failed

Dec 27, 2009 - by kurinchilamp /Linux Server/ 709 Views
When setting up a workstation to connect to internet, you may come across a message Determining IP information for eth0... failed The above error message basically means that eth0 i.e your network interface card is not setup correctly. Some of the commands that can come handy in troubleshooting where the error lies are listed below $ dmesg | grep eth0 (displays information about the ethernet controller card, mac address etc.) $ cat /etc/sysconfig/network(displays the network settings) NETWORKING=yes HOSTNAME=localhost.localdomain GATEWAY=192.168.122.1 $ cat /etc/sysconfig/network-scripts/ifcfp-eth0 $ ifconfig eth0 down (to down the nic) $ ifconfig eth0 up (to start the nic) $ netstat -rn (display kernel routing IP table) $ cat ifcfg-eth0 (eth0 configuration settings) DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:16:18:33:B3:CF ONBOOT=yes $ service network restart (restart the network settings) $ ping -c4 google.ca(to check if the internet connection works) $ traceroute google.ca (to check how the IP navigation path is set) Refer Red Hat linux 5 configure network article for additional info
Continue Reading

Virtual World: with VMWare Player

Dec 05, 2009 - by kurinchilamp /Linux Server/ 383 Views
VMWare Player is a free software available from VMWare Inc. enabling the creation of guest OS within an existing OS Notes for a beginner ... * VMWare Player and VMWare Server are available for free * A .vmdk file is the virtual hard drive for the guest OS * A .nvram file stores the BIOS settings of the virtual machine * A .vmx file stores the configuration settings for the virtual machine. All you need is a text editor to edit the VMWare configuration settings. * A .vmsd file stores information about VMWare snapshots. (more…)
Continue Reading

Ubuntu: How to check if a software is installed in ubuntu?

Dec 03, 2009 - by kurinchilamp // 343 Views
Command used to check if a particular software is installed in Ubuntu or not $ dpkg-query -s firefox This is the equivalent of "rpm -qa firefox" in RedHat/CentOS
Continue Reading

PHP: Parse URL encoded GET data

Oct 08, 2009 - by kurinchilamp // 326 Views
<?php
// To build back the URI and to extract the passed parameters, you can use parse_url, parse_string function 
$extract_string = parse_url($pass_string);
echo "<h2>Extracted URI (using parse_url)</h2><br />";
echo "<pre>";
var_dump($extract_string);
echo "</pre>";

// To decode the query string use parse_str function 
parse_str($extract_string["query"], $extract_query);
echo "<h2>Extracted Query String (using parse_str)</h2><br />";
echo "<pre>";
var_dump($extract_query);
echo "</pre>"; 

?>
Continue Reading

Minimum Hardware Requirements for Linux Install

Oct 07, 2009 - by kurinchilamp // 297 Views
As indicated by Red Hat ... CPU - Pentium type, 200 MHz for text mode Hard disk space - 475 MB Memory - 64 MB for text mode
Continue Reading

PHP: Program to pass data using character encoding (GET Parameter)

Oct 06, 2009 - by kurinchilamp // 383 Views
PHP program to pass data as GET parameters
<?php
// PHP 5 how to pass data as a query string
/*
http_build_query is a function in PHP 5 that enables you to URL encode the query string. You can pass an array or an array of array to this function. The default separator is "&"
*/

$data = array("first_name" => "Robert",
                "last_name" => "Brown",
                "address" => "123 Adam St., New York"
            );

// URI formatted with character encoding
$pass_string = "http://localhost/demo.php?".http_build_query($data, '');

echo "<h2>Query URI (using http_build_query)</h2><br />";
echo $pass_string;            
?>
Ouput from the above execution: Query URI (using http_build_query) http://localhost/demo.php?first_name=Robert&last_name=Brown&address=123+Adam+St.%2C+New+York
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.