Thursday, June 30, 2011

Getting a DHCP Linux Host to Broadcast Its Name

When set to using DHCP, the IP address of the machine can change.  When running a server that can be annoying so in the past, I've generally assigned it a static IP and edit all the other machines' /etc/hosts file to give a name that points to the server.  Instead of keep doing this, I decided to have the Linux server broadcast its name to the local network.

Edit /etc/sysconfig/network-scripts/ifcfg-eth0 by adding DHCP_HOSTNAME=<your machine name here>.

This is the location for Fedora so your distribution might be different.  ifcfg-eth0 is dependent on whatever network adaptor you want to config (i.e. if you're using a wireless adaptor it'll have a different name).

Finally, restart the network and your server should be found by your other machines simply by its name.

Sunday, June 19, 2011

Why it is easy to hate LeBron?

Since the NBA Finals ended there has been tons of articles about LeBron by both his fans and his distractors including some that said they felt sorry for LeBron by all the criticism.  Seriously, how bad are the criticism when most of them usually inject praise like how he is an unbelievable talent and that eventually he will win a championship.  I sure wouldn't mind if my performance reviews all included "You're totally awesome!"  In his career, I'm sure there's been more far more praise then critiques.  But I digress.  The question is why is it so easy to hate LeBron?

It's an easy question to answer (in my mind at least).  LeBron himself kind of answered it when he said after the Finals how we fans will go back to our miserable lives and he will enjoy his.  Because in the end, we don't know LeBron the person and only know LeBron the brand.  Fans hate the arrogant spoiled modern athlete.  People like the simple story of good vs. evil, hero vs villian.  LeBron embodies the modern spoiled athlete.  King James is a public figure and his profession is to provide excitement and sports drama.  It happens that his basketball character is the evil bad guy and aren't we suppose to dislike the antagonist while cheering on the protagonist?

It is easy to hate the antagonist.