Search results

  1. Ico

    Cannot run bash script file

    #which bash /usr/local/bin/bash
  2. Ico

    Help with a Perl script

    Got it! Thanks for the pointers :) Code: sub generate_file_hash(){ my $filename = shift; $MASTERCOUNT++; my @list = stat($filename); if (@list) { my ($dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks) = @list...
  3. Ico

    Help with a Perl script

    Yeah, I've been trying to debug it for some time, I even rewrote the code without the extra subs cause I thought it was a scope issue with the vars, it's going on my top priority list for tomorrow. :)
  4. Ico

    Help with a Perl script

    @Alt: I think I'd rather stick to warnings and strict, than turn them off.. as gcooper@ noted, it could cause other problems. @gcooper@: stat() call is working, the values are assigned and the diff returns what it should as you can see toward the end of the output in my initial post. @SirDice...
  5. Ico

    Help with a Perl script

    Hey guys, I am getting an annoying warning when running this piece of code on my FreeBSD machine with Perl 5.8.9. It doesn't have the errors under Linux with Perl 5.10 Anyhow, this is the code: #!/usr/bin/perl use strict; use warnings; use vars qw($reinit_sysintegrity); # this value will...
  6. Ico

    compilation stop when making KDE4.3.0 ?

    Same thing happened to me after about 4 hours of compiling kde4 last night. Today I'm thinking about just installing it from packages, it should take a lot less time hopefully. I have one question though, stuff that's installed through pkg_add is not checked by portaudit or is it? In its...
  7. Ico

    FTP proxy

    Ahhhh and here I was thinking squid supports full ftp functions. That explains many things. Thanks
  8. Ico

    FTP proxy

    hm Actually I am trying to do the exact same thing and it just isn't working for me. I have an SSH tunnel working like a champ and I am forwarding my :80 traffic through the tunnel as we speak in fact. But I can't get the FTP to work through the squid. I have added some lines to the...
  9. Ico

    Ideas for a cool security tool

    Hey guys.. I need a topic for my thesis for a master's degree... I basically have to develop a useful security/network application preferably something that hasn't been done yet (or hasn't been done for a certain OS or something like that). I'm open to any ideas :D
  10. Ico

    BackupPC

    The problem is that I have 2 Windows Vista laptops that also need backed up...
  11. Ico

    BackupPC

    OK I have some progress... I followed this guide: http://backuppc.wiki.sourceforge.net/mini_httpd and have got to the point where I can open it in a browser and it ALMOST starts... # /usr/local/etc/rc.d/backuppc start 2009-03-08 01:13:53 Can't create a test hardlink between a file in...
  12. Ico

    BackupPC

    Has anyone here installed BackupPC on a FreeBSD server successfully? I have been reading.. configuring.. testing.. and been getting angry all day. I've double checked to make sure the paths in the config.pl file are correct. It's just not working for me. I keep getting the "Error: Unable...
  13. Ico

    Network-NetBIOS-SAMBA issues

    After you make sure that your server can be seen on the network (i.e. you can ping it/ssh to it from other machines, etc..) 1. Configure Samba (here is my /usr/local/etc/smb.conf) [global] workgroup = WORKGROUP # // workgroup name server string = lucy # // server hostname...
  14. Ico

    Few mounting questions (advice needed)

    So far synchronous is working well, on top of that I added a crontab job just to umount and mount the drive at 6am every day, to be sure everything will be written and saved on the external hdd :)
  15. Ico

    Few mounting questions (advice needed)

    Thanks, that answered the first question. Update on Q2: Mounted the drive synchronously: [root@lucy /]# mount -o sync /dev/da0s1 /mnt/wd [root@lucy /]# mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr...
  16. Ico

    Few mounting questions (advice needed)

    Question 1: Look at the mount table below. The last item is my external hdd (Western Digital 1TB). It used to show as 931GB when it was FAT and NTFS. Now that I formatted it as UFS it shows as 902GB and in fact it has 830GB available. Is that normal? Seems like quite a loss. [root@lucy /]# df...
  17. Ico

    Partitioning an external hard drive WD MyBook

    The Disk Label editor? Btw I think I have encountered a problem with samba and msdosfs and rw permissions. When I try to create a dir or a file on the share I get a nasty error about device being in use.. Looking at the smb logs, smbd is going nuts: [2009/02/26 15:16:17, 0]...
  18. Ico

    Partitioning an external hard drive WD MyBook

    Hey guys, I just got a 1TB external hard drive (USB) by Western Digital. Hooked it up to my FreeBSD server and mounted it - no problems. Even mapped it to a windows laptop using Samba. My question is, what is the easiest way to partition the disk into say a 400GB and a 600GB slices. I am...
  19. Ico

    Why does this remind me of FreeBSD...

    This one? http://www.underconsideration.com/brandnew/archives/pepsi_bottles_large.jpg
  20. Ico

    A Call for FreeBSD Artwork

    too many religion fanatics...
Back
Top