DHCP Changes Mac Hostname

By default the Hostname on a Mac will be changed by DHCP. Most of the time, I want my hostname to stay the same. So this can be overridden by setting it in: /etc/hostconfig change: HOSTNAME=-AUTOMATIC- to read HOSTNAME=mymac ref: http://hintsforums.macworld.com/showthread.php?t=29712 Set it in the Terminal with sudo scutil –set HostName <putinyourhostname_or_fqdn_here> like in: sudo […]

Read More →

Sun Java on Ubunutu 10

1) add-apt-repository “deb http://archive.canonical.com/ lucid partner” 2) sudo apt-get update 3) sudo apt-get install sun-java6-bin sun-java6-jre sudo apt-get http://archive.canonical.com/ubuntu lucid partner ??? http://www.clickonf5.org/linux/how-install-sun-java-ubuntu-1004-lts/7777

Read More →

RedHat / CentOS EL5 Static IPv6 woes

Does RedHat EL5 / CentOS like doing static IPv6? NO It is easy to add a static IPv6 address, but it will still auto configure a dynamic one. Many times you don’t care. But sometimes you just want 1 address on the box then…. [root@myhost ~]# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=yes HOSTNAME=myhost.mydomain GATEWAY=1.2.3.1 IPV6FORWARDING=no IPV6INIT=yes # […]

Read More →