Re: may 7 carp addresses be too much on 5.0/amd64 ?

2012-03-03 Thread Janne Johansson
2012/3/2 PP;Q Q P(P8P?P8QP8P= chipits...@gmail.com: hello! we are running CARP-ed load balancers (carp over different vlans). it was running just great with 6 carp addresses. when we added 7th, randomly we get MASTERs on both server for certain carp interface. After reboot we can get

Re: may 7 carp addresses be too much on 5.0/amd64 ?

2012-03-03 Thread Janne Johansson
2012/3/3 Janne Johansson icepic...@gmail.com: when we added 7th, randomly we get MASTERs on both server for certain carp interface. After reboot we can get different carp interface on dual MASTER state, and so on. carp negotiations are ok, tcpdump shows them all. both peers see each other.

ping from chrooted httpd fails

2012-03-03 Thread fRANz
Hi, I tried to make ping working inside httpd chroot from php script. Without chroot, ping works fine. I don't know what I miss in this configuration: # uname -a OpenBSD d7 5.0 GENERIC#59 i386 # cat /etc/rc.conf | grep httpd # use -u to disable chroot, see httpd(8) httpd_flags=-DSSL # for

Re: ping from chrooted httpd fails

2012-03-03 Thread Richard Toohey
On 3/03/2012, at 9:38 PM, fRANz wrote: Hi, I tried to make ping working inside httpd chroot from php script. Without chroot, ping works fine. I don't know what I miss in this configuration: # uname -a OpenBSD d7 5.0 GENERIC#59 i386 # cat /etc/rc.conf | grep httpd # use -u to disable

Re: ping from chrooted httpd fails

2012-03-03 Thread fRANz
On Sat, Mar 3, 2012 at 10:20 AM, Richard Toohey richardtoo...@paradise.net.nz wrote: Have you got /bin/sh (off the top of my head) in the chroot bin directory? Obviously no :-) I think PHP's exec tries to find that. You're right: now works perfectly! The bit about error 127 and /bin/sh,

Re: OpenNTPd leap-second handling

2012-03-03 Thread Henning Brauer
* Phil Pennock openbsd-misc-p...@spodhuis.org [2012-03-02 16:32]: A brief skim of the source (4.6p1) suggests that OpenNTPd passes on well, 4.6 is ancient. unfortunately nobody maintains the portable atm. that said, otoh there we no changes regarding leap seconds afterwards. leap-second

Installing OpenBSD on a TS-412 Turbo NAS

2012-03-03 Thread Michal Mazurek
Has anybody successfully installed OpenBSD on a QNAP TS-412 Turbo NAS? I'm looking for a NAS that I can keep in my room, and would like to run OpenBSD. -- Michal Mazurek

Re: Installing OpenBSD on a TS-412 Turbo NAS

2012-03-03 Thread Tobias Ulmer
On Sat, Mar 03, 2012 at 04:30:14PM +0100, Michal Mazurek wrote: Has anybody successfully installed OpenBSD on a QNAP TS-412 Turbo NAS? I'm looking for a NAS that I can keep in my room, and would like to run OpenBSD. No, OpenBSD does not support the Kirkwood SoC in that device. -- Michal

Re: Installing OpenBSD on a TS-412 Turbo NAS

2012-03-03 Thread viq
On Sat, Mar 03, 2012 at 04:30:14PM +0100, Michal Mazurek wrote: Has anybody successfully installed OpenBSD on a QNAP TS-412 Turbo NAS? I'm looking for a NAS that I can keep in my room, and would like to run OpenBSD. HP MicroServer? -- Michal Mazurek -- viq [demime 1.01d removed an

OpenBSD 5.0 Trunk with Netgear Managed Switch

2012-03-03 Thread Peter Erickson
I have a soekris net6501 running obsd 5.0 and am having problems creating a trunk interface between it and a Netgear GSM7228PS managed switch. The switch is configured such that ports 23 and 24 are in a LAG group and all traffic from vlan id's 2 and 3 should leave the lag tagged. After creating

Re: may 7 carp addresses be too much on 5.0/amd64 ?

2012-03-03 Thread Илья Шипицин
I permormed tcpdump on appropriate vlan on BOTH SERVERS, I see on advskew=200 announces. MASTER with advskew=0 does not do any advertisement. 22:22:37.296866 CARPv2-advertise 36: vhid=60 advbase=1 advskew=200 demote=2 (DF) [tos 0x10] 22:22:39.096900 CARPv2-advertise 36: vhid=60 advbase=1

Re: may 7 carp addresses be too much on 5.0/amd64 ?

2012-03-03 Thread Camiel Dobbelaar
Why is demote 2? Do you have any carp interfaces in INIT? Note that demote takes precedence over advskew. What does ifconfig -g carp, ifconfig carp and netstat -s -p carp look like on both machines? On 3-3-2012 19:26, PP;Q Q P(P8P?P8QP8P= wrote: I permormed tcpdump on appropriate vlan on

Re: OpenBSD 5.0 Trunk with Netgear Managed Switch

2012-03-03 Thread Peter Erickson
Yes to both... From the Netgear's perspective, the LAG looks good. It's up and both interfaces are full-duplex. On Sat Mar 3 14:21:36 2012, Dan Shechter dans...@gmail.com wrote: Do you see the LAG up on the netgear? Do you see the links on the netgear as FD? Best regards, Dan On Sat, Mar

Re: OpenBSD 5.0 Trunk with Netgear Managed Switch

2012-03-03 Thread Christian Weisgerber
Peter Erickson redlam...@gmail.com wrote: without any problems when using a trunk so I'm pretty confident that the switch is configured properly, but am confused about why the trunk interface will work on a net5501 and not a net6501. The only thing I can thing of at this point is the net6501