Technology Insights

Change Default Text Editor In BackTrack Linux To vi

Changing the default text editor to vi on Ubuntu is fairly easy however it may be tricky depending on how it has been set since there are numerous ways. In BackTrack Linux for instance the default editor is set using select-editor so if you follow another Ubuntu Linux howto it may tell you to modify the default editor using update-alternatives. Below I describe setting the default text editor using both of the mentioned methods and note a couple other locations where it can be set.

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.

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.

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.

Technology Insights

Change BackTrack 5 Boot Splash Screen

Recently I wanted to change the splash screen for BackTrack 5r3 which runs on a base of Ubuntu Linux 10.04 codename Lucid. To do this follow the steps below so each time your computer reboots you can have the splash screen of your choice. Do keep in mind that if the kernel is updated you may have to follow these instructions again.