How to load balancing between lan and adsl ?

2008-10-20 Thread Dongsheng Song
Hello forks,

My proxy use bnx1 connect to internal network, and bnx0 connect to inet.
Can I add adsl for load balancing ?

  |- ext_if(bnx0)
int_if(bnx1) -|
  |- adsl(tun1, bge0)

Thanks for some help,
Dongsheng



Alan Greenspan Was Right: Recession, Are we There Yet?

2008-10-20 Thread 1 7 7 6 - Annuit Cœptis
Recession: Are we There Yet?

  This text is available only in English however there are translation tools
on all the pages of the site http://www.17-76.net/

If you can't read this text you can find it at 1776-Annuit C=ptis:
http://www.17-76.net/recession.html

  DIE ZEIT: Can the right monetary and fiscal policy keep the US out of a
recession?

Alan Greenspan: 

"Probably not. Global forces can now override most anything that monetary and
fiscal policy can do. Long-term real interest rates have significantly more
impact on the core of economic activity than the individual actions of
nations. Central banks have increasingly lost their capacity to influence the
longer end of the market. Two to three decades, ago central banks were
dominant throughout the maturity schedule.
 Thus, the more important question is the direction of long-term real interest
rates." 

Chairman Sir Alan "El Maestro" Greenspan
 The Great Irony of Success
 ) ZEIT online, 30.1.2008 

  Interest Rates are the Cause and Consequence of
 the Explosion of Income Disparities and
 the Inherent Instability of the System

 "The income gap between the rich and the rest of the US population has become
so wide,
 and is growing so fast, that it might eventually threaten the stability of
democratic capitalism itself."

 Chairman Sir Alan "El Maestro" Greenspan

  Alan Greenspan Was Right: Translation of GreenSpeaks Into Plain English

  This paper explains the roots of the recent crisis and shows that the
proposed solutions of governments
 takes care of some of the symptoms [Financial Market Crisis]
 without dealing with the problem itself [economic disequilibria].
 Worst they even accelerate a phenomenon which will ultimately bring the world
into a systemic economic catastrophe.

 Expect aqn Asset Price Bubble of a size never seen before
 followed by a crash: it will be dramatic and ugly with no prior warning.

 A free market, credit free solution exists. We propose a way to implement
it.

 This text translates GreenSpeaks into plain English however it is still a bit
technical and
 requires a BA with one concentration in economy or scientific subject.
 However the implementation is simple. If you want to skip the
technicalities jump here.

   "At the present moment people are unusually expectant of a more fundamental
diagnosis;
 more particularly ready to receive it; eager to try it out, if it should be
even plausible.

 But apart from this contemporary mood, the ideas of economists and political
philosophers,
 both when they are right and when they are wrong, are more powerful than is
commonly understood.

 Indeed the world is ruled by little else. Practical men, who believe
themselves to be quite
 exempt from any intellectual influences, are usually the slaves of some
defunct economist.

 Madmen in authority, who hear voices in the air, are distilling their frenzy
 from some academic scribbler of a few years back. Emperors and armies come
and go;
 but unless they leave new ideas in their wake, they are of passing historic
consequence.

 I am sure that the power of vested interests is vastly exaggerated compared
with the
 gradual encroachment of ideas. Not, indeed, immediately, but after a certain
interval;

 for in the field of economic and political philosophy there are not many who
are influenced by new theories
 after they are twenty-five or thirty years of age, so that the ideas which
civil servants
 and politicians and even agitators apply to current events are not likely to
be the newest.

 But, soon or late, it is ideas, not vested interests, which are dangerous for
good or evil."

 John Maynard "Invisible Hand" Keynes,
  The General Theory of Employment, Interest, and Money,
 13 December 1935, p. 383.
 Quoted by Chairman Sir Alan "El Maestro" Greenspan
 Adam "Defunct Economist" Smith
 At the Adam Smith Memorial Lecture, Kirkcaldy, Scotland
 February 6, 2005

 For the economists read our on line document:

 A Specific Practice of Employment, Interest and Money

  1776-Annuit C=ptis  Is a Bailout Plan for the Rest of Us

 1776-Annuit C=ptis  Can't Prevent the Crash
 But it Can Save You from its Consequences!

 Consider your environment print and give a wide audience to that document.

 1 7 7 6 Annuit Co=ptis believes that it won't have time to contact you again
till it declares the state of systemic economic catastrophe. However please
read our Strict Direct Contacts Policy

  Reproduction rights of all or part of this document is granted to anybody
 under the strict condition that the address of the site:
http://www.17-76.net/  and the name 1776-Annuit C=ptis appear prominently on
the document.

 Should you need to contact 1776-Annuit C=ptis  please write to [EMAIL 
PROTECTED]



Errores de Responsables de COMPRAS

2008-10-20 Thread Rosa Suarez
Los 15 Grandes Errores que Cometen los Responsables de Compras y Csmo
Corregirlos.

Monterrey: 29 de Octubre\Mixico, D.F.: 30 de Octubre\
Guadalajara: 31 de Octubre


Este curso le ofrece los mas efectivos conceptos y maneras concretas de
corregir los errores y omisiones que cometen los responsables de compras y
compradores en su organizacisn Con numerosos ejemplos reales, casos y
ejercicios los participantes comprenderan la trascendencia de su trabajo al
encontrar las soluciones adecuadas para mejorar el desempeqo de la funcisn a
travis de exponer, analizar y resolver los errores mas frecuentes en que
suelen incurrir. Entre los puntos a tratar se incluye:

. Csmo responder adecuadamente a las requisiciones y exigencias de otros
departamentos.
. Cual es el costo e impacto de colapsar procesos y actividades por malas
negociaciones, malos proveedores y  burocracia desmedida.
. Csmo comprar sin !Perder!
. Csmo puede usted garantizar eficiencia,  costos competitivos y la
satisfaccisn total de sus clientes internos y externos.
. Csmo convertir a su Departamento de Compras en un potente generador de
Utilidades.
. Csmo comprar mas a menor costo aqo con aqo,  desarrollando al proveedor para
mejorar su desempeqo al eliminar su desperdicio.
. Csmo sincronizar sus requerimientos con los embarques de sus proveedores.
. Para convertirse en un habil comprador que realmente genere valor, usted
debe asistir a este seminario donde analizara y discutira con un experto en la
materia, como el optimizar al maximo los recursos de la empresa es un factor
importante para desarrollar eficazmente su gestisn de compras y es prioridad
para usted, entonces no lo piense dos veces. !Inscrmbase ya!


-Solicite un folleto gratuito con la informacisn Completa de este seminario

Responda este correo con los siguientes datos:
Seminario: Los 15 Grandes Errores que Cometen los Responsables de Compras y
Csmo Corregirlos.
Nombre:
Empresa:
Puesto:
Telefono:
Ciudad:

O llamenos al 01.800.250.10.20 (Lada sin costo)







.

Esta invitacisn fui enviada a: misc@openbsd.org

Si usted no tiene interis en recibir este tipo de invitaciones solo responda
con asunto - quitamelista



Re: pf outbound nat load balancing issue

2008-10-20 Thread gm_sjo
It would appear not as I tried to sign up to the openbsd-pf list today
and it failed. Just as pf is doing, failing. And now I am failing by
talking to myself :-)


2008/10/18 gm_sjo <[EMAIL PROTECTED]>:
> Is there a more suitable mailing list for this kind of query?
>
> Thanks



Re: Can't SSH into CARP'd system from the outside

2008-10-20 Thread Stuart Henderson
On 2008/10/20 14:19, Vivek Ayer wrote:
> I'll give that a shot. But in the meanwhile, it appears ntpd doesn't
> listen on the carp interface.

unlikely, unless you restricted in the "listen on..." line.

$ grep ^listen /etc/ntpd.conf  
listen on *
$ ifconfig carp83|grep -w inet 
inet 195.95.187.83 netmask 0xffe0 broadcast 195.95.187.95
$ fstat|grep 195.95.187.83:123   
_ntp ntpd   19169   16* internet dgram udp 195.95.187.83:123

> Could this also be due my current pf.conf?

most likely - the suggestion I made will show you for sure
(I think running tcpdump on pflog is the single most useful tool
to help debug problems with a PF ruleset).



Re: Can't SSH into CARP'd system from the outside

2008-10-20 Thread Brian A. Seklecki
On Mon, 2008-10-20 at 14:19 -0700, Vivek Ayer wrote:
> So far, I can't ssh into the carp from the outside, can't ntp from the

Try:

% sudo tcpdump -ttt -e -vvv -n -i pflog0 -s 1024


-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.



Re: Can't SSH into CARP'd system from the outside

2008-10-20 Thread Vivek Ayer
I'll give that a shot. But in the meanwhile, it appears ntpd doesn't
listen on the carp interface. I set up ntpd on the carp firewalls, but
internally, I had to provide the two physical addresses to sync time
instead of the one carp interface. Could this also be due my current
pf.conf?

So far, I can't ssh into the carp from the outside, can't ntp from the
inside, however I've been able to ssh into the carp from the inside,
which is rather odd.

Help appreciated,
Vivek

On Mon, Oct 20, 2008 at 5:57 AM, Stuart Henderson <[EMAIL PROTECTED]> wrote:
> On 2008-10-19, Vivek Ayer <[EMAIL PROTECTED]> wrote:
>> block in
>
> make this "block log in", then look at the tcpdump command line
> for "Display the logs in real time" shown in pflogd(8).



Over 40? Single? Still Looking?

2008-10-20 Thread Over 40
Are you Over 40 Years old? Single?

Let 40 Plus Matching Find your love...

http://thomasgittus.com/rTrrzCsLMKssTEzszszsCElfrMTKLz/

Are you tired of Internet Dating?  Meet *REAL* people!
http://thomasgittus.com/rTrrzCsLMKssTEzszszsCElfrMTKLz/

Are you tired of Looking at thousands of profiles and NOT finding anyone who 
meets your standards?  
Let us solve your problem!  Let us find you your REAL PERFECT Match!
http://thomasgittus.com/rTrrzCsLMKssTEzszszsCElfrMTKLz/

Don't delay, your perfect match is only ONE click away!
http://thomasgittus.com/rTrrzCsLMKssTEzszszsCElfrMTKLz/





===
The above is an advertisement sent by a Over40Matching affiliate. If you have 
any questions or concerns, you may contact us at the following address: 
Over40Matching, 4 Carmichael Street, Ste 111 #2150
Essex Junction, VT 05452






This email brought to you by:
Felflo Media Corp. - 1404 Southern Hills Center 298 - west plains, mo 65775
Manage Your Account: http://thomasgittus.com/rTrrzCsLMKssTEzszlzsCElfrMTKLz/



Re: routing problem

2008-10-20 Thread Daniel Anderson
Instead of giving you the obligatory "man pf.conf" reply, I will do one better 
and reference an old reply I posed to the list with a sample pf.conf where 
someone asked basically the same thing. I omitted the part that matters in 
this example conf, but explain what you need to insert to get it to fly.

http://marc.info/?l=openbsd-misc&m=120665186412690&w=2

It all can be found under the man page on searching for reply-to or route-to.
This worked for me, so if anybody has got a more elegant means of doing it 
they should post.

-
On Monday 20 October 2008 04:20:15 am Charlie Clark wrote:
> Hi,
>
> I am trying to setup an openbsd router but are having a big problem
> getting it to work.
> Here is the scenario:
>
> The router has 3 public IP's, with 2 internet connections and sits just
> outside a DMZ. Behind the router there are a number of hosts with public
> IP's (DMZ).
> All of the interfaces on the router are on different subnets.
> Let's say that the 3 interfaces are:
>
> int_if = the interface which is directly connected to the DMZ
> ext_if = the first internet connection (NOTE this ISP is the ISP which
> allocated the IP's in the DMZ so there is no natting done on this
> interface) ext2_if = the second internet connection  (NOTE  there is
> natting on this interface so everything works fine here)
>
> I have setup aproxyd to answer arp requests on ext_if for all of the
> IP's in the DMZ using the layout:
>
> proxy (IP) (MAC of ext_if)
>
> If I ping any IP on the net from a host in the DMZ and do a tcpdump on
> the router at the same time, I can see the packet coming in int_if, then
> going out ext_if, then the reply coming back in ext_if but then
> disappearing. It doesn't seem to be passing the packets, destined for
> the hosts in the DMZ, on to them.
>
> Is there something I am missing here?
> The filter rules look fine and nothing is being blocked
>
> I would appreciate any help.
>
> Thanks,



Get a secure grip anywhere with GetAGrip

2008-10-20 Thread Get-A-Grip
Get-A-Grip

The Revolutionary New Way To Have A Secure Grip Whenever You Need It.

* Attaches in Seconds
* No Drilling
* No Tools
* Super Strong

http://CRYSTALCLEANS.COM/fFAfMHutFYuuAaMHMuMuHayrfFAYtM/

The original Get-A-Grip? is the revolutionary new way to have a secure grip 
whenever you need it. 

It attaches easily to any smooth surface and is especially useful in a 
bathroom. 

It Installs in seconds, just place it on the surface and push the safety 
locking switch thats all you do.

Get Yours Today.

http://CRYSTALCLEANS.COM/fFAfMHutFYuuAaMHMuMuHayrfFAYtM/


If you would like to remove yourself from this email list, please click 
http://CRYSTALCLEANS.COM/fFAfMHutFYuuAaMHMaMuHayrfFAYtM/
8001 Broadway Suite 302 Merrillville, IN 46410.


This email is a commercial advertisement sent in compliance with the CanSpam 
Act of 2003. 
We have no desire to send you information that is not wanted, therefore, if you 
wish to be excluded from all mailings, 
please use the link at the bottom of the page. If you wish to opt out of 
receiving any emails from EmpireTelecom, please unsubscribe below. 
Empire Telecom Inc - #290 6658 Youree Dr. Suite 180 - Shreveport - LA 71105 . 
68995c8
Manage - misc@openbsd.org - 
http://CRYSTALCLEANS.COM/fFAfMHutFYuuAaMHMyMuHayrfFAYtM/
44534801di



Re: Certification

2008-10-20 Thread Marti Martinez
Manager types LOVE CISSP certs.
However, there is no substitute for real world experience.

On Mon, Oct 20, 2008 at 10:35 AM, Benjamin Adams <[EMAIL PROTECTED]>wrote:

> Looking for Certification guidance
> I"m looking to get some type of security certification.
> Looking for Application more than network layout.
> What would be a high looked at certification?
> Not looking for Windows or Linux/Unix only.
> Would look for on that deals with both archs.
>
> Thanks
> Ben
>
>


-- 
Systems Programmer, Principal
Electrical & Computer Engineering
The University of Arizona
[EMAIL PROTECTED]



Let us buy you a top of the line Apples any of the Laptop.

2008-10-20 Thread New Laptop
A top notch laptop is always a great item to have. We would like to provide you 
with one of your very own. Choose from Apple's finest Laptops! We'll 
send you one on us (with participation)! 

http://goodiegreetings.com/HeOGRGMOeLMMQARGRMRMGAYdHeQLOR

Upon completion of our member incentive program, it will be all yours, our 
treat (see details)! 

http://goodiegreetings.com/HeOGRGMOeLMMQARGRMRMGAYdHeQLOR 






This email is a commercial advertisement sent in compliance with the CanSpam 
Act of 2003. 
We have no desire to send you information that is not wanted, therefore, if you 
wish to be excluded from all mailings, 
please use the link at the bottom of the page.

iMediaExpress ,  5500 MILITARY TRAIL #22-156 68995c8 , JUPITER  , FL 33458
id1206015689
Opt Out - misc@openbsd.org - 
http://goodiegreetings.com/HeOGRGMOeLMMQARGRYRMGAYdHeQLOR



Certification

2008-10-20 Thread Benjamin Adams
Looking for Certification guidance
I"m looking to get some type of security certification.
Looking for Application more than network layout.
What would be a high looked at certification?
Not looking for Windows or Linux/Unix only.
Would look for on that deals with both archs.

Thanks
Ben



Re: New cpuid code to test

2008-10-20 Thread Christopher Linn
very sorry, mangled my reply and didn't catch it.

On Mon, Oct 20, 2008 at 11:15:27AM -0400, Christopher Linn wrote:
> On Mon, Oct 20, 2008 at 10:59:00AM -0400, Brad Tilley wrote:
> > On Mon, Oct 20, 2008 at 9:35 AM, Julian Leyh <[EMAIL PROTECTED]> wrote:
> > > make already knows how to compile C files, no need to call the
> > > compiler yourself ;)
> > 
> > On 4.4 i386 make does this:
> > 
> > $ make cpuid.c && ./cpuid
> > `cpuid.c' is up to date.
> > ksh: ./cpuid: not found
> > 
> > It does not produce a cpuid executable.
> 
> should be
> 
> $ make cpui
> cpuid.c
[...]

that should have been:

$ ls
cpuid.c
$ make cpuid
cc -O2 -pipe-o cpuid cpuid.c 
$ ls
cpuid   cpuid.c
$ file *
cpuid:   ELF 64-bit LSB executable, x86-64, version 1, for OpenBSD, dynamically 
linked (uses shared libs), not stripped
cpuid.c: ASCII C program text
$ ./cpuid
Found 686 class CPU with CPUID support.
[...lots of stuff...]

-- 
Christopher Linn   | By no means shall either the CEC
System Administrator II   | or MTU be held in any way liable
  Center for Experimental Computation | for any opinions or conjecture I
Michigan Technological University | hold to or imply to hold herein.



Re: Slow file access on Compact Flash

2008-10-20 Thread TeXitoi
Uwe Dippel <[EMAIL PROTECTED]> writes:

> [I read all postings in the archive AFAIK]
> 
> Just started with CF on embedded hardware advertised to run OpenBSD;
> ARInfoTek. It does run OpenBSD very well!
> Now I want the embedded system to run off CF; the board has a CF
> socket to be wd0.
> 4.2 runs out of the box, but with very slow access of files. The CF is
> reasonably fast, though, with ~6MB at 'dd'. But once it has to access
> files for r/w, it gets very slow.
> I found some postings that 4.3 would be better, but the install of 4.3
> here mainly -stalled- and took a good hour, from a local ftp-site.
> locate.updatedb is incredibly fast, while some file extraction takes ages.
> It looks like a large, single, file copies very fast, similar to
> 'dd'. But opening a file for r/w seems to take ages. Something like
> tar -C /tmp -xzphf etc43.tgz
> takes a minute, easily. And etc43.tgz is only 1.2MB.
> Copying of this file is quick:
> $ date &&  cp etc43.tgz demo && date
> Mon Oct 20 11:29:15 SGT 2008
> Mon Oct 20 11:29:16 SGT 2008
> 
> Any hint welcome,

try soft update : http://openbsd.org/faq/faq14.html#SoftUpdates

-- 
Guillaume Pinot  http://www.irccyn.ec-nantes.fr/~pinot/

``Computers are good at following instructions, but not at reading your
mind.'' -- Donald E. Knuth, the TeXbook

()  ASCII ribbon campaign  -- Against HTML e-mail 
/\  http://www.asciiribbon.org -- Against proprietary attachments



Re: burn a cd image on a dvd with growisofs

2008-10-20 Thread Josh Grosse
On Mon, 20 Oct 2008 15:54:39 +0200, Jesus Sanchez wrote
> Hi, using 4.3.
> 
> there is any problem on burning a bootable iso (made with mkisofs -
> RJ) less than 700 MB on a DVD? I need to do some burning task and 
> only have DVDs around here.
> 
> Thanks for all.
> -Jesus.

If the ISO is bootable by your BIOS, there is no lower size limit.  e.g.:
either cd43.iso or install43.iso may be booted from DVD media.  



Re: New cpuid code to test

2008-10-20 Thread Christopher Linn
On Mon, Oct 20, 2008 at 10:59:00AM -0400, Brad Tilley wrote:
> On Mon, Oct 20, 2008 at 9:35 AM, Julian Leyh <[EMAIL PROTECTED]> wrote:
> > make already knows how to compile C files, no need to call the
> > compiler yourself ;)
> 
> On 4.4 i386 make does this:
> 
> $ make cpuid.c && ./cpuid
> `cpuid.c' is up to date.
> ksh: ./cpuid: not found
> 
> It does not produce a cpuid executable.

should be

$ make cpui
cpuid.c
$ make cpuid
cc -O2 -pipe-o cpuid cpuid.c 
$ ls
cpuid   cpuid.c
$ file *
cpuid:   ELF 64-bit LSB executable, x86-64, version 1, for OpenBSD, dynamically 
linked (uses shared libs), not stripped
cpuid.c: ASCII C program text
$ ./cpuid
Found 686 class CPU with CPUID support.
[...lots of stuff...]


-- 
Christopher Linn   | By no means shall either the CEC
System Administrator II   | or MTU be held in any way liable
  Center for Experimental Computation | for any opinions or conjecture I
Michigan Technological University | hold to or imply to hold herein.



Re: New cpuid code to test

2008-10-20 Thread Christopher Linn
On Mon, Oct 20, 2008 at 11:01:37AM -0400, Brad Tilley wrote:
> On Mon, Oct 20, 2008 at 9:35 AM, Julian Leyh <[EMAIL PROTECTED]> wrote:
> > make already knows how to compile C files, no need to call the
> > compiler yourself ;)
> 
> My bad... I was using make incorrectly. I'll stick to gcc by hand :)
> 

OTOH you should embrace the bsd make infrastructure..

-- 
Christopher Linn   | By no means shall either the CEC
System Administrator II   | or MTU be held in any way liable
  Center for Experimental Computation | for any opinions or conjecture I
Michigan Technological University | hold to or imply to hold herein.



Re: New cpuid code to test

2008-10-20 Thread Ted Unangst
On Mon, Oct 20, 2008 at 10:59 AM, Brad Tilley <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 20, 2008 at 9:35 AM, Julian Leyh <[EMAIL PROTECTED]> wrote:
>> make already knows how to compile C files, no need to call the
>> compiler yourself ;)
>
> On 4.4 i386 make does this:
>
> $ make cpuid.c && ./cpuid
> `cpuid.c' is up to date.
> ksh: ./cpuid: not found
>
> It does not produce a cpuid executable.

That's because you told it to make a file called cpuid.c, not a
program called cpuid.  You get what you ask for.



Re: New cpuid code to test

2008-10-20 Thread Brad Tilley
On Mon, Oct 20, 2008 at 9:35 AM, Julian Leyh <[EMAIL PROTECTED]> wrote:
> make already knows how to compile C files, no need to call the
> compiler yourself ;)

On 4.4 i386 make does this:

$ make cpuid.c && ./cpuid
`cpuid.c' is up to date.
ksh: ./cpuid: not found

It does not produce a cpuid executable.



Re: New cpuid code to test

2008-10-20 Thread Brad Tilley
On Mon, Oct 20, 2008 at 9:35 AM, Julian Leyh <[EMAIL PROTECTED]> wrote:
> make already knows how to compile C files, no need to call the
> compiler yourself ;)

My bad... I was using make incorrectly. I'll stick to gcc by hand :)



Ne soyez pas les derniers à passer en téléphonie IP

2008-10-20 Thread Keyyo
Quel service votre entreprise peut obtenir pour 10€ / mois* ?
Sa tiliphonie illimitie tout compris !

[IMAGE]

[IMAGE]
[IMAGE]

Ne soyez pas les derniers ` passer en tiliphonie IP

Obtenez en quelques clics votre configuration chiffrie !

[IMAGE]

Sans engagement de durie - Sans installation ni maintenance - Sans frais
de risiliation

*10€ht/mois la 1hre ligne, 15€/mois les lignes suivantes



Conformiment ` l'article 34 de la loi n078-17 du 6 janvier 1978 relative
` l'informatique, aux fichiers et aux libertis, vous disposez d'un droit
d'acchs et de modification aux informations vous concernant.
E-mail envoyi par Emails For You - Pour ne plus recevoir de messages :
cliquez sur ce lien



Re: : Testing rthreads

2008-10-20 Thread Philip Guenther
On Mon, Oct 20, 2008 at 12:38 AM, Raimo Niskanen
<[EMAIL PROTECTED]> wrote:
...
> Is it obvious how to build librthread.so?

It's just like 99% of the directories in the source tree:
 - make obj
 - make depend
 - make

"make install" will install the shared and static libraries as
'librthread' into /usr/lib.

(For those wondering what the 1% of directories are, those would be
the kernel (described in the release(8) manpage) and the outside
packages which have a Makefile.bsd-wrapper file to fit them into the
tree.)


Philip Guenther



burn a cd image on a dvd with growisofs

2008-10-20 Thread Jesus Sanchez

Hi, using 4.3.

there is any problem on burning a bootable iso (made with mkisofs -RJ) less
than 700 MB on a DVD? I need to do some burning task and only have DVDs
around here.

Thanks for all.
-Jesus.



Re: New cpuid code to test

2008-10-20 Thread Julian Leyh

new_guy schrieb:

Tobias Weingartner-2 wrote:

make cpuid && ./cpuid | mail -s 'cpuid output' [EMAIL PROTECTED]



Perhaps this is implied by 'make', but for the sake of clarity, I did it
like this:

gcc cpuid.c -o cpuid | ...

And it worked OK. 



make already knows how to compile C files, no need to call the
compiler yourself ;)



Re: Slow file access on Compact Flash

2008-10-20 Thread Stuart Henderson
On 2008-10-20, Uwe Dippel <[EMAIL PROTECTED]> wrote:
> [I read all postings in the archive AFAIK]
>
> Just started with CF on embedded hardware advertised to run OpenBSD; 
> ARInfoTek. It does run OpenBSD very well!
> Now I want the embedded system to run off CF; the board has a CF socket 
> to be wd0.
> 4.2 runs out of the box, but with very slow access of files. The CF is 
> reasonably fast, though, with ~6MB at 'dd'. But once it has to access 
> files for r/w, it gets very slow.
> I found some postings that 4.3 would be better, but the install of 4.3 
> here mainly -stalled- and took a good hour, from a local ftp-site.
> locate.updatedb is incredibly fast, while some file extraction takes ages.
> It looks like a large, single, file copies very fast, similar to 'dd'. 
> But opening a file for r/w seems to take ages. Something like
> tar -C /tmp -xzphf etc43.tgz
> takes a minute, easily. And etc43.tgz is only 1.2MB.
> Copying of this file is quick:
> $ date &&  cp etc43.tgz demo && date
> Mon Oct 20 11:29:15 SGT 2008
> Mon Oct 20 11:29:16 SGT 2008

How are you doing the install?

If it's from a running system rather than the installer, 
you might want to "mount -uoasync /" (and /usr if it's on a
separate filesystem) to avoid rewriting the directories
quite so many times.

Note that erasing/rewriting CF is very slow; when even
one bit moves from 0 to 1 the whole flash block must be
erased and copied to another one.



Re: New cpuid code to test

2008-10-20 Thread new_guy
Tobias Weingartner-2 wrote:
> 
> make cpuid && ./cpuid | mail -s 'cpuid output' [EMAIL PROTECTED]
> 

Perhaps this is implied by 'make', but for the sake of clarity, I did it
like this:

gcc cpuid.c -o cpuid | ...

And it worked OK. 

-- 
View this message in context: 
http://www.nabble.com/New-cpuid-code-to-test-tp20060609p20067491.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Can't SSH into CARP'd system from the outside

2008-10-20 Thread Stuart Henderson
On 2008-10-19, Vivek Ayer <[EMAIL PROTECTED]> wrote:
> block in

make this "block log in", then look at the tcpdump command line
for "Display the logs in real time" shown in pflogd(8).



Suspend and Resume work

2008-10-20 Thread Dirk Mast
Just wanted to say that with a recent -current snapshot,
Suspend via apm -z and then Resume work fine on my
HPNC4010 now!

That's really a feature I was missing;
4.3 instantly rebooted with acpi, a pre 4.4 current 
booted but had issues and now everything seems to work fine!


Thanks for the great work!

Only question I got, when in sleep there's a little noise
like a fan that's trying to spin but gets blocked (could be
something other of course).


btw acpidump core dumps with:

assertion "dp == end" failed: file "/usr/src/usr.sbin/acpidump/asl_dump.c",
line 707, function "asl_dump_defif"
}Abort trap (core dumped)


You can find the core dump and acpidump -o here:
http://w3studi.informatik.uni-stuttgart.de/~mastdk/acpidump.core
http://w3studi.informatik.uni-stuttgart.de/~mastdk/acpi.SSDT.3
http://w3studi.informatik.uni-stuttgart.de/~mastdk/acpi.RSDT.0
http://w3studi.informatik.uni-stuttgart.de/~mastdk/acpi.FACP.1
http://w3studi.informatik.uni-stuttgart.de/~mastdk/acpi.DSDT.2

Here is my dmesg:

$ dmesg
OpenBSD 4.4-current (GENERIC) #1090: Sat Oct 11 15:35:21 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class)
1.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1006006272 (959MB)
avail mem = 964169728 (919MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @ 0xf,
SMBIOS rev. 2.3 @ 0xfc06f (31 entries)
bios0: vendor Hewlett-Packard version "68BAS Ver. F.30" date 08/30/2006
bios0: Hewlett-Packard HP Compaq nc4010 (PF673AA#ABD)
apm0 at bios0: Power Management spec V1.2 (BIOS managing devices)
apm0: battery life expectancy 1%
apm0: AC on, battery charge low, charging
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x2000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf0840/176 (9 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xff880/176 (9 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs M1533 ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xf000 0xd/0x2000 0xd2000/0x1000
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1600 MHz (1340 mV): speeds: 1600, 1400, 1200, 1000,
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "ATI RS200M AGP" rev 0x02
ppb0 at pci0 dev 1 function 0 "ATI RS200 PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Mobility M6" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp at vga1 not configured
autri0 at pci0 dev 6 function 0 "Acer Labs M5451 Audio" rev 0x02: irq 11
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"Acer Labs M5457 Modem" rev 0x00 at pci0 dev 8 function 0 not configured
iwi0 at pci0 dev 9 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 5,
address 00:16:6f:cd:f3:69
cbb0 at pci0 dev 11 function 0 "O2 Micro OZ711M1 CardBus" rev 0x20: irq 11
cbb1 at pci0 dev 11 function 1 "O2 Micro OZ711M1 CardBus" rev 0x20: irq 11
"O2 Micro OZ711Mx Misc" rev 0x00 at pci0 dev 11 function 2 not configured
pciide0 at pci0 dev 16 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
alipm0 at pci0 dev 17 function 0 "Acer Labs M7101 Power" rev 0x00: 74KHz
clock
iic0 at alipm0
maxtmp0 at iic0 addr 0x4c: max6657
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
ohci0 at pci0 dev 18 function 0 "NEC USB" rev 0x43: irq 10, version 1.0
ohci1 at pci0 dev 18 function 1 "NEC USB" rev 0x43: irq 10, version 1.0
ehci0 at pci0 dev 18 function 2 "NEC USB" rev 0x04: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
bge0 at pci0 dev 19 function 0 "Broadcom BCM5705M" rev 0x03, BCM5705 A3
(0x3003): irq 10, address 00:12:79:57:e1:50
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com2: irq 5 already in use
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
midi1 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; usin

routing problem

2008-10-20 Thread Charlie Clark

Hi,

I am trying to setup an openbsd router but are having a big problem 
getting it to work.

Here is the scenario:

The router has 3 public IP's, with 2 internet connections and sits just 
outside a DMZ. Behind the router there are a number of hosts with public 
IP's (DMZ).

All of the interfaces on the router are on different subnets.
Let's say that the 3 interfaces are:

int_if = the interface which is directly connected to the DMZ
ext_if = the first internet connection (NOTE this ISP is the ISP which 
allocated the IP's in the DMZ so there is no natting done on this interface)
ext2_if = the second internet connection  (NOTE  there is natting on 
this interface so everything works fine here)


I have setup aproxyd to answer arp requests on ext_if for all of the 
IP's in the DMZ using the layout:


proxy (IP) (MAC of ext_if)

If I ping any IP on the net from a host in the DMZ and do a tcpdump on 
the router at the same time, I can see the packet coming in int_if, then 
going out ext_if, then the reply coming back in ext_if but then 
disappearing. It doesn't seem to be passing the packets, destined for 
the hosts in the DMZ, on to them.


Is there something I am missing here?
The filter rules look fine and nothing is being blocked

I would appreciate any help.

Thanks,


--

Charlie Clark
Network Engineer

Lemon Computing Ltd
Unit 9
26-28 Priests Bridge
London
SW14 8TA
UK

Tel: +44 208 878 2138
Fax: +44 208 878 2163
Email: [EMAIL PROTECTED]
Site: http://www.lemon-computing.com/

Lemon Computing is a limited company registered in England & Wales under
Company No. 03697052



Re: Slow file access on Compact Flash [SOLVED]

2008-10-20 Thread Uwe Dippel

Uwe Dippel wrote:

4.2 runs out of the box, but with very slow access of files. The CF is 
reasonably fast, though, with ~6MB at 'dd'. But once it has to access 
files for r/w, it gets very slow.



Any hint welcome,


I got a really great hint. Let me start with the results:

tar -C /tmp -xzphf etc43.tgz
takes exactly 3 min 16 sec

With softdep on, it takes exactly 2 seconds.

Thanks so much! Now CF is as fast as hard disk. (I use a 133x Kingston)

Uwe



Re: list available wireless networks

2008-10-20 Thread Jason McIntyre
On Mon, Oct 20, 2008 at 11:57:41AM +0400, Dmitrij D. Czarkoff wrote:
> 
> How can I query available wireless networks in OpenBSD (the thing You do with 
> "iwlist ifname scan" in linux)?
> 

as some other people have pointed out, the syntax is "ifconfig  chan"
in -current, but was "ifconfig  -M" in previous releases.

i've just added an example to ifconfig(8) to illustrate this.
jmc



Re: list available wireless networks

2008-10-20 Thread Julian Leyh

Benoit Chesneau schrieb:

I did. Which information could be usefull in ? I may be blind, but i
didn't see any word about it.

Btw could you post with a valid email.

Delivery to the following recipient failed permanently:

[EMAIL PROTECTED]

--
- benont



Whoops, sorry, I really did misconfigure something there... now it should be 
valid (it's not my normal address and i forgot to switch it).


The part you didn't see is this:

 chan [n]
 Set the channel (radio frequency) to be used for IEEE
 802.11-based wireless network interfaces to n.

 With no channel specified, show the results of an access point
 scan.  In Host AP mode, this will dump the list of known nodes
 without scanning.

if you had searched for "scan", you would have found it ;)

Regards,
Julian



Re: list available wireless networks

2008-10-20 Thread Benoit Chesneau
i answer to myself, (thanks DbD-), with a valid email,

ifconfig interface chan is the answer.

- benont

On Mon, Oct 20, 2008 at 10:36 AM, Benoit Chesneau <[EMAIL PROTECTED]>
wrote:
> On Mon, Oct 20, 2008 at 10:14 AM, Almir Karic <[EMAIL PROTECTED]> wrote:
>> ifconfig -M
>>
>> On Mon, Oct 20, 2008 at 11:57:41AM +0400, Dmitrij D. Czarkoff wrote:
>>> Hi, all!
>>>
>>> How can I query available wireless networks in OpenBSD (the thing You do
with
>>> "iwlist ifname scan" in linux)?
>>>
>>> --
>>> Dmitrij D. Czarkoff
>>>
>>> P.S.: Please cc me as I'm not on a list.
>>
>>
>
> there is no -M on -current. How do we do now ?
>
> --
> - benont
>



--
- benont



Re: list available wireless networks

2008-10-20 Thread Benoit Chesneau
On Mon, Oct 20, 2008 at 10:56 AM, Julian Leyh <[EMAIL PROTECTED]> wrote:
> Benoit Chesneau schrieb:
>>
>> On Mon, Oct 20, 2008 at 10:14 AM, Almir Karic <[EMAIL PROTECTED]> wrote:
>>>
>>> ifconfig -M
>>>
>>> On Mon, Oct 20, 2008 at 11:57:41AM +0400, Dmitrij D. Czarkoff wrote:

 Hi, all!

 How can I query available wireless networks in OpenBSD (the thing You do
>>
>> with

 "iwlist ifname scan" in linux)?

 --
 Dmitrij D. Czarkoff

 P.S.: Please cc me as I'm not on a list.
>>>
>>
>> there is no -M on -current. How do we do now ?
>>
>> --
>> - benont
>>
>
> Read the man page!
>

I did. Which information could be usefull in ? I may be blind, but i
didn't see any word about it.

Btw could you post with a valid email.

Delivery to the following recipient failed permanently:

[EMAIL PROTECTED]

--
- benont



Re: list available wireless networks

2008-10-20 Thread Julian Leyh

Benoit Chesneau schrieb:

On Mon, Oct 20, 2008 at 10:14 AM, Almir Karic <[EMAIL PROTECTED]> wrote:

ifconfig -M

On Mon, Oct 20, 2008 at 11:57:41AM +0400, Dmitrij D. Czarkoff wrote:

Hi, all!

How can I query available wireless networks in OpenBSD (the thing You do

with

"iwlist ifname scan" in linux)?

--
Dmitrij D. Czarkoff

P.S.: Please cc me as I'm not on a list.




there is no -M on -current. How do we do now ?

--
- benont



Read the man page!



Re: list available wireless networks

2008-10-20 Thread Benoit Chesneau
On Mon, Oct 20, 2008 at 10:14 AM, Almir Karic <[EMAIL PROTECTED]> wrote:
> ifconfig -M
>
> On Mon, Oct 20, 2008 at 11:57:41AM +0400, Dmitrij D. Czarkoff wrote:
>> Hi, all!
>>
>> How can I query available wireless networks in OpenBSD (the thing You do
with
>> "iwlist ifname scan" in linux)?
>>
>> --
>> Dmitrij D. Czarkoff
>>
>> P.S.: Please cc me as I'm not on a list.
>
>

there is no -M on -current. How do we do now ?

--
- benont



Re: list available wireless networks

2008-10-20 Thread Almir Karic
ifconfig -M

On Mon, Oct 20, 2008 at 11:57:41AM +0400, Dmitrij D. Czarkoff wrote:
> Hi, all!
> 
> How can I query available wireless networks in OpenBSD (the thing You do with 
> "iwlist ifname scan" in linux)?
> 
> --
> Dmitrij D. Czarkoff
> 
> P.S.: Please cc me as I'm not on a list.



list available wireless networks

2008-10-20 Thread Dmitrij D. Czarkoff
Hi, all!

How can I query available wireless networks in OpenBSD (the thing You do with 
"iwlist ifname scan" in linux)?

--
Dmitrij D. Czarkoff

P.S.: Please cc me as I'm not on a list.



Re: : Testing rthreads

2008-10-20 Thread Raimo Niskanen
On Sun, Oct 19, 2008 at 10:07:47PM -0700, Philip Guenther wrote:
> On Fri, Oct 17, 2008 at 12:52 AM, Raimo Niskanen
> <[EMAIL PROTECTED]> wrote:
> > I have also found patches (#3, #4 and #7) by Philip Guenther in
> > the archives of this list from May 4.
> >
> > Can anyone enlighten me about if these/which patches still
> > are useful or if there are fresher ones or if the
> > 4.4 release kernel or the -current kernel already
> > contains some of them...
> 
> Ooog, the May 4th ones are a bit out of date.  Several of them have
> been merged, others revised.  I posted a revised version of the thread
> signal handling patch on Sep 17th.  I have some stuff beyond that, but
> I need to merge the feedback I've already received and do some more
> testing before I send it out anywhere.
> 
> 
> > Or even better, what is the preferred way to test
> > rthreads for an application? I will build the application
> > from source and will happily patch the build?
> 
> As Ted observed, there's no need to rebuild.  I do most my testing via
> LD_LIBRARY_PATH.  I.e., in $HOME/lib I have a copy of librthread.so
> under the name libpthread.so.11.0, so if I start a program with
> LD_LIBRARY_PATH=$HOME/lib in its environment, then it uses rthreads
> instead of user-level threads.  That works as long as the program (a)
> isn't setuid, and (b) doesn't itself mishandle LD_LIBRARY_PATH.

Thanks a lot. I'll start with that solution. The reason I do not want
to replace libpthread is that it feels safer to affect
my test application only.

Is it obvious how to build librthread.so?

> 
> 
> Philip Guenther

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: VESA 1280x800

2008-10-20 Thread mherrb
On Oct 19, 2008 4:30am, Jairo Souto <[EMAIL PROTECTED]> wrote:
> I updated xenocara from cvs, added the line you sugested in
>
> nv_driver.c and rebuilt xenocara. Then I tried to run Xorg
>
> without any xorg.conf and it did not run any more. Xorg.0.log is
>
> attached.
>

ok, that means that the 7000 M is not some simple G80 chipset variant.  
You'll have to wait until support for this chipset is added to  
the 'xf86-video-nv' driver by its maintainer. You may want to try to fill a  
bug report on bugzilla.freedesktop.org, under the 'xorg' product to request  
it.

Regards,