Technology Insights

Test NFS From OSX

When setting up a NFS server its nice to be able to test from your desktop to verify things are working properly. In the current scenario I setup NFS on a BackTrack Linux server and needed to test it quickly from OSX to make sure NFS mounts were advertising properly. Below are a couple quick commands to first display the available NFS mounts and second to mount the NFS drive on OSX to verify functionality.

Details
Technology Insights

Setup dhcp3 Server To Listen On eth1

Earlier I was setting up a PXE boot server that was connected to two networks and wanted to hand out DHCP addresses only on the second interface which in this case was eth1. The primary interface on the server is eth0 however that Ethernet port is attached to a switch that already has a DHCP server connected to it so I needed to make sure that the DHCP server only replies to requests on eth1. Use the dhcpd.conf configuration option below to specify the Ethernet interface that dhcpd will listen for and reply to DHCP and/or BOOTP requests.

Details
Technology Errors

invoke-rc.d: initscript nfs-kernel-server, action “start” failed

Earlier this morning I needed to run some tests against a NFS server running on BackTrack Linux version 5 release 3 and ran into some issues installing the nfs-kernel-server. It appeared as if things started to install properly but then the nfs-kernel-server did not start properly and ended up displaying a couple errors. Below I describe the error in more detail followed by the process I used to get the nfs-kernel-server installed properly on BT5.

Details
Technology Errors

dhcp3-server: Depends: dhcp3-common (= 3.1.3-2ubuntu3.2) but 3.1.3-2ubuntu3.3 is to be installed

When attempting to install dhcp3-server on BackTrack Linux version 5 R3 you likely will run into a dependency error. This error was received on a brand new install of BT5r3 so the issue would be the same on any current install. Below I describe the error installing dhcp3-server on Backtrack in more detail as well as how to easily fix the problem. It should also be noted that this will likely fix other dependency issues you might have run into with a fresh install of BT5r3.

Details
Technology Insights

Sniff All Broadcast Traffic Using tcpdump

Earlier while troubleshooting a possible issue with VMWare Player on Ubuntu Linux I needed to sniff broadcast traffic. The goal was to see if there were multiple MAC addresses sending out broadcast traffic after VMWare Player was installed on Ubuntu even without a VM actually running. Below is a quick example of how to sniff Ethernet broadcast and multicast traffic using tcpdump.

Details