About Me

My photo
Working as Technical Lead in CollabNET software private limited.
Showing posts with label networking. Show all posts
Showing posts with label networking. Show all posts

Thursday, 5 February 2009

How to set alias name for network machines

Simple thing but avoids our repetative daily work.

To set alias name for your frequently used machine.

#Go to /etc/hosts
vi /etc/hosts
#Make an entry for your machine
#IPAddress Hostname Alias
127.0.0.1 connectmachine.com connect
#Restart your network
/etc/rc.d/init.d/network restart

Once it's done. do a ping to check it up

ping connect

Wednesday, 19 March 2008

To Alter MAC address in windows, linux

I heard that we can't use some internet broad band connectivity expect the specific system as it's bounded to that specific MAC address.

Hmmm, the above raised a question? how to use that in other laptop etc...

Got a suggestion, Why can't you change your machine or laptop's MAC address matching the original bounded MAC address.

To Change MAC address in windows!

Go to,

Settings > Network Connections > local area connection > General Tab > configure > Advanced > Locally Administered Address > value.

Give the value , MAC address of bounded machine.

To Change MAC address in linux!

ifconfig eth0 down

ifconfig eth0 hw ether 00:00:00:AB:AC:AA

ifconfig eth0 up

This will use the mac address temporally to browse!.

Tuesday, 4 March 2008

VPN configuration in Ubuntu

Recently I've configured the VPN for first time and here are
some commands related to it.

Install VPNC
sudo apt-get install vpnc
cd /etc/vpnc/
sudo ls /etc/vpnc

Configure VPNC

sudo vim /etc/vpnc/example.conf
sudo mv /etc/vpnc/example.conf /etc/vpnc/default.conf
sudo vpnc
sudo vim /etc/vpnc/default.conf

To start VPNC

sudo vpnc

To Disconnect VPNC

sudo vpnc-disconnect
ps ax|grep network

Restart Network
sudo /etc/init.d/networking restart
ping yahoo.com