How to set static IP in Linux
It is very simple , Just go to root folder ( / )  use cd ..  or cd <path> command  to navigate between directory .

Go to  cd /etc/network/

open  vi interfaces

 change DHCP to STATIC

Put ADDRESS <IP>
netmask <255.0. .>
gateway < Gateway ip >

Press ESC
Enter :wq
[ If shows write error use sudo chmod 777 interfaces ]
type sudo reboot 

See All Responses Below...
Author
Message Rating
Posted on: 08/09/2016
thanks for ones marvelous posting. it is very helpful for each one.Thank you for sharing your thoughts. I really appreciate your efforts and I am waiting for your next write ups thank you once again.
http://www.platooh.com
Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Comments
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

 
TekTipsDownload
GateExam
Academic Projects
TekTipsExperts
Android