This post originated from an RSS feed registered with Python Buzz
by Phillip Pearson.
Original Post: Moving along with Solaris
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
OpenSolaris isn't exactly easy on the new administrator, but I think I've finally got things going. It worked all right out of the box, but configuring a static IP address was a little involved. Some tips:
- Don't believe what all the 'how to get started with solaris' guides say about setting a static IP address by editing /etc/hosts and /etc/hostname.device; OpenSolaris has a new system for that. Edit /etc/nwam/llp and change 'rtls0 dhcp' to 'rtls0 static 192.168.12.34' (replacing rtls0 with the device name of your ethernet card and 192.168.12.34 with the IP address you want).
- You have to manually enable DNS if not using DHCP! Edit /etc/nsswitch.conf and look down to the 'hosts: files' line. Change it to 'hosts: files dns'.
- Otherwise, follow the usual instructions for filling out /etc/hosts, /etc/defaultrouter, /etc/hostname.device, /etc/nodename, and /etc/resolv.conf.