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

2011-10-20 Thread Philip Guenther
On Thursday, October 20, 2011, Brett  wrote:
> On Fri, 21 Oct 2011 00:28:01 -0400
> Ted Unangst  wrote:
>
>> On Fri, Oct 21, 2011, Brett wrote:
>> > Ted Unangst asked if I was using vnd0 (which shows in the error
message).
>> > As far as I know I am not, it does not show up in the boot dmesg and I
did
>> > not configure it myself.  I assumed this was something used in the
ramdisk
>> > compiling process.
>>
>> Well, it's busy, so you are.  It is used by the ramdisk build, but if
>> it's already in use that doesn't work.  vnconfig -l may help.
>>
>
> I'm running all the programs that I had open when I got that build error
message (reported in first post), except for make ramdisk, and now my vnodes
are all quiet:
>
> # vnconfig -l
> vnd0: not in use
> vnd1: not in use
> vnd2: not in use
> vnd3: not in use
> #

(vnd's, not vnodes.  The former are a block device, the latter are a kernel
datastructure)

The likely cause of it being busy before is a previous attempt to build the
ramdisks which failed.  When that happens the image of the ramdisk is left
configured as a vnd so you can diagnose the problem.  Make sure you do
"vnconfig-u vnd0" after a failed build in that case.


Philip Guenther



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

2011-10-20 Thread Brett
On Fri, 21 Oct 2011 00:28:01 -0400
Ted Unangst  wrote:

> On Fri, Oct 21, 2011, Brett wrote:
> > Ted Unangst asked if I was using vnd0 (which shows in the error message).
> > As far as I know I am not, it does not show up in the boot dmesg and I did
> > not configure it myself.  I assumed this was something used in the ramdisk
> > compiling process.
> 
> Well, it's busy, so you are.  It is used by the ramdisk build, but if
> it's already in use that doesn't work.  vnconfig -l may help.
> 

I'm running all the programs that I had open when I got that build error 
message (reported in first post), except for make ramdisk, and now my vnodes 
are all quiet:

# vnconfig -l
vnd0: not in use
vnd1: not in use
vnd2: not in use
vnd3: not in use
# 



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

2011-10-20 Thread Ted Unangst
On Fri, Oct 21, 2011, Brett wrote:
> Ted Unangst asked if I was using vnd0 (which shows in the error message).
> As far as I know I am not, it does not show up in the boot dmesg and I did
> not configure it myself.  I assumed this was something used in the ramdisk
> compiling process.

Well, it's busy, so you are.  It is used by the ramdisk build, but if
it's already in use that doesn't work.  vnconfig -l may help.



Re: Network controller: Intel Corporation Centrino Wireless-N + WiMAX 6150

2011-10-20 Thread Alvaro Mantilla Gimenez

Thanks so much Dave!!



I've no information as to whether or not it actually works (I was
test-booting a store demo system), but the 17 August 5.0 snapshot
recognized and configured it.

Dave

--
Dave Anderson








This message was sent using IMP, the Internet Messaging Program.



Planeación y Control de un Departamento de Compras,Cd. de México y Puerto Vallarta

2011-10-20 Thread Veronica Solis
290205

[IMAGE]

Pms de Mixico prestigiada firma de Capacitacisn presenta:

Programa Nacional 2012, Control, Planeacisn y Administracisn de un
Departamento de Compras

14 de Noviembre, Ciudad de Mixico.

1ro de Diciembre, Puerto Vallarta, Jalisco.

Experto consultor Lic. Ariel Valero

Obtenga las herramientas necesarias para alcanzar un sptimo desempeqo en
su funcisn.

Empresa Registrada ante la STPS

Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico.

!Solicite Mayores Informes! Por favor responda este e-mail con los datos
siguientes.

Empresa:

Nombre:
Telifono:
Email:

Nzmero de Interesados:

En breve recibira la informacisn completa de este inigualable evento.

Comunmquese a los telifonos y con gusto uno de nuestros ejecutivos le
atendera.

Telifonos: (0133) 8851-2365, (0133) 8851-2741. 10 lmneas a su servicio.

Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas
registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas
estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE
ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales
e imagenes son propiedad de sus respectivas corporaciones y se utilizan
con fines informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJACOMPRAS

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJACOMPRAS
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del
receptor.

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
compras.jpg]



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

2011-10-20 Thread johnw
after upgrade to current, now /etc/rc use the new rc.d system.
my question is how to start the daemon(ntpd, named etc ..) with systrace?
before upgrade to new rc.d system, i can edit /etc/rc like this

echo 'starting named'; named $named_flags
to
echo 'starting named'; systrace -Ua named $named_flags

any idea? thank you.



Re: EAP-TLS WPA support

2011-10-20 Thread Vadim Zhukov

20.10.2011 22:44, Alexey Suslikov P?P8QP5Q:

Another one

http://thread.gmane.org/gmane.os.openbsd.misc/180057/focus=180749


Thanks, but as far as I can understand, they all are about wired 
networking. And in one of these threads, it's even mentioned that 
OpenBSD 802.11 stack needs adjustments as well, for using EAP. :(



On Thu, Oct 20, 2011 at 21:32, Alexey Suslikov
  wrote:

How about resurrecting this diff?

http://thread.gmane.org/gmane.os.openbsd.ports/39927

On Thu, Oct 20, 2011 at 15:58, Martin Pelikan  wrote:

2011/10/20 Alexey E. Suslikov:

Vadim Zhukov  gmail.com>  writes:
http://www.rz.rwth-aachen.de/aw/cms/rz/Themen/unsere_dienste/kommunikation/netzbetrieb/dienste/wlan/installation/~sib/openbsd/?lang=en


Well, that rc.conf option seems FreeBSD.
AFAIK, OpenBSD doesn't support "enterprise WPA". You can try
implementing it yourself. The last PDF I saw had about 1000 pages and
basically was describing how to interconnect WPA, EAPOL (802.1x) and
802.11 state machines, and then implement like 42 different
authentication mechanisms on top of that.
Many people have asked that question and nobody seems to have the time
to write the code and test it against different RADIUS servers.
Good luck with that.
FYI: porting current wpa_supplicant or writing new implementation
(into iked?) to me seemed like the same effort, since the protocol
suite is pretty complicated. But I gave it just a quick look (and
moved to more important things to do).


--
WBR, Vadim Zhukov



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

2011-10-20 Thread Brett
Ted Unangst wrote:

> vnconfig -v -c vnd0 mr.fs
> vnconfig: VNDIOCSET: Device busy
> *** Error code 1
> 
> Stop in /usr/src/distrib/macppc/ramdisk (line 77 of
> /usr/src/distrib/macppc/ramd
> isk/Makefile).
> 
> Is there some more recent instructions floating around I could try?

Did you read the error message?  Are you using vnd0?



On Thu, 20 Oct 2011 10:32:53 -0500
Amit Kulkarni  wrote:

> >  I attempted to compile a ramdisk with the patches from 
> > http://marc.info/?l=openbsd-tech&m=131669525606850&w=2. The kernel and 
> > userland built fine with -current from a few days ago, and the patches. But 
> > I have had no luck finding working instructions on building a ramdisk. Most 
> > seemed to be intermixed with instructions on building an install CD (to 
> > test the ramdisk, I was just going to boot into it, then install the sets 
> > from a recent snapshot CD).
> >
> > This site: 
> > http://www.seattlecentral.edu/cgi-bin/cgiwrap/dmartin/moin.cgi/OpenBSD says 
> > to make crunchgen from /usr/src/distrib/crunch but that directory does not 
> > exist in my source code.
> 
> crunchgen is now part of base. so you just follow the rest. I built it
> using the exact same instructions (seattlecentral) in September a
> month ago or so ago. Grab current sources because there was a
> something which nigel@ pointed in bsd.rd generation and its fixed in
> current as of 2 days ago.
> 
> HTH



Hi,

Following Amit's suggestion I updated my source tree (mine was more like 3-4 
days old) and now it builds, once I manually enter " # export DESTDIR=/ " (Note 
it will not compile until I set a destdir, I'm not sure if that is supposed to 
be the behaviour).

I booted into a shell using the generated bsd.rd and it worked on G4 macppc 
(sorry, should have mentioned the architecture in the earlier port). Will try 
it on an install later today. As others have reported, the ramdisk is less than 
half the size of the regular one. 

Ted Unangst asked if I was using vnd0 (which shows in the error message). As 
far as I know I am not, it does not show up in the boot dmesg and I did not 
configure it myself.  I assumed this was something used in the ramdisk 
compiling process.

Thanks,
Brett. 



Re: Delete just one alias from an interface

2011-10-20 Thread Alexander Hall

On 10/20/11 21:48, Alexander Hall wrote:

On 10/20/11 18:43, ML mail wrote:

Hi,

I have an interface with a few IP aliases and I would like to remove
just one single alias IP without affecting any other aliases. Which
command would I use for that?

ifconfig delete 

Would this be correct?


It would work. ifconfig  delete would be even more 'correct'.

You could create a fake interface and test this yourself, as in

# ifconfig lo1 create
# ifconfig lo1 172.29.0.1



# ifconfig lo1 172.29.0.2
# ifconfig lo1 172.29.0.3


...and obviously that testing would reveal that I forgot^Wdeliberately 
left out the "alias" on the two lines above... :-P



# ifconfig lo1 172.29.0.2 delete
# ifconfig lo1
...
# ifconfig lo1 destroy



Regards,
ML




Re: KDE 4 on OpenBSD

2011-10-20 Thread Paolo Aglialoro
> When 5.0 comes out, I could gladly test it on sparc64,
>>
>
> You'll need -CURRENT for testing anyway, too many KDE-related changes since
> release: CMake 2.8.6, Raptor2, wscanf(3), removal of JDK <= 1.5, Qt 4
> updates...
>
> SPARC tests would be great! :)


OK! I'll then ask my friend to borrow me the V240, still hoping to find a
suitable video card
When I'll be ready I'll let you know and we'll plan a build together :)
PP> QP:P>QP>P3P>
PP0QP0



Re: dhclient, resolv.conf

2011-10-20 Thread sophia . orthoi
Rogier Krieger  wrote:

> you can use the 'script' parameter described in dhclient.conf

Perhaps the best solution, not far from what I had in mind from 
the beginning, but not a simple configuration for a simple task.

> I do not see why you prefer editing resolv.conf over dhclient.conf,
> though, but I trust you have your reasons.

I find the idea of bringing dhclient with tricks to write a
configuration file that I can type myself absurd. I didnt manage to
avoid that dhclient write a "search" option in resolv.conf. 

 ?ukasz Czarniecki  wrote:

> chflags uchg /etc/resolv.conf

Thanks! But that sounds like brute force. :)

Do you know why opaque flag disappeared in OpenBSD? I think it
can be usefull under circumstances.

Regards
SO



Re: Delete just one alias from an interface

2011-10-20 Thread Alexander Hall

On 10/20/11 18:43, ML mail wrote:

Hi,

I have an interface with a few IP aliases and I would like to remove
just one single alias IP without affecting any other aliases. Which
command would I use for that?

ifconfig delete 

Would this be correct?


It would work. ifconfig  delete would be even more 'correct'.

You could create a fake interface and test this yourself, as in

# ifconfig lo1 create
# ifconfig lo1 172.29.0.1
# ifconfig lo1 172.29.0.2
# ifconfig lo1 172.29.0.3
# ifconfig lo1 172.29.0.2 delete
# ifconfig lo1
...
# ifconfig lo1 destroy



Regards,
ML




Re: vlan and pf

2011-10-20 Thread Christiano F. Haesbaert
On 20 October 2011 11:38, Friedrich Locke  wrote:
> Hi folks,
>
> does openbsd firewall handle vlan interfaces ?
>
> Thanks in advance.
>
> []s,
>
> Gustavo
>
>

It does, inbound packets will do something like:

---> vlan4 ---> em0 ---> stack

outbound:

stack ---> em0 ---> vlan4



Re: vlan and pf

2011-10-20 Thread Alexander Hall

On 10/20/11 20:08, James A. Peltier wrote:

- Original Message -
| Hi folks,
|
| does openbsd firewall handle vlan interfaces ?
|
| Thanks in advance.
|
| []s,
|
| Gustavo

Nope sorry! man vlan, man ifconfig (search for VLAN) ;)

# cat /etc/hostname.vlan300
vlan 300 vlandev em1



and man pf.conf



Re: EAP-TLS WPA support

2011-10-20 Thread Alexey Suslikov
Another one

http://thread.gmane.org/gmane.os.openbsd.misc/180057/focus=180749

On Thu, Oct 20, 2011 at 21:32, Alexey Suslikov
 wrote:
> How about resurrecting this diff?
>
> http://thread.gmane.org/gmane.os.openbsd.ports/39927
>
> On Thu, Oct 20, 2011 at 15:58, Martin Pelikan  
> wrote:
>> 2011/10/20 Alexey E. Suslikov :
>>> Vadim Zhukov  gmail.com> writes:
>>> http://www.rz.rwth-aachen.de/aw/cms/rz/Themen/unsere_dienste/kommunikation/netzbetrieb/dienste/wlan/installation/~sib/openbsd/?lang=en
>>
>> Well, that rc.conf option seems FreeBSD.
>> AFAIK, OpenBSD doesn't support "enterprise WPA". You can try
>> implementing it yourself. The last PDF I saw had about 1000 pages and
>> basically was describing how to interconnect WPA, EAPOL (802.1x) and
>> 802.11 state machines, and then implement like 42 different
>> authentication mechanisms on top of that.
>> Many people have asked that question and nobody seems to have the time
>> to write the code and test it against different RADIUS servers.
>> Good luck with that.
>> FYI: porting current wpa_supplicant or writing new implementation
>> (into iked?) to me seemed like the same effort, since the protocol
>> suite is pretty complicated. But I gave it just a quick look (and
>> moved to more important things to do).
>> --
>> Martin Pelikan



Re: EAP-TLS WPA support

2011-10-20 Thread Alexey Suslikov
How about resurrecting this diff?

http://thread.gmane.org/gmane.os.openbsd.ports/39927

On Thu, Oct 20, 2011 at 15:58, Martin Pelikan  wrote:
> 2011/10/20 Alexey E. Suslikov :
>> Vadim Zhukov  gmail.com> writes:
>> http://www.rz.rwth-aachen.de/aw/cms/rz/Themen/unsere_dienste/kommunikation/netzbetrieb/dienste/wlan/installation/~sib/openbsd/?lang=en
>
> Well, that rc.conf option seems FreeBSD.
> AFAIK, OpenBSD doesn't support "enterprise WPA". You can try
> implementing it yourself. The last PDF I saw had about 1000 pages and
> basically was describing how to interconnect WPA, EAPOL (802.1x) and
> 802.11 state machines, and then implement like 42 different
> authentication mechanisms on top of that.
> Many people have asked that question and nobody seems to have the time
> to write the code and test it against different RADIUS servers.
> Good luck with that.
> FYI: porting current wpa_supplicant or writing new implementation
> (into iked?) to me seemed like the same effort, since the protocol
> suite is pretty complicated. But I gave it just a quick look (and
> moved to more important things to do).
> --
> Martin Pelikan



Re: vlan and pf

2011-10-20 Thread James A. Peltier
- Original Message -
| Hi folks,
| 
| does openbsd firewall handle vlan interfaces ?
| 
| Thanks in advance.
| 
| []s,
| 
| Gustavo

Nope sorry! man vlan, man ifconfig (search for VLAN) ;)

# cat /etc/hostname.vlan300
vlan 300 vlandev em1

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have



Re: dhclient, resolv.conf

2011-10-20 Thread Łukasz Czarniecki
W dniu 2011-10-20 20:11, sophia.ort...@googlemail.com pisze:

> But again, I insist in my first question: how I get that
> dhclient respect my resolv.conf and do not touch it?

chflags uchg /etc/resolv.conf



Re: dhclient, resolv.conf

2011-10-20 Thread Rogier Krieger
On Thu, Oct 20, 2011 at 20:11,   wrote:
> But again, I insist in my first question: how I get that
> dhclient respect my resolv.conf and do not touch it?

If you insist on dhclient not touching resolv.conf and do not want to
edit the in-base dhclient-script, you can use the 'script' parameter
described in dhclient.conf(5). As a bonus, you get to maintain your
changes from then on.

I do not see why you prefer editing resolv.conf over dhclient.conf,
though, but I trust you have your reasons.

Regards,

Rogier

-- 
If you don't know where you're going, any road will get you there.



Re: dhclient, resolv.conf

2011-10-20 Thread Antoine Jacoutot
On Thu, 20 Oct 2011, sophia.ort...@googlemail.com wrote:

> Again: I dont want that dhclient touch my resolv.conf. 

I use this:

send dhcp-lease-time 3600;
request subnet-mask, broadcast-address, routers;

And my resolv.conf is not modified.

-- 
Antoine



Re: dhclient, resolv.conf

2011-10-20 Thread Johan Beisser
On Thu, Oct 20, 2011 at 11:11 AM,   wrote:
> Johan Beisser  wrote:
>
>> Check dhclient.conf(5) and read about the supersede statement.
>
> Thank you very much for your kind answer. Of course I read not
> only dhclient.conf (5), but also a lot of man pages, a lot of
> postings in the internet. I think, you misunderstood my question.

No, I really didn't. You don't want dhclient(8) to touch resolve.conf.
I'm simply suggesting you set up dhclient.conf(5) to use supersede to
set some things statically.

Specifically set domain-name-servers and domain-name there, and when
dhclient(8) fires off, it'll use your settings in resolv.conf.

> Again: I dont want that dhclient touch my resolv.conf.
>
> This means that I am also unhappy even if dhclient creates a
> resolv.conf containing exactly what I wanted that it contains,
> I am also unhapy if dhclient fakes the file metadata, the dates,
> in order that it appears as the file were untouched.

You're screwed. You may want to check chmod(1) instead. Set
resolv.conf(5) to be read only. I don't know if that'll prevent
dhclient(8) from overwriting the file. I doubt it.

> If that were the goal, I have another question: I want no
> search statement in resolv.conf, the most near to that I get
> is a line containing "search ." in resolv.conf with a line
> containing
>
>   supersede domain-name ".";
>
> in dhclient.conf. Do you how to get dhclient without it?

I'm not sure what you mean. What may get you what you want (search
domains) is in resolve.conf(5):

 On a machine whose network connection does not change frequently (such
as
 a desktop machine on a local-area network), the resolv.conf.tail file
 should not be necessary.  However the resolv.conf.tail file may be
useful
 on notebooks, to search multiple domains, to refer to hard-coded
informa-
 tion in local files, or otherwise override the defaults.

> But again, I insist in my first question: how I get that
> dhclient respect my resolv.conf and do not touch it?

You read man pages.



Re: Network controller: Intel Corporation Centrino Wireless-N + WiMAX 6150

2011-10-20 Thread Dave Anderson
On Thu, 20 Oct 2011, Alvaro Mantilla Gimenez wrote:

>Hi,
>
>   Anybody knows if Network controller: Intel Corporation Centrino
>Wireless-N + WiMAX 6150 works on OpenBSD. It seems to fit on iwn but
>not sure. I really appreciate if somebody can canfirm if this wireless
>nic works or not.

I've no information as to whether or not it actually works (I was
test-booting a store demo system), but the 17 August 5.0 snapshot
recognized and configured it.

Dave

-- 
Dave Anderson




Re: No keyboard in X with -current

2011-10-20 Thread Jeff Ross

On 10/20/11 10:00, Alexandr Shadchin wrote:

On Thu, Oct 20, 2011 at 09:05:59AM -0600, Jeff Ross wrote:

Greetings,

Last night I installed the latest i386 snapshot on the mirrors which
was a mistake.  The X packages were built on October 18 but the rest
are from October 7.  On reboot X failed to start because it was
built with the newer libc.so.61.0 while base50.tgz from October 7
contains libc.60.0.

So, okay, I dug out my make_current script and built -current.

X now starts just fine but I have no keyboard in X at all.

I've tried both a PS/2 and a USB keyboard.  I'm attaching the latest
dmesg and X logs but I don't seen anything amiss in them at all.



Have you read this http://www.openbsd.org/faq/current.html#20111015 ?
This should help you.



Rebuilding xenocara from source fixed the problem.

Thanks again.

Jeff



Re: dhclient, resolv.conf

2011-10-20 Thread sophia . orthoi
Johan Beisser  wrote:

> Check dhclient.conf(5) and read about the supersede statement. 

Thank you very much for your kind answer. Of course I read not
only dhclient.conf (5), but also a lot of man pages, a lot of
postings in the internet. I think, you misunderstood my question.

Again: I dont want that dhclient touch my resolv.conf. 

This means that I am also unhappy even if dhclient creates a 
resolv.conf containing exactly what I wanted that it contains,
I am also unhapy if dhclient fakes the file metadata, the dates,
in order that it appears as the file were untouched.

If that were the goal, I have another question: I want no
search statement in resolv.conf, the most near to that I get
is a line containing "search ." in resolv.conf with a line
containing 

   supersede domain-name ".";

in dhclient.conf. Do you how to get dhclient without it?

But again, I insist in my first question: how I get that
dhclient respect my resolv.conf and do not touch it?

Thanks
SO.



Delete just one alias from an interface

2011-10-20 Thread ML mail
Hi,

I have an interface with a few IP aliases and I would like to remove just one 
single alias IP without affecting any other aliases. Which command would I use 
for that?

ifconfig delete 

Would this be correct?

Regards,
ML



Network controller: Intel Corporation Centrino Wireless-N + WiMAX 6150

2011-10-20 Thread Alvaro Mantilla Gimenez

Hi,

  Anybody knows if Network controller: Intel Corporation Centrino  
Wireless-N + WiMAX 6150 works on OpenBSD. It seems to fit on iwn but  
not sure. I really appreciate if somebody can canfirm if this wireless  
nic works or not.


  Regards,

 Alvaro




This message was sent using IMP, the Internet Messaging Program.



Re: No keyboard in X with -current

2011-10-20 Thread Jeff Ross

On 10/20/11 10:00, Alexandr Shadchin wrote:

On Thu, Oct 20, 2011 at 09:05:59AM -0600, Jeff Ross wrote:

Greetings,

Last night I installed the latest i386 snapshot on the mirrors which
was a mistake.  The X packages were built on October 18 but the rest
are from October 7.  On reboot X failed to start because it was
built with the newer libc.so.61.0 while base50.tgz from October 7
contains libc.60.0.

So, okay, I dug out my make_current script and built -current.

X now starts just fine but I have no keyboard in X at all.

I've tried both a PS/2 and a USB keyboard.  I'm attaching the latest
dmesg and X logs but I don't seen anything amiss in them at all.



Have you read this http://www.openbsd.org/faq/current.html#20111015 ?
This should help you.

I did but since I installed X from a snapshot I didn't think it applied.

I'm checking out the xenocara sources to build a -current X and I'll do 
that before I build.


Thanks for the reply!

Jeff




Jeff Ross

Sent from my Acer Netbook, OpenBSD not quite as -current




Re: No keyboard in X with -current

2011-10-20 Thread Alexandr Shadchin
On Thu, Oct 20, 2011 at 09:05:59AM -0600, Jeff Ross wrote:
> Greetings,
> 
> Last night I installed the latest i386 snapshot on the mirrors which
> was a mistake.  The X packages were built on October 18 but the rest
> are from October 7.  On reboot X failed to start because it was
> built with the newer libc.so.61.0 while base50.tgz from October 7
> contains libc.60.0.
> 
> So, okay, I dug out my make_current script and built -current.
> 
> X now starts just fine but I have no keyboard in X at all.
> 
> I've tried both a PS/2 and a USB keyboard.  I'm attaching the latest
> dmesg and X logs but I don't seen anything amiss in them at all.
> 

Have you read this http://www.openbsd.org/faq/current.html#20111015 ?
This should help you.

> Jeff Ross
> 
> Sent from my Acer Netbook, OpenBSD not quite as -current
> 
> OpenBSD 5.0-current (GENERIC.MP) #13: Wed Oct 19 16:47:01 MDT 2011
> r...@slony.wykids.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Pentium(R) Dual-Core CPU E5400 @ 2.70GHz ("GenuineIntel"
> 686-class) 2.70 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE
> real mem  = 2146627584 (2047MB)
> avail mem = 2101407744 (2004MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 11/10/09, BIOS32 rev. 0 @
> 0xf0010, SMBIOS rev. 2.5 @ 0x9f800 (29 entries)
> bios0: vendor ACER version "P01-A1" date 11/10/2009
> bios0: Acer Veriton M265
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET GSCI SSDT
> acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S4) PS2M(S4) MC97(S4)
> P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S3)
> USB1(S3) USB2(S3) USB3(S3) EUSB(S3) SLPB(S4) PWRB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Pentium(R) Dual-Core CPU E5400 @ 2.70GHz ("GenuineIntel"
> 686-class) 2.70 GHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xe000, bus 0-255
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 4 (P0P1)
> acpiprt2 at acpi0: bus 2 (P0P4)
> acpiprt3 at acpi0: bus 3 (P0P5)
> acpiprt4 at acpi0: bus -1 (P0P6)
> acpiprt5 at acpi0: bus -1 (P0P7)
> acpiprt6 at acpi0: bus -1 (P0P8)
> acpiprt7 at acpi0: bus -1 (P0P9)
> acpicpu0 at acpi0: PSS
> acpicpu1 at acpi0: PSS
> acpitz0 at acpi0: critical temperature is 110 degC
> acpibtn0 at acpi0: SLPB
> acpibtn1 at acpi0: PWRB
> bios0: ROM list: 0xc/0xe200
> cpu0: Enhanced SpeedStep 2694 MHz: speeds: 2700, 2003, 1603, 1203 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x10
> ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x10: apic 2 int 16
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7200 GS" rev 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: msi
> azalia0: codecs: Realtek ALC888
> audio0 at azalia0
> ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 int 16
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 2 int 17
> pci3 at ppb2 bus 3
> re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D
> (0x2800), apic 2 int 17, address 44:87:fc:6d:5d:86
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
> pci4 at ppb3 bus 4
> ral0 at pci4 dev 2 function 0 "Ralink RT2560" rev 0x01: apic 2 int
> 19, address 00:11:50:63:33:f2
> ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GH LPC" rev 0x01: PM disabled
> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 disabled (no drives)
> pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" re

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

2011-10-20 Thread Amit Kulkarni
> After prodding from the "openbsd community needs to shake thinsg up" I
attempted to compile a ramdisk with the patches from
http://marc.info/?l=openbsd-tech&m=131669525606850&w=2. The kernel and
userland built fine with -current from a few days ago, and the patches. But I
have had no luck finding working instructions on building a ramdisk. Most
seemed to be intermixed with instructions on building an install CD (to test
the ramdisk, I was just going to boot into it, then install the sets from a
recent snapshot CD).
>
> This site:
http://www.seattlecentral.edu/cgi-bin/cgiwrap/dmartin/moin.cgi/OpenBSD says to
make crunchgen from /usr/src/distrib/crunch but that directory does not exist
in my source code.

crunchgen is now part of base. so you just follow the rest. I built it
using the exact same instructions (seattlecentral) in September a
month ago or so ago. Grab current sources because there was a
something which nigel@ pointed in bsd.rd generation and its fixed in
current as of 2 days ago.

HTH



No keyboard in X with -current

2011-10-20 Thread Jeff Ross

Greetings,

Last night I installed the latest i386 snapshot on the mirrors which was 
a mistake.  The X packages were built on October 18 but the rest are 
from October 7.  On reboot X failed to start because it was built with 
the newer libc.so.61.0 while base50.tgz from October 7 contains libc.60.0.


So, okay, I dug out my make_current script and built -current.

X now starts just fine but I have no keyboard in X at all.

I've tried both a PS/2 and a USB keyboard.  I'm attaching the latest 
dmesg and X logs but I don't seen anything amiss in them at all.


Jeff Ross

Sent from my Acer Netbook, OpenBSD not quite as -current

OpenBSD 5.0-current (GENERIC.MP) #13: Wed Oct 19 16:47:01 MDT 2011
r...@slony.wykids.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Pentium(R) Dual-Core CPU E5400 @ 2.70GHz ("GenuineIntel" 
686-class) 2.70 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE

real mem  = 2146627584 (2047MB)
avail mem = 2101407744 (2004MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/10/09, BIOS32 rev. 0 @ 0xf0010, 
SMBIOS rev. 2.5 @ 0x9f800 (29 entries)

bios0: vendor ACER version "P01-A1" date 11/10/2009
bios0: Acer Veriton M265
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET GSCI SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S4) PS2M(S4) MC97(S4) 
P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S3) USB1(S3) 
USB2(S3) USB3(S3) EUSB(S3) SLPB(S4) PWRB(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Pentium(R) Dual-Core CPU E5400 @ 2.70GHz ("GenuineIntel" 
686-class) 2.70 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE

ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P1)
acpiprt2 at acpi0: bus 2 (P0P4)
acpiprt3 at acpi0: bus 3 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpiprt6 at acpi0: bus -1 (P0P8)
acpiprt7 at acpi0: bus -1 (P0P9)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature is 110 degC
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc/0xe200
cpu0: Enhanced SpeedStep 2694 MHz: speeds: 2700, 2003, 1603, 1203 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x10
ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x10: apic 2 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7200 GS" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: msi
azalia0: codecs: Realtek ALC888
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 int 16
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 2 int 17
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D 
(0x2800), apic 2 int 17, address 44:87:fc:6d:5d:86

rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
ral0 at pci4 dev 2 function 0 "Ralink RT2560" rev 0x01: apic 2 int 19, 
address 00:11:50:63:33:f2

ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GH LPC" rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide1: using apic 2 int 19 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
atapiscsi0 at pciide1 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:

Re: Polite enquiry as to if anyone is working on 64 bit time_t, and if so, what's the plan?

2011-10-20 Thread bofh
On Thu, Oct 20, 2011 at 9:44 AM, Nick Bender  wrote:
> NTP (from wikipedia):
>
>Implementations should disambiguate NTP time using a knowledge
>of the approximate time from other sources. Since NTP only works
>with the differences between timestamps and never their absolute
>values, the wraparound is invisible as long as the timestamps are
>within 68 years of each other.

So, we just need to worry about upgrading an OpenBSD 1.0 box to
OpenBSD 15, and have ntp  screw up, 50 years from now?

I have to wonder if OpenBSD 15 will still run on 386, Alpha and m68k


--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: dhclient, resolv.conf

2011-10-20 Thread Johan Beisser
Check dhclient.conf(5) and read about the supersede statement. 

jb

Semt frim my ipHnoe. 

On Oct 20, 2011, at 8:35, sophia.ort...@googlemail.com wrote:

> Dear Sirs!
> 
> I realy do not want that dhclient touch resolv.conf. 
> 
> The recomendation in 
> 
> http://www.openbsd.org/faq/faq6.html#DHCPclient
> 
> namely, uncommenting "request", errasing "domain-name" and  
> "domain-name-servers", does not work. The only idea I have is
> to change "/sbin/dhclient-script", but I think that is a delicate
> thing. Do someone know a better solution?
> 
> I am sure I am not the only one with this problem, but I did not
> find a solution with google. 
> 
> Best regards,
> SO.



dhclient, resolv.conf

2011-10-20 Thread sophia . orthoi
Dear Sirs!

I realy do not want that dhclient touch resolv.conf. 

The recomendation in 

http://www.openbsd.org/faq/faq6.html#DHCPclient

namely, uncommenting "request", errasing "domain-name" and  
"domain-name-servers", does not work. The only idea I have is
to change "/sbin/dhclient-script", but I think that is a delicate
thing. Do someone know a better solution?

I am sure I am not the only one with this problem, but I did not
find a solution with google. 

Best regards,
SO.



Re: vlan and pf

2011-10-20 Thread Gregory Edigarov
On Thu, 20 Oct 2011 11:38:46 -0200
Friedrich Locke  wrote:

> Hi folks,
> 
> does openbsd firewall handle vlan interfaces ?
> 
of course it does



Re: Polite enquiry as to if anyone is working on 64 bit time_t, and if so, what's the plan?

2011-10-20 Thread Nick Bender
On Thu, Oct 20, 2011 at 7:33 AM, Henning Brauer  wrote:
> * Janne Johansson  [2011-10-20 15:11]:
>> What I meant was as you say, we can change the include file to say "use 64
>> bits for time" and recompile some apps, but if the database file format or
>> the over-the-wire formats don't support 64 bits for specifying time, you'd
>> be screwed anyway. That's why applications, formats and protocols need to
>> change, since many of them use 32 bits today.
>
> anything clean just uses time_t and is thus fixed by recompiling.
>
> now, reality check, there is way too much crap out there that makes
> dumb assumptions. but "many of them use 32 bits today" makes it sound
> like a) that was common and b) right. it isn't. certainly not b). time
> will tell us (oh the irony) about a).

Not a) for the two examples mentioned.

HTTP Expires header: ascii date string. Good until at least ...

NTP (from wikipedia):

Implementations should disambiguate NTP time using a knowledge
of the approximate time from other sources. Since NTP only works
with the differences between timestamps and never their absolute
values, the wraparound is invisible as long as the timestamps are
within 68 years of each other.

-N



vlan and pf

2011-10-20 Thread Friedrich Locke
Hi folks,

does openbsd firewall handle vlan interfaces ?

Thanks in advance.

[]s,

Gustavo



Re: Polite enquiry as to if anyone is working on 64 bit time_t, and if so, what's the plan?

2011-10-20 Thread Henning Brauer
* Janne Johansson  [2011-10-20 15:11]:
> What I meant was as you say, we can change the include file to say "use 64
> bits for time" and recompile some apps, but if the database file format or
> the over-the-wire formats don't support 64 bits for specifying time, you'd
> be screwed anyway. That's why applications, formats and protocols need to
> change, since many of them use 32 bits today.

anything clean just uses time_t and is thus fixed by recompiling.

now, reality check, there is way too much crap out there that makes
dumb assumptions. but "many of them use 32 bits today" makes it sound
like a) that was common and b) right. it isn't. certainly not b). time
will tell us (oh the irony) about a).

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/



Re: Polite enquiry as to if anyone is working on 64 bit time_t, and if so, what's the plan?

2011-10-20 Thread Janne Johansson
2011/10/19 Michael T. Davis 

> >> I found mention of a possible move to 64 bit time_t back in 2005 and 3.9
> >> was mentioned, but I see it hasn't happened. Is there a plan, like for
> >> instance making all platforms, even 32 bit 64 bit time_t, like I think
> >> NetBSD have tried/trying to do?
> >>  Can some one give a brief list of what needs to change, forgetting
> about
> >> ports, like UFS etc. that would be greatly appreciated.
> >>
> >> A lot of protocols?
> >Its of no use if my machine knows it is Jan-1-2040 today if the HTTP
> >cache-expires says "you may cache this until Jan-1-1904" or the ntpd
> thinks
> >UTC is at 1904 and I'm a "bit" off.
>
> You seem to be saying that applications need to be patched before
> the underlying operating system (OS) can be considered.  But isn't the OS
> responsible for providing the "glue" (e.g. time-related include files and
> libraries) with which applications are built?  (This is coming from a
> casual
> user, so if I made the wrong inference from your statement, I'm happy to be
> corrected.)
>
>
What I meant was as you say, we can change the include file to say "use 64
bits for time" and recompile some apps, but if the database file format or
the over-the-wire formats don't support 64 bits for specifying time, you'd
be screwed anyway. That's why applications, formats and protocols need to
change, since many of them use 32 bits today.

-- 
 To our sweethearts and wives.  May they never meet. -- 19th century toast



I JORNADAS MEXICANAS DE DERECHO ADUANERO Y COMERCIO EXTERIOR

2011-10-20 Thread Ap Legis
Si no visualiza este mensaje haga clic aqum

I Jornadas MCB)xicanas de Derecho Aduanero y Comercio Exterior

I Jornadas MCB)xicanas de Derecho Aduanero y Comercio Exterior

I JORNADAS MEXICANAS DE DERECHO ADUANERO
Y COMERCIO EXTERIOR

[IMAGE]

I Jornadas MCB)xicanas de Derecho Aduanero y Comercio Exterior

[IMAGE]

[IMAGE]

[IMAGE]

Para mayor informacisn contactenos aqum

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

OBJETIVO

[IMAGE]

[IMAGE]

[IMAGE]

Conocer y analizar algunos de los temas mas relevantes del Derecho
Aduanero y su relacisn con el Comercio Exterior, desde la perspectiva de
destacados servidores pzblicos y funcionarios del sector privado asm como
expertos asesores en la materia, con el fin de que el participante
comprenda sus implicaciones practicas en el mundo de los negocios
internacionales, eficientando asm sus operaciones de importacisn y
exportacisn y diseqando estrategias legales preventivas que le permitan
evitar sanciones por parte de las autoridades competentes.

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

DIRIGIDO A

[IMAGE]

[IMAGE]

[IMAGE]

Estudiantes, profesionales tanto del sector pzblico como privado,
abogados, licenciados en comercio exterior, contadores pzblicos,
ejecutivos encargados de la importacisn y exportacisn de mercancmas,
autoridades gubernamentales, profesionistas afines, personal de agencias
aduanales, de areas de trafico, comercio exterior y aduanas de las
empresas y personas interesadas en el conocimiento de la materia.

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

PROGRAMA

[IMAGE]

[IMAGE]

[IMAGE]

Miircoles 26 de octubre

8:30-8:50 Registro de Participantes
8:50-9:00 Inauguracisn
Mtro. Gerardo Jaramillo Vazquez
Coordinador Acadimico, Extensisn Universitaria y Desarrollo Ejecutivo,
ITAM

9:00-10:00 Importancia del Comercio Exterior: agenda y avances en las
negociaciones internacionales
Francisco Leopoldo de Rosenzweig Mendialdua
Subsecretario de Comercio Exterior de la Secretarma de Economma

10:00-11:00 Logros y retos de la polmtica comercial internacional
Beatriz Leycegui Gardoqui.
Profesional Independiente

11:00-11:10 Coffee break

11:10-12:10 Econommas de NO mercado (China /Rusia)
Adrian Vazquez Benmtez
Socio Director de Vazquez Tercero y Asociados, S.C.

12:10-13:10 Procedimientos de auditormas en materia de comercio exterior
Josi Alberto Ortzzar Carcova
Administrador Central de Comercio Exterior de la Administracisn General
de Auditorma Fiscal Federal del Servicio de Administracisn Tributaria

13:10-15:00 Comida

15:00-16:00 Modernizacisn al sistema aduanero incrementando su
productividad a travis de la adopcisn del sistema de ventanilla znica
Arturo Rojas Rivas
Administrador Central de Competencias y Modernizacisn Aduanera del
Servicio de Administracisn Tributaria

16:00-17:00 Reglas de origen TLC’s
Carlos Aguirre
Socio Director de LIT Group

17:00-17:10 Coffee break

17:10-18:10 Resoluciones anticipadas de valor de contenido regional.
Acumulacisn de origen
Pablo Loyo
Gerente Regulatorio Asuntos Externos Daimler Vehmculos Comerciales
Mixico, S. de R.L. de C.V.

Jueves 27 de octubre

9:00-10:00 Regulacisn del despacho de mercancmas (importacisn y
exportacisn).
Experiencia peruana
Eduardo Gonzalez
Socio Estudio Muqiz Perz y Presidente de la Asociacisn Peruana de Derecho
Aduanero y Comercio exterior / Perz

10:00-11:00 Medidas para-arancelarias dentro del marco de la OMC,
requisitos y aplicacisn
Ingrid Dmaz
Socia Dmaz Rincsn Abogados / Colombia

11:00-11:10 Coffee break

11:10-12:10 Auditormas en materia de origen de conformidad con los
Tratados de Libre Comercio
Jorge Ambriz Cuevas
Profesional Independiente

12:10-13:10 Marco Regulatorio de las Empresas Certificadas
Alfredo Sarabia Caballero
Director General de AS Comercio Exterior y Aduanas

13:10-14:10 Conclusiones
Mtro. Gerardo Jaramillo Vazquez
Coordinador Acadimico, Extensisn Universitaria y Desarrollo Ejecutivo,
ITAM

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

PONENTES Y COORDINADORES ACADIMICOS

AMPLIAR INFORMACISN

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

INFORMACISN GENERAL

[IMAGE]

[IMAGE]

[IMAGE]

Fecha: 26 y 27 de octubre de 2011
Horario: Miircoles de 8:30 a 18:00 h. y Jueves de 9:00 a 14:00 h.
Hora de registro: 8:30 a.m.
Lugar: Auditorio, ITAM Santa Teresa
Valor de la inscripcisn: $8,500 pesos mas IVA (incluye constancia de
participacisn, comida y coffee break)
Informes: Lunes a viernes de 9:00 a 20:00 h. Tel. +52 55 5628 4185, Fax:
+52 55 5628 4194. Av. Camino a Santa Teresa No. 930, Col. Hiroes de
Padierna, C.P. 10700, Mixico D.F.
Correo electrsnico: desarrolloejecut...@itam.mx

Programa sujeto a cambio sin previo aviso. El ITAM se reserva el derecho
de posponer o cancelar los programas que no cumplan con el qusrum mmnimo
requerido.

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

Para mayor informacisn contactenos aqum

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

Por favor no conteste este e-mail, el mismo es un mensaje automatico.
Para contactar a Legis Mixico, ingrese al sitio http://www

Re: EAP-TLS WPA support

2011-10-20 Thread Martin Pelikan
2011/10/20 Alexey E. Suslikov :
> Vadim Zhukov  gmail.com> writes:
> http://www.rz.rwth-aachen.de/aw/cms/rz/Themen/unsere_dienste/kommunikation/netzbetrieb/dienste/wlan/installation/~sib/openbsd/?lang=en

Well, that rc.conf option seems FreeBSD.
AFAIK, OpenBSD doesn't support "enterprise WPA". You can try
implementing it yourself. The last PDF I saw had about 1000 pages and
basically was describing how to interconnect WPA, EAPOL (802.1x) and
802.11 state machines, and then implement like 42 different
authentication mechanisms on top of that.
Many people have asked that question and nobody seems to have the time
to write the code and test it against different RADIUS servers.
Good luck with that.
FYI: porting current wpa_supplicant or writing new implementation
(into iked?) to me seemed like the same effort, since the protocol
suite is pretty complicated. But I gave it just a quick look (and
moved to more important things to do).
-- 
Martin Pelikan



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

2011-10-20 Thread Ted Unangst
On Thu, Oct 20, 2011, Brett wrote:
> vnconfig -v -c vnd0 mr.fs
> vnconfig: VNDIOCSET: Device busy
> *** Error code 1
> 
> Stop in /usr/src/distrib/macppc/ramdisk (line 77 of
> /usr/src/distrib/macppc/ramd
> isk/Makefile).
> 
> Is there some more recent instructions floating around I could try?

Did you read the error message?  Are you using vnd0?



Re: OT: Building a DNS blackhole server

2011-10-20 Thread Kevin Wilcox
On 20 October 2011 04:21, carlopmart  wrote:

> https://secure.wikimedia.org/wikipedia/en/wiki/Comparison_of_DNS_blacklists
>
> B But, what is your opinion about this table?? What are the most reliable
> suppliers??? Which of these lists is sure to be deployed in a production
> environment? I do not want to generate more false positives than necessary.

Is your intent to cut SPAM on your servers (the intent of the majority
of those) or are you looking to stop domain-based malware, like Zeus
and its kin, from being able to phone home? If the latter, I'd start
by looking for malware and botnet domains, and with the understanding
that it's only a small part of defence-in-depth.

kmw



Re: EAP-TLS WPA support

2011-10-20 Thread Alexey E. Suslikov
Vadim Zhukov  gmail.com> writes:

> 
> Hello all.
> 
> I've just changed my job, and here I'm forced to use 802.11X for (any) 
> network access. Our ifconfig allows only (WPA|WPA2)-PSK, and 
> wpa_supplicant from ports doesn't support our 802.11 stack. Are there 
> any options other than implementing OpenBSD 802.11 stack support in 
> wpa_supplicant?

http://www.rz.rwth-aachen.de/aw/cms/rz/Themen/unsere_dienste/kommunikation/netzbetrieb/dienste/wlan/installation/~sib/openbsd/?lang=en



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

2011-10-20 Thread Brett
Hi,
After prodding from the "openbsd community needs to shake thinsg up" I 
attempted to compile a ramdisk with the patches from 
http://marc.info/?l=openbsd-tech&m=131669525606850&w=2. The kernel and userland 
built fine with -current from a few days ago, and the patches. But I have had 
no luck finding working instructions on building a ramdisk. Most seemed to be 
intermixed with instructions on building an install CD (to test the ramdisk, I 
was just going to boot into it, then install the sets from a recent snapshot 
CD).

This site: 
http://www.seattlecentral.edu/cgi-bin/cgiwrap/dmartin/moin.cgi/OpenBSD says to 
make crunchgen from /usr/src/distrib/crunch but that directory does not exist 
in my source code.

The "building the ramdisk" stage from: 
http://openbsd.wikia.com/wiki/Creating_a_custom_OpenBSD_RAM_disk ends with:

 .
crunchgen -h  -k _crunched_mv_stub mv.lo
echo "int _crunched_expr_stub(int argc, char **argv, char **envp){return main(ar
gc,argv,envp);}" >expr_stub.c
cc -O2 -pipe   -c expr_stub.c
ld -dc -r -o expr.lo expr_stub.o /usr/src/distrib/macppc/ramdisk/../../../bin/ex
pr/obj/expr.o
crunchgen -h  -k _crunched_expr_stub expr.lo
echo "int _crunched_dmesg_stub(int argc, char **argv, char **envp){return main(a
rgc,argv,envp);}" >dmesg_stub.c
cc -O2 -pipe   -c dmesg_stub.c
ld -dc -r -o dmesg.lo dmesg_stub.o /usr/src/distrib/macppc/ramdisk/../../../dist
rib/special/dmesg/obj/dmesg.o
crunchgen -h  -k _crunched_dmesg_stub dmesg.lo
echo "int _crunched_hostname_stub(int argc, char **argv, char **envp){return mai
n(argc,argv,envp);}" >hostname_stub.c
cc -O2 -pipe   -c hostname_stub.c
ld -dc -r -o hostname.lo hostname_stub.o /usr/src/distrib/macppc/ramdisk/../../.
./bin/hostname/obj/hostname.o
crunchgen -h  -k _crunched_hostname_stub hostname.lo
cc -static -o instbin instbin.o dd.lo mount_cd9660.lo df.lo mount.lo arch.lo syn
c.lo newfs_msdos.lo stty.lo ln.lo disklabel.lo pax.lo ping.lo cat.lo ifconfig.lo
 ls.lo sysctl.lo rtsol.lo ping6.lo date.lo less.lo mount_nfs.lo fdisk.lo grep.lo
 umount.lo mount_msdos.lo mount_udf.lo fsck.lo sha256.lo mknod.lo route.lo pdisk
.lo ftp.lo reboot.lo mount_ffs.lo dhclient.lo ed.lo cp.lo gzip.lo chmod.lo fsck_
ffs.lo init.lo newfs.lo rm.lo mt.lo mkdir.lo sed.lo ksh.lo bioctl.lo sleep.lo mv
.lo expr.lo dmesg.lo hostname.lo -L//usr/lib -L/usr/src/distrib/macppc/ramdisk/.
./../../distrib/special/libstubs/obj -lstubs -lutil -lotermcap -lm
strip instbin
dd if=/dev/zero of=mr.fs bs=512 count=8192
8192+0 records in
8192+0 records out
4194304 bytes transferred in 0.165 secs (25299354 bytes/sec)
vnconfig -v -c vnd0 mr.fs
vnconfig: VNDIOCSET: Device busy
*** Error code 1

Stop in /usr/src/distrib/macppc/ramdisk (line 77 of /usr/src/distrib/macppc/ramd
isk/Makefile).

Is there some more recent instructions floating around I could try?

Thanks,
Brett.



EAP-TLS WPA support

2011-10-20 Thread Vadim Zhukov

Hello all.

I've just changed my job, and here I'm forced to use 802.11X for (any) 
network access. Our ifconfig allows only (WPA|WPA2)-PSK, and 
wpa_supplicant from ports doesn't support our 802.11 stack. Are there 
any options other than implementing OpenBSD 802.11 stack support in 
wpa_supplicant?


Thanks in advance.

--
WBR, Vadim Zhukov



Re: KDE 4 on OpenBSD

2011-10-20 Thread Vadim Zhukov

20.10.2011 13:20, Paolo Aglialoro P?P8QP5Q:

Thanks for all the answers :)
...and sposibo to Vadim and Amit for all the great work!

For Vadim: if I understand well about the hal dilemma, hotplugd would at
least mount USB devices, so things like phonon would be out


Actually, Phonon rely on something else: GStreamer, VLC... At the 
present, only VLC plugin works fine.


KDE relies on UDev here and there, didn't even count all the places yet.

> and audio/video

be controlled as usual by OpenBSD standard facilities? Which one would be
the level of integration with native apps like kmix?


KMix is not usable now, need to meet it with sndio. Dragon needs love 
too: crashes, bugs etc. Other multimedia parts worked fine for me.


> Would recent

intel-based video chipsets work accelerated (i.e. composting) or not?


As far as I recall, it worked for me.


When 5.0 comes out, I could gladly test it on sparc64,


You'll need -CURRENT for testing anyway, too many KDE-related changes 
since release: CMake 2.8.6, Raptor2, wscanf(3), removal of JDK <= 1.5, 
Qt 4 updates...


SPARC tests would be great! :)

> even though the best

sparc64 machine I have with a graphic card is a Blade 150 with 1GB ram.
Would it be enough? It's an UltraSPARC IIi 650MHz, would it take ages to
compile or what? Right now the lowest platform I had KDE4 running is a
Pentium3-M 1.133MHz under debian, but that one just sports canned-out
packages, never compiled a row. Maybe I could borrow a V240 dual 1,5MHz 8GB
ram from a friend, but dunno which graphic card would fit there without
hassles (I've read a recent post on sparc@ about the "would be" video-card
compatibility list for OpenBSD which turned out to be too "optimistic" when
effectively tried out...).

Thanks
Paolo


On Wed, Oct 19, 2011 at 6:00 PM, Amit Kulkarni  wrote:


Is there some forecast (even rough like, say, 6mth, 2yrs, etc.) about

future

availability?
Btw, since 4.6 kde abandoned hal, how does this fit with OpenBSD?
Thanks



We can get it in the main tree when there are testers who are willing
to devote their time and give feedback.

On October 10th Vadim posted a patch to ports@ on which can be tested
on other architectures: sparc/sparc64/loongson etc.. wherever KDE
claims to have support. KDE might support only a few, we don't know.
We need to find out which arches work in our tree for KDE 4.7.2.

Remi Pointel worked on this initially, now Vadim is working on KDE
4.7.2 and if we get testers we will be hopefully be able to get this
effort in. Without testers and feedback nothing goes in the main
tree!!!

Like Vadim said, please start testing next week, when he can get some
time to polish up some stuff. If you need help look at the porting
FAQ, man ports, man bsd.port.mk

thanks in advance





--
WBR, Vadim Zhukov



Re: android's adb

2011-10-20 Thread frantisek holop
hmm, on Sat, Oct 08, 2011 at 06:15:01PM +0200, frantisek holop said that
> android.git.kernel.org being down, i cannot have a look at
> the adb sources.  i am not really interested in the SDK itself,
> although it would be nice i guess.

looks like, google finally got its act together and the sources
are available again (not ICS of course).

i am also crossposting this to ports@

is there a WIP port we could help testing?
(also of libusb)

-f
-- 
to every rule there's an exception & vice versa.



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

2011-10-20 Thread Patrick Lamaiziere
Le Thu, 20 Oct 2011 15:41:51 +0600,
PP;QQ P(P8P?P8QP8P=  a C)crit :

Hello,

> but I do not find "skip" in "pfctl -s rules" output:

Yes, you can check that the interface is skiped with

# pfctl -vs Interfaces -i lo0   
lo0 (skip)

Regards.



why "skip" is not shown in "pfctl -s rules" ?

2011-10-20 Thread Илья Шипицин
Dear Sirs,

I added couple of rules to pf config file

xxx:/root# grep skip /etc/pf.conf
set skip on enc0
set skip on lo0


xxx:/root# pfctl -f /etc/pf.conf
xxx:/root#


but I do not find "skip" in "pfctl -s rules" output:

xxx:/root# pfctl -s rules | grep skip
xxx:/root#


is it ok ?


Cheers,
Ilya Shipitsin



Re: KDE 4 on OpenBSD

2011-10-20 Thread David Coppa
On Thu, Oct 20, 2011 at 11:20 AM, Paolo Aglialoro  wrote:

> When 5.0 comes out, I could gladly test it on sparc64, even though the best
> sparc64 machine I have with a graphic card is a Blade 150 with 1GB ram.
> Would it be enough? It's an UltraSPARC IIi 650MHz, would it take ages to
> compile or what?

Yes, it will take eons to compile (I have a 150 with 2GB ram).

cheers,
David



Re: KDE 4 on OpenBSD

2011-10-20 Thread Paolo Aglialoro
Thanks for all the answers :)
...and sposibo to Vadim and Amit for all the great work!

For Vadim: if I understand well about the hal dilemma, hotplugd would at
least mount USB devices, so things like phonon would be out and audio/video
be controlled as usual by OpenBSD standard facilities? Which one would be
the level of integration with native apps like kmix? Would recent
intel-based video chipsets work accelerated (i.e. composting) or not?

When 5.0 comes out, I could gladly test it on sparc64, even though the best
sparc64 machine I have with a graphic card is a Blade 150 with 1GB ram.
Would it be enough? It's an UltraSPARC IIi 650MHz, would it take ages to
compile or what? Right now the lowest platform I had KDE4 running is a
Pentium3-M 1.133MHz under debian, but that one just sports canned-out
packages, never compiled a row. Maybe I could borrow a V240 dual 1,5MHz 8GB
ram from a friend, but dunno which graphic card would fit there without
hassles (I've read a recent post on sparc@ about the "would be" video-card
compatibility list for OpenBSD which turned out to be too "optimistic" when
effectively tried out...).

Thanks
Paolo


On Wed, Oct 19, 2011 at 6:00 PM, Amit Kulkarni  wrote:

> > Is there some forecast (even rough like, say, 6mth, 2yrs, etc.) about
> future
> > availability?
> > Btw, since 4.6 kde abandoned hal, how does this fit with OpenBSD?
> > Thanks
>
>
> We can get it in the main tree when there are testers who are willing
> to devote their time and give feedback.
>
> On October 10th Vadim posted a patch to ports@ on which can be tested
> on other architectures: sparc/sparc64/loongson etc.. wherever KDE
> claims to have support. KDE might support only a few, we don't know.
> We need to find out which arches work in our tree for KDE 4.7.2.
>
> Remi Pointel worked on this initially, now Vadim is working on KDE
> 4.7.2 and if we get testers we will be hopefully be able to get this
> effort in. Without testers and feedback nothing goes in the main
> tree!!!
>
> Like Vadim said, please start testing next week, when he can get some
> time to polish up some stuff. If you need help look at the porting
> FAQ, man ports, man bsd.port.mk
>
> thanks in advance



pfsync0 MTU

2011-10-20 Thread Maxim Bourmistrov

Hi list,
is there any reason for MTU on pfsync0 to be limited to 2048?
Any benefit from having it lager, say up to 9000?

I enabled MTU 9000 on syncdev and tried on pfsync0.
As seen in tcpdump now, sync pkts are large but not as large as 
9000(2048 limit).


//maxim



Re: Question about apmd power savings

2011-10-20 Thread Benny Lofgren
On 2011-10-20 03.53, STeve Andre' wrote:
> On 10/18/11 23:58, Amit Kulkarni wrote:
>> On Tue, Oct 18, 2011 at 6:36 PM, STeve Andre'  wrote:
>>>
>> http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/sched_bsd.c
>>
>> I think looking at that file, maybe the CPU's cores are all awake
>> every rrticks_init. Is that a big reason for low power savings, each
>> core waking up?
>>
> That is a good question.  I've not looked at that code so I can't
> comment.  But going from 1.3G to 800M and only seeing a .5w
> drop seems wrong to me, with the power supply not being
> very good.

As someone else also pointed out, in an idle system perhaps you won't
see any significant power savings when reducing the clock frequency.
I mean, idling somewhat slower (eh...) more or less only affects the
interrupt handlers.

I'd measure power under full CPU load with hw.setperf set to 100 and 0
respectively and see what happens.

Also, even if what Amit points out is true, that all cores wake up at
each rrticks_init (and assuming that there's an improvement to be made
there), that would be true even in high performance mode so would most
likely not affect the relative difference in power consumption between
the two modes of operation.


Regards,
/Benny

-- 
internetlabbet.se / work:   +46 8 551 124 80  / "Words must
Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
/   fax:+46 8 551 124 89/not counted."
   /email:  benny -at- internetlabbet.se



OT: Building a DNS blackhole server

2011-10-20 Thread carlopmart

Hi all,

 Actually, I have two OpenBSD 4.9 servers one as a primary DNS server 
and the second acting as a slave. I would like to implement a DNS 
blackhole in both servers. Reading and searching docs about this topic I 
have found this comparision table in wikipedia:


https://secure.wikimedia.org/wikipedia/en/wiki/Comparison_of_DNS_blacklists

 But, what is your opinion about this table?? What are the most 
reliable suppliers??? Which of these lists is sure to be deployed in a 
production environment? I do not want to generate more false positives 
than necessary.


Thanks.
--
CL Martinez
carlopmart {at} gmail {d0t} com



Re: Performance problems with OpenBSD 4.9 under ESXi 5

2011-10-20 Thread Stuart Henderson
On 2011/10/19 16:19, Gene wrote:
> 
> - Might be worth giving -current a spin (or 5.0 when it's
> available - release isn't far off - note that people who pre-order
> CDs often receive them before the official release date ;-)
> 
> Does 5.0 have VM specific features in it?

No but there have been changes to various parts of the OS which
could conceivably have an effect.

> > They perform terribly.  The load average hovers around 1.5 on all
> of these
> > VMs although the CPU shows as being idle.

Oh what does vmstat -i say?



Foro Empresarial 2da Edición. Estrategias Empresariales rumbo al 2012.

2011-10-20 Thread Susana Hernandez
[IMAGE]

Pms de Mixico prestigiada firma de Capacitacisn presenta:

Foro Empresarial 2011 2da Edicisn Personal Branding, MKT y Medios
Creativos, Planeacisn

Un foro donde convergen lmderes de Marketing, Management, P.E., Coaching.

Engel Fonseca Liderazgo 2.0, Eframn Mendicuti Personal Branding, Ariel
Valero Planeacisn Estratigica, Sergio Villalobos Marketing para nuevos
consumidores.

Presentacisn Exclusiva: 28 de Noviembre Ciudad de Mixico

Tarifa de Preventa hasta 31 Octubre 2011.

Empresa Registrada ante la STPS

Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico,
Neuronadigital Radio.

!Solicite Mayores Informes! Por favor responda este e-mail con los datos
siguientes.

Empresa:

Nombre:
Telifono:
Email:

Nzmero de Interesados:

En breve recibira la informacisn completa de este inigualable evento.

Comunmquese a los telifonos y con gusto uno de nuestros ejecutivos le
atendera.

Telifonos: (0133) 8851-2365, (0133) 8851-2741.

Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico  S.C. Derechos
Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas
registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas
estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE
ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales
e imagenes son propiedad de sus respectivas corporaciones y se utilizan
con fines informativos solamente.

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
Mixico o bien un usuario le refiris para recibir este boletmn.
Como usuario de Pms de Mixico, en este acto autoriza de manera expresa
que Pms de Mixico le puede contactar vma correo electrsnico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJAFORO2

Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJAFORO2
Tenga en cuenta que la gestisn de nuestras bases de datos es de suma
importancia y no es intencisn de la empresa la inconformidad del
receptor.

[demime 1.01d removed an attachment of type image/jpeg which had a name of foro 
2011 noviembre.jpg]