Archive
Posts in Networking
Documentation on the Solaris NFS client and server implementations
My good friend Clay sent me a link to Vallish Guru's blog, which contains a number of PDFs that describe the Solaris NFS client and server implementations. I read through the NFSv3 RFC and Brent Callaghan's awesome book on NFS a while back, and both of these resources came in handy while I was reading through some of the PDFs. The fact that NFS has been alive for over 20 years amazes me, and it's awesome to see that the NFS folks are taking it in new and interesting directions.
$ read more →Monitoring NFS operations with nfswatch
I support a number of NFS clients, and periodically need to see which types of NFS operations are being performed. The nfsstat utility works pretty well for this, but sometimes I want to get a broader view of what is going on. When these situations arise, I like to fire up the nfswatch utility which displays network traffic along with a listing of NFS operations: This is an awesome tool, and runs awesome on both Linux and Solaris hosts.
$ read more →Shutdown a Windows machine from the UNIX command line
Picked up this nifty trick from command-line-fu This will issue a shutdown command to the Windows machine. username must be an administrator on the Windows machine. Requires samba-common package installed. Other relevant commands are: net rpc shutdown -r : reboot the Windows machine net rpc abortshutdown : abort shutdown of the Windows machine Type: net rpc to show all relevant commands The "net rpc service" command looks spiffy…
$ read more →Installing ISC DHCP version 3.X to a non-standard location
I use the ISC DHCP server to manage IP allocations at home, and to provide the pxegrub handoff location to new systems I'm building. Since my DHCP server has become rather important, I wanted to install it to a file system that was mirrored. To figure out how to do this, I read through the ISC DHCP Makefiles (BIND 4.X uses autoconf, which allows you to set the installation destination with the --prefix option). This led me to the Makefile.conf file, which contains settings that override the global defaults…
$ read more →Updating inetd service manifests on Solaris hosts
I configured a jumpstart server this weekend in my home lab, and needed to enable tftp to allow clients to fetch pxegrub and the Solaris kernel. To enable the tftp service, I uncommented the tftp service in /etc/inetd.conf and ran inetconv. It later dawned on me that I needed to update the directory tftp serves files from, so I needed to adjust the tftp entry and re-run inetconv. This resulted in the following error: The fix for this was simple, and required me to run inetconv with the "-f" (force update) option to force an update: That did the trick, and my lab machines are now building via the network.
$ read more →