Re: Disabling suspend

2006-08-04 Thread Alexander Hall
Nick Guenther wrote: On 8/3/06, Alexander Hall [EMAIL PROTECTED] wrote: Nick Guenther wrote: Hello misc@, Sometimes my laptop goes into standby when I close the lid, but not always. Also, if it is in standby and I open the lid it wakes up. Under windows I have changed this behaviour so

Re: service monitoring and pf load balancing

2006-08-04 Thread Siju George
On 8/3/06, Bill Marquette [EMAIL PROTECTED] wrote: Very. I haven't updated the site since taking over the maintainer role. The code in CVS should compile and run on 3.9 cleanly - as soon as I've tested it myself I was planning on rolling out a 1.3 release (and I suppose I should check for

Re: firefox 1.5.0.6 for openbsd

2006-08-04 Thread Andrei GUDIU
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 in export PKG_PATH try using uname -m instead of sysctl -n kern.version ;P my sysctl -n kern.version is OpenBSD 3.9 (INFERNO) #0: Tue May 2 17:25:30 EEST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/INFERNO Will Maier wrote: On Thu,

Re: currently opened file descriptors

2006-08-04 Thread Sebastian Benoit
Stephan A. Rickauer([EMAIL PROTECTED]) on 2006.08.04 09:20:09 +: How can one list the number of file descriptors a shell and any processes created by that shell are currently opened? fstat (1) /B.

Re: currently opened file descriptors

2006-08-04 Thread Stephan A. Rickauer
Sebastian Benoit wrote: Stephan A. Rickauer([EMAIL PROTECTED]) on 2006.08.04 09:20:09 +: How can one list the number of file descriptors a shell and any processes created by that shell are currently opened? fstat (1) /B. brilliant. Thanks. -- Stephan A. Rickauer

Re: firefox 1.5.0.6 for openbsd

2006-08-04 Thread Andrei GUDIU
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sorry :) use uname -r instead of sysctl and machine -a instead of machine... where was my head standing ?:) thx Antoine Jacoutot Andrei GUDIU wrote: in export PKG_PATH try using uname -m instead of sysctl -n kern.version ;P my sysctl -n kern.version

Re: firefox 1.5.0.6 for openbsd

2006-08-04 Thread Joakim Aronius
kern.osrelease seem more appropriate. Cheers, /jkm * Will Maier ([EMAIL PROTECTED]) wrote: On Thu, Aug 03, 2006 at 12:11:08PM -0400, David T Harris wrote: The easiest way to install firefox on OpenBSD or any other package (that is available from OpenBSD) is to download the package from

Re: A small script to find unused dependencies which, IMHO, should be included in the tree

2006-08-04 Thread Andrés
The problem is that packages which don't have dependencies are not always of the third type, because maybe I started to use some dependency directly. That's why I always ask to the user what she/he wants to do. Thank you all for the comments :) On 8/4/06, Sideris Michael [EMAIL PROTECTED]

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread Diana Eichert
On Fri, 4 Aug 2006, mickey wrote: On Thu, Aug 03, 2006 at 12:49:17PM -0600, Diana Eichert wrote: I'm getting the following error when I try to access my bktr(4) card. $ sudo radioctl -f /dev/bktr0 -a radioctl: RIOCGINFO: Inappropriate ioctl for device I was trying to set the tuner

Replacing a failed HD in a raidframe array

2006-08-04 Thread Jason Murray
I previously had a bit of trouble with my raid array. That is now cleared up and I need to replace one HD of the mirrored set. Never having done this I thought I'd check here to see if there was any advice on HD selection. Natrually the replacement HD will have to be at least the same size as

Re: service monitoring and pf load balancing

2006-08-04 Thread Hasan USTUNDAG
http://www.bsdforums.org/forums/showthread.php?t=33480 script works fine for me. You can also use ping to check host availibilty or perl module Net::Telnet to check port availibilty for other protocols. On 8/4/06, Stephan A. Rickauer [EMAIL PROTECTED] wrote: Spruell, Darren-Perot wrote: From:

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread mickey
On Fri, Aug 04, 2006 at 07:25:55AM -0600, Diana Eichert wrote: On Fri, 4 Aug 2006, mickey wrote: On Thu, Aug 03, 2006 at 12:49:17PM -0600, Diana Eichert wrote: I'm getting the following error when I try to access my bktr(4) card. $ sudo radioctl -f /dev/bktr0 -a radioctl:

Re: Redundant ethernet Carp (was Re:Soekris)

2006-08-04 Thread Joachim Schipper
On Thu, Aug 03, 2006 at 02:26:40PM -0600, Tim Pushor wrote: Well, after playing a little with trunk(4), etherchannel, and carp I am wondering something: Trying to achieve both firewall redundancy (via carp) and ethernet redundancy (via trunk(4)), would it be possible and (and maybe even

Re: WPA support / creating a cf image

2006-08-04 Thread openbsd misc
Thanks for that tip. I wrote a bootsector to my cf card and booted. But it looks like biosboot isn't able to use lba (; instead of .), even if I change wrap bios setting to lba. I wasn't able to figure out why. At the moment I'm playing around with grub and lilo to find out if these have the

Re: Replacing a failed HD in a raidframe array

2006-08-04 Thread Jeff Quast
On 8/4/06, Jason Murray [EMAIL PROTECTED] wrote: I previously had a bit of trouble with my raid array. That is now cleared up and I need to replace one HD of the mirrored set. Never having done this I thought I'd check here to see if there was any advice on HD selection. Natrually the

Re: simple spamd greylisting on transparent bridge

2006-08-04 Thread Will H. Backman
Will H. Backman wrote: Will H. Backman wrote: Is this a sane minimum configuration for spamd -g on a transparent bridge? Is it unwise to only greylist? 1. Create bridge with no IP's. 2. pf=YES and spamd_flags=-g in /etc/rc.conf.local 3. Simple three line /etc/pf.conf: ext_if=xl0 rdr

Re: Blob Bingo!

2006-08-04 Thread Mark Rolen
chefren wrote: http://www.securityfocus.com/brief/271 .. .. Systems running OpenBSD are unlikely to be affected based on that open-source group's refusal to use binary blobs in their device drivers, and their subsequent reverse engineering of numerous WiFi chipsets to provide open-source

Re: Redundant ethernet Carp (was Re:Soekris)

2006-08-04 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] On Thu, Aug 03, 2006 at 02:26:40PM -0600, Tim Pushor wrote: Well, after playing a little with trunk(4), etherchannel, and carp I am wondering something: Trying to achieve both firewall redundancy (via carp) and ethernet redundancy (via trunk(4)), would it

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread Diana Eichert
NetNeanderthal, mickey, et al On Thu, 3 Aug 2006, NetNeanderthal wrote: On 8/3/06, Diana Eichert [EMAIL PROTECTED] wrote: snip bktr0 at pci1 dev 14 function 0 Brooktree BT878 rev 0x02: irq 10 bktr0: Askey/Dynalink Magic TView, Temic NTSC tuner. Brooktree BT878 Audio rev 0x02 at pci1 dev

Multi-tabbed Terminal

2006-08-04 Thread Clint Pachl
Can anyone recommend a light-weight multi-tabbed terminal for OBSD 3.9? I looked through the i386 packages, but didn't notice any. I'm using FVWM2. I have used mrxvt, materm.sourceforge.net, on FreeBSD in the past and really liked it; minimal dependencies and small memory foot print. I just

Re: Multi-tabbed Terminal

2006-08-04 Thread Maxim Bourmistrov
It compiles and works here. Just comment out The ugly hack for OpenBSD: /* # ifdef OS_OPENBSD typedef unsigned int_our_wint_t; typedef struct { int __count; union { _our_wint_t __wch; char__wchb[4] } __value; } mbstate_t;

Re: Multi-tabbed Terminal

2006-08-04 Thread Andrew Smith
The last time I looked at this there seemed to be only gnome-terminal and Konsole in the ports tree that fulfilled this. Neither of these could really be considered light weight though. I will watch this thread with interest if anyone has a port of something decent that is small enough to run

Re: Multi-tabbed Terminal

2006-08-04 Thread Jasper Lievisse Adriaanse
On Fri, Aug 04, 2006 at 10:02:50AM -0700, Clint Pachl wrote: Can anyone recommend a light-weight multi-tabbed terminal for OBSD 3.9? I looked through the i386 packages, but didn't notice any. I'm using FVWM2. If I recall correctly ``sakura'' does it, I have a port lying around here somewhere,

Re: Multi-tabbed Terminal

2006-08-04 Thread Maxim Bourmistrov
Forgot to mention the file. It's src/rxvt.h On Friday 04 August 2006 19:37, Maxim Bourmistrov wrote: It compiles and works here. Just comment out The ugly hack for OpenBSD: /* # ifdef OS_OPENBSD typedef unsigned int_our_wint_t; typedef struct { int __count; union {

Re: Multi-tabbed Terminal

2006-08-04 Thread Aaron Campbell
On Fri, 4 Aug 2006, Clint Pachl wrote: Can anyone recommend a light-weight multi-tabbed terminal for OBSD 3.9? I looked through the i386 packages, but didn't notice any. I'm using FVWM2. Try the fluxbox window manager. You can tabify any window by center-click + dragging one on top of

Re: Multi-tabbed Terminal

2006-08-04 Thread Michael Hernandez
On Aug 4, 2006, at 1:37 PM, Maxim Bourmistrov wrote: It compiles and works here. Just comment out The ugly hack for OpenBSD: /* # ifdef OS_OPENBSD typedef unsigned int_our_wint_t; typedef struct { int __count; union { _our_wint_t __wch;

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread mickey
On Fri, Aug 04, 2006 at 10:46:10AM -0600, Diana Eichert wrote: NetNeanderthal, mickey, et al On Thu, 3 Aug 2006, NetNeanderthal wrote: On 8/3/06, Diana Eichert [EMAIL PROTECTED] wrote: snip bktr0 at pci1 dev 14 function 0 Brooktree BT878 rev 0x02: irq 10 bktr0: Askey/Dynalink

Denial of service via FD exhaustion

2006-08-04 Thread Alex Brodsky
Hi, The following is a known issue, from at least 2002, but I am not sure how it was resolved. Problem: The default configuration of OpenBSD allows any user to incapacitate the machine by exhausting the kernel's file descriptor (FD) table. By default the kernel allocates 1772 FDs

Re: Multi-tabbed Terminal

2006-08-04 Thread Will Maier
On Fri, Aug 04, 2006 at 10:02:50AM -0700, Clint Pachl wrote: Can anyone recommend a light-weight multi-tabbed terminal for OBSD 3.9? I looked through the i386 packages, but didn't notice any. I'm using FVWM2. xterm + misc/screen. -- o--{ Will Maier

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread Diana Eichert
On Fri, 4 Aug 2006, mickey wrote: SNIP to capture video you need more than just channel setting. you need to install a port like fxtv or smth... cu -- paranoic mickey (my employers have changed but, the name has remained) I understand I need an application to capture video, I was

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread NetNeanderthal
On 8/4/06, Diana Eichert [EMAIL PROTECTED] wrote: I have a bktr(4) card with an onboard NTSC tuner. I can't control the bktr(4) setup channel and broadcast type because there is no radio(4) device attached, probably? because the auto-detect of the tuner failed? My plan is to pull the card, and

Re: Multi-tabbed Terminal

2006-08-04 Thread Clint Pachl
Michael Hernandez wrote: On Aug 4, 2006, at 1:37 PM, Maxim Bourmistrov wrote: It compiles and works here. Just comment out The ugly hack for OpenBSD: /* # ifdef OS_OPENBSD typedef unsigned int_our_wint_t; typedef struct { int __count; union { _our_wint_t

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread Bob Beck
I understand I need an application to capture video, I was planning on using ffmpeg. I don't want or need to display it locally, that's why I was trying to avoid fxtv. I thought I could change channels via radioctl, then stream the capture with ffmpeg. However you keep mentioning fxtv so

Re: Multi-tabbed Terminal

2006-08-04 Thread Christoph Borsbach
Hi, On Fri, Aug 04, 2006 at 10:02:50 -0700, Clint Pachl wrote: Can anyone recommend a light-weight multi-tabbed terminal for OBSD 3.9? I looked through the i386 packages, but didn't notice any. I'm using FVWM2. You might want to check out Terminal,

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread Diana Eichert
On Fri, 4 Aug 2006, Bob Beck wrote: SNIP then stream the capture with ffmpeg. However you keep mentioning fxtv so An OpenBSD powered video capture and archiving device.. Help the Ministry of Information help you... Good thing this isn't for work, eh? Then you, well not YOU

Re: Redundant ethernet Carp (was Re:Soekris)

2006-08-04 Thread Tim Pushor
Hi Joachim, Joachim Schipper wrote: On Thu, Aug 03, 2006 at 02:26:40PM -0600, Tim Pushor wrote: Well, after playing a little with trunk(4), etherchannel, and carp I am wondering something: Trying to achieve both firewall redundancy (via carp) and ethernet redundancy (via trunk(4)), would

Re: problem sis timeout openbsd 3.9

2006-08-04 Thread Melameth, Daniel D.
Melameth, Daniel D. wrote: Theo de Raadt wrote: This is due to a problem in the ral driver. I have mailed damien, and hopefully a fix will be written soon. (the same mistake is in some of the other drivers drivers he has written too) Please post/have someone post a follow-up when this is

Re: Run script on cd insertion

2006-08-04 Thread andrew fresh
On Wed, Aug 02, 2006 at 07:29:42PM -0500, L. V. Lammert wrote: At 12:16 PM 8/2/2006 -0700, andrew fresh wrote: I never checked for CD's, but hotplugd might say something when it is inserted, I know it works for USB disks. AFAIK hotplug only works for drives not disks. My testing just now

Re: Run script on cd insertion

2006-08-04 Thread Michael Coulter
On Tue, Aug 01, 2006 at 02:28:25PM -0700, andrew fresh wrote: I am in need the ability to run a script when a cd is inserted. I am not finding any way of getting notified when that happens, so I am asking here. If not, I can just loop cdio info and check for a disk. Is there something

Re: WPA support / creating a cf image

2006-08-04 Thread openbsd misc
Hello Jeff, Misc, first of all: my name is Hagen... :-) I have one account for every mailing list and I cannot change display name (exchange disadvantage)... ;-) Please make sure to update the firmware on your wrap, as you hadn't mentioned it. pcengines.ch walks through this. It is quite

Re: WPA support / creating a cf image

2006-08-04 Thread Chris Cappuccio
Jeff Quast [EMAIL PROTECTED] wrote: I understand this is a problem of target systems translating C/H/S values differently. There is no problem in dynamicly using OpenBSD's idea of C/H/S values at build time. However, OpenBSD on two different machines can provide completely different C/H/S

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread Jacob Yocom-Piatt
Original message Date: Fri, 4 Aug 2006 14:09:56 -0600 From: Bob Beck [EMAIL PROTECTED] Subject: Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device To: Diana Eichert [EMAIL PROTECTED] Cc: misc@openbsd.org I understand I need an application to capture video, I

Re: Run script on cd insertion

2006-08-04 Thread andrew fresh
On Fri, Aug 04, 2006 at 04:13:26PM -0700, Michael Coulter wrote: On Tue, Aug 01, 2006 at 02:28:25PM -0700, andrew fresh wrote: I am in need the ability to run a script when a cd is inserted. I am not finding any way of getting notified when that happens, so I am asking here. If not, I can

Re: WPA support / creating a cf image

2006-08-04 Thread openbsd misc
I understand this is a problem of target systems translating C/H/S values differently. There is no problem in dynamicly using OpenBSD's idea of C/H/S values at build time. However, OpenBSD on two different machines can provide completely different C/H/S values on the exact same card. Correct

Re: WPA support / creating a cf image (SOLVED)

2006-08-04 Thread openbsd misc
I got it working now. Looks like the wrap system simulates some kind of C/H/S in lba mode. OpenBSD is still telling me that I'm in C/H/S mode: Using drive 0, partition 3; Loading;. But more important is that: 01F0 Master 848A SAMSUNG CF/ATA Phys C/H/S 1010/16/63 Log C/H/S 505/32/63 The log

Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device

2006-08-04 Thread Nick Guenther
On 8/5/06, Jacob Yocom-Piatt [EMAIL PROTECTED] wrote: Original message Date: Fri, 4 Aug 2006 14:09:56 -0600 From: Bob Beck [EMAIL PROTECTED] Subject: Re: radioctl error on i386 Aug 1 snapshot; Inappropriate ioctl for device An OpenBSD powered video capture and archiving device..