rsyncd missing secret for user
by simplex on Apr.24, 2010, under Other
If rsync tells you rsyncd[6430]: auth failed on module blablablabla: missing secret for user “user”
Try to chmod 700 your .secret files.
Yes, i’m alive
by simplex on Apr.22, 2010, under Other
We’ve changed server, we switched to Hetzner, and from FreeBSD to Debian.
I miss pf.
And i don’t like too much apt-get, i think it’ll get me angry someday…
FreeNAS 0.7 live: fix the annoying IPTOS_LOWDELAY error
by simplex on Dec.13, 2009, under FreeBSD
If you are tired of this error in log:
smbd[16703]: [2009/12/13 10:26:43, 0] lib/util_sock.c:set_socket_options(237)
smbd[16703]: Unknown socket option IPTOS_LOWDELAY
you have to di a little trick on /etc/rc.dsamba to remove “IPTOS_LOWDELAY” in socket options, doing this (you can add those lines to a script and make it launched after boot, like explained in this article):
sed ‘s/IPTOS_LOWDELAY//’ /etc/rc.d/samba > /etc/rc.d/samba2
mv /etc/rc.d/samba2 /etc/rc.d/samba
chmod +x /etc/rc.d/samba
/etc/rc.d/samba restart
That’s all.
FreeNAS 0.7 live: how to install packages (like mldonkey)
by simplex on Dec.13, 2009, under FreeBSD
If you want to install FreeBSD packages on FreeNAS live you have to “move” your /usr/local directory where you have more space.
This is what you have to do to install mldonkey, for example:
Create a directory local inside your storage:
mkdir /data/local
now copy the content of the current local directory to the new one:
cp -a /usr/local/ /data/local/
and link it in it’s new place, after removing the old one:
rm -r /usr/local
ln -s /data/local /usr/local
Now your /usr/local dir have more spaces and you can install whatever you want. I’ve installed mldonkey with
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/net-p2p/mldonkey-core-3.0.1_1.tbz
(since FreeNAS it’s based on FreeBSD 7.2) then i’ve moved my home dir to the storage doing the same things above.
NB: mldonkey needs libmagic.so.3, you can download it from here and you have to copy it at boot time in /usr/lib.
To have all the jobs done at startup you’ve to create a simple script (and put it in your storage, i’ve created mine in /data dir):
sistemadir.sh
#!/bin/sh
rm -r /usr/local
ln -s /data/local /usr/local
rm -r /usr/home/simplex
ln -s /data/simplex /usr/home/simplex
cp /data/libmagic.so.3 /usr/lib
ldconfig
Now chmod +x the script and tell FreeNAS to launch it after boot.
Go to System->Advanced->Command scripts and add the command sh /data/sistemascript.sh or whatever you’ve called it and set type PostInit.
I’ve also added screen to launch mlnet inside it.
Enjoy mldonkey on FreeNAS!
FreeBSD 8.0-RELEASE Available
by simplex on Nov.27, 2009, under FreeBSD
The FreeBSD Team released a new FreeBSD version, 8.0.
What’s new in this version?
- A new virtualization container named “vimage” has been implemented. This is a jail with a virtualized instance of the FreeBSD network stack and can be created by using jail(8) command.
- Xen Dom-U, VirtualBox guest and host, hierarchical jails.
- NFSv3 GSSAPI support, experimental NFSv4 client and server.
- The ZFS file system has been updated to version 13. The changes include ZFS operations by a regular user, L2ARC, ZFS Intent Log on separated disks (slog), sparse volumes, and so on.
- The wireless network support layer (net80211) now supports multiple BSS instances on the supported network devices.
- Gnome 2.26.3, KDE 4.3.1.
See the detailed releas notes to see in depth what was changed from 7.0-RELEASE.
You can buy cds/dvd here.
Or download it using torrents or directly from a mirror.
Or you can upgrade your remote server with freebsd-update(8). (read the man of your current FreeBSD version!!).
And enjoy FreeBSD!

