add/remove disks in gmirror

2007-12-04 Thread Eugene M. Minkovskii
Hi all! I use FreeBSD 6.2 I want to try use gmirror to constract raid5, so I do following: # dd if=/dev/zero of=zero0 bs=1024 count=102400 # dd if=/dev/zero of=zero1 bs=1024 count=102400 # dd if=/dev/zero of=zero2 bs=1024 count=102400 # mdcontrol -a -t vnode zero0 # mdcontrol -a -t vnode zero1 #

how to locate file by inode?

2006-03-22 Thread Eugene M. Minkovskii
Hello! Does anybody know how to locate file by inode? For example, using fstat(1) I see: USER CMD PID FD MOUNT INUM MODE SZ|DV R/W ... user some_program 84130 0 /dev 68 crw--w ttyp0 rw user some_program 84130 1 /usr 595890 -rw-r--r-- 0 w user some_program

Something wrong in stable 5.3?

2004-12-30 Thread Eugene M. Minkovskii
Hi! I'm confusing now: about a month ago I have upgrated from FreeBSD 5.2.1 to stable 5.3. Since this moment strange things have been happens on my PC. Usually system works Ok, and can be run as long as I need without errors. But sometime, (after a little time after the boot) all begin crashed (co

Re: Something wrong in stable 5.3?

2005-01-01 Thread Eugene M. Minkovskii
On Fri, Dec 31, 2004 at 05:44:51AM -0600, Nikolas Britton wrote: " Peter Ulrich Kruppa wrote: " " >On Thu, 30 Dec 2004, Tom Connolly wrote: " > " >>Eugene M. Minkovskii wrote: " >> " >>>Hi! " >>> " >>>

sendmail and mbox permissions

2005-01-05 Thread Eugene M. Minkovskii
Hi. I use FreeBSD 5.3 and sendmail. When root rechieve the mail, mailbox's (/var/mail/root) permission bits has been setted to 600. Who and how it does? Can I change this behavior? -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский _

can't remove directory

2005-01-06 Thread Eugene M. Minkovskii
Hi! some months ago I'm install FreeBSD 5.2.1 on my PC. When I do it I set default partition size. For example /var has 256 Mb. After some time I found that It is too small for me. I move a lot of directory to /usr and make symlinks to it: mkdir /usr/var mv /var/tmp /var/mail /var/log /usr/var cd

Re: sendmail and mbox permissions

2005-01-06 Thread Eugene M. Minkovskii
On Thu, Jan 06, 2005 at 12:14:05AM +0100, J65nko BSD wrote: " On Wed, 5 Jan 2005 23:23:29 +0300, Eugene M. Minkovskii <[EMAIL PROTECTED]> wrote: " > Hi. " > " > I use FreeBSD 5.3 and sendmail. When root rechieve the mail, " > mailbox's (/var/mail/

Re: can't remove directory

2005-01-06 Thread Eugene M. Minkovskii
mp/temproot/var/empty: Operation not permitted rm: /var/old-tmp/temproot/var: Directory not empty rm: /var/old-tmp/temproot: Directory not empty rm: /var/old-tmp: Directory not empty " > -Original Message- " > From: [EMAIL PROTECTED] " > [mailto:[EMAIL PROTECTED] B

Re: can't remove directory

2005-01-06 Thread Eugene M. Minkovskii
On Thu, Jan 06, 2005 at 05:20:55AM -0500, Chuck Swiger wrote: " Eugene M. Minkovskii wrote: " >On Thu, Jan 06, 2005 at 01:03:31AM -0800, Ted Mittelstaedt wrote: " >" What is the error message when you: " [ ...steps removed... ] " >Sorry Ted. System write &qu

crontab synatx

2005-02-28 Thread Eugene M. Minkovskii
Hello. I put in my crontab following string: # min hour mday month wday command 0 7*/3 * * echo "Hello world" So, I hope, this command will be workind every third day: 3,6,9,12 etc, because at man crontab we read: For example, ``0-23/2'' can be used in the hours field to specif

Re: sshd

2005-03-01 Thread Eugene M. Minkovskii
On Wed, Mar 02, 2005 at 08:00:13AM +0100, Stevan Tiefert wrote: " Hello list, " " when I am watching the /var/log/auth.log I see many missed logins from " IP-addresses I never tried to login from. Am I right that they is a hacker " trying to login on my mashine, because he was using loginnames I n

mutt working throu NFS only in read-only

2005-03-08 Thread Eugene M. Minkovskii
Hello, I have some trouble in NFS configure. I need to read mail through NFS. So I say on the server: [EMAIL PROTECTED] cat /etc/exports: /var/mail 172.16.0.2 On client: [EMAIL PROTECTED] sudo mount_nfs 172.16.0.1:/var/mail ~user/mnt/nfs [EMAIL PROTECTED] ls -l ~user/mnt/nfs ... -rw--- 1 use

sshd behaviour

2005-03-15 Thread Eugene M. Minkovskii
Hi. I see strange to me behaviour of sshd. Please tell me is it bug or feature? I use following network configuration: ######## # LAN # -> # gateway # -> # router # ######## Gateway machine has sshd. Normally I work from LAN on the gateway

Re: sshd behaviour

2005-03-16 Thread Eugene M. Minkovskii
On Wed, Mar 16, 2005 at 10:00:44AM -0600, Nathan Kinkade wrote: " " As another poster mentioned, the problem is likely related to DNS, and I " have experienced it as well. If you are using Privilege Separation, " then an sshd process will chroot itself into /var/empty before " performing authenti

OpenBSD's pf and traffic

2005-03-20 Thread Eugene M. Minkovskii
Hello! Does any body know, how can I use OpenBSD's pf (packet filter) for determine total traffic volume on network interface? If it's impossible, what facility you recommend me to do this? -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский

Re: OpenBSD's pf and traffic

2005-03-20 Thread Eugene M. Minkovskii
On Sun, Mar 20, 2005 at 05:51:58PM +0100, Peter N. M. Hansteen wrote: " "Eugene M. Minkovskii" <[EMAIL PROTECTED]> writes: " " > Does any body know, how can I use OpenBSD's pf (packet filter) for " > determine total traffic volume on network inter

Re: OpenBSD's pf and traffic

2005-03-21 Thread Eugene M. Minkovskii
On Mon, Mar 21, 2005 at 08:54:35AM +0100, Peter N. M. Hansteen wrote: " "Eugene M. Minkovskii" <[EMAIL PROTECTED]> writes: " " > block in log on $ext_ip inet from any to $ext_ip label $ext_ip " > pass in on $ext_ip inet from any to $ext_ip por

Re: OpenBSD's pf and traffic

2005-03-22 Thread Eugene M. Minkovskii
Sorry, it's again I. So, I was trying to modify my OpenBSD pf brandmauer to collect me information about traffic. Now I has following rules: pass out on $ext_if proto tcp all modulate state flags S/SA pass out on $ext_if proto { udp, icmp } all keep state So, where could I put label to mark inbo

Re: OpenBSD's pf and traffic

2005-03-22 Thread Eugene M. Minkovskii
On Tue, Mar 22, 2005 at 01:18:27PM +0100, Peter N. M. Hansteen wrote: " "Eugene M. Minkovskii" <[EMAIL PROTECTED]> writes: " " " I'd say something along the lines of " " allowed_out = "{ ssh, domain, http, https, etc... }" " &

Re: OpenBSD's pf and traffic

2005-03-22 Thread Eugene M. Minkovskii
" " In a word, yes. The 'keep state' in these examples, would AFAIK mean " that the counters would keep track of all traffic for a connection, so " traffic initiated from the inside would match the pass out rule's " counters, while connections opened from the outside would count on the " pass in r

Re: OpenBSD's pf and traffic

2005-03-22 Thread Eugene M. Minkovskii
On Tue, Mar 22, 2005 at 02:28:09PM +0100, Peter N. M. Hansteen wrote: " "Eugene M. Minkovskii" <[EMAIL PROTECTED]> writes: " " > Unfortunely, this mean, that OpenBSD's pf can not measure " > traffic, because we can not separate incoming and outgoin

cna't ssh localhost

2005-02-23 Thread Eugene M. Minkovskii
Hi, I'm in trubble now, and don't know what to think about... I'm install FreeBDS 5.3. stable from DVD iso. This is fresh system: I'm not recompile the kernel and working with GENERIC kernel. This means that I don't use any firewall and ip filter. Now, I configure net interface in /etc/rc.conf:

mplayer broke FreeBSD console

2005-07-26 Thread Eugene M. Minkovskii
Hello. I'm using mplayer to play audio mp3 files in console WITHOUT X. Console is in VESA_132x50 mode. My mplayer broke console. It seems like symbol \r does not catch properly. But in Rxvt or Xterm all correct. So, I forced to use -quiet option when I use mplayer in console. Versions: MPlayer 1

Re: FreeBSD-newbie!

2005-07-26 Thread Eugene M. Minkovskii
On Tue, Jul 26, 2005 at 04:38:01PM +0100, lars.lindblad wrote: " " Hi. " " My name is Lars and lives in Sweden. I have finally bought " FreeBSD 5.2 and the handbook from the FreeBSD-mall. That's " great! I've wanted to leave the Windows-world and I have " been testing Linux for a few years. " "

cdda2wav: Fatal error: did not drop root privilege

2004-09-16 Thread Eugene M. Minkovskii
My cdda2wav did not work under user (but work under root). I was trying to set suid bit but don't take success. What do yuo think about? --- begin paste of my tty - [emin:~]$ cat /etc/fbtab /dev/ttyv0 0660 /dev/fd0:/dev/acd0 [emin:~]$ ll /dev/{a,}cd0 crw-rw 1 emin emin4, 1

WiFi ipw howto?

2006-11-04 Thread Eugene M. Minkovskii
Hello! I'm use FreeBSD CURRENT, ${OSVERSION} is 700024 So, I have laptop HP Compaq nc6320 whith WiFi adapter Intel 3945ABG. When I turning on my WiFi using button on the laptop, I see in dmesg following: | # dmesg tail: | ugen0: on uhub5 Now, I find following site for configure my FreeBSD: htt

Re: WiFi ipw howto?

2006-11-05 Thread Eugene M. Minkovskii
On Sun, Nov 05, 2006 at 07:03:49PM +, Marwan Sultan wrote: " " Hi, " " 3945ABG is not supported yet, by any method. " not NDIS not any option yet. " " Also donot try any of the options or drivers in " http://damien.bergamini.free.fr/ipw/ " it doesnot support 3945ABG even if it says (a

mounting UFS under Linux

2005-09-18 Thread Eugene M. Minkovskii
Hello, please tell me, how can I (if I can) mount UFS2 partition under Linux (I install gentoo Linux 2005.1). -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.o

sound absent

2005-05-03 Thread Eugene M. Minkovskii
Hello people! I'm using HP motherboard with integrated audio chipset, and I made statically kernel. So, I wrote in my kernel configuration: device sound device snd_ich and NO_MODULES=yes in /etc/make.conf. Then I make kernel and reboot. Now I see following: $ dmesg | grep pcm0 pc

Re: FreeBSD 5.x forgetting passwords.

2005-05-30 Thread Eugene M. Minkovskii
On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote: " Hi, " I am running a FreeBSD 5.1 system and some time ago it startet to " "forget" some user passwords. " As the system is now running for over 2 years I cannot imagine any " reason why this shound be. " Any ideas. root# su us

Re: FreeBSD 5.x forgetting passwords.

2005-05-31 Thread Eugene M. Minkovskii
On Mon, May 30, 2005 at 03:53:29PM +0200, Christian Tischler wrote: " Eugene M. Minkovskii wrote: " " >On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote: " >" Hi, " >" I am running a FreeBSD 5.1 system and some time ago it startet to

(fwd) sshd events

2005-06-09 Thread Eugene M. Minkovskii
Hello. I need fixing in mysql database sshd events: some user try to loggin in from ip xxx.xxx.xxx.xxx and use account xxx. But my /var/log/auth.log has not nessesary information (for example: if I put some users into AllowGroups, in logs I can read something like this: "User xxx not allowed becau

sane-plustek backend does not work

2004-11-04 Thread Eugene M. Minkovskii
Hello! I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". it is USB scanner. so, I compile kernel with # USB support device uhci# UHCI PCI->USB interface device ohci# OHCI PCI->USB interface device usb # USB Bus (required

Re: sane-plustek backend does not work

2004-11-04 Thread Eugene M. Minkovskii
On Thu, Nov 04, 2004 at 08:34:38PM +0100, [EMAIL PROTECTED] wrote: " On Thu, Nov 04, 2004 at 08:30:23PM +0300, Eugene M. Minkovskii wrote: " > Hello! " > " > I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". " > it is USB scanner.

Re: sane-plustek backend does not work

2004-11-04 Thread Eugene M. Minkovskii
On Thu, Nov 04, 2004 at 05:29:19PM -0700, Warren Block wrote: " On Thu, 4 Nov 2004, Eugene M. Minkovskii wrote: " " >I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30". " >it is USB scanner. " > " >so, I compile kern

how to create /dev/fd/# ?

2004-11-14 Thread Eugene M. Minkovskii
Hi! I'm working under FreeBSD 5.2.1 I was trying to create if-filter for /etc/printcap. So, I writing some frome handbook: exec 3>&1 1>&2 /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=$GS_DEVICE \ -sOutputFile=/dev/fd/3 - -c quit but, It's does not work --- there not device /dev/fd/3. Whn

Re: how to create /dev/fd/# ?

2004-11-14 Thread Eugene M. Minkovskii
On Sun, Nov 14, 2004 at 09:37:44PM +0100, Svein Halvor Halvorsen wrote: " " [Eugene M. Minkovskii, 2004-11-14] " > Who can tell me: why I can't create /dev/fd/3 (evenly under " > root!), and what shell I do for create this? " " see fdescfs(5) Ok, I wa

loose locale after upgrade from 5.4 to 6.1RC2

2006-05-01 Thread Eugene M. Minkovskii
Hello. I'm cvsuped from FreeBSD 5.4 to 6.1 RC2 and loose my russian locale :( I can't type russian letters and many programs print some warnings about locale. But russian fonts are worked: When I go to other mashine through ssh, I see it. For example: svn report: svn: error: cannot set LC_ALL loc

Re: loose locale after upgrade from 5.4 to 6.1RC2

2006-05-02 Thread Eugene M. Minkovskii
On Tue, May 02, 2006 at 08:15:06AM +0400, Eugene M. Minkovskii wrote: " Hello. " " I'm cvsuped from FreeBSD 5.4 to 6.1 RC2 and loose my russian " locale:( I can't type russian letters and many programs print " some warnings about locale. But russian fonts are w

bug in tcpdump?

2006-06-01 Thread Eugene M. Minkovskii
It seems to me that I see a bug in tcpdump(1): option -A working same as -x and don't produce ASCII output. (I use FreeBSD 6.1) -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский ___ freebsd-questions@freebsd.org mailing list htt

Re: bug in tcpdump?

2006-06-02 Thread Eugene M. Minkovskii
On Thu, Jun 01, 2006 at 09:15:52PM +0400, Andrew Pantyukhin wrote: " On 6/1/06, Eugene M. Minkovskii <[EMAIL PROTECTED]> wrote: " >It seems to me that I see a bug in tcpdump(1): option -A working " >same as -x and don't produce ASCII output. " " Попробу