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 file i get the following error

ioctl(add/insert rule): File exists

Which means the rule is being loaded twice. But the networka addresses above are
different!!! If i comment any of the above two lines, ipf executes fine.
Any idea how to solve this error, and allow only these two networks above?
Thanks in advance ...




-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 file i get the following error

ioctl(add/insert rule): File exists

Which means the rule is being loaded twice. But the networka addresses above are
different!!! If i comment any of the above two lines, ipf executes fine.
Any idea how to solve this error, and allow only these two networks above?
Thanks in advance ...




-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 file i get the following error

ioctl(add/insert rule): File exists

Which means the rule is being loaded twice. But the networka addresses above are
different!!! If i comment any of the above two lines, ipf executes fine.
Any idea how to solve this error, and allow only these two networks above?
Thanks in advance ...



-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 :-)
Thanks ...


-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 ...


-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 ..

-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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
umass0: vendor 0x04b4 Cypress AT2LP  RC7, rev 2.00/2.40, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: SAMSUNG SP2514N  Fixed Direct Access SCSI-0 device 
da0: 1.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
# camcontrol devlist
SAMSUNG SP2514N  at scbus0 target 0 lun 0 (pass0,da0)
# ls /dev/da*
/dev/da0    /dev/da0s1
# mkdir /exthd
# mount_msdosfs /dev/da0 /exthd
mount_msdosfs: /dev/da0: Invalid argument
# mount_msdosfs /dev/da0s1 /exthd
mount_msdosfs: /dev/da0s1: Invalid argument
# dmesg
mountmsdosfs(): bad FAT32 filesystem
mountmsdosfs(): bad FAT32 filesystem

# Uou, i did exactly as in the hadbook. The HDD was working fine in a Windows 
machine.
# Thanks in advance for any tip ...




-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 only device for the disk is /dev/ad1, there are no other /dev/ad1* files.
What else can i try here?
I think i have to specify the partition i want to mount, but how?

Thanks in advance ...



-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 in your kernel, though
 I don't know if that's necessary.
 



-- 
___
Get your free email from http://bsdmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]