Using FreeNAS 0.7 Khasadar (revision 4919) with CIFS/SMB Authentication Anonymous, I changed the Guest account for but it is not actually applying it to the configuration, it is a trivial bug and here’s a small dirty workaround.
1 – Create an excutable file containing this:
#!/bin/sh
# find and replace ‘ftp’ by ‘transmission’
sed -i. ’s/ftp/transmission/g’ /etc/rc.d/samba
# restart samba [...]
I’m writing a note to myself as I don’t have a UPS yet :)
The Port value can be set to “auto” as metionned here: http://jonathanbrown.me/my-freenas-project-part-5-the-config
Found another rerefence that confirms this:
- For newhidups: “auto” or whatever value as newhidups automagically probe for USB UPS.
SOURCE: http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt
Given that I spent time and money on my FeeNAS node, I want to maximize its usage, so when a friend told me that I can use PXE and NFS to boot a diskless computer from the network, I thought it was the perfect opportunity to try somehing new and activate some more services under FreeNAS!
This script will start a scrub on each ZFS pool (one at a time) and will send an e-mail or display the result when everyting is completed. I wrote this script to launch each scrub one after the other and a summary by e-mail that can tell me how much time it took to each ZFS scrub.
wget
To install wget on a “data” parition:
export PKG_TMPDIR=/mnt/usb-data/temp
pkg_add -r wget -P /mnt/usb-data/pkg
Now we need a script to create the symlinks to the wget binaries in the “pkg” directory:
nano /mnt/usb-data/hooks.sh
Here’s the content:
#!/bin/sh
ln -s /mnt/usb-data/pkg/bin/wget /bin/wget
Now make it run at boot time, go in System —> Advanced —> Command scripts and enter:
/mnt/usb-data/hooks.sh
Select PostInit and that’s it! Everytime [...]
You need an embedded install with a data partition. My FreeNAS server runs from a 1GB usb stick and the data partition is mounted as “/mnt/usb-data”. To install Vim on the usb stick:
# using csh
setenv PKG_TMPDIR /mnt/usb-data/temp
# install package
pkg_add -r vim-lite -P /mnt/usb-data/pkg
Now we need a script to create the symlinks to the Vim binaries [...]
UPDATE 2009-09-03
Still running without any issues :)
UPDATE 2009-08-01
Re-installed FreeNAS this weekend and the problem didn’t come back!
Disabling Hyperthreading fixed it!
UPDATE 2009-07-26
Disabling Hyperthreading in the Bios seems to do the trick, I haven’t yet got the error again, I am crossing my fingers.
UPDATE 2009-07-21
Now I am trying to disable Hyperthreading to see if my problem will [...]
Use DeltaCopy (as rsync server) on the Windows box:
http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
You’ll need to open port TCT/873 in your windows firewall.
Note: To fix the accentuated characters issue in the filenames, you can replace the “Cygwin1.dll” in the DeltaCopy directory by a UTF-8 compliant Cygwin dll (http://www.okisoft.co.jp/esc/utf8-cygwin/). Then restart the service or reboot.
And here’s my bash script running on [...]