Linux IP address problem

Question1: How to set ip address in a Linux machine if it's network card is configured...

Answer: First give command to see the network card and default ip address of system...

Login as a root user and then give ifconfig

Now you will get some information

etch0 .....................
.....................
......................

lo ..............
...............

Now give---------------

ifconfig eth0 ip-address netmask 255.255.255.0 up

(This will set the ip-address)

Popular posts from this blog

Android: where to run keytool command in android

Can not connect to git using ssh (Permissions 0644 for '/root/.ssh/id_rsa' are too open.

Upload file on Google cloud storage using Java servlet on google app engine