Category Archives: unix

Transmission Qutting Randomly

If you have been getting random quits from Transmission lately on your FreeNAS box, or wherever:

kernel: pid 36994 (transmission-daemon), uid 999: exited on signal 11

By adding the transmission username to the wheel group it now has permissions to save those torrent files wherever and also be able to modify its own config files as well if needed to:

# pw usermod transmission -G wheel

Transmission Permission Denied

I’m running FreeNAS 0.7.2 Sabanda (revision 5637) and enabled Transmission 2.12 (11412) on it. Though came across this error while attempting to download a torrent:

transmission-daemon[1852]: Couldn't create "/NAS/Torrents/Ubuntu-10.04": Permission denied

So it looks like Transmission doesn’t have permission to create a folder in the desired location. A quick ls -l shows the following:

#ls -l
drwxrwxr-x    4 root   wheel    4 May 26 21:59 Backup
drwxrwxr-x   13 root   wheel   26 May 21 15:26 Documents
drwxrwxr-x    5 root   wheel    5 Dec 28 16:52 ISO
drwxrwxr-x    2 root   wheel    2 Dec  5 22:27 Torrents

So the owner is root and the group is wheel. I like the permissions to be Read & Execute (775) by everyone so that means that users in the wheel group can perform write actions. That means that the Transmission user needs to be added to the wheel group:

#pw user mod transmission -G wheel

It should all work fine now.

Windows Server 2008 R2 Core Configurator

If you ever have the need to install Microsoft Windows Server 2008 Core for security reasons, hardware limitations or whatever, then Core Configurator is your life safer!

Core Configurator is a simple GUI which brings together the most frequently used tools for easy administration of a Core server. It’s main features are:

  • Product Licensing
  • Networking Features
  • DCPromo Tool
  • ISCSI Settings
  • Server Roles and Features
  • User and Group Permissions
  • Share Creation and Deletion
  • Dynamic Firewall settings
  • Display | Screensaver Settings
  • Add & Remove Drivers
  • Proxy settings
  • Windows Updates (Including WSUS)
  • Multipath I/O
  • Hyper-V including virtual machine thumbnails
  • JoinDomain and Computer rename
  • Add/remove programs
  • Services
  • WinRM
  • Complete logging of all commands executed

Core Configurator is free and open source. It can be downloaded from http://coreconfig.codeplex.com/

Installing Core Configurator

  1. Download either the ISO or the ZIP and connect it to your Windows 2008 R2 x64 Server Core installation (I am using the ISO for this example)
  2. Make sure that we are in the root of C:\ with the following command:
    c:\
  3. Make a directory where all of the Core Configurator files will be copied over:
    mkdir coreconfig
  4. With the CD/DVD in the drive (or mounted), we’ll copy over the contents of the disc to the folder we just created earlier:
    copy d:\ c:\coreconfig
  5. Go into the directory were the files have been copied over to:
    cd c:\coreconfig
  6. And start Core Configurator GUI:
    Start_CoreConfig.wsf

N.B. If it asks to install PowerShell or any other additional software just allow it to install them to prevent any errors that might crop up later on.

Mount NTFS USB Drive in FreeBSD 7

The below command should mount a NTFS usb drive in FreeBSD 7:

mount -t ntfs -w /dev/da0s1 /media

For Fat32:

mount_msdosfs /dev/da0s1 /mnt/usb


If the command above does not working, maybe installing ntfs-3g might do the trick:

pkg_add -r fusefs-ntfs

Loading the Fuse.ko module:

sudo kldload /usr/local/modules/fuse.ko

And to use it:

mount -t ntfs-3g /dev/da0s1 /mnt/usb