Search found 1408 matches

by Gordon
02 Oct 2011, 06:59
Forum: B2 & B3 Support
Topic: B2 Torrent Downloads
Replies: 5
Views: 2649

Re: B2 Torrent Downloads

It stops. I can't say anything about bubbamon because I don't use it, but the php error is simply because ftdclient returns output that the webpage is not configured to handle (it's fixed in the B3). I like the point that you're making. Maybe we should make this a feature request, to extend the func...
by Gordon
01 Oct 2011, 14:41
Forum: B2 & B3 Support
Topic: Attaching an "outsourced" NAS
Replies: 12
Views: 4305

Re: Attaching an "outsourced" NAS

Well, the firewall rules will of course be oriented towards the WAN port, but there's nothing keeping you from manually adding rules to DNAT internal traffic accessing specific service ports to another IP. This is in fact a common thing to do to allow LAN users to access locally hosted services (eit...
by Gordon
30 Sep 2011, 16:37
Forum: B2 & B3 Support
Topic: FreeNAS / ZFS
Replies: 16
Views: 6736

Re: FreeNAS / ZFS

scons: building terminated because of errors.
I'd say this last line probably means that this project is currently in a state that not many people would be interested in reproducing it. :?:
by Gordon
30 Sep 2011, 06:49
Forum: B2 & B3 Support
Topic: FreeNAS / ZFS
Replies: 16
Views: 6736

Re: FreeNAS / ZFS

The command "./configure" returns the error message: "bash: ./configure: /bin/sh^M: bad interpreter: No sush file or directory". Any advice? That sounds like a common mistake. You probably unpacked the tarball on a Windows machine using something like winrar or 7-zip and ended up with DOS terminate...
by Gordon
29 Sep 2011, 14:47
Forum: B2 & B3 Support
Topic: FreeNAS / ZFS
Replies: 16
Views: 6736

Re: FreeNAS / ZFS

Look, ZFS is really great and all, but a bit overkill for what you want. If you want stability and hassle-free, then stick with KISS: ext3 is a really robust filesystem, it's supported natively, and it will do the job. ZFS will more likely give you problems than the funky features will save you tim...
by Gordon
29 Sep 2011, 10:43
Forum: B2 & B3 Support
Topic: Better performance for DLNA than NFS on B3
Replies: 20
Views: 8367

Re: Better performance for DLNA than NFS on B3

Could this be of interest? NFS servers Ensure that your NFS server is running in 'async' mode (configured in /etc/exports). The default for many NFS servers is 'async', but recent versions of debian now default to 'sync', which can result in very low throughput and the dreaded "TFW, Error: Write() -...
by Gordon
29 Sep 2011, 09:32
Forum: B2 & B3 Support
Topic: shortcut to storage-folder
Replies: 14
Views: 4971

Re: shortcut to storage-folder

Gordon, you keep on pushing these really nice scripts and I don't want to specifically take the piss out of your effort, but I would like to stick to the KISS principle. No matter how elegant the script, a simple symlink is easier. If the symlink alternative poses no performance hit, what is the be...
by Gordon
28 Sep 2011, 15:13
Forum: B2 & B3 Support
Topic: shortcut to storage-folder
Replies: 14
Views: 4971

Re: shortcut to storage-folder

you are correct! Such a script would make it save. And indeed, if you make sure the mount is established before the user can access the folder, it can no longer be destroyed. But after discussing all these pitfalls, wouldn't you simply check if making a symlink really does result in a notable perfo...
by Gordon
28 Sep 2011, 03:04
Forum: B2 & B3 Support
Topic: shortcut to storage-folder
Replies: 14
Views: 4971

Re: shortcut to storage-folder

True, you need to be root to be able to mount stuff. I'm thinking however that you're regarding this as some on-off solution, which would not be the case. The folder would be mounted at boottime and only released during shutdown. I do not think a user, or even root, could be able to delete an active...
by Gordon
27 Sep 2011, 13:42
Forum: B2 & B3 Support
Topic: shortcut to storage-folder
Replies: 14
Views: 4971

Re: shortcut to storage-folder

You should probably reserve the use of `ln -s` for regular files only. When linking to a folder it is better to create a mountpoint towards it: Why is that? /Daniel I've read an article about it once in a magazine. Essentially what it comes down to is if you symlink a folder it will require an addi...
by Gordon
27 Sep 2011, 08:16
Forum: B2 & B3 Support
Topic: shortcut to storage-folder
Replies: 14
Views: 4971

Re: shortcut to storage-folder

You're very welcome. One thing: a mount will not re-establish itself if you reboot. You should add the mount command to a boot-time script if you want this to be persistent. Alternatively you could add an entry for it in /etc/fstab: /home/storage/somefolder /home/xyz/download/somefolder none rw,bind...
by Gordon
27 Sep 2011, 07:58
Forum: Howtos
Topic: Easy certificate management
Replies: 2
Views: 4285

Restrict access to webfolders to client certificate holders

The next code snippit defines entries that should go into the /etc/apache2/sites-available/bubba file (you will find that the top two entries are already listed there). For this example I've set the certdir to /usr/local/etc/ssl/certs # Server Certificate: SSLCertificateFile /usr/local/etc/ssl/certs...
by Gordon
27 Sep 2011, 05:09
Forum: B2 & B3 Support
Topic: shortcut to storage-folder
Replies: 14
Views: 4971

Re: shortcut to storage-folder

You should probably reserve the use of `ln -s` for regular files only. When linking to a folder it is better to create a mountpoint towards it:

Code: Select all

mount --bind /home/storage/somefolder /home/xyz/download/somefolder
by Gordon
27 Sep 2011, 04:46
Forum: B2 & B3 Support
Topic: Disable firewall?
Replies: 19
Views: 10399

Re: Disable firewall?

iptables -F # clears all rules iptables -X # deletes all user defined tables # Same rules for the nat tables (I'm assuming you don't want masquerading) iptables -t nat -F iptables -t nat -X # Set the policy to accept on all tables iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWA...
by Gordon
23 Sep 2011, 06:28
Forum: B2 & B3 Support
Topic: Automatically save login information via SMB
Replies: 17
Views: 6823

Re: Automatically save login information via SMB

Got it... Didn't manage to get that working when I first set up printer sharing and never tried since because classic (bsd) printing actually gives me more manageability (at least I think so). I'm thinking with this setup you may be hitting a security issue with Cups, not Samba. I also doubt that "u...