Re: Building ramdisk (was trees, 3rd time's a charm (ok+tests) )

2011-10-21 Thread Philip Guenther
On Thursday, October 20, 2011, Brett brett.ma...@gmx.com wrote: On Fri, 21 Oct 2011 00:28:01 -0400 Ted Unangst t...@tedunangst.com wrote: On Fri, Oct 21, 2011, Brett wrote: Ted Unangst asked if I was using vnd0 (which shows in the error message). As far as I know I am not, it does not show

Re: pkg_add stems not working for some packages

2011-10-21 Thread Erling Westenvik
On Tue, Oct 18, 2011 at 11:21:45AM +0200, Marc Espie wrote: On Tue, Oct 18, 2011 at 09:55:06AM +0200, Erling Westenvik wrote: I can do: $ sudo pkg_add vim--gtk2 but not: $ sudo pkg_add mutt--sasl-sidebar-slang-compressed Can't find mutt--sasl-sidebar-slang-compressed

Re: Delete just one alias from an interface

2011-10-21 Thread ML mail
Hehe yes I have guessed so... Thanks again it worked like a charm! - Original Message - From: Alexander Hall ha...@openbsd.org To: ML mail mlnos...@yahoo.com Cc: misc@openbsd.org misc@openbsd.org Sent: Friday, October 21, 2011 12:18 AM Subject: Re: Delete just one alias from an

Re: how to use the new rc.d system to start the daemon with systrace?

2011-10-21 Thread Stuart Henderson
On 2011-10-21, johnw johnw.m...@gmail.com wrote: after upgrade to current, now /etc/rc use the new rc.d system. my question is how to start the daemon(ntpd, named etc ..) with systrace? before upgrade to new rc.d system, i can edit /etc/rc like this echo 'starting named'; named $named_flags

Re: why skip is not shown in pfctl -s rules ?

2011-10-21 Thread Stuart Henderson
skip is an option, not a rule. # pfctl -s Int -v | grep skip On 2011-10-20, ??? chipits...@gmail.com wrote: Dear Sirs, I added couple of rules to pf config file xxx:/root# grep skip /etc/pf.conf set skip on enc0 set skip on lo0 xxx:/root# pfctl -f /etc/pf.conf xxx:/root#

Debugging apcupsd with Back-UPS CS 500

2011-10-21 Thread T. Ribbrock
Hi *! I am in need of some help with debugging the UPS set-up I am running... I have an APC Back-UPS CS 500 connected to my server (OpenBSD 4.8) with an USB cable. When I connect the UPS to the server, I get this in dmesg: ugen0 at uhub4 port 2 American Power Conversion Back-UPS 500 FW: 6.4.I

Re: Building ramdisk (was trees, 3rd time's a charm (ok+tests) )

2011-10-21 Thread Brett Mahar
# vnconfig -l vnd0: not in use vnd1: not in use vnd2: not in use vnd3: not in use # vnd's, not vnodes. Is OpenBSD causing my dyslexia or merely bringing to light a preexisting condition? The likely cause of it being busy before is a previous attempt to build the ramdisks

Re: dhclient, resolv.conf

2011-10-21 Thread Philippe Meunier
Antoine Jacoutot wrote: I use this: send dhcp-lease-time 3600; request subnet-mask, broadcast-address, routers; And my resolv.conf is not modified. That's because you happen to be using a DHCP server that has good enough manners not to try to shove unrequested options (like name servers) down

slow download

2011-10-21 Thread Michel Blais
I got a problem with snapshot (not shure if it's the last), download is really slow, 0.3 to 1 Mbps per customent. Also a lot of paquet lost beginning from the openbsd. The're around 800 to 1000 users on this server. Bandwith is not a problem but we often saw limitation in number of paquets be the

Re: slow download - sysctl limit ?

2011-10-21 Thread Michel Blais
really look like a sysctl limit, tcpdump give me lot of packets dropped by kernel. I commented every block rule to be sure it was not a rules mistake in pf pfctl -vnf /etc/pf.conf without tables and macro set limit states 196608 set limit src-nodes 16384 set limit frags 8192 set limit tables

Re: slow download - packets dropped by kernel

2011-10-21 Thread Michel Blais
packets dropped by kernel The number of packets that were dropped, due to a lack of buffer space. http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds5%2Ftcpdump.htm I saw on a forum to give more value to bpf size : change those value 2 time

Re: slow download - sysctl limit ?

2011-10-21 Thread Michel Blais
I reseted everything (reboot it), After that, change ifq.maxlen from 256 to 512, after 1024 and finally for 2056. ifq.drops always stay at 0 and I still have around half paquets dropped by kernel. thanks Michel 2011/10/21 Daniel Melameth dan...@melameth.com If sysctl net.inet.ip.ifq.drops is

Re: High interrupt rates after resume

2011-10-21 Thread Alexander Polakov
* Alexander Polakov polac...@gmail.com [111017 02:02]: I've got a problem. When I suspend my laptop (Lenovo X100e, dmesg below), it suspends just fine, and resumes well too (thanks for that!). But after resume I see high interrupt rates (like 77%) in top and vmstat, it feels slower and fan

Unbreak fortune/unstr

2011-10-21 Thread Stefan Unterweger
Hi! I've noticed that the unstr utility from games/fortune does not work properly. When reading the header of .dat files, all the other utilities do some endianness correction, but unstr does not. Therefore, it gets wrong information, and produces garbage. The diff below fixes this symptom.

Re: Unbreak fortune/unstr

2011-10-21 Thread Theo de Raadt
Still, I don't understand the reason why strfile does htonl (strfile.c at line 220 onwards) for all the header fields in the first place, only for fortune then to undo it (and for unstr to forget doing it, therefore not working). The idea is that, as much as possible, we would like files in

Re: slow download

2011-10-21 Thread Stuart Henderson
You haven't explained what this machine is doing. But a few random comments from a wild assumption that it's just routing packets + PF: - MP is not helping you, and may be making things worse - amd64 is probably not helping you, and may be making things worse - try comparing kern.pool_debug=0 and

Re: slow download

2011-10-21 Thread Michel Blais
2011/10/21 Michel Blais mic...@targointernet.com This is for a firewall and main gateway of my network. Is a atom dual core cpu 1.6 Ghz with 2 Go or RAM It have 2 realtek onboard nic but since I wanted Intel NIC, I added a 3 intel NIC optional board. em0 is use to connect to my ISP fiber

Re: Unbreak fortune/unstr

2011-10-21 Thread Stefan Unterweger
* Theo de Raadt on Fri, Oct 21, 2011 at 11:49:22AM -0600: Last, I'd like to suggest that strfile and unstr be included in the base distribution. It seems strange that their source is there and the fortune(6) manpage loops through hoops to mention that they can be compiled if one wishes so

Re: dhclient, resolv.conf

2011-10-21 Thread Kenneth R Westerback
On Thu, Oct 20, 2011 at 08:53:16PM +, sophia.ort...@googlemail.com wrote: Rogier Krieger rkrie...@gmail.com wrote: you can use the 'script' parameter described in dhclient.conf Perhaps the best solution, not far from what I had in mind from the beginning, but not a simple

Multiple smarthost relays with smptd

2011-10-21 Thread Sime Ramov
I am trying to set up forwarding to two remote SMTP servers. Not at the same time obviously, but depending on the from line (personal and work address and accompanying outgoing servers). Secrets file: smtp1.example.com u...@example.com:pass smtp2.example.org u...@example.org:pass

Re: slow download

2011-10-21 Thread Michel Blais
No bridge, just routed. We use pmacct because we need the memory plug in for dynamicly unpriorise those taking too much bandwith for fair sharing policy. We also use pmacct on FreeBSD and Linux so we have the same tool everywhere and use the same scripts on every platform. Thanks Michel Le 21

Re: High interrupt rates after resume

2011-10-21 Thread Philip Guenther
On Sun, Oct 16, 2011 at 3:00 PM, Alexander Polakov polac...@gmail.com wrote: I've got a problem. When I suspend my laptop (Lenovo X100e, dmesg below), it suspends just fine, and resumes well too (thanks for that!). But after resume I see high interrupt rates (like 77%) in top and vmstat, it

Compranet 5.0 para Servidores Públicos, Atención Gobierno!

2011-10-21 Thread Marta Solis
476525 [IMAGE] [demime 1.01d removed an attachment of type image/jpeg which had a name of compranet gob.jpg]