delegation-only added in 3.5 and removed in 4.5 a few months ago.

2009-07-10 Thread Daniel Ouellet
Hi,

I was trying to find out the reason why the "delegation-only" zone was removed
in 4.5 as it was there as far back as 3.5. marc.info search on misc list show
the last reference to that as May 2007.

Not a big deal, I was just trying to understand why it may not be needed, or
seen as useful anymore?

There is lots of content at that regards years back, but not much anymore or as
to why not to be used now.

Any inside may be as to why then?

Just curious.

Regards,

Daniel



Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

2009-07-10 Thread Vijay Sankar
Thanks very much for your detailed answer. Really appreciate that. I now 
see output through ssh. Unfortunately, it looks like the following:


s!!eBwRs!ow1u))BwRs!GDbu1'wd
   tGsO)
g$

I tried reducing the baud rate to 9600 but then the output looked like 
the following


```

So then I tried each of the settings under the "Failsafe Baud Rate" 
setting (57600, 19200) and those did not work either.


Is there something I should do in /etc/ttys ?

Thanks again,

Vijay

David Gwynne wrote:

On 10/07/2009, at 11:37 AM, Vijay Sankar wrote:


Hi,

I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64. I 
would like to remotely access the console using an SSH session to the 
DRAC IP address. I am hoping someone can help me with this.


This is what I have so far.

On the Server's Setup, under Serial Communications I have the following:

Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled


you need to set redirection after boot to disabled.

From my OpenBSD Desktop, I am able to do a r...@192.168.0.120 and get 
the following:


Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)

$

I can do a "connect com2" but can't get the console text appear 
within the ssh session.


make sure you've configured the drac to support console redirection 
too (this is separate to the bios config). use the following commands 
to set it up:


racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000

once that is done and you have the boot.conf below, you can use 
connect com2.


I tried "set tty com1" in /etc/boot.conf and that did not work. Is it 
possible to get the console send its output to com2 and have that 
accessed through DRAC's IP? Or is there some other way to access the 
OpenBSD console through DRAC?


you need the following in boot.conf:

stty com1 115200
set tty com1


Thanks very much,


npz




--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca



Re-envio de Confirmacao de Pagamento!

2009-07-10 Thread DannyEletros
  Comprovante Depssito - 409803809 (39,6kb) Segue em anexo o comprovante de
depssito em conta; Pedimos que confira seus dados e extrato e verifique se
todas as informagues e valores estco corretos
 Atenciosamente,

  Marlene Lins
  Assessoria Financeira

  Unilever S/A (Unileversa.com)
  Av. Juscelino Kubitschek, 1309 - Sco Paulo - Brasil
  T: 55.11-3323-1545/1520



Re: azalia

2009-07-10 Thread Jussi Peltola
On Thu, Jun 18, 2009 at 10:59:16AM +, Jacob Meuser wrote:
> I played with this a bit and was unable to get rid of the pop.  I
> left outputs muted, and still got the noise.  as far as I can tell,
> the pop happens when the codec is powered up.
 
I think the codec has a "virtual ground" tied halfway between 5V and 0V
or whatever its power supply is. The output is then connected to the
real output with a capacitor to avoid a 2.5V DC offset at the output
(this is commonly done when you only have a single supply but need a
split one).

When the codec is powered up, all of it is at 0V. The virtual ground
will rise to 2.5V, causing a very loud spike as the output capacitor
charges. It's not possible to mute this except with a mute transistor
after the output capacitor (haven't seen any sound card with one of
those) or a very slow-rising power supply, making the narrow, tall spike
into a wide, low pulse that you can't easily hear. Surely not somehing
you can fix without physically poking the hardware, though probably not
very difficult if the noise is really annoying.

-- 
Jussi Peltola



Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

2009-07-10 Thread David Gwynne

i have this in /etc/ttys:

tty01   "/usr/libexec/getty std.57600"  vt220   on  secure

dlg

On 10/07/2009, at 7:07 PM, Vijay Sankar wrote:


Thanks very much for your detailed answer. Really appreciate that. I
now see output through ssh. Unfortunately, it looks like the
following:

s!!eBwRs!ow1u))BwRs!GDbu1'wd
  tGsO)
g$

I tried reducing the baud rate to 9600 but then the output looked
like the following

```

So then I tried each of the settings under the "Failsafe Baud Rate"
setting (57600, 19200) and those did not work either.

Is there something I should do in /etc/ttys ?

Thanks again,

Vijay

David Gwynne wrote:

On 10/07/2009, at 11:37 AM, Vijay Sankar wrote:


Hi,

I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64.
I would like to remotely access the console using an SSH session
to the DRAC IP address. I am hoping someone can help me with this.

This is what I have so far.

On the Server's Setup, under Serial Communications I have the
following:

Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled


you need to set redirection after boot to disabled.


From my OpenBSD Desktop, I am able to do a r...@192.168.0.120 and
get the following:

Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)

$

I can do a "connect com2" but can't get the console text appear
within the ssh session.


make sure you've configured the drac to support console redirection
too (this is separate to the bios config). use the following
commands to set it up:

racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000

once that is done and you have the boot.conf below, you can use
connect com2.


I tried "set tty com1" in /etc/boot.conf and that did not work. Is
it possible to get the console send its output to com2 and have
that accessed through DRAC's IP? Or is there some other way to
access the OpenBSD console through DRAC?


you need the following in boot.conf:

stty com1 115200
set tty com1


Thanks very much,


npz




--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca




Re: Dell DRAC and OpenBSD 4.5 -stable AMD64

2009-07-10 Thread Vijay Sankar
Thanks very much. I have good news to report!!! I had read FAQ7 and had 
set this as


tty01   "/usr/libexec/getty std.9600"  vt220   on  secure

To make sure I don't waste your time (as well as the rest of the list) I 
went through the settings and made sure that all settings matched. And I 
now have the following:


OpenBSD/amd64 (server2.sankars.local) (tty01)

login:

This is just great!! Thanks again

Have a good day,

Vijay

David Gwynne wrote:

i have this in /etc/ttys:

tty01   "/usr/libexec/getty std.57600"  vt220   on  secure

dlg

On 10/07/2009, at 7:07 PM, Vijay Sankar wrote:


Thanks very much for your detailed answer. Really appreciate that. I
now see output through ssh. Unfortunately, it looks like the
following:

s!!eBwRs!ow1u))BwRs!GDbu1'wd
  tGsO)
g$

I tried reducing the baud rate to 9600 but then the output looked
like the following

```

So then I tried each of the settings under the "Failsafe Baud Rate"
setting (57600, 19200) and those did not work either.

Is there something I should do in /etc/ttys ?

Thanks again,

Vijay

David Gwynne wrote:

On 10/07/2009, at 11:37 AM, Vijay Sankar wrote:


Hi,

I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64.
I would like to remotely access the console using an SSH session
to the DRAC IP address. I am hoping someone can help me with this.

This is what I have so far.

On the Server's Setup, under Serial Communications I have the
following:

Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled


you need to set redirection after boot to disabled.


From my OpenBSD Desktop, I am able to do a r...@192.168.0.120 and
get the following:

Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)

$

I can do a "connect com2" but can't get the console text appear
within the ssh session.


make sure you've configured the drac to support console redirection
too (this is separate to the bios config). use the following
commands to set it up:

racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000

once that is done and you have the boot.conf below, you can use
connect com2.


I tried "set tty com1" in /etc/boot.conf and that did not work. Is
it possible to get the console send its output to com2 and have
that accessed through DRAC's IP? Or is there some other way to
access the OpenBSD console through DRAC?


you need the following in boot.conf:

stty com1 115200
set tty com1


Thanks very much,


npz




--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca





--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca



Re: tmux newbie "prefix key" question

2009-07-10 Thread Joachim Schipper
On Tue, Jul 07, 2009 at 11:28:09AM +0200, Didier Wiroth wrote:
> Hello,
> 
> I would like to migrate from screen to tmux. May be I'm to tired ...
> but, I've been trying to detach from a tmux session without success,
> using "CTRL-b + d" results in exiting the session not detaching it.
> (I'm holding "CTRL and B", and the I press D", I have to press
   
> several times as nothing happens and after a few times the session
> is of course excited, like if I wouldn't hold the B key ... :-/ )

You should:
- press and hold Ctrl
- press and release b (not B)
- release Ctrl
- press and release d

It sounds like you are trying to hit three keys at once, which doesn't
work (reliably).

Joachim



Re: delegation-only added in 3.5 and removed in 4.5 a few months ago.

2009-07-10 Thread Claudio Jeker
On Fri, Jul 10, 2009 at 04:10:09AM -0400, Daniel Ouellet wrote:
> Hi,
> 
> I was trying to find out the reason why the "delegation-only" zone was removed
> in 4.5 as it was there as far back as 3.5. marc.info search on misc list show
> the last reference to that as May 2007.
> 
> Not a big deal, I was just trying to understand why it may not be needed, or
> seen as useful anymore?
> 
> There is lots of content at that regards years back, but not much anymore or 
> as
> to why not to be used now.
> 
> Any inside may be as to why then?
> 

It was added during the time .com added a *.com entry to their zone to
redirect everybody to some website. It was dropped a bit later because of
all the compains and I hopefully doubt it will ever come back. So the
"delegation-only" hack is no longer needed for these zones.

-- 
:wq Claudio



Planos de Saúde

2009-07-10 Thread CGG Saude
Caso nco consiga visualizar esta mensagem, visite www.cggsaude.com.

CGG Sazde
Corretora e Consultoria em Planos de Sazde
Fones: (11) 3602-1544 / (11) 3602-0880 / (11) 9392-3444

Unimed Paulistana

Marmtma Sazde

Bradesco Sazde

Amil

Faga uma consulta agora mesmo, ligue para (11) 3602-1544, ou envie um e-mail 
para cggsa...@terra.com.br

Golden Cross

Medial

Intermidica

SulAmirica ING

Planos Basicos, Intermediarios e TOP
contemplando hospitais como:

Sco Luiz
9 de Julho
Albert Einstein
Samaritano
Alvorada
Sco Camilo
Santa Joana

Prs Matre
Santa Catarina
Oswaldo Cruz
Incor
Nipo-Brasileiro
Hospital Brasil
Assungco

variando de acordo com a rede contratada

Conte ainda com laboratsrios como:

Campana
Delboni Auriemo
Lavoisier
Bioclinico

Mello
Fleury
CDB
NASA

Compramos sua carjncia ati 59 anos

PLANO EMPRESA a partir de 3 vidas
DESCONTOS ESPECIAIS!

Trabalhamos com todos os Planos

Prevent Senior

Plano direcionado para a terceira idade

Planos Especiais para: Funcionarios Pzblicos, Advogados, Engenheiros,
Dentistas e outros profissionais de classe
com ati 30% DE DESCONTO



Para garantir que nossos comunicados cheguem em sua caixa de entrada,
adicione o email cggsa...@terra.com.br ao seu catalogo de enderegos.

A CGG Sazde respeita sua privacidade e i contra o spam na rede.
Se vocj nco deseja mais receber nossos e-mails, favor responder a esta
mensagem com o assunto "REMOVER".



Re: delegation-only added in 3.5 and removed in 4.5 a few months ago.

2009-07-10 Thread Daniel Ouellet
Claudio Jeker wrote:
> On Fri, Jul 10, 2009 at 04:10:09AM -0400, Daniel Ouellet wrote:
>> Hi,
>>
>> I was trying to find out the reason why the "delegation-only" zone was 
>> removed
>> in 4.5 as it was there as far back as 3.5. marc.info search on misc list show
>> the last reference to that as May 2007.
>>
>> Not a big deal, I was just trying to understand why it may not be needed, or
>> seen as useful anymore?
>>
>> There is lots of content at that regards years back, but not much anymore or 
>> as
>> to why not to be used now.
>>
>> Any inside may be as to why then?
>>
> 
> It was added during the time .com added a *.com entry to their zone to
> redirect everybody to some website. It was dropped a bit later because of
> all the compains and I hopefully doubt it will ever come back. So the
> "delegation-only" hack is no longer needed for these zones.

Thanks for the answer and the details. But Verisign wasn't the only one doing it
based on feedback on the net. But I could be wrong. Anyway, nice to know it's
getting better.



Re: Success!!

2009-07-10 Thread Nick Guenther
On Thu, Jul 9, 2009 at 11:59 PM, Wayne M. Scace wrote:
>  *YES
> I've got OpenBSD 4.5 installed on an older box that is earmarked as a
> Firewall/NAT box.  I've added a regular user account and pkg_add'd some
> packages of CLI apps that I prefer to use.  I must say, the install process
> was a LOT less painful than the last time I attempted to tinker with
> OpenBSD.
>   Have a great weekend!!
>
> Sincerely and Respectfully Yours,
>


Cool! What's the box (dmesg?)? Is it cheap? Is it fast? I have a
WRT-DD install but it always lags out my connections for some reason
(perhaps because the NAT is full) and I would like to be able to run
OpenBSD on it so I could actually tweak things.

-Nick



your account statement

2009-07-10 Thread stateme...@bmo.com
Dear BMO Customer,

A new statement is available.
To view, click here on the: "Account"
You can view the complete transactions for verification here :
"Statements"

2009 Bank of Montreal.



Classificados GRÁTIS portaldanet.com

2009-07-10 Thread Classificados GRATIS portaldanet.com
Se nco visualizar esta pagina correctamente , clique aqui

CLASSIFICADOS GRATIS DO PORTALDANET.COM

* Conhega as diferentes formas de publicitar o seu produto ou negscio *

Anzncios online de publicagco imediata.

Faga a sua prspria gestco,  e modificagco dos anzncios online.

Publique GRATIS no portaldanet.com , com fotos e texto da sua empresa,
negscio ou produtos nas categorias do site.

Esta mensagem esta de acordo com a legislagco Europeia sobre o envio de
mensagens comerciais. Destina-se unicamente a clientes, potenciais
clientes e parceiros e nco pode ser considerada SPAM porque tem inclumdo
contacto e instrugues para remogco da nossa lista de emails. Qualquer
mensagem devera estar claramente identificada com os dados do emissor e
devera proporcionar ao receptor a hipstese de ser removida da lista
(Directiva 2000/31/CE do Parlamento Europeu; Relatsrio A5-0270/2001 do
Parlamento Europeu).

Se desejar ser retirado desta mailing list Clique aqui. Obrigado!



Re: Success!!

2009-07-10 Thread Stuart Henderson
On 2009-07-10, Wayne M. Scace  wrote:
>*YES
> I've got OpenBSD 4.5 installed on an older box that is earmarked as a 
> Firewall/NAT box.  I've added a regular user account and pkg_add'd some 
> packages of CLI apps that I prefer to use.  I must say, the install 
> process was a LOT less painful than the last time I attempted to tinker 
> with OpenBSD.

most people who have tried the -current installer are highly reluctant
to go back to the 4.5 installer...



Re: Success!!

2009-07-10 Thread Bryan
On Fri, Jul 10, 2009 at 09:51, Stuart Henderson wrote:
> On 2009-07-10, Wayne M. Scace  wrote:
>> B  B  B  B *YES
>> I've got OpenBSD 4.5 installed on an older box that is earmarked as a
>> Firewall/NAT box. B I've added a regular user account and pkg_add'd some
>> packages of CLI apps that I prefer to use. B I must say, the install
>> process was a LOT less painful than the last time I attempted to tinker
>> with OpenBSD.
>
> most people who have tried the -current installer are highly reluctant
> to go back to the 4.5 installer...
>
>

The first couple of times, I fell victim to the "failure to name
slices" issue.  I took a breath, did the "help" on disklabel, found
the "n" command, and was good to go.  It really is a faster, easier (I
did not believe that was possible) install.  I do appreciate the
ability to create users, and to shut off SSH access to root
immediately.  All the more secure at the offing...



current /root/.login question

2009-07-10 Thread Emilio Perea
There have been some changes to the default /root/.login recently that I
don't understand, and hope someone can enlighten me.

On my oldest server, the root shell is still csh, so the change is very
noticeable:  Using the /root/.login from the 4.5 CD, when I login there
is a terminal type prompt which has always included the proper terminal
type as default.  The /root/.login from the current snapshot always
results in an unknown terminal type, so I have to type in the terminal
type myself before proceeding.  Is this as intended?

*--*
Last login: Fri Jul 10 11:32:12 2009 from herakles.walkereng.net
OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.

Terminal type? [xterm-color]
hermes#
*--*
Last login: Fri Jul 10 11:35:12 2009 from herakles.walkereng.net
OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.

tset: unknown terminal type !*
Terminal type? nxterm
Erase is delete.
Kill is control-U (^U).
Interrupt is control-C (^C).
Read the afterboot(8) man page for administration advice.
hermes# diff old.login new.login
1c1
< # $OpenBSD: dot.login,v 1.11 2005/03/30 19:50:07 deraadt Exp $
---
> # $OpenBSD: dot.login,v 1.13 2009/05/06 22:02:05 millert Exp $
5,12c5,16
< set tterm='?'$TERM
< set noglob
< onintr finish
< eval `tset -s -Q $tterm`
< finish:
< unset noglob
< unset tterm
< onintr
---
> if ( -x /usr/bin/tset ) then
>   set noglob histchars=""
>   onintr finish
>   if ( $?XTERM_VERSION ) then
>   eval `tset -IsQ '-munknown:?vt220' $TERM`
>   else
>   eval `tset -sQ '-munknown:?vt220' $TERM`
>   endif
>   finish:
>   unset noglob histchars
>   onintr
> endif
hermes#
*--*



Re: delegation-only added in 3.5 and removed in 4.5 a few months ago.

2009-07-10 Thread Matthew Dempsky
On Fri, Jul 10, 2009 at 7:19 AM, Daniel Ouellet wrote:
> Thanks for the answer and the details. But Verisign wasn't the only one doing 
> it
> based on feedback on the net. But I could be wrong. Anyway, nice to know it's
> getting better.

Yeah, there are other TLDs that still have wildcards (e.g., .kr), but
they've never been listed in OpenBSD's named.conf files anyway.  Only
.com and .net have.



Locales / unicode on OpenBSD

2009-07-10 Thread Sorkin Dima

Hi,
  I am new to OpenBSD and to BSD in general.

  I have copiled the Yudit editor on OpenBSD, and it seems that
the OpenBSD-4.0 on my machine (pentium-4) does not support locales.
Are there any docs on the localization of OpenBSD or *BSD ?

Please CC me on replies, I am not signed to the mailing list.

Thank you, regards,
  Dima.

P.S.
  The error by Yudit:
---
# yudit
No locale support on this machine.
No locale support on this machine.
---



dmesg ?

2009-07-10 Thread Wayne M. Scace

Nick Guenther wrote:
Cool! What's the box (dmesg?)? Is it cheap? Is it fast? I have a
WRT-DD install but it always lags out my connections for some reason
(perhaps because the NAT is full) and I would like to be able to run
OpenBSD on it so I could actually tweak things.
-Nick
  *Hi Nick, is this what you were asking about?  Or do you need the 
whole dump?


Wayne.
=
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 498 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM$
real mem  = 2400 (63MB)
avail mem = 5518 (52MB)

*



Re: Success!!

2009-07-10 Thread Wayne M. Scace

Stuart Henderson wrote:

most people who have tried the -current installer are highly reluctant
to go back to the 4.5 installer...
  

  *Hello Stuart,
This was my first attempt at installing/using OpenBSD since a couple of 
years back.  I'll admit it took me a few tries to get the disklabel 
figured out, but I kept at it and finally nailed it.  My current project 
on the box is to try and figure out how to get cvs to work so I can get 
the ports tree installed.  I'll keep working at it until I get it... LOL



Wayne*



Re: dmesg ?

2009-07-10 Thread Евгений Юнак
2009/7/10 Wayne M. Scace :
> Nick Guenther wrote:
> Cool! What's the box (dmesg?)? Is it cheap? Is it fast? I have a
> WRT-DD install but it always lags out my connections for some reason
> (perhaps because the NAT is full) and I would like to be able to run
> OpenBSD on it so I could actually tweak things.
> -Nick
> B  B  B *Hi Nick, is this what you were asking about? B Or do you need the
whole
> dump?
>
> Wayne.
> =
> OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
> B  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 498 MHz
> cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM$
> real mem B = 2400 (63MB)
> avail mem = 5518 (52MB)
>
> *

i believe he meant the whole dmesg dump.
can anyone enlighten me, whats so special about this device?
just an old pIII, used as router, as far as i get it...
or is it a highly specialized router platform?

--
The best the little guy can do is what
the little guy does right



Re: Locales / unicode on OpenBSD

2009-07-10 Thread Christiano Farina Haesbaert
2009/7/10 Sorkin Dima 

> Hi,
>  I am new to OpenBSD and to BSD in general.
>
>  I have copiled the Yudit editor on OpenBSD, and it seems that
> the OpenBSD-4.0 on my machine (pentium-4) does not support locales.
> Are there any docs on the localization of OpenBSD or *BSD ?
>
> Please CC me on replies, I am not signed to the mailing list.
>
> Thank you, regards,
>  Dima.
>
> P.S.
>  The error by Yudit:
> ---
> # yudit
> No locale support on this machine.
> No locale support on this machine.
> ---
>
> OpenBSD does not support internationalization, whenever I need to write
things in
my native language I use an emacs feature.



dmesg, the whole enchilada

2009-07-10 Thread Wayne M. Scace

*   Hi Nick and the group, here's the whole dmesg dump.

Wayne
==
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 498 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE
real mem  = 2400 (63MB)
avail mem = 5518 (52MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/02/99, BIOS32 rev. 0 @ 0xfd780,
SMBIOS rev. 2.1 @ 0xefca0 (49 entries)
bios0: vendor Intel Corp. version "4W4SB0X0.15A.0017.P12" date 12/21/1999
bios0: Gateway Tabor3 WS440BX
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd780/0x880
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1800 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf800, size 0x400
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 ignored (disabled)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI 5
/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC100CL2
dc0 at pci0 dev 13 function 0 "Davicom DM9102" rev 0x40: irq 5, address
00:60:6e:75:ad:27
amphy0 at dc0 phy 1: DM9102 10/100 PHY, rev. 1
emu0 at pci0 dev 14 function 0 "Creative Labs SoundBlaster Live" rev 0x07:
irq 11
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
"Creative Labs PCI Gameport Joystick" rev 0x07 at pci0 dev 14 function 1
not configured
pciide1 at pci0 dev 15 function 0 "Promise PDC20262" rev 0x01: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 19574MB, 40088160 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide1: channel 1 disabled (no drives)
"Conexant 56k Winmodem" rev 0x08 at pci0 dev 16 function 0 not configured
xl0 at pci0 dev 17 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 5,
address 00:01:02:34:4f:a9
exphy0 at xl0 phy 24: 3Com internal media interface
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
biomask e74d netmask e76d ttymask f7ff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



*



Re: dmesg ?

2009-07-10 Thread Wayne M. Scace

???  wrote:

i believe he meant the whole dmesg dump.
can anyone enlighten me, whats so special about this device?
just an old pIII, used as router, as far as i get it...
or is it a highly specialized router platform?

  

* Hi,
As far as I know there's nothing too awfully special about the machine.
Except, perhaps that it's life is being extended by using a real 
operating system on it and wiping out the windows virus that resided on 
it's hard drive. Thereby keeping it out of a landfill until it dies a 
natural death.


Wayne
*



Re: Clearing the console each time a user logs out

2009-07-10 Thread Olivier Regnier
I have already modified the file "gettytab" with these lines:

P:Pc:Pc   console:\
:np:sp#9600:\
:cl=\E[H\E[2J:

This does not work ? An idea ?

> To: misc@openbsd.org
> From: s...@spacehopper.org
> Subject: Re: Clearing the console each time a user logs out
> Date: Thu, 9 Jul 2009 23:05:05 +
>
> On 2009-07-09, Olivier Regnier  wrote:
> > Hello,
> >
> > I installed OpenBSD 4.5 on my Samsung NC10. I want to clear the console
each
> > time a user logs out. I modified /etc/gettytab file but i have no result.
Can
> > you give me some information on this topic ?
> >
> > Thank you in advance.
>
> you need to modify std.9600 or default in gettytab, unless you change the
> terminal type in ttys.
>
> I'm not sure if there's a good way to clear the scrollback buffer though.
>

_
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx



Question about connection rate limiting with pf.

2009-07-10 Thread Anathae Townsend
the following pf.conf fragment allows ssh connections from the outside world

to my firewall

pass in on egress proto tcp from any to egress port ssh keep state \
  (max-src-conn 10, max-src-conn-rate 4/20, overload  flush global)

If I understand tables and pf properly, and I have a default block all in
rule
could I not change it to the following fragment and allow only those not
already
added to the  table in?

pass in on egress proto tcp from !  to egress port ssh keep state \
  (max-src-conn 10, max-src-conn-rate 4/20, overload  flush global)



Re: Clearing the console each time a user logs out

2009-07-10 Thread Stuart Henderson
On 2009/07/10 20:48, Olivier Regnier wrote:
> 
> I have already modified the file "gettytab" with these lines:
> 
> P:Pc:Pc   console:\
> :np:sp#9600:\
> :cl=\E[H\E[2J:
> 
> This does not work ? An idea ?

Please read my mail again, you missed something in it.


> > To: misc@openbsd.org
> > From: s...@spacehopper.org
> > Subject: Re: Clearing the console each time a user logs out
> > Date: Thu, 9 Jul 2009 23:05:05 +
> > 
> > On 2009-07-09, Olivier Regnier  wrote:
> > > Hello,
> > >
> > > I installed OpenBSD 4.5 on my Samsung NC10. I want to clear the console 
> > > each
> > > time a user logs out. I modified /etc/gettytab file but i have no result. 
> > > Can
> > > you give me some information on this topic ?
> > >
> > > Thank you in advance.
> > 
> > you need to modify std.9600 or default in gettytab, unless you change the
> > terminal type in ttys.
> > 
> > I'm not sure if there's a good way to clear the scrollback buffer though.
> > 
> 
> _
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? 
> Lancez-vous !
> http://www.microsoft.com/windows/windowslive/default.aspx



Re: Question about connection rate limiting with pf.

2009-07-10 Thread Chris Cappuccio
yes

Anathae Townsend [atowns...@nucleus.com] wrote:
> the following pf.conf fragment allows ssh connections from the outside world
> 
> to my firewall
> 
> pass in on egress proto tcp from any to egress port ssh keep state \
>   (max-src-conn 10, max-src-conn-rate 4/20, overload  flush global)
> 
> If I understand tables and pf properly, and I have a default block all in
> rule
> could I not change it to the following fragment and allow only those not
> already
> added to the  table in?
> 
> pass in on egress proto tcp from !  to egress port ssh keep state \
>   (max-src-conn 10, max-src-conn-rate 4/20, overload  flush global)

-- 
I'm going to take a 6 month sabbatical to meditate on your words. There's just 
something deeply compelling about what you have to say that fills me with a 
sense of longing for a truer understanding of this wacky universe of ours.

Thank you fellow scholar. You have changed me.



Re: Clearing the console each time a user logs out

2009-07-10 Thread Olivier Regnier
_
Tiliphonez gratuitement ` tous vos proches avec Windows Live Messenger  ! 
Tilichargez-le maintenant ! 
http://www.windowslive.fr/messenger/1.asp



Does motherboard INTEL MB BLKD945GSEJT work with OpenBSD

2009-07-10 Thread MK

Hello,

I'm trying to build a router with low electric consumption.
I've found quite interesting and cheap motherboard Intel Desktop Board 
D945GSEJT 
http://support.intel.com/Products/Desktop/Motherboards/D945GSEJT/D945GSEJT-overview.htm


It's based on Atom N270, and it has integrated Ethernet adapter Realtek 
8111DL.

I have not found anything on Google about this board under OpenBSD.

Is anyone using it?

Thanks
MK 



Re: Clearing the console each time a user logs out

2009-07-10 Thread Mark Zimmerman
On Fri, Jul 10, 2009 at 08:48:12PM +0200, Olivier Regnier wrote:
> I have already modified the file "gettytab" with these lines:
> 
> P:Pc:Pc   console:\
> :np:sp#9600:\
> :cl=\E[H\E[2J:
> 
> This does not work ? An idea ?
> 

The FAQ entry for this has been wrong for a few releases now. Try
this:

2|std.9600|9600-baud:\
:sp#9600:\
:cl=\E[H\E[2J:

Assuming /etc/ttys has this for the console:

console "/usr/libexec/getty std.9600"   vt220   off secure



Re: dmesg, the whole enchilada

2009-07-10 Thread Stuart Henderson
On 2009-07-10, Wayne M. Scace  wrote:
> *   Hi Nick and the group, here's the whole dmesg dump.
>
> dc0 at pci0 dev 13 function 0 "Davicom DM9102" rev 0x40: irq 5, address
> 00:60:6e:75:ad:27

those ...how shall I put it... aren't very friendly to other devices on the
bus. see near the bottom of dc(4) ('man 4 dc').



What kernel to use for a QuadProcesor, or Dual Xeon 3.0ghz

2009-07-10 Thread Andres Salazar
Hello community,

 I have two boxes:

Quad Core Processor with 4GB RAM
Dual Xeon 3.0 Ghz with 2GB of RAM


I have heard contradicting information as far as I can use both the MP and
the REGULAR kernel (i386 or amd64) and that both would give me the same
performance..

Isnt it true that If i apply the regular kernel on these boxes I would be
wasting CPU power? Per top it would only show one CPU.

Also.. is it better to use amd64 or i386.. or doesnt matter?

Thank you.

Andres



Re: Question about connection rate limiting with pf.

2009-07-10 Thread Dorian Büttner

Anathae Townsend schrieb:

the following pf.conf fragment allows ssh connections from the outside world

to my firewall

pass in on egress proto tcp from any to egress port ssh keep state \
  (max-src-conn 10, max-src-conn-rate 4/20, overload  flush global)

If I understand tables and pf properly, and I have a default block all in
rule
could I not change it to the following fragment and allow only those not
already
added to the  table in?

pass in on egress proto tcp from !  to egress port ssh keep state \
  (max-src-conn 10, max-src-conn-rate 4/20, overload  flush global)
  
However, the faq-example (is it that where I got it from?) does a block 
in quick from  right at the top of the filter section which 
prevents unnecessary further parsing of rules for this kind of guests. 
Dependant on your needs, your version might suite as well.




Re: dmesg, the whole enchilada

2009-07-10 Thread Wayne M. Scace

Stuart Henderson wrote:

dc0 at pci0 dev 13 function 0 "Davicom DM9102" rev 0x40: irq 5, address
00:60:6e:75:ad:27



those ...how shall I put it... aren't very friendly to other devices on the
bus. see near the bottom of dc(4) ('man 4 dc').

  

  Hi Stuart,
   Well, the dc0 is the 2nd NIC I installed onto the box and it's in 
the only slot I could fit it into.
I might be able to put it into another slot if I pull out the modem 
card, which might not be a bad idea as I

don't see this box being used to connect using ppp.



Timeout of network interface

2009-07-10 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all!

Until today I was using OpenBSD 4.5 like KVM virtual machine on Ubuntu
Hardy Heron server amd64 with KVM-64. But due to a bug that could affect to
hosts with a high rate of I/O [1], I decided to update to backport of
KVM-84 for Hardy heron server amd64 that solved this bug.

Although with the other virtual machines that it had in the host I did not
have problems, I had some problems with the installation of OpenBSD.

Next I paste the output when connecting to the VM by means of serial
console from the host machine. After 'mtrr: Pentium Pro MTRR support', I
see a 'u' followed sometimes by a 'k', and the operating system is rebooted
repetitively when arriving at this instance.

- ---
r...@ubuntu:/etc/modprobe.d# telnet localhost 4001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
>> OpenBSD/i386 BOOT 3.02
boot>
booting hd0a:/bsd: 6039964+1059784 [52+336688+318896]=0x7657ec
entry point at 0x200120

[ using 656008 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
   The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: QEMU Virtual CPU version 0.9.1 ("AuthenticAMD" 686-class, 512KB L2 cache) 
1.71 GHz
cpu0: 
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3
real mem  = 536375296 (511MB)
avail mem = 510361600 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/08/09, BIOS32 rev. 0 @ 0xfb4d0, SMBIOS 
rev. 2.4 @ 0xfbd3f (10 entries)
bios0: vendor QEMU version "QEMU" date 01/01/2007
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 1000MHz
mpbios0: bus 0 is type ISA
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
bios0: ROM list: 0xc/0x8c00
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 38912MB, 79691776 sectors
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 0
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 1 int 4 
(irq 10)
iic0 at piixpm0
iic0: addr 0x18 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x1a 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x4c 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
00= 01= 02= 03= 04= 05= 06= 07=
iic0: addr 0x4e 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0 words 
00= 01= 02= 03= 04= 05= 06= 07=
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ne3 at pci0 dev 3 function 0 "Realtek 8029" rev 0x00: apic 1 int 12 (irq 11), 
address 00:16:3e:00:00:35
unknown vendor 0x1af4 product 0x1002 (class memory subclass RAM, rev 0x00) at 
pci0 dev 4 function 0 not configured
unknown vendor 0x1af4 product 0x1003 (class prehistoric unknown subclass 0xff, 
rev 0x00) at pci0 dev 5 function 0 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: unable to establish interrupt for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
mtrr: Pentium Pro MTRR support
u>> OpenBSD/i386 BOOT 3.02
boot>
booting hd0a:/bsd: 6039964+1059784 [52+336688+318896]=0x7657ec
entry point at 0x200120
- -