Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread Loïc BLOT
Hmm, this problem has similar issues like i got on bge (BCM5720) with OpenBSD 5.3. I hope the many bge fixes on 5.4 -current will fix it. -- Best regards, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 02 septembre 2013 à 07:59 -0400, Kenneth R Weste

Re: AuthenticationMethods skey, passwd: howto syntax?

2013-09-02 Thread Didier Wiroth
Yes I did. Skey and password currently work (as standalone authentication) with sshd and of course on the console (via username:skey syntax). But If I try to use skey & password authentication together (via the AuthenticationMethods) in sshd it doesn't work. May be I forgot something that is obvi

Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread Theo de Raadt
> On Mon, Sep 2, 2013 at 11:06 AM, Alexey E. Suslikov < > alexey.susli...@gmail.com> wrote: > > > andrew fabbro fabbro.org> writes: > > > > > apm0 at bios0: Power Management spec V1.2 > > > acpi at bios0 function 0x0 not configured > > > > try acpi on this machine (boot -c and disable apm). > > >

Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread Tomas Bodzar
On Mon, Sep 2, 2013 at 10:10 PM, andrew fabbro wrote: > On Mon, Sep 2, 2013 at 11:06 AM, Alexey E. Suslikov < > alexey.susli...@gmail.com> wrote: > > > andrew fabbro fabbro.org> writes: > > > > > apm0 at bios0: Power Management spec V1.2 > > > acpi at bios0 function 0x0 not configured > > > > tr

Re: AuthenticationMethods skey, passwd: howto syntax?

2013-09-02 Thread Johan Mellberg
2 sep 2013 kl. 22:53 skrev Didier Wiroth : > Hello, > (I'm running 5.4-current) > I would like to use multiple authentication in sshd : > 2) skey > 2) and passwd (as further authentication) > > I tried many different settings but I can't find the correct syntax > for the AuthenticationMethod para

Re: php sending mail via sendmail

2013-09-02 Thread Tony Berth
well the script does talk to google mail correctly so somehow it should work. I think all these open source php based solutions use the same way to send e-mails. The question is how!? Where should I look inside the php script? I was trying the oxwall s/w and this is generating this error. But othe

Re: php sending mail via sendmail

2013-09-02 Thread Stefan Sperling
On Tue, Sep 03, 2013 at 12:19:14AM +0200, Tony Berth wrote: > I already have these settings implemented but I still get the same error! > Please note that /var/www/bin and /var/www/usr belong to the daemon group. > I don't know if that should be changed to the www one? > > Where should I check in

Re: php sending mail via sendmail

2013-09-02 Thread Tony Berth
I already have these settings implemented but I still get the same error! Please note that /var/www/bin and /var/www/usr belong to the daemon group. I don't know if that should be changed to the www one? Where should I check in the PHP application in order to find the reason of the problem? Also,

Re: php sending mail via sendmail

2013-09-02 Thread Stefan Sperling
On Mon, Sep 02, 2013 at 09:23:46PM +0200, Tony Berth wrote: > did install both. Now, what are the settings in order to make them work? Depends on your php application. It will probably try to run /usr/sbin/sendmail, in which case you should ensure that exists in the chroot. In my case I had to cop

Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon

2013-09-02 Thread Bryan Vyhmeister
On Sep 2, 2013, at 9:13, Gabriel Guzman wrote: > I'm seeing the same thing on my desktop (dmesg below). Random freezes, > no debug output that I've seen in any logs, first time I noticed was > after updating to aug24 snapshot, behavior is the same with aug29th. I think this must be the same i

Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon

2013-09-02 Thread Bryan Vyhmeister
On Sep 2, 2013, at 3:13, Stefan Sperling wrote: > If your system locks up over night without being used (which I've seen > happen once, too, but it's hard to reproduce), or you don't have > wsmoused running in the first place, then it's probably some other issue. I'm not running xdm or wsmoused

Focusrite Scarlett 2i2 and uaudio error 4 "audio descriptors make no sense"

2013-09-02 Thread gjones
The Focusrite Scarlett 2i2 gives me an uaudio error=4 "audio descriptors make no sense" Googling, there was a patch made to Freebsd's uaudio last April, "http://freebsd.1045724.n5.nabble.com/snd-uaudio-2-0-class-support-for-24-bit-samples-with-bSubslotSize-4-td5806141.html"; but I am unable to

AuthenticationMethods skey, passwd: howto syntax?

2013-09-02 Thread Didier Wiroth
Hello, (I'm running 5.4-current) I would like to use multiple authentication in sshd : 2) skey 2) and passwd (as further authentication) I tried many different settings but I can't find the correct syntax for the AuthenticationMethod parameter. How does AuthenticationMethod have to be configured

Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread andrew fabbro
On Mon, Sep 2, 2013 at 11:06 AM, Alexey E. Suslikov < alexey.susli...@gmail.com> wrote: > andrew fabbro fabbro.org> writes: > > > apm0 at bios0: Power Management spec V1.2 > > acpi at bios0 function 0x0 not configured > > try acpi on this machine (boot -c and disable apm). > Wow, that was the ma

Re: php sending mail via sendmail

2013-09-02 Thread Tony Berth
did install both. Now, what are the settings in order to make them work? Found following for femail: http://rilk.com/en/doc/node/48 but these changes didn't have any effect. I still get the same error. Thanks On Mon, Sep 2, 2013 at 9:11 PM, Stefan Sperling wrote: > On Mon, Sep 02, 2013 at 02

Re: Premature end of script headers error with CGI

2013-09-02 Thread Beto
Hi, attached a little example #!/bin/sh echo "Content-type: text/html\n\n" echo ' http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> .:: fugu firewall ::. ' 2013/9/2 obsd, cgi > http://unix.stackexchange.com/questions/88062/how-to-enable-cgi-in-open

Re: php sending mail via sendmail

2013-09-02 Thread Stefan Sperling
On Mon, Sep 02, 2013 at 02:53:09PM -0400, Scott McEachern wrote: > The problem there is that femail-chroot requires putting a shell > into that chroot, which is something I personally avoid. Well, whether you need a shell depends on how scripts run external programs. E.g. PHPMailer uses popen(), w

Re: Premature end of script headers error with CGI

2013-09-02 Thread Ville Valkonen
On 2 September 2013 21:42, obsd, cgi wrote: > http://unix.stackexchange.com/questions/88062/how-to-enable-cgi-in-openbsd > > How could someone use a CGI (with a shell script) on OpenBSD? What could > the problem be? > > The CGI is this: > > # cat /var/www/htdocs/cgi-bin/SEARCH.cgi > printf "Conten

Re: Premature end of script headers error with CGI

2013-09-02 Thread patrick keshishian
On 9/2/13, obsd, cgi wrote: > http://unix.stackexchange.com/questions/88062/how-to-enable-cgi-in-openbsd > > How could someone use a CGI (with a shell script) on OpenBSD? What could > the problem be? > > The CGI is this: > > # cat /var/www/htdocs/cgi-bin/SEARCH.cgi > printf "Content-type: text/htm

Re: php sending mail via sendmail

2013-09-02 Thread Scott McEachern
On 09/02/13 14:46, Stefan Sperling wrote: On Mon, Sep 02, 2013 at 08:38:37PM +0200, Tony Berth wrote: Dear group, when trying different php based open source packages on a chrooted 5.2 box, I was faced with the problem not being able to send email from their php script. All the times I get foll

Re: php sending mail via sendmail

2013-09-02 Thread Stefan Sperling
On Mon, Sep 02, 2013 at 08:38:37PM +0200, Tony Berth wrote: > Dear group, > > when trying different php based open source packages on a chrooted 5.2 box, > I was faced with the problem not being able to send email from their php > script. All the times I get following entry in the maillog: > > w

Premature end of script headers error with CGI

2013-09-02 Thread obsd, cgi
http://unix.stackexchange.com/questions/88062/how-to-enable-cgi-in-openbsd How could someone use a CGI (with a shell script) on OpenBSD? What could the problem be? The CGI is this: # cat /var/www/htdocs/cgi-bin/SEARCH.cgi printf "Content-type: text/html\n\n"; printf hi but it keeps saying: #

php sending mail via sendmail

2013-09-02 Thread Tony Berth
Dear group, when trying different php based open source packages on a chrooted 5.2 box, I was faced with the problem not being able to send email from their php script. All the times I get following entry in the maillog: w...@example.com [x.x.x.x] did not issue MAIL/EXPN/VRFY/ETRN during connect

Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread Alexey E. Suslikov
andrew fabbro fabbro.org> writes: > apm0 at bios0: Power Management spec V1.2 > acpi at bios0 function 0x0 not configured try acpi on this machine (boot -c and disable apm).

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Erling Westenvik
On Mon, Sep 02, 2013 at 01:19:47PM -0400, John Hynes wrote: > I posted a dmesg earlier in the thread, that showed all three drives had > the same number of sectors as far as the kernel is concerned. After > replacing the drive with the one I "assumed" to be identical (a new sd2), > here's what the

Re: bioctl & replacing a failed mirror

2013-09-02 Thread John Hynes
On Mon, Sep 2, 2013 at 12:36 PM, Nick Holland wrote: > On 09/02/13 08:19, John Hynes wrote: > ... > > The "new" sd2 is identical to the old, which is identical to the other > > disks. > > you provide ZERO proof of this, which makes me guess that you buy disks > of the same maker and same model num

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Nick Holland
On 09/02/13 08:19, John Hynes wrote: ... > The "new" sd2 is identical to the old, which is identical to the other > disks. you provide ZERO proof of this, which makes me guess that you buy disks of the same maker and same model number and assume the rest. This is very often wrong. Proof of that

Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon

2013-09-02 Thread Gabriel Guzman
On 08/30, Bryan Vyhmeister wrote: > I'm running OpenBSD/amd64 5.4-current with GENERIC.MP from 2013/08/19 > downloaded from the mirrors on a Levovo ThinkPad X1 Carbon. Both > snapshots I have tried (2013/08/25 and 2013/08/29) after the 19th have > resulted in hard system freezes every few hours. I

Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread andrew fabbro
I apologize - it hadn't occurred to me that I could use a thumb drive to transport a dmesg. Bad hacker! Lose 10 hacker points! I tried installing without configuring network, which was successful, however once I tried to ifconfig bge0 ("ifconfig bge0 192.168.x.x. netmask 255.255.255.0 broadcast

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Kenneth R Westerback
On Mon, Sep 02, 2013 at 08:20:11AM -0400, John Hynes wrote: > On Mon, Sep 2, 2013 at 8:07 AM, Kenneth R Westerback > wrote: > > > On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote: > > > Greetings All, > > > > > > I have a softraid device, sd3, which was created as follows: > > > > > > b

Re: 10GBit OpenBSD Firewall

2013-09-02 Thread John Jasen
Please forgive the top posting. If you have enough systems, can you hit the performance goals with carp and active load balancing? On 09/02/2013 09:53 AM, Andy wrote: > If only you could 'buy' more time or make days longer.. ;) > > Because I know the OpenBSD developers are working hard on this

Re: 10GBit OpenBSD Firewall

2013-09-02 Thread Andy
If only you could 'buy' more time or make days longer.. ;) Because I know the OpenBSD developers are working hard on this and take it very seriously, we have decided that we are going to continue to use OpenBSD for these new 10G firewalls because the initial load is only going to be around 500

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Kenneth R Westerback
On Mon, Sep 02, 2013 at 08:20:11AM -0400, John Hynes wrote: > On Mon, Sep 2, 2013 at 8:07 AM, Kenneth R Westerback > wrote: > > > On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote: > > > Greetings All, > > > > > > I have a softraid device, sd3, which was created as follows: > > > > > > b

Re: bioctl & replacing a failed mirror

2013-09-02 Thread John Hynes
On Mon, Sep 2, 2013 at 8:51 AM, Bret Lambert wrote: > On Mon, Sep 02, 2013 at 02:30:23PM +0200, Stefan Sperling wrote: > > On Mon, Sep 02, 2013 at 08:17:27AM -0400, John Hynes wrote: > > > On Mon, Sep 2, 2013 at 8:10 AM, Stefan Sperling > wrote: > > > > What commands did you run to "copy" the di

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Kenneth R Westerback
On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote: > Greetings All, > > I have a softraid device, sd3, which was created as follows: > > bioctl -c 1 -l /dev/sd0a,/dev/sd1a,/dev/sd2a softraid0 > > The chunk sd2a failed. bioctl shows the RAID1 as degraded, and chunk sd2a > as OFFLINE. >

Re: 10GBit OpenBSD Firewall

2013-09-02 Thread Kenneth R Westerback
On Mon, Sep 02, 2013 at 01:41:58PM +0200, Denis Fondras wrote: > Hi Mike, > > Le 02/09/2013 13:21, Mike Belopuhov a ?crit : > > We are trying to address problems with MP networking right now, > > but due to the lack of manpower the progress is slow. > > > > What would you need to accelerate ? De

Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread Kenneth R Westerback
On Sun, Sep 01, 2013 at 10:45:50PM -0700, andrew fabbro wrote: > I have a Shuttle SD11G5, which is a small Celeron-based PC (1.5Ghz Celeron, > 2GB RAM, a couple SATA drives). > > The OpenBSD 5.3 installer consistently hangs after I enter the Netmask for > the onboard NIC. > > I'm booting the 32-b

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Bret Lambert
On Mon, Sep 02, 2013 at 02:30:23PM +0200, Stefan Sperling wrote: > On Mon, Sep 02, 2013 at 08:17:27AM -0400, John Hynes wrote: > > On Mon, Sep 2, 2013 at 8:10 AM, Stefan Sperling wrote: > > > What commands did you run to "copy" the disklabel? > > Oh - I did a "disklabel sd0 > disklabel.sd2; diskla

Re: bioctl & replacing a failed mirror

2013-09-02 Thread John Hynes
On Mon, Sep 2, 2013 at 8:30 AM, Stefan Sperling wrote: > On Mon, Sep 02, 2013 at 08:17:27AM -0400, John Hynes wrote: > > On Mon, Sep 2, 2013 at 8:10 AM, Stefan Sperling > wrote: > > > What commands did you run to "copy" the disklabel? > > Oh - I did a "disklabel sd0 > disklabel.sd2; disklabel -R

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Stefan Sperling
On Mon, Sep 02, 2013 at 08:17:27AM -0400, John Hynes wrote: > On Mon, Sep 2, 2013 at 8:10 AM, Stefan Sperling wrote: > > What commands did you run to "copy" the disklabel? > Oh - I did a "disklabel sd0 > disklabel.sd2; disklabel -R sd2 disklabel.sd2" Did that change the duid of sd2?

Re: bioctl & replacing a failed mirror

2013-09-02 Thread John Hynes
On Mon, Sep 2, 2013 at 8:07 AM, Kenneth R Westerback wrote: > On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote: > > Greetings All, > > > > I have a softraid device, sd3, which was created as follows: > > > > bioctl -c 1 -l /dev/sd0a,/dev/sd1a,/dev/sd2a softraid0 > > > > The chunk sd2a f

Re: bioctl & replacing a failed mirror

2013-09-02 Thread John Hynes
On Mon, Sep 2, 2013 at 8:10 AM, Stefan Sperling wrote: > On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote: > > Greetings All, > > > > I have a softraid device, sd3, which was created as follows: > > > > bioctl -c 1 -l /dev/sd0a,/dev/sd1a,/dev/sd2a softraid0 > > > > The chunk sd2a failed

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Erling Westenvik
On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote: > In order to rebuild, I'd need to set up the new sd2. After replacing > and zeroing the drive, I replaced the MBR with fdisk -yi /dev/sd2, > which worked fine. Next, I copied the disklabel from sd0 to sd2, but > disklabel refused to wri

Re: bioctl & replacing a failed mirror

2013-09-02 Thread Stefan Sperling
On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote: > Greetings All, > > I have a softraid device, sd3, which was created as follows: > > bioctl -c 1 -l /dev/sd0a,/dev/sd1a,/dev/sd2a softraid0 > > The chunk sd2a failed. bioctl shows the RAID1 as degraded, and chunk sd2a > as OFFLINE. >

Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon

2013-09-02 Thread Daniel Bolgheroni
On Fri, Aug 30, 2013 at 08:00:50AM -0700, Bryan Vyhmeister wrote: > I'm running OpenBSD/amd64 5.4-current with GENERIC.MP from 2013/08/19 > downloaded from the mirrors on a Levovo ThinkPad X1 Carbon. Both > snapshots I have tried (2013/08/25 and 2013/08/29) after the 19th have > resulted in hard sy

bioctl & replacing a failed mirror

2013-09-02 Thread John Hynes
Greetings All, I have a softraid device, sd3, which was created as follows: bioctl -c 1 -l /dev/sd0a,/dev/sd1a,/dev/sd2a softraid0 The chunk sd2a failed. bioctl shows the RAID1 as degraded, and chunk sd2a as OFFLINE. In order to rebuild, I'd need to set up the new sd2. After replacing and zer

Dropped echo ping brings interface down for 20 min

2013-09-02 Thread Iulian Prodan
Hi everyone,   I have a strange situation on three 5.3 machines for few days now. After dropping what appears to be a malformed echo request, interface goes down for 20 min. PF block policy is set to drop. Interface is connected to a Cisco switch, sorry no other details from our collo provider.   R

Re: 10GBit OpenBSD Firewall

2013-09-02 Thread Denis Fondras
Hi Mike, Le 02/09/2013 13:21, Mike Belopuhov a écrit : > We are trying to address problems with MP networking right now, > but due to the lack of manpower the progress is slow. > What would you need to accelerate ? Developpers, testers, time, money, hardware, something else ? Denis

Re: 10GBit OpenBSD Firewall

2013-09-02 Thread Mike Belopuhov
On 2 September 2013 12:26, Andy wrote: > Hi everyone, > > I know this gets discussed a lot and I don't want to re-tread old > ground, but I am in the process of specifying firewall hardware for > 10Gbit and would like to check the rules-of-thumb I am using.. > > We would like to reach 1 Million pp

Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon

2013-09-02 Thread Pascal Stumpf
On Mon, 2 Sep 2013 12:13:22 +0200, Stefan Sperling wrote: > On Sun, Sep 01, 2013 at 12:52:32PM -0700, Bryan Vyhmeister wrote: > > Yes, I have a Synaptics touchpad and the freeze has only happened under > > X as far as I know but I am pretty much always running X. Thank you. > > > pckbc0: using irq

10GBit OpenBSD Firewall

2013-09-02 Thread Andy
Hi everyone, I know this gets discussed a lot and I don't want to re-tread old ground, but I am in the process of specifying firewall hardware for 10Gbit and would like to check the rules-of-thumb I am using.. We would like to reach 1 Million pps, and would like to forward at least up-to the c

Re: Hard Freeze with Snapshots After Aug 19 on ThinkPad X1 Carbon

2013-09-02 Thread Stefan Sperling
On Sun, Sep 01, 2013 at 12:52:32PM -0700, Bryan Vyhmeister wrote: > Yes, I have a Synaptics touchpad and the freeze has only happened under > X as far as I know but I am pretty much always running X. Thank you. > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > wsmouse1 at pms0 mux 0 >

Re: 5.3 Installer Hangs After Entering Netmask (Broadcom NIC)

2013-09-02 Thread Rod Whitworth
On Sun, 1 Sep 2013 22:45:50 -0700, andrew fabbro wrote: >I have a Shuttle SD11G5, which is a small Celeron-based PC (1.5Ghz Celeron, >2GB RAM, a couple SATA drives). > >The OpenBSD 5.3 installer consistently hangs after I enter the Netmask for >the onboard NIC. > >I'm booting the 32-bit x86 instal