network address in IP FILTER

2007-05-02 Thread Tun Eler
Hi all, i want to have these two rules in the ipf.rules file pass in quick on $oif proto tcp from 217.83.122.17/8 to $myip port = 22 flags S keep state pass in quick on $oif proto tcp from 217.83.89.61/8 to $myip port = 22 flags S keep state where $iof is my interface. Executing the config

network address in IP FILTER

2007-05-02 Thread Tun Eler
Hi all, i want to have these two rules in the ipf.rules file pass in quick on $oif proto tcp from 217.83.122.17/8 to $myip port = 22 flags S keep state pass in quick on $oif proto tcp from 217.83.89.61/8 to $myip port = 22 flags S keep state where $iof is my interface. Executing the config

IP FILTER and network address

2007-05-02 Thread Tun Eler
Hi all, i want to have these two rules in the ipf.rules file pass in quick on $oif proto tcp from 217.83.122.17/8 to $myip port = 22 flags S keep state pass in quick on $oif proto tcp from 217.83.89.61/8 to $myip port = 22 flags S keep state where $iof is my interface. Executing the config

Re: IP FILTER and network address

2007-05-02 Thread Tun Eler
Appending your IP with /8 ends you up with two rules that essentially look like this (AFAIK): pass in quick on $oif proto tcp from 217.0.0.0/8 to $myip port = 22 flags S keep state Oh, off course. I was applying the rule in the wrong direction, from the right to the left. Silly :-)

Re: mounting an external Hard Drive

2007-04-11 Thread Tun Eler
Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' # fsck_msdosfs /dev/da0s1 ** /dev/da0s1 Unknown file system version: 1d.1c # mount_ntfs /dev/da0s1 /exthd # df /dev/da0s1  244196000 39178084 205017916    16%    /exthd !!! coool !!! Thanks ...

Re: mounting an external Hard Drive

2007-04-11 Thread Tun Eler
Are you sure it is formatted with FAT? It could be NTFS. Try running 'fsck_msdosfs /dev/da0s1' # fsck_msdosfs /dev/da0s1 ** /dev/da0s1 Unknown file system version: 1d.1c # mount_ntfs /dev/da0s1 /exthd # df /dev/da0s1  244196000 39178084 205017916    16%    /exthd !!! coool !!! Thanks .. --

mounting an external Hard Drive

2007-04-10 Thread Tun Eler
Hello, i was trying to mount an external HDD in my machine running FBSD 6.2 RELEASE. I configured the kernel according to the Handbook and pluged the exernal HD. Then i typed (starting with # are my commands, otherwise output): # dmesg acpi_tz0: failed to set new freq, disabling passive cooling

mounting a solaris HD

2007-04-09 Thread Tun Eler
Hi all, i have to mount a Solaris HD on my FBSD 6.2 machine in order to extract some data. It is recognized at boot time as ad1: 76319MB SAMSUNG SP0842N BH100-35 at ata0-slave UDMA66 I tried mount -t ext2fs  /dev/ad1  /mnt and got the answer: mount_ext2fs: /dev/ad1: Invalid argument The

Re: mounting a solaris HD

2007-04-09 Thread Tun Eler
Doesn't solaris use UFS filesystems? I think plain old mount shoud do the trick. No, mounting without the -t option gives and incorrect super block error message. If no other tips come, im afraid i have to reconfigure my kernel then. Thanks You might want to enable options GEOM_SUNLABEL