First thing to do after installing Linux at work assuming your using DHCP with a long lease

Writing by on Wednesday, 11 of January , 2012 at 9:42 pm

Enter the damn DHCP IP Address in your /etc/hosts and map it to your hostname

$ sudo vi /etc/hosts

# Assuming DHCP that my machine pulls and hostname is wimbledon wimbledon

This will solve several of your problems. Some of the Linux pain points.

For me they were,
NX Nomachine was not able to connect to the server. Server Configuration Error and some weird errors in the details.
P4 Eclipse Plugin was coming back with perforce error: unable to determine client host name
In my Java product, I was getting UnknownHostExceptions
and several others…

Well there you go! This is a MUST DO after Linux installation.

Leave a comment

Category: Linux,Tips and Tricks

No Comments

No comments yet.

Leave a comment

You must be logged in to post a comment.

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.