Setting up MLDonkey on FreeBSD (howto)

Linux/BSD: sharing experiences is a blog with useful howtos for FreeBSD and Linux. The latest howto is on setting up MLDonkey on an old, headless, PC.

MLDonkey is an open source, free software multi-network peer-to-peer application. Currently the following protocols are supported: eDonkey, Overnet, Bittorrent, Gnutella, Gnutella2, Fasttrack, FileTP and Kademlia.

I wanted to put my 266 Mhz Celeron to good use so I’ve decided to install MLDonkey without X11 support leaving only the core with both telnet and web interfaces.

Bellow are the steps need to install MLDonkey on FreeBSD 7.0:

Thanks for letting me know about this post, Ricardo!

gmirror – recovering data from a failed hard disk

Having a working RAID and data mirroring set up on your server/PC is great for when your one of your hard disks dies, but what to do when this really happens to you? How do you get that data back?

This article shows what to do to retrieve your data back on a FreeBSD system that uses gmirror

I like RAID. On my development server, I use both hardware and software RAID. For hardware RAID on FreeBSD, I like 3Ware. For software RAID, I tend to use gmirror, because I don’t need more than RAID-1.

Some time ago I added two 120GB HDD to this system. One was SATA, one was PATA. They were joined together via gmirror. Tonight I received some errors that one of the drives was failing. I replaced the drive, and recovered the mirror. I’ll show you what I did, mostly so I know what to do the next time it happens, but also so you can see what to do as well.

More…

Setting up Squid on FreeBSD (howto)

Squid is a caching proxy and conserving badwidth application for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. With Squid, you can reduce the network/internet traffic by 30% or more from normal usage (without squid) and enhance respone time.

Step-by-step instructions on how to install Squid on FreeBSD can be found here.

Reset admin/root password in FreeBSD (howto)

  1. Turn the system off.
  2. Hit ESC when the OS boots up
  3. Choose to boot into Single User Mode (option 4)
  4. Select the default shell (/bin/sh)
  5. When the machine is booted up and you see the prompt, enter:
    • mount -u /
    • mount -a
  6. Type passwd to reset the password
  7. Enter the new password and confirm it
  8. Type reboot to reboot the machine (or press the shutdown button to reboot)

How to resize ZFS in FreeNAS

One of the frequently asked questions regarding ZFS. Is it possible to resize a RAIDZ, RAIDZ2 or MIRRORED ZPOOL?

The answer is a littlebit complicated…
If you want to change the ‘geometry’ of the ZPOOL (for example: change from a mirrored pool to a raidz, or simply add a disk to a raidz, or change from raidz to raidz2) then the answer is no.

But it is possible to change the disks of a pool with bigger ones and use the space.

Read further…