Stop! Before you do anything, realize that you might just render your MacBook unbootable. Make sure you have a full backup and your original install DVDs. See this site’s Terms of Use. Still with us? Well… let’s continue. The first step is to run boot camp: This will create an extra partition on your hard […]
Installing GNU/Linux on a MacBook Intel Core 2 Duo – 2
Installing GNU/Linux on a MacBook Intel Core 2 Duo – 3
Stop! Before you do anything, realize that you might just render your MacBook unbootable. Make sure you have a full backup and your original install DVDs. See this site’s Terms of Use. Here is what our partitions look like after installing. This is what Partition Inspector, the tool that comes with rEFIt says: *** Report […]
Installing GNU/Linux on a MacBook Intel Core 2 Duo – 4
Stop! Before you do anything, realize that you might just render your MacBook unbootable. Make sure you have a full backup and your original install DVDs. See this site’s Terms of Use. Still with us? Well, we need to boot up using SystemRescueCD. Now, one thing that is really strange is that if you get […]
Installing GNU/Linux on a MacBook Intel Core 2 Duo – 5
You still with us? If you tuned in part way through this article, or happened to miss it, let us just say… Stop! Before you do anything, realize that you might just render your MacBook unbootable. Make sure you have a full backup and your original install DVDs. See this site’s Terms of Use. When […]
Installing GNU/Linux on a MacBook Intel Core 2 Duo – 6
The system should all be live and happy after you reboot. Here is the lilo bootloader: We are particularly fond of using X style copy/paste. This sequence of commands will remap the 2nd and 3rd mouse buttons to F11 and F12: sysctl -w dev.mac_hid.mouse_button_emulation=1 sysctl -w dev.mac_hid.mouse_button3_keycode=174 sysctl -w dev.mac_hid.mouse_button2_keycode=176 setxkbmap -layout us xkbset m […]
Using Tar to Extract a Single File or Directory
It may just be me… but… One thing I tend to do is extract entire tarballs, find the file I want, and then copy the file. Tar can be used to extract a single file from the archive. Further, it will extract the tree. Let’s take a peek at the archive using head and the […]
Renaming a Bunch of Files to Random Names
Say you have a bunch of files in a directory and you want to turn them all into random file names. Run this command from Bash: for fname in *; do mv “$fname” $RANDOM.fil; done
Split Large Files Into Smaller Pieces
Use the split command to carve up a large file into multiple pieces, and put them back together again with cat. Use md5sum to double check your results: split -n 2 bigfile.tar.bz2 mkdir tmp mv bigfile.tar.bz2 tmp ls xaa xab cat xa* > bigfile.tar.bz2 md5sum bigfile.tar.bz2 08d860e55381aa87b2084449589d2dce bigfile.tar.bz2 md5sum tmp/bigfile.tar.bz2 08d860e55381aa87b2084449589d2dce tmp/bigfile.tar.bz2 You can also […]
Rename All Filenames With Spaces to Underline
If you want to just rename a space to an underline in all filenames in a directory, try: for fname in *; do mv “$fname” `echo $fname | tr ‘ ‘ ‘_’`; done
Build Your Own Cat5 Cable Tester – Introduction
We designed and built a device that will test the basic integrity of a straight through or crossover cable. All you have to do is plug the cable into the two ends of the box. The X LED will light if the cable tests OK for a crossover cable. The S LED will light if […]
Build Your Own Cat5 Cable Tester – Part 1
Part 1 – How to wire Cat5 cables, and how they work. There are many different schemes for wiring Category 5 cables, EIA/TIA 568A and 568B are the most common. We wrote up a couple pdf diagrams for these you can refer to: 568A, 568B . 568B is quite widely used, especially in the US; […]
Build Your Own Cat5 Cable Tester – Part 2
Part 2 – Circuit Design Now that we know how a Cat5 cable works, we can design a circuit to test the cable. We do know that for straight-through cables we need to ensure 1-1, 2-2, 3-3, and 6-6. For crossover cables we need to ensure 1-3, 2-6, 3-1, and 6-2. We also need to […]
Build Your Own Cat5 Cable Tester – Part 3
Part 3 – Creating the circuit board [ Note: There is an update on this process on Coprolite here that includes pictures and instructions for using a new press that is available. ] The first step to creating the circuit board is laying it out electronically. We use PCB, a program that runs on *NIX […]
Build Your Own Cat5 Cable Tester – Part 4
Part 4 – drilling the PC board and assembling Drilling the board is kind of tricky. I bought a really cheap drill press called an Octopus from Jameco. Here is a picture with a board ready to drill with the drill press: The drill bit size is key to a successful project. I use #69 […]
Z8 Encore Development Kit
One interesting thing is that over the last few years, the worlds of microcontrollers and network administration have started to overlap. Here at NetAdminTools we have used microcontrollers of various types for various applications from pwer control to console servers in our homebrew section. Many microcontrollers have the ability to run IP stacks and network […]
Coprolite Z-80 Homebrew Computer Documentation Finished
Agatha has been working since, oh, around 1979 to build the perfect Z-80 homebrew computer. Many adventures in the mean time. Some pieces were completed in ’89, the main circuit was breadboarded in ’91, most of the circuit was soldered up in ’93, but it wasn’t until today, July 7th 2003, that Agatha finally finished […]
Extending a Logical Volume
In this article, we set up Logical Volume Manager for GNU/Linux. We created a 12 GB device from 3 4 Gig drives, but only assigned 5 GB for our logical volume. Now, we are going to extend that volume. [Note: Before you do anything involving your partitions or volumes, make a complete backup. Make sure […]
Cloning Hard Drives with GNU/Linux
It is quite easy to clone identical hard drives using the dd command on GNU/Linux. Make sure that you put the source drive and destination drive in the system so that they don’t affect the boot. If you have a SCSI system, this is most likely done by making the SCSI IDs higher. With IDE, […]
Installing SNMP on Windows Server 2003 Using Net-SNMP
Installing SNMP on Windows Server 2003 Using Net-SNMP
Configuring SNMPv3 Security On Windows Server 2003
In this article we set up SNMP using the Net-SNMP package. We showed how to set up user security for GNU/Linux on our Centos 4 box in this article. The procedure is a little different for Windows, because the net-snmp-config command is not available. The userid and passphrase need to be in the snmpd.conf file: […]