@ e4ea

2008-04-04 Thread Pau Amaro-Seoane
Hi,

I am interested in the script mentioned here by e4ea

http://undeadly.org/cgi?action=articlesid=2007120707mode=expanded

who of you is e4ea? I would like to have a look at the script you talk
about but unfortunately the person who uploaded it to pastebin chose
one month and now it's gone.

I would appreciate if e4ea would send it to me.

Cheers,

Pau



Re: PC Camera?

2008-03-24 Thread Pau Amaro-Seoane
who cares about web cams? What's so important in looking at a pixeled,
almost-static face?

I have still not understood what they are good for.

I do understand what pf good for is.

I do understand what a public, anonymous CVS server good for is

I do understand what security and code auditing good for are

I do understand how important it is for me that things do not break

Do not distract the developers.

If you want webcam support, or skype or things like that run windows
or linux (almost synonims nowadays, unfortunately).

Or write the applications by yourself.

23 Mar 2008 16:56:16 -0700, Unix Fan [EMAIL PROTECTED]:
 There is a USB standard for USB Cameras among other video devices... It's 
 called USB Video Device Class.



  The specific is available to download... if anyone feels brave enough to 
 write a driver for UVC class devices... ;)



  @Sunnz, Unsupported USB devices always attach to ugen, read the manual 
 page then you'll realize how silly you are.. ;)



  http://en.wikipedia.org/wiki/USB_video_device_class



  This seems to be a driver for:

  OpenSolaris: 
 http://www.opensolaris.org/os/community/device_drivers/projects/usb/uvc/

  Linux: http://linux-uvc.berlios.de/

  Mac OSX..

  Microsoft's Vista - Which seems to require all vendors implement the 
 standard..

  ...And Sony's Playstation 3.



  So who's working on OpenBSD's implementation? get busy!! :D :D :D







  -Nix Fan.



Re: PC Camera?

2008-03-24 Thread Pau Amaro-Seoane
  Your response was both rude and non-productive and contributed nothing to
  the discussion accept an arrogant antiquated attitude. Your lame attempt to
  describe why adding such a driver would be a security risk was best a terse
  flimflam shot from the hip in response to a good question. No one asked you
  to like it or about your cockhammer notion of what should or shouldn't be
  done on the OS.

I think you don't understand what obsd is about


  Write the application yourself is a good start though I will agree with
  that, that's kind of what they were discussing in the thread untill you
  tried to mute it with your red-harring argument which basically says OBSD
  should be some sort of survial kit for animals in the wilderness, take only
  what you need to survive and make sure you bring your book on which
  plantlife to eat in south america.

quite, you must be really desperate to be so aggressive



  And by the way if you have ever used a webcam now days they are no longer
  pixilated... You must still be living in 1998. Of course you are a real
  computer user and real computer users don't need webcams because they only
  need packet filter, cvs, and code auditing. OBSD also has a role as a
  desktop system

I have had peecees with linux STOP I have had a mac STOP I gave it
back STOP I am exclusively (as in no linux, no windows) using obsd
as a desktop on a laptop STOP webcams are as useful as automatic
chewing-gum machines FULL STOP

Before you carry on making use of the two adjectives you know (lame
and rude), please be so kind as to pretend that you do not exist.

Pau




  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
  Pau Amaro-Seoane
  Sent: Monday, March 24, 2008 1:52 PM
  To: Unix Fan
  Cc: misc@openbsd.org
  Subject: Re: PC Camera?

  who cares about web cams? What's so important in looking at a pixeled,
  almost-static face?

  I have still not understood what they are good for.

  I do understand what pf good for is.

  I do understand what a public, anonymous CVS server good for is

  I do understand what security and code auditing good for are

  I do understand how important it is for me that things do not break

  Do not distract the developers.

  If you want webcam support, or skype or things like that run windows or
  linux (almost synonims nowadays, unfortunately).

  Or write the applications by yourself.

  23 Mar 2008 16:56:16 -0700, Unix Fan [EMAIL PROTECTED]:
   There is a USB standard for USB Cameras among other video devices... It's
  called USB Video Device Class.
  
  
  
The specific is available to download... if anyone feels brave enough
   to write a driver for UVC class devices... ;)
  
  
  
@Sunnz, Unsupported USB devices always attach to ugen, read the
   manual page then you'll realize how silly you are.. ;)
  
  
  
http://en.wikipedia.org/wiki/USB_video_device_class
  
  
  
This seems to be a driver for:
  
OpenSolaris:
   http://www.opensolaris.org/os/community/device_drivers/projects/usb/uv
   c/
  
Linux: http://linux-uvc.berlios.de/
  
Mac OSX..
  
Microsoft's Vista - Which seems to require all vendors implement the
  standard..
  
...And Sony's Playstation 3.
  
  
  
So who's working on OpenBSD's implementation? get busy!! :D :D :D
  
  
  
  
  
  
  
-Nix Fan.



Re: PC Camera?

2008-03-24 Thread Pau Amaro-Seoane
ok, I have to apologise.

I don't mean to be unpolite but, please understand me:

I don't think there exists another OS as OpenBSD. It's unique.

I am afraid that the more popular it will become, the more thingies
new users will ask for. And complication leads to... well, see linux
and other OS. That's why I got so nervous when I saw people asking for
webcam support.

I love OpenBSD because it is exactly what I would like to see from an OS.
And I think there are many other things that need support, like ACPI.
It's not trivial and it's only partially supported by other OS.

That's all. Sorry about that and... cheers

Pau

2008/3/24, Pau Amaro-Seoane [EMAIL PROTECTED]:
 
Your response was both rude and non-productive and contributed nothing to
the discussion accept an arrogant antiquated attitude. Your lame attempt 
 to
describe why adding such a driver would be a security risk was best a 
 terse
flimflam shot from the hip in response to a good question. No one asked 
 you
to like it or about your cockhammer notion of what should or shouldn't be
done on the OS.


 I think you don't understand what obsd is about


  
Write the application yourself is a good start though I will agree with
that, that's kind of what they were discussing in the thread untill you
tried to mute it with your red-harring argument which basically says OBSD
should be some sort of survial kit for animals in the wilderness, take 
 only
what you need to survive and make sure you bring your book on which
plantlife to eat in south america.


 quite, you must be really desperate to be so aggressive



  
And by the way if you have ever used a webcam now days they are no longer
pixilated... You must still be living in 1998. Of course you are a real
computer user and real computer users don't need webcams because they only
need packet filter, cvs, and code auditing. OBSD also has a role as a
desktop system


 I have had peecees with linux STOP I have had a mac STOP I gave it
  back STOP I am exclusively (as in no linux, no windows) using obsd
  as a desktop on a laptop STOP webcams are as useful as automatic
  chewing-gum machines FULL STOP

  Before you carry on making use of the two adjectives you know (lame
  and rude), please be so kind as to pretend that you do not exist.


  Pau



  
  
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Pau Amaro-Seoane
Sent: Monday, March 24, 2008 1:52 PM
To: Unix Fan
Cc: misc@openbsd.org
Subject: Re: PC Camera?
  
who cares about web cams? What's so important in looking at a pixeled,
almost-static face?
  
I have still not understood what they are good for.
  
I do understand what pf good for is.
  
I do understand what a public, anonymous CVS server good for is
  
I do understand what security and code auditing good for are
  
I do understand how important it is for me that things do not break
  
Do not distract the developers.
  
If you want webcam support, or skype or things like that run windows or
linux (almost synonims nowadays, unfortunately).
  
Or write the applications by yourself.
  
23 Mar 2008 16:56:16 -0700, Unix Fan [EMAIL PROTECTED]:
 There is a USB standard for USB Cameras among other video devices... 
 It's
called USB Video Device Class.



  The specific is available to download... if anyone feels brave enough
 to write a driver for UVC class devices... ;)



  @Sunnz, Unsupported USB devices always attach to ugen, read the
 manual page then you'll realize how silly you are.. ;)



  http://en.wikipedia.org/wiki/USB_video_device_class



  This seems to be a driver for:

  OpenSolaris:
 http://www.opensolaris.org/os/community/device_drivers/projects/usb/uv
 c/

  Linux: http://linux-uvc.berlios.de/

  Mac OSX..

  Microsoft's Vista - Which seems to require all vendors implement the
standard..

  ...And Sony's Playstation 3.



  So who's working on OpenBSD's implementation? get busy!! :D :D :D







  -Nix Fan.



Re: using openbsd to make presentations

2008-03-20 Thread Pau Amaro-Seoane
ConTeXt is looking *very* nice. Nevertheless I do not find the sources
for the many pdf examples of pragma... in the wiki you point at,
there's written:

---
If you're interested in presentations, your first stop should be the
pragma website. You can download pdfs with the documented source-code
of 18 presentation modules at
http://www.pragma-ade.com/dir/general/sources/
---

still, I do not find any tex file there... are they hidden or am I blind?

documented source-code is what I would like to see...


2008/3/20, Edd [EMAIL PROTECTED]:
 Hi,


  On Tue, Mar 18, 2008 at 05:45:26PM -0700, Predrag Punosevac wrote:
   As far as I know TeXLive will be regular package (you will not need to use
   ports) starting OpenBSD 4.3. This is
   only second Unix like system after Debian to have fully functional TeXLive
   thanks to Edd Baret porter of TeXLive
   for OpenBSD. On the last note I recommend that you install full TeXLive
   which is about 1Gb but includes
   all TeX/Latex features coded at the moment. I am not sure if the TeXLive
   base includes Powerdot. I would guess yes.


 Also can I add that the ConTeXt typesetter is available in TeXLive,
  which claims to do presentations too, although I have never tried it.

  ConTeXt puts more emphasis on page layout than any previous TeX
  compiler. To me it feels like arranging a HTML page using CSS.

  Also I there will be binary packages for 4.3, maybe even on the cdrom, I
  dont know. You can get binary packages for -current on the ftp servers,
  and I have backported to 4.2 for people who wish to use TeXLive on 4.2
  , although the packages were made before Predrag found the powerdot bug.
  The fix is simple, see the patch on your ports tree:

  
 /usr/ports/print/texlive/texmf-minimal/patches/patch-texmf_dvips_config_config_ps

  (basically overwrite the old config.ps with the svn one)

  4.2 packages for i386 and sparc64 here:
  http://students.dec.bmth.ac.uk/ebarrett/texlive/3rd/4.2

  A good starting point for links to docs and examples for ConTeXt is:
  http://wiki.contextgarden.net

  Also my battery has died on my laptop (Thinkpad R50e), which I used to
  use for on the go TeXLive hackage. At the risk of sounding rude, can
  anyone make a donation or tell me to shut up atleast as I am not a
  developer with an @openbsd email address.

  Thats right, Im playing the student trumph card :)


  --

  Best Regards
  Edd

  http://students.dec.bmth.ac.uk/ebarrett



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
Hi,

yes, I also thought of something similar, but the result is that gs
produces slides which are not smooth, i.e. you can almost see the
pixels. You can increase the resolution but this makes also the
slides heavier and then you run into the same snag...

Thanks

Pau

2008/3/19, Alexandre Ratchov [EMAIL PROTECTED]:
 On Tue, Mar 18, 2008 at 10:18:30PM +0100, Pau Amaro-Seoane wrote:
   Hi,
  
   very often I have to give a talk about my work etc... The slides
   contain a lot of math equations, plots and even sometimes some movies.
  
   I was used to latex-beamer to do all this because I want something I
   can edit with vi(m) and it fulfilled all requisites ... and I was used
   to it when I was using linux.
  
   I have switched to OpenBSD since some 1.5 years and I am very happy to
   report here, by the way, that OpenBSD _does_ start X on the projector
   where most linux peecees and macs fail :) BUT -and this is the main
   reason to write now- the pdf slides created with latex-beamer feel
   heavy... What I mean is that when using full screen (with xpdf or
   kpdf etc) it takes some 3-4 seconds to change a slide. I don't know
   why... I can provide you with a test talk, so that you udnerstand what
   I mean.
  
   This is very bad when somebody in the public asks a question of plot
   number 2 in slide #3 and you're in slide #55. Sure there are ways to
   overcome the problem, with the progress bar of latex-beamer, for
   instance, but still I don't like it.
  
   I just want to ask here in misc whether somebody has had the same
   problem and what other alternatives there are.
  


 yes i've the same problem, i've been using latex-beamer on a slow
  machine. To speedup the display, i converted the whole presentation
  to pnm images (one image per slide) and then made my presentation
  using graphics/qiv port. For instance, to generate the pnm files:

 gs -r248 -sDEVICE=pnmraw -sOutputFile=%d.ppm -dTextAlphaBits=4 \
 -dGraphicsAlphaBits=4 -dNOPAUSE doc.ps -c quit

 for i in ?.ppm; do mv $i 0$i done

  then to display them:

 qiv -f -i ??.ppm

  using space and backspace keys you can switch between slides very
  quickly even on a slow machine. Furthermore you can skip 5 slides
  using page-up and page-down keys, which is very handy when somebody
  asks you to go a particular slide.

  hth,


  -- Alexandre



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
Hi Predrag,

I am mostly interested in the speed... do you have an example that I
can see (send privately to me)? You say also that it's easy to add
movies to the slides, can you embed them, actually? This would be very
interesting.

Pau

2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:
 Pau Amaro-Seoane wrote:
   Hi,
  
   very often I have to give a talk about my work etc... The slides
   contain a lot of math equations, plots and even sometimes some movies.
  
   I was used to latex-beamer to do all this because I want something I
   can edit with vi(m) and it fulfilled all requisites ... and I was used
   to it when I was using linux.
  
   I have switched to OpenBSD since some 1.5 years and I am very happy to
   report here, by the way, that OpenBSD _does_ start X on the projector
   where most linux peecees and macs fail :) BUT -and this is the main
   reason to write now- the pdf slides created with latex-beamer feel
   heavy... What I mean is that when using full screen (with xpdf or
   kpdf etc) it takes some 3-4 seconds to change a slide. I don't know
   why... I can provide you with a test talk, so that you udnerstand what
   I mean.
  
   This is very bad when somebody in the public asks a question of plot
   number 2 in slide #3 and you're in slide #55. Sure there are ways to
   overcome the problem, with the progress bar of latex-beamer, for
   instance, but still I don't like it.
  
   I just want to ask here in misc whether somebody has had the same
   problem and what other alternatives there are.
  
   I have noticed that a lot of people are using magicpoint out there. I
   had a look at it, but it seems not obvious to use when it comes to
   latex. As far as i know, there are these two possibilities:
  
   http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00241.html
  
   http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00290.html
  
   I have made some tests and I could not use all latex commands... I run
   into a snag in a number of occasions.
  
   Question: Do you have any recommendation / suggestion to prepare talks
   to be shown in a projector including mathematical equations, plots
   and, eventually, movies (I can live without this last point)?
  
  

 I am a mathematician so I am quite often in the same position as you to
  give presentations which contain
  lots of formulas and images.

  I use Powerdot class of Latex presentations (descendant of Prosper an
  obsolete class of presentations )  which is as an alternative to the
  Beamer class. For the comprehensive review of all classes of
  presentations for latex you may check

  http://texcatalogue.sarovar.org/bytopic.html#present

  The advantages over Powerdot over Beamer are numerous.
  Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
  over 400 pages).
  It is also very simple to incorporate movies into your slides. The
  slides are easily customized
  and in my point of view far more beautiful than the Beamer.

  The popularity of Beamer seems comes from the fact that you can use
  pdflatex to produce pdf slides.
  That is not possible with Powerdot as it uses some PostScript tricks. So
  you will have to latex slides followed by
  dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
  course is to produce pdf slides.

  I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which
  is only available from ports due to the
  license issues in order to have alive links on slides. That seems to be
  built in feature ( I would call it bug)
  which should be communicated probably up stream. The slides are very
  responsive.  I  personally have not seen better
  looking slides on any platform and I think I have seen it all.

  Powerdot class of presentations is part of TeXLive but not the part of
  teTeX. As you know teTeX is
  dead for about three years now and the TeXLive is official TeX
  distribution for Unix maintained by TeX community.
  TeXLive  is available only from ports for OpenBSD 4.2.
  However you will have to use port for 4.3 current (soon to be release)
  as I stumbled upon a bug in Powerdot
  class of presentation. The bug was in TeXLive source code and was well
  documented.
  It is already fixed by port maintainer for OpenBSD 4.3.

  As far as I know TeXLive will be regular package (you will not need to
  use ports) starting OpenBSD 4.3. This is
  only second Unix like system after Debian to have fully functional
  TeXLive thanks to Edd Baret porter of TeXLive
  for OpenBSD. On the last note I recommend that you install full TeXLive
  which is about 1Gb but includes
  all TeX/Latex features coded at the moment. I am not sure if the TeXLive
  base includes Powerdot. I would guess yes.


  Most Kind Regards,
  Predrag Punosevac

   Thanks,
  
   Pau



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
Nice to see that such a thing exists... I was thinking of doing
something similar by myself... nevertheless the installer of mathml
seems to be a bit lame and I am a bit worried about the portability of
the final file. Sometimes, as you know, you are asked to not plug in
your laptop, so that speakers do not waste time trying to configure X
and in those cases they ask you for a pdf (or even ppt, buerk!) file
which they will copy over to the conference laptop...

Otherwise it seems indeed a very nice idea.

2008/3/19, Matthew Szudzik [EMAIL PROTECTED]:
  Question: Do you have any recommendation / suggestion to prepare talks
   to be shown in a projector including mathematical equations, plots
   and, eventually, movies (I can live without this last point)?


 HTML is probably the most portable solution for your problem, and movies
  would work fine too (using VLC's Mozilla plug-in).  Graphics display
  quickly and Firefox has MathML for displaying equations, but special
  fonts are required, and I'm unsure if anyone has ever tried to install
  them on OpenBSD (I certainly haven't).  An example of MathML used in
  HTML is at

   http://pear.math.pitt.edu/mathzilla/Examples/markupOftheWeek.mhtml

  Personally, I use Mathematica on my OpenBSD laptop--it has a nice
  presentation mode and renders equations beautifully.  Of course, it's
  proprietary software that costs money, so it's not for everyone.



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
movie15... yes, I know it from latex-beamer... it's (was?) crap

It will only embed movies under acroread AND windows... and asks for
very recent pdflatex versions... at least this was the case one year
ago, when I gave it a chance last time...

evince, on the other hand, is not displaying perfectly the beamer
layout and I don't know how to tell evince that it must use xine to
reproduce the linked movies of my pdf talks... kpdf is more
intelligent but as slow as a Spanish bureaucrat...

For now latex-beamer + apm -H + evince seems to be the winner
combination in my case

2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:
 In the next couple sentences I will try to answer some of the questions
  you guys asked me about powerdot
  class of latex presentations.

  1. Yes it is easier to learn than the Beamer but if know Beamer and it
  works for you maybe you should
  stick to your guns.

  This is the link to documentation and the source file for powerdot

  http://texcatalogue.sarovar.org/entries/powerdot.html

  I want to reiterate that is very easy to customize slides unlike Beamer
  although you can see in the documentation that
  the package comes with about 20 different layouts and many more
  different color patterns.

  Trying to install manually on the top of teTeX will probably fail due to
  the fact that teTeX uses some outdated
  fonts. I tired in the past. It is not worthy as TeXLive in current ports
  three is rock solid.


  2. There were many questions about Movies. Yes, It is possible to embed
  movies  into  the slides.
  Please follow the link

  http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/


  The following link contains also extensive discussion of movie15 package
  and some examples
  http://www.uoregon.edu/~noeckel/PDFmovie.html

  Cheers,

 Predrag











  Girish Venkatachalam wrote:



   On 17:45:26 Mar 18, Predrag Punosevac wrote:
  
   I am a mathematician so I am quite often in the same position as you to
   give presentations which contain
   lots of formulas and images.
   I use Powerdot class of Latex presentations (descendant of Prosper an
   obsolete class of presentations )  which is as an alternative to the 
 Beamer
   class. For the comprehensive review of all classes of presentations for
   latex you may check
  
   http://texcatalogue.sarovar.org/bytopic.html#present
  
   The advantages over Powerdot over Beamer are numerous.
   Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
   over 400 pages).
   It is also very simple to incorporate movies into your slides. The slides
   are easily customized
   and in my point of view far more beautiful than the Beamer.
  
  
   That will be really cool. ;)
  
   I love beauty both in women and in my work. ;)
  
   What about movies?
  
  
   The popularity of Beamer seems comes from the fact that you can use
   pdflatex to produce pdf slides.
   That is not possible with Powerdot as it uses some PostScript tricks. So
   you will have to latex slides followed by
   dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
   course is to produce pdf slides.
  
  
  
   That is no problem at all.
  
  
   I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which 
 is
   only available from ports due to the
   license issues in order to have alive links on slides. That seems to be
   built in feature ( I would call it bug)
   which should be communicated probably up stream. The slides are very
   responsive.  I  personally have not seen better
   looking slides on any platform and I think I have seen it all.
  
   Powerdot class of presentations is part of TeXLive but not the part of
   teTeX. As you know teTeX is
   dead for about three years now and the TeXLive is official TeX 
 distribution
   for Unix maintained by TeX community.
   TeXLive  is available only from ports for OpenBSD 4.2.
   However you will have to use port for 4.3 current (soon to be release) as 
 I
   stumbled upon a bug in Powerdot
   class of presentation. The bug was in TeXLive source code and was well
   documented.
   It is already fixed by port maintainer for OpenBSD 4.3.
  
   As far as I know TeXLive will be regular package (you will not need to use
   ports) starting OpenBSD 4.3. This is
   only second Unix like system after Debian to have fully functional TeXLive
   thanks to Edd Baret porter of TeXLive
   for OpenBSD. On the last note I recommend that you install full TeXLive
   which is about 1Gb but includes
   all TeX/Latex features coded at the moment. I am not sure if the TeXLive
   base includes Powerdot. I would guess yes.
  
  
  
   I don't mind waiting till May 1.
  
   It is much better than Beamer?
  
   Do I have to go thro' the same learning curve?
  
   Your argument is quite convincing though. What about movies?
  
   -Girish
  
   --
   unix soi qui mal y pense
  
   UNIX to him who evil thinks
  
   

Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
I must apologise for speaking like that but I have spent HOURS in the
past trying to make movie15 work... until I realised of the points I
made in my last email. I was very angry

2008/3/19, Pau Amaro-Seoane [EMAIL PROTECTED]:
 movie15... yes, I know it from latex-beamer... it's (was?) crap

  It will only embed movies under acroread AND windows... and asks for
  very recent pdflatex versions... at least this was the case one year
  ago, when I gave it a chance last time...

  evince, on the other hand, is not displaying perfectly the beamer
  layout and I don't know how to tell evince that it must use xine to
  reproduce the linked movies of my pdf talks... kpdf is more
  intelligent but as slow as a Spanish bureaucrat...

  For now latex-beamer + apm -H + evince seems to be the winner
  combination in my case


  2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:

  In the next couple sentences I will try to answer some of the questions
you guys asked me about powerdot
class of latex presentations.
  
1. Yes it is easier to learn than the Beamer but if know Beamer and it
works for you maybe you should
stick to your guns.
  
This is the link to documentation and the source file for powerdot
  
http://texcatalogue.sarovar.org/entries/powerdot.html
  
I want to reiterate that is very easy to customize slides unlike Beamer
although you can see in the documentation that
the package comes with about 20 different layouts and many more
different color patterns.
  
Trying to install manually on the top of teTeX will probably fail due to
the fact that teTeX uses some outdated
fonts. I tired in the past. It is not worthy as TeXLive in current ports
three is rock solid.
  
  
2. There were many questions about Movies. Yes, It is possible to embed
movies  into  the slides.
Please follow the link
  
http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/
  
  
The following link contains also extensive discussion of movie15 package
and some examples
http://www.uoregon.edu/~noeckel/PDFmovie.html
  
Cheers,
  
   Predrag
  
  
  
  
  
  
  
  
  
  
  
Girish Venkatachalam wrote:
  
  
  
 On 17:45:26 Mar 18, Predrag Punosevac wrote:

 I am a mathematician so I am quite often in the same position as you to
 give presentations which contain
 lots of formulas and images.
 I use Powerdot class of Latex presentations (descendant of Prosper an
 obsolete class of presentations )  which is as an alternative to the 
 Beamer
 class. For the comprehensive review of all classes of presentations for
 latex you may check

 http://texcatalogue.sarovar.org/bytopic.html#present

 The advantages over Powerdot over Beamer are numerous.
 Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
 over 400 pages).
 It is also very simple to incorporate movies into your slides. The 
 slides
 are easily customized
 and in my point of view far more beautiful than the Beamer.


 That will be really cool. ;)

 I love beauty both in women and in my work. ;)

 What about movies?


 The popularity of Beamer seems comes from the fact that you can use
 pdflatex to produce pdf slides.
 That is not possible with Powerdot as it uses some PostScript tricks. 
 So
 you will have to latex slides followed by
 dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
 course is to produce pdf slides.



 That is no problem at all.


 I noticed that one has to use Adobe Reader (I prefer Xpdf as well) 
 which is
 only available from ports due to the
 license issues in order to have alive links on slides. That seems to be
 built in feature ( I would call it bug)
 which should be communicated probably up stream. The slides are very
 responsive.  I  personally have not seen better
 looking slides on any platform and I think I have seen it all.

 Powerdot class of presentations is part of TeXLive but not the part of
 teTeX. As you know teTeX is
 dead for about three years now and the TeXLive is official TeX 
 distribution
 for Unix maintained by TeX community.
 TeXLive  is available only from ports for OpenBSD 4.2.
 However you will have to use port for 4.3 current (soon to be release) 
 as I
 stumbled upon a bug in Powerdot
 class of presentation. The bug was in TeXLive source code and was well
 documented.
 It is already fixed by port maintainer for OpenBSD 4.3.

 As far as I know TeXLive will be regular package (you will not need to 
 use
 ports) starting OpenBSD 4.3. This is
 only second Unix like system after Debian to have fully functional 
 TeXLive
 thanks to Edd Baret porter of TeXLive
 for OpenBSD. On the last note I recommend that you install full TeXLive
 which is about

using openbsd to make presentations

2008-03-18 Thread Pau Amaro-Seoane
Hi,

very often I have to give a talk about my work etc... The slides
contain a lot of math equations, plots and even sometimes some movies.

I was used to latex-beamer to do all this because I want something I
can edit with vi(m) and it fulfilled all requisites ... and I was used
to it when I was using linux.

I have switched to OpenBSD since some 1.5 years and I am very happy to
report here, by the way, that OpenBSD _does_ start X on the projector
where most linux peecees and macs fail :) BUT -and this is the main
reason to write now- the pdf slides created with latex-beamer feel
heavy... What I mean is that when using full screen (with xpdf or
kpdf etc) it takes some 3-4 seconds to change a slide. I don't know
why... I can provide you with a test talk, so that you udnerstand what
I mean.

This is very bad when somebody in the public asks a question of plot
number 2 in slide #3 and you're in slide #55. Sure there are ways to
overcome the problem, with the progress bar of latex-beamer, for
instance, but still I don't like it.

I just want to ask here in misc whether somebody has had the same
problem and what other alternatives there are.

I have noticed that a lot of people are using magicpoint out there. I
had a look at it, but it seems not obvious to use when it comes to
latex. As far as i know, there are these two possibilities:

http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00241.html

http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00290.html

I have made some tests and I could not use all latex commands... I run
into a snag in a number of occasions.

Question: Do you have any recommendation / suggestion to prepare talks
to be shown in a projector including mathematical equations, plots
and, eventually, movies (I can live without this last point)?

Thanks,

Pau



Re: switching off the lid parks and spins up the hard drive too frequently in spite of atactl

2008-02-28 Thread Pau Amaro-Seoane
I don't want any Standby mode... but in any case here the main and
only question is

Why the $%!! is X parking/ activating the hard drive when I switch
off the lid?

I guess the only answer is this one, indeed

http://marc.info/?l=openbsd-miscm=114738577123893w=2


2008/2/27, Bryan [EMAIL PROTECTED]:
 From man (8) atactl:

  apmset power-management-level
   Enables and sets the advanced power management level to the re-
   quested level on the specified device (if supported).  Device
   performance may increase with increasing power management levels
   at the cost of potentially requiring more power.  Values up to
   and including 126 allow the device to go into standby mode and
   spin-down the disk.  This may cause disk time-outs and is there-
   fore not recommended.  These values are more suitable optimiza-
   tion for low power usage on infrequently used devices.  Values
   127 up to and including 253 do not allow the device to go to
   standby mode and are more suitable for optimization for perfor-
   mance.  Support for advanced power management is indicated by
   the device with `Advanced Power Management feature set' in the
   output of the identify command.


  So it would appear that it just reduces wd0's need for electricity.

  Have you tried something else, like atactl /dev/wd0c setstandby ###?
  I just put an old dell latitude D600 hard drive into standby by using
  atactl /dev/wd0c apmset 200

  It appears to come back on when I use the command-line, and I get a
  device timeout error when it spins back up...  funny enough, it also
  appears to come out of standby mode when I run atactl /dev/wd0c
  checkpower...  I get one current power status: Standby mode, it
  pauses a second, I get the soft error message in the console window,
  then it comes back to active mode...

  On Wed, Feb 27, 2008 at 9:50 AM, Pau Amaro-Seoane

 [EMAIL PROTECTED] wrote:

  Hi,
  
I am having a small trouble... I attached an external monitor to my
thinkpad T41; when I do this, I switch off the laptop lid by pressing
fn+f3, in the hope that its life will be longer (and to spare a bit of
energy) and there's a clear correlation between doing it and hearing
the hard drive parking and spinning again in intervals of some
seconds... I tried to set it to atactl wd0 apmset 253 but this didn't
help.
  
atactl wd0 checkpower yields Standby mode / Active mode alternatively
every some seconds or so.
  
Some output
  
spree(pb)| sudo atactl /dev/wd0c identify
Model: SAMSUNG HM121HC, Rev: LS100-10, Serial #: S12SJD0P910425
Device type: ATA, fixed
Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 234441648
Device capabilities:
   ATA standby timer values
   IORDY operation
   IORDY disabling
Device supports the following standards:
ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7 ATA-8
Master password revision code 0xfffe
Device supports the following command sets:
   NOP command
   READ BUFFER command
   WRITE BUFFER command
   Host Protected Area feature set
   Read look-ahead
   Write cache
   Power Management feature set
   Security Mode feature set
   SMART feature set
   Flush Cache Ext command
   Flush Cache command
   Device Configuration Overlay feature set
   48bit address feature set
   Automatic Acoustic Management feature set
   Set Max security extension commands
   Advanced Power Management feature set
   DOWNLOAD MICROCODE command
   IDLE IMMEDIATE with UNLOAD FEATURE
   SMART self-test
   SMART error logging
Device has enabled the following command sets/features:
   NOP command
   READ BUFFER command
   WRITE BUFFER command
   Host Protected Area feature set
   Read look-ahead
   Write cache
   Power Management feature set
   SMART feature set
   Flush Cache Ext command
   Flush Cache command
   Device Configuration Overlay feature set
   48bit address feature set
   Automatic Acoustic Management feature set
   Advanced Power Management feature set
   DOWNLOAD MICROCODE command
  
-
  
With lid SWITCHED OFF:
==
  
spree(pb)| while true; do ; sudo atactl wd0 checkpower ; date 
 '+%Hh%mmin%Ssec'
; sleep 5 ; done
Current power status: Active mode
18h02min53sec
Current power status: Active mode
18h02min58sec
Current power status: Active mode
18h02min03sec
Current power status: Active mode
18h02min08sec
Current power status: Active mode
18h02min13sec
Current power status: Standby mode

Re: What is our ultimate goal??

2008-02-20 Thread Pau Amaro-Seoane
could you please stop this shit and continue the conversation privately?

People registered at misc know well why they are using obsd. We don't
need this discussion.

2008/2/20, Henning Brauer [EMAIL PROTECTED]:
 * Mayuresh Kathe [EMAIL PROTECTED] [2008-02-20 13:12]:

  On Feb 20, 2008 4:58 PM, Henning Brauer [EMAIL PROTECTED] wrote:
* Mayuresh Kathe [EMAIL PROTECTED] [2008-02-17 13:38]:
 Wouldn't it be nice to have a high performance networking stack?
   
yeah.
guess what we have?
exactly that.
(which doesn't mean it could be even faster)
  
   Pardon if I sound ignorant, but isn't our networking stack based on
   the 24 year old technology from Berkeley?


 so?

  isn't your computer running on 100 years old technology called
  electricity?


  --
  Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
  BS Web Services, http://bsws.de
  Full-Service ISP - Secure Hosting, Mail and DNS Services
  Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



rlpr for OpenBSD?

2008-01-29 Thread Pau Amaro-Seoane
Hi,

we got a printer in our office. Now I'd like to use it. I hate
configurating printers. I don't like cups. 631 is blocked.

Usually I avoid all these problems with a

cat MyVeryInterestingFile.ps | telnet IPaddressOfPrinterHere 9100

since most of the printers have that door open.

It *works*

Now, admin here is taking security a bit too seriously and it's not
possible to telnet the printer over 9100.

I was thinking of using rlpr, like

rlpr -Plp -HIPaddressOfPrinterHere MyVeryInterestingFile.ps

But I don't find rlpr in ports (4.2)

Does any of you have a workaround to print ps w/o resorting to cups?

Cheers,

Pau



Re: rlpr for OpenBSD?

2008-01-29 Thread Pau Amaro-Seoane
I found out the sources at http://truffula.com/rlpr/

Now, the Makefile is buggy.

I had to do this to install rlpr properly on OpenBSD. I post it here
just in case
you're interested.

make bsd-symlinks is wrong and ./bin is also wrong. The binaries go
into ./src/bin

spree(p8)| sudo make bsdlinks
cd src  make bsdlinks
installing bsd symlinks...
mv /usr/bin/lpr /usr/bin/lpr.bsd
ln -s ./bin/rlpr /usr/bin/lpr
mv /usr/bin/lpq /usr/bin/lpq.bsd
ln -s ./bin/rlpq /usr/bin/lpq
mv /usr/bin/lprm /usr/bin/lprm.bsd
ln -s ./bin/rlprm /usr/bin/lprm
spree(p8)| ls bin
spree(p8)| cd src/bin
spree(p8)| ls
rlpq  rlpr  rlprd rlprm
spree(p8)| sudo mv rlpr /usr/local/bin
spree(p8)| sudo mv * /usr/local/bin
spree(p8)| sudo mv /usr/bin/lpr.bsd /usr/bin/lpr
spree(p8)| sudo mv /usr/bin/lpq.bsd /usr/bin/lpq
spree(p8)| sudo mv /usr/bin/lprm.bsd /usr/bin/lprm


2008/1/29, Pau Amaro-Seoane [EMAIL PROTECTED]:
 Hi,

 we got a printer in our office. Now I'd like to use it. I hate
 configurating printers. I don't like cups. 631 is blocked.

 Usually I avoid all these problems with a

 cat MyVeryInterestingFile.ps | telnet IPaddressOfPrinterHere 9100

 since most of the printers have that door open.

 It *works*

 Now, admin here is taking security a bit too seriously and it's not
 possible to telnet the printer over 9100.

 I was thinking of using rlpr, like

 rlpr -Plp -HIPaddressOfPrinterHere MyVeryInterestingFile.ps

 But I don't find rlpr in ports (4.2)

 Does any of you have a workaround to print ps w/o resorting to cups?

 Cheers,

 Pau



usb wifi adapter

2008-01-28 Thread Pau Amaro-Seoane
Hi,

I have looked for a while, but I could not find a concrete answer to
my problem. I would like to buy an usb wifi adapter which works with
OpenBSD. I know that OpenBSD is the free OS which most chipsets
supports in the world but... what about the usb thing? Does it require
blobs? Will it work ou of the box? What's your experience? If  you
can name me some cheap adapters, I would be very grateful!

thanks for your patience

Pau



Re: USB WLAN dongles

2008-01-25 Thread Pau Amaro-Seoane
Hi,

thanks to all for the answers. I am learning a lot... but the lacuna
was much bigger than I thought.

I have found this

http://www.wiretex.de/shop/product_info.php/info/p632_UBIQUITI-SRC-2-4GHz---5GHz-300mW-Sendeleistung.html

in ebay there's right now a good offer... The description of the link
is in German, but I think you can understand it easily.

The chip is ath0 too... does it mean it will work out of the box with OpenBSD?

Thanks,

Pau

2008/1/24, raven [EMAIL PROTECTED]:
 Pau Amaro-Seoane ha scritto:
  what do you mean? I have to increase the gain of the reception on my
  laptop. Or do you mean I can use the built-in antenna of a router to
  do that? If so, how? I do have an old wifi router
 
 
 If you have a fonera, you can use it like a repeater with an selfmade
 Twin Quad antenna, he have a 12 dbi gain.
 With this antenna i can going at 3.2 Km with  goods ionospherics
 conditions...
 I tell you my experiment, in a modified firmware, dd-wrt. You can set
 soo much parameters, like mW, dbi to be used... It's  a good firmware as
 far i know...

 hasta luego



USB WLAN dongles

2008-01-24 Thread Pau Amaro-Seoane
Hi,

I have a thinkpad T40 running OpenBSD and live in a small, nice city
close to Barcelona whose city hall offers free wifi Internet to
everybody.

Unfortunately they do not have a good coverage and where my building
is, I don't get any signal. The card is identified by OpenBSD as ath0.

I was thinking, as somebody in the thinkpad forum suggested, of an
USB WLAN dongle, but one of those with an external antenna that is
connected through a standard (typically: Reverse) SMA-connector. Next,
get a sufficiently long, low-loss cable and a parabolic antenna (some
24 dBi gain, e.g.), mount the antenna at a point having preferably
line-of-sight to the WLAN source (the public router/access point), and
disable the Atheros internal miniPCI interface (or, is this perhaps
even not necessary?). If your Linux will support the particular USB
WLAN dongle, then you're in business... otherwise, well, you're in
trouble!

A few images showing what type of USB WLAN dongles I am having in
mind are something like this no. 1

http://cgi.ebay.com/USB-11g-Wireless-2-4G-WiFi-WI-FI-LAN-External-Antenna_W0QQitemZ150208258653

or this no. 2

http://cgi.ebay.com/Alfa-50mW-USB-WiFi-24dBi-Grid-w-Mount-WLAN-10-ext_W0QQitemZ130190878170

or this no. 3.

http://cgi.ebay.com/802-11g-Wireless-LAN-WLAN-High-Gain-USB-Adapter-Antenna_W0QQitemZ180168479250

An example of an outdoor, high-gain parabolic WLAN antenna is shown here -

http://www.embeddedworks.net/antenna/f2400_Outdoor-Parabolic-Grid-Dish.html

there are TONS of such available, and at a variety of prices; Google
around a bit, and you will find much cheaper ones. 

Now, my question is... will this work with OpenBSD? Has any of you
tried this? I have googled for a while and found nothing...

thanks

Pau



Re: USB WLAN dongles

2008-01-24 Thread Pau Amaro-Seoane
what do you mean? I have to increase the gain of the reception on my
laptop. Or do you mean I can use the built-in antenna of a router to
do that? If so, how? I do have an old wifi router

2008/1/24, Dmitrij Czarkoff [EMAIL PROTECTED]:
 Wouldn't wi-fi router ve more effective here? Or is it too expensive
 to be a solution?

 --
 Dmitrij D. Czarkoff



Re: ibm thinkpad x60s + suspend mode

2008-01-19 Thread Pau Amaro-Seoane
It'll take a long time before suspend is supported under acpi. Try to
get an apm machine

Pau

2008/1/19, Benoit Chesneau [EMAIL PROTECTED]:
 I just bought an ibm thinkpad x50s

 x60s obviously :)
 OpenBSD 4.2-current (GENERIC.MP) #547: Fri Jan 18 15:22:48 MST 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 
 1.67 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
 real mem  = 1063677952 (1014MB)
 avail mem = 1020547072 (973MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 07/26/07, BIOS32 rev. 0 @ 0xfd690, 
 SMBIOS rev. 2.4 @ 0xe0010 (67 entries)
 bios0: vendor LENOVO version 7BETD1WW (2.12 ) date 07/26/2007
 bios0: LENOVO 17025PG
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT 
 SSDT SSDT
 acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) 
 EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(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 166 MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (GenuineIntel 686-class) 
 1.67 GHz
 cpu1: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
 ioapic0: duplicate apic id, remapped to apid 2
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (AGP_)
 acpiprt2 at acpi0: bus 2 (EXP0)
 acpiprt3 at acpi0: bus 3 (EXP1)
 acpiprt4 at acpi0: bus 4 (EXP2)
 acpiprt5 at acpi0: bus 12 (EXP3)
 acpiprt6 at acpi0: bus 21 (PCI1)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C2
 acpicpu1 at acpi0: C3, C2
 acpitz0 at acpi0: critical temperature 127 degC
 acpitz1 at acpi0: critical temperature 97 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 42T5247 serial   538 type LION oem SANYO
 acpibat1 at acpi0: BAT1 not present
 acpibat2 at acpi0: BAT2 not present
 acpiac0 at acpi0: AC unit online
 acpidock at acpi0 not configured
 bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000 0xd/0x1000 
 0xdc000/0x4000! 0xe/0x1!
 cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a1d06000a1d
 cpu0: using only highest and lowest power states
 cpu0: Enhanced SpeedStep 1667 MHz (1164 mV): speeds: 1667, 1000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
 agp0 at pchb0: aperture at 0xd000, size 0x1000
 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 
 int 17 (irq 11)
 azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using Analog 
 Devices/0x1981
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 20 
 (irq 11)
 pci1 at ppb0 bus 2
 em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: apic 2 int 
 16 (irq 11), address 00:16:d3:c0:22:c8
 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 21 
 (irq 11)
 pci2 at ppb1 bus 3
 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 2 
 int 17 (irq 11), MoW2, address 00:1c:bf:6e:c5:c8
 ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2 int 22 
 (irq 11)
 pci3 at ppb2 bus 4
 ppb3 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 2 int 23 
 (irq 11)
 pci4 at ppb3 bus 12
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 16 
 (irq 11)
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 17 
 (irq 11)
 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 
 (irq 11)
 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 19 
 (irq 11)
 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 19 
 (irq 11)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb4 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
 pci5 at ppb4 bus 21
 cbb0 at pci5 dev 0 function 0 Ricoh 5C476 CardBus rev 0xb4: apic 2 int 16 
 (irq 11)
 Ricoh 5C552 Firewire rev 0x09 at pci5 dev 0 function 1 not configured
 sdhc0 at pci5 dev 0 function 2 Ricoh 5C822 SD/MMC rev 0x18: apic 2 int 18 
 (irq 11)
 sdmmc0 at sdhc0
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
 pcmcia0 at cardslot0
 ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM 

Re: avoiding a mac address filter

2008-01-08 Thread Pau Amaro-Seoane
Poor Targus... go to an internet cafe and check there your emails

2008/1/8, Nick Guenther [EMAIL PROTECTED]:
 On 1/7/08, Andreas Maus [EMAIL PROTECTED] wrote:
  On Mon, Jan 07, 2008 at 12:19:26PM -0500, Dave Anderson wrote:
   On Mon, 7 Jan 2008, Pau Amaro-Seoane wrote:
  
   loosen up a bit, you're too tight up... I just want to check my
   emails, I don't want to download p0nr movies
  
   Theft of service is theft, regardless of how much or little service
   you're stealing.  If someone's gone to the trouble of filtering on MAC
   addresses, they've clearly indicated that they're not a public service
   -- and no amount of weasel-wording will get around that.
  ACK!
 
  Furthermore, depending on your origin this is considered a criminal
  act if you circumvent the MAC filter. E.g. here in germany you will
  pay for that crime or go to jail (for up to 5 years)
  doing this for a: sniffing the traffic to get a valid IP/MAC
  association b: breaking into the system which is protected
  (even a MAC filter is considered a protection).
 
  And NO A SYSTEM THAT USES MAC FILTERING IS NOT AN OPEN ACCESSPOINT!
 
  Oh and by the way it may be considered a crime trying to do or giving
  you tips how to do this (incitement).
 
 
  So don't expect any answer on this list.
 

 That's a lame law. Information should be free, trust the people to do
 what's right, c.
 Though I wouldn't help in this case, since it's obvious the OP does
 want to just steal wifi, and helping him do that without teaching him
 is a waste of everyone's time.

 -Nick



Re: avoiding a mac address filter

2008-01-07 Thread Pau Amaro-Seoane
loosen up a bit, you're too tight up... I just want to check my
emails, I don't want to download p0nr movies

2008/1/7, Josh Grosse [EMAIL PROTECTED]:
 On Mon, 7 Jan 2008 13:39:01 +0100, Targus Neoprene wrote
  Hi,
 
  in my flat I can see a lot of open connection points. They do not
  require a password and, in principle, I can log in every time... but
  they seem to be protected with a mac filter, because I cannot get an
  IP address via dhclient
 
  I have a naive question: Is there any way to avoid that? I mean: is
  there a way to surpass the mac filter and get an ip?

 Do I understand this correctly?  You are asking how to *defeat* someone else's
 SOHO NAT router, using its MAC filter as their only security?

 If so, I'm appalled by your lack of ethics.



Re: avoiding a mac address filter

2008-01-07 Thread Pau Amaro-Seoane
I mean that I'd also be interested to see any more elaborated answer
than a sermon on ethics... and after all, at my place of work they
also use the same system (!), so that it'd be interesting to know how
they can crack it... and avoid it

2008/1/7, Pau Amaro-Seoane [EMAIL PROTECTED]:
 loosen up a bit, you're too tight up... I just want to check my
 emails, I don't want to download p0nr movies

 2008/1/7, Josh Grosse [EMAIL PROTECTED]:
  On Mon, 7 Jan 2008 13:39:01 +0100, Targus Neoprene wrote
   Hi,
  
   in my flat I can see a lot of open connection points. They do not
   require a password and, in principle, I can log in every time... but
   they seem to be protected with a mac filter, because I cannot get an
   IP address via dhclient
  
   I have a naive question: Is there any way to avoid that? I mean: is
   there a way to surpass the mac filter and get an ip?
 
  Do I understand this correctly?  You are asking how to *defeat* someone 
  else's
  SOHO NAT router, using its MAC filter as their only security?
 
  If so, I'm appalled by your lack of ethics.



Re: fvwm in base and repository with security issues?

2007-12-30 Thread Pau Amaro-Seoane
please, don't touch fvwm 2.2.5... it's just perfect... not in vain
it's the default wm in obsd... Don't touch t!

2007/12/30, Douglas A. Tutty [EMAIL PROTECTED]:
 On Sun, Dec 30, 2007 at 07:36:47PM +0100, Jan wrote:

  I would suggest to remove all window managers from base except twm.
  Twm is in all default X installations and could be left in as last
  resort. When someone needs a window manager, he can install it from
  repo or ports, but it should not be as now, that a 'left over' which
  is much to old, full of bugs and unmaintained, can be used on the
  'most secure operating system ever'.

 If this is a true issue that applies to OBSD rather than a non-issue
 because of custom fixes applied by OBSD, the I would suggest that there
 be a more configurable wm other than twm in base.  The reason is
 simple.  Anything in base has a good security audit done.  Things in
 ports/packages don't.  Personally, I use icewm since its quite
 light-weight yet configurable to some extent (e.g. menu and taskbar).

 Doug.



Re: Problems with USB sticks on 4.2-current. (Panic)

2007-12-22 Thread Pau Amaro-Seoane
I am very frequently using usb sticks (as in many times a day) and I
have never had a problem, on different hardware, with different obsd:
4.0, 4.1, 4.2, -current

2007/12/22, Vijay Sankar [EMAIL PROTECTED]:
 On December 22, 2007 06:20:55 am Edd Barrett wrote:
  Hi there,
 
  I have been seeing some very odd behavior on 4.2-current recently.
 
  I use hotplug. My workstation at work frequently reboots upon insertion of
  a usb stick. This may be an electronic fault, but my main workstation at
  home (same hardware exactly), can panic like so:
 
  ---8---
  cd /mnt/hot/sd0
  mkdir mo
  uvm_fault(0xd07a2040, 0xf2e7b000, 0, 1) - e
  kernel: page fault trap, code=0
  Stopped at updatefats+0x3ctestl%eax,0(%esi,%edx,4)
  ddb
  ---8---
 
  Unfortunatley the ddb prompt does not respond to my USB keyboard. It seems
  to be repeatable, so I will dig around for a serial line or ps2 keyboard if
  I don't hear anything back before sunday (when I have time). Hopefully then
  I can get a backtrace.
 
  Dmesg follows (with USB stick inserted):
  ---8---
  OpenBSD 4.2-current (GENERIC) #592: Sun Dec  9 17:44:05 MST 2007
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
  cpu0:
  FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL
 USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR real mem  =
  2397855744 (2286MB)
  avail mem = 2310959104 (2203MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 04/05/04, BIOS32 rev. 0 @ 0xf0010,
  SMBIOS rev. 2.3 @ 0xfbe40 (76 entries)
  bios0: vendor Intel Corp. version BF86510A.86A.0058.P15.0404050012 date
  04/05/2004
  bios0: Intel Corporation D865GLC
  apm0 at bios0: Power Management spec V1.2
  apm0: AC on, battery charge unknown
  acpi at bios0 function 0x0 not configured
  pcibios0 at bios0: rev 2.1 @ 0xf/0x1
  pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3d00/224 (12 entries)
  pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev
  0x00) pcibios0: PCI bus #2 is the last bus
  bios0: ROM list: 0xc/0xa200! 0xca800/0x1000 0xcb800/0x1000
  cpu0 at mainbus0
  pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
  pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
  agp0 at pchb0: aperture at 0xf000, size 0x800
  vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  ppb0 at pci0 dev 3 function 0 Intel 82865G/PE/P CPU-CSA rev 0x02
  pci1 at ppb0 bus 1
  em0 at pci1 dev 1 function 0 Intel PRO/1000CT (82547EI) rev 0x00: irq 10,
  address 00:0c:f1:f5:13:3c
  uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: irq 11
  uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: irq 5
  uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: irq 10
  uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: irq 11
  ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: irq 9
  usb0 at ehci0: USB revision 2.0
  uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
  ppb1 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
  pci2 at ppb1 bus 2
  ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02: 24-bit
  timer at 3579545Hz
  pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA,
  channel 0 configured to compatibility, channel 1 configured to
  compatibility wd0 at pciide0 channel 0 drive 0: Maxtor 6E040L0
  wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors
  wd1 at pciide0 channel 0 drive 1: HDS728080PLAT20
  wd1: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
  wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
  wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
  wd2 at pciide0 channel 1 drive 0: IC35L060AVV207-0
  wd2: 16-sector PIO, LBA48, 58644MB, 120103200 sectors
  atapiscsi0 at pciide0 channel 1 drive 1
  scsibus0 at atapiscsi0: 2 targets
  cd0 at scsibus0 targ 0 lun 0: TOSHIBA, DVD-ROM SD-M1302, 1006 SCSI0
  5/cdrom removable
  wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
  cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
  pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA,
  channel 0 configured to native-PCI, channel 1 configured to native-PCI
  pciide1: using irq 10 for native-PCI interrupt
  ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: irq 3
  iic0 at ichiic0
  adt0 at iic0 addr 0x2e: emc6d100 rev 0x65
  spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
  spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
  spdmem2 at iic0 addr 0x52: 256MB DDR SDRAM non-parity PC2700CL2.5
  spdmem3 at iic0 addr 0x53: 1GB DDR SDRAM non-parity PC3200CL3.0
  usb1 at uhci0: USB revision 1.0
  uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
  usb2 at uhci1: USB revision 1.0
  uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 

setxkbmap kills X

2007-12-11 Thread Pau Amaro-Seoane
Hi,

as you can read in the subject, running e.g. setxkbmap us will kill X totally.

I don't see any core dumped or similar.

What can be the problem?

Here you are my dmesg (an zzz froze the laptop and I had to power it
off) and xorg.conf

But X crashed also when not using an xorg.conf (i.e., running it on the fly)

-

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1700MHz (GenuineIntel
686-class) 1.70 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 2146398208 (2046MB)
avail mem = 2067853312 (1972MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/20/05, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
bios0: vendor IBM version 1RETDIWW (3.14 ) date 01/20/2005
bios0: IBM 23739FU
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1700 MHz (1484 mV): speeds: 1700, 1400, 1200,
1000, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 Lf rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 TI PCI4520 CardBus rev 0x01: irq 11
cbb1 at pci2 dev 0 function 1 TI PCI4520 CardBus rev 0x01: irq 11
em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03:
irq 11, address 00:0d:60:89:7a:4d
ath0 at pci2 dev 2 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01: irq 11
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR1W, address 00:05:4e:42:ea:6b
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01:
24-bit timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: SAMSUNG HM121HC
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-4242N, 0201 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq
11, ICH4 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask effd netmask effd ttymask 
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
auich0: measured ac97 

Re: Machine will not recover from 'deep sleep' state [ IBM Thinkpad T41 ]

2007-12-02 Thread Pau Amaro-Seoane
A suspend/resume cycle kills all active network connections, but
 'sh /etc/netstart' restores things fine.

that's funny... in my case this is not needed... the connection is
there after resuming...

Is it possible that there's such a difference between the thinkpad T41
and T41p??

2007/12/2, Pau Amaro-Seoane [EMAIL PROTECTED]:
 There's no disk partition to hold suspend info, and removing power when
 in the suspend state kills the suspend (i.e. when power is restored I
 have to do a cold reboot with full fsck etc).  So, I conclude I must be
 doing suspend-to-RAM.

 yes, this is another issue... I DO have such a partition, I made it on
 purpose for that aim, I did exactly what you can read in

 http://www.openbsd.org/i386-laptop.html

 You can use this feature with OpenBSD. Generate the partition for
 hibernation using the /usr/ports/sysutils/tphdisk utility from the
 ports collection. The hibernation partition requires to be a MS-DOS
 partition at the beginning of the harddisk. This partition can be of
 type 16 bit FAT or FAT32 (as such it is possible that a Windows
 install lives in this partition).

 But I don't see any difference between apm -S, apm -z (zzz). There's
 always energy consumption.

 Here you are my DMESG in case of (as you can see, the hard drive
 crashed from last time I tried to suspend from X, now I am suspending
 from terminal... and also this time I have acpi enabled, but I don't
 see any difference)

 OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) M processor 1700MHz (GenuineIntel
 686-class) 1.70 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
 real mem  = 2146398208 (2046MB)
 avail mem = 2067853312 (1972MB)
 User Kernel Config
 UKC enable acpi
 396 acpi0 enabled
 UKC quit
 Continuing...
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 01/20/05, BIOS32 rev. 0 @
 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
 bios0: vendor IBM version 1RETDIWW (3.14 ) date 01/20/2005
 bios0: IBM 23739FU
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 100%
 apm0: AC on, battery charge high
 apm0: flags 30102 dobusy 0 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #6 is the last bus
 bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
 0xdc000/0x4000! 0xe/0x1
 cpu0 at mainbus0
 cpu0: Enhanced SpeedStep 1700 MHz (1484 mV): speeds: 1700, 1400, 1200,
 1000, 800, 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
 ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 Lf rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
 pci2 at ppb1 bus 2
 cbb0 at pci2 dev 0 function 0 TI PCI4520 CardBus rev 0x01: irq 11
 cbb1 at pci2 dev 0 function 1 TI PCI4520 CardBus rev 0x01: irq 11
 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03:
 irq 11, address 00:0d:60:89:7a:4d
 ath0 at pci2 dev 2 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01: irq 11
 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR1W, address 
 00:05:4e:42:ea:6b
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
 pcmcia0 at cardslot0
 cardslot1 at cbb1 slot 1 flags 0
 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
 pcmcia1 at cardslot1
 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01:
 24-bit timer at 3579545Hz
 pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA,
 channel 0 configured to compatibility, channel 1 configured to
 compatibility
 wd0 at pciide0 channel 0 drive 0: SAMSUNG HM121HC
 wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-4242N, 0201 SCSI0
 5/cdrom removable
 cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11
 iic0 at ichiic0
 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq
 11, ICH4 AC97
 ac97: codec id 0x41445374 (Analog

Re: Skype on the OpenBSD

2007-12-02 Thread Pau Amaro-Seoane
I did this as an exercise some time ago... when I was learning how obsd works:

www.aei.mpg.de/~pau/skype.png

Now that I know that there is pjsua in ports waiting for us (it's only
-current), which seems to be compatible for windows and MacOSX and
linux, I'm looking forward to it! (I'm the only one using obsd among
my friends and relatives, but still I want to be able to talk to
them!)

And I'd never be using skype...  Putting it into words of Olivier Meyer:

--
Skype is completely closed source, and the developers have admitted that the
only reason it is not open source, is because the security is too weak. See
http://www.theregister.co.uk/2004/06/15/voip_and_skype/page3.html
and look at the bottom:
Would he[Niklas Zennstrom, co-founder of Skype] make Skype open-source?
No - that would make its strong 1024 bit encryption and security vulnerable:
We could do it but only if we re-engineered the way it works and we don't
have the time right now.
This is merely security by obscurity. According to a security analysis
presented at BlackHat, the code is protected with many layers of obfuscation
and encryption, intended to prevent reversing.
Here is relevant sections of the EULA(http://www.skype.com/company/legal/eula/):

4.1 *Utilization of Your computer.* You hereby acknowledge that the Skype
Software may utilize the processor and bandwidth of the computer (or other
applicable device) You are utilizing, for the limited purpose of
facilitating the communication between Skype Software users.

So, basically, you accept the fact that Skype will use any and all resources
to facilitate communication. How does anyone know that there is not a
backdoor that can bes used to access any machine running Skype.
--


2007/12/2, Predrag Punosevac [EMAIL PROTECTED]:
 Jacob Meuser wrote:
  VoIP applications generally require full-duplex audio operation (or
  two soundcards, but that gets icky as far as configuration goes).
  you'll have much more luck with full-duplex audio in -current
  (or when 4.3 is released).
 
  also see ports/telephony/pjsua in -current.
 
 
 I apologize to everyone for my first message as it seems stirred high
 unintended emotions. I was  merely interested in the technical
 possibility to run
 the Skype on the OpenBSD box. As of this moment I do not have even a
 Linux emulator turned on as I have strong preference for BSD license and
 keeping thing as simple as possible.

 According to above message I could expect technical problems with the
 full-duplex mode on 4.2. I was not aware of it.
 I am familiar with the SIP technology and have strong preference to SIP
 phones over Skype. As of now it seems that there are no
 SIP phones either listed in packages and even ports for 4.2.

 Another reason for being interested in the Skype is purely pragmatical.
 It seems that SIP phones and in particularly Ekiga that I am the most
 familiar with have poor support for Windows and OS X. As most of people
 that I talk to (family and friends) run those operating systems it seems
 to me logical that I try to accommodate them instead of asking all of
 them to change the operating system.


 Speaking of my privacy I have no illusions either. I live in U. S. and I
 do know that all my phone conversations and email correspondence
 are monitored by various government agencies  so I do not expect that
 Skype would be any exception to this disturbing trend.


 One more time my sincere apology to everyone.

 Best,
 Predrag



Re: Skype on the OpenBSD

2007-12-02 Thread Pau Amaro-Seoane
Do not pretend that you have no choice.

quite

This is indeed the point. It's hard, it hurts, but it's the point.
After one year of migration, I am now using exclusively obsd on this
laptop, without any kind of blob, and all hardware is supported.

I have learnt to be patient. If you support your football team, you
have to support it also when it loses a match, and obsd is playing a
difficult game against a team of a billion vendors with weapons of
massive destruction. I support them.

I come from the linux side and obsd has given me things I had only
heard about like; e.g. when you don't know what programme
tretetrertwe does, type man tretetrertwe Wrong. When I switched to
obsd I could not believe that a man could be THAT useful. In linux I
was googling for answers.
Also: Releases. I do SEE the new work in obsd releases. I almost did
not see anything in the linux world, artwork, probably, full stop.
Sometimes also things that worked before stopped working.

Note that I do not want to make out of this (yet) another linux-obsd
war. I mention linux because it _was_ my OS before. Full stop here,
please.

The bottom line: you have the choice

2007/12/2, ropers [EMAIL PROTECTED]:
 [quotes rearranged (but not changed) for easier parsing]

 On 02/12/2007, Jonathan Schleifer [EMAIL PROTECTED] wrote:
  I neither use Skype, nor do I promote it.
  (...)
  Again: I never said it's ok to run it.
  (...)
  I've recommended not running it outside of a chroot.
  (...)
  I care about security and recommended to run Skype *ONLY* in
  chroot or vm.

 ...which is still running it, and implying that it's ok to do so, as
 long as it's inside a chroot.

  I have a lot of friends who use ICQ
  and Skype, I'm forced to use it as well as many of them are unwilling
  to switch to something else.

 So you DO use Skype, after all. You said above that you didn't. Which is it?

  I'm against BLOBs, but still I use the proprietary NVidia drivers on Linux 
  since I
  need 3D support.
 (...)
  Yes, sometimes I have to use windows.

 You do not need and do not have to. You always have a choice. Even if
 it gets to be our only weapon is our refusal. I'm not telling you
 what choice to make. I know that it's hard to unconditionally and
 uncompromisingly stand up for one's principles. I'm not better than
 you in that regard. But it is a *choice*. A choice and a trade-off,
 because you decided that NVidia 3D graphics and whatever Windows does
 for you is more important than staying blob-free. Do not pretend that
 you have no choice. Your decisions are your choice and **your
 responsibility**, and **your** choice is NOT the responsibility of
 your fellow Skype or Windows or NVidia users.

  You have to balance between ideology and use.

 You're on the wrong email list with that view. This point has been
 argued repeatedly here -- and again, and again, and again, ad
 infinitum et ad nauseam. The bottom line is that most OpenBSD users
 are not fond of such compromises. Yes, some of us still sometimes make
 them **cough** I got a free NVIDIA card, and wanted to run Google
 Earth on Linux and... **cough**, but most folks here are VERY ashamed
 when making such compromises, and recognize them as inherent wrongs,
 and would never be so foolish as to try to defend these dirty little
 secrets. And I think most OpenBSD users would not say that they have
 to, they would admit that they chose to, maybe against their better
 judgment.

  Daniel Ouellet [EMAIL PROTECTED] wrote:
   you kind of promote to
   use buggy software (...) by the fact that it is widely
   use and as such you can't run something else?

 This seems to me to be a perfectly reasonable summary of your position.

 --ropers



Re: Machine will not recover from 'deep sleep' state [ IBM Thinkpad T41 ]

2007-12-01 Thread Pau Amaro-Seoane
There's an ugly way to do it:

suspend from terminal (say ctrl+alt+f2 and zzz), and when you wake it
up go back to X with ctrl+alt+f5. This is how I am doing it now and
it's working perfectly. It also goes into sleeping mode much faster
from the terminal...

Cheers,

Pau

2007/12/1, Mark Thomas [EMAIL PROTECTED]:
 On Nov 30, 2007 11:50 AM, Pau Amaro-Seoane [EMAIL PROTECTED] wrote:
  Hi,
 
  I am having the same issue. Have you succeed at waking up the video?
 
  Pau

 No I never got it working. I went back to 4.1.

 --
 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments



Re: Machine will not recover from 'deep sleep' state [ IBM Thinkpad T41 ]

2007-12-01 Thread Pau Amaro-Seoane
the suspend via terminal technique comes back always... I had four
crashes when suspending from X and don't want to play further with
fire, even if I added sync to the most important partitions, with the
lost of performance, I don't like having to brutally stop my hard
drive

let's wait for 4.3, until then, suspend from terminal (no X)

Anybody out there running -current on a thinkpad T41 who can report on
suspending/resuming?



2007/12/1, Ted Unangst [EMAIL PROTECTED]:
 On 11/6/07, Mark Thomas [EMAIL PROTECTED] wrote:
  If I close the lid on this laptop ( Thinkpad T41 ) the machine goes
  into a deep sleep but will not recover with OpenBSD 4.2. With 4.1 this
  worked flawlessly. xorg is not running during these tests.

 it will often come back if you cycle through another suspend/resume with 
 fn-f4.



Re: Machine will not recover from 'deep sleep' state [ IBM Thinkpad T41 ]

2007-12-01 Thread Pau Amaro-Seoane
There's no disk partition to hold suspend info, and removing power when
in the suspend state kills the suspend (i.e. when power is restored I
have to do a cold reboot with full fsck etc).  So, I conclude I must be
doing suspend-to-RAM.

yes, this is another issue... I DO have such a partition, I made it on
purpose for that aim, I did exactly what you can read in

http://www.openbsd.org/i386-laptop.html

You can use this feature with OpenBSD. Generate the partition for
hibernation using the /usr/ports/sysutils/tphdisk utility from the
ports collection. The hibernation partition requires to be a MS-DOS
partition at the beginning of the harddisk. This partition can be of
type 16 bit FAT or FAT32 (as such it is possible that a Windows
install lives in this partition).

But I don't see any difference between apm -S, apm -z (zzz). There's
always energy consumption.

Here you are my DMESG in case of (as you can see, the hard drive
crashed from last time I tried to suspend from X, now I am suspending
from terminal... and also this time I have acpi enabled, but I don't
see any difference)

OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1700MHz (GenuineIntel
686-class) 1.70 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 2146398208 (2046MB)
avail mem = 2067853312 (1972MB)
User Kernel Config
UKC enable acpi
396 acpi0 enabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/20/05, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
bios0: vendor IBM version 1RETDIWW (3.14 ) date 01/20/2005
bios0: IBM 23739FU
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1700 MHz (1484 mV): speeds: 1700, 1400, 1200,
1000, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82855PE Hub rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82855PE AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 Lf rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci2 at ppb1 bus 2
cbb0 at pci2 dev 0 function 0 TI PCI4520 CardBus rev 0x01: irq 11
cbb1 at pci2 dev 0 function 1 TI PCI4520 CardBus rev 0x01: irq 11
em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03:
irq 11, address 00:0d:60:89:7a:4d
ath0 at pci2 dev 2 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01: irq 11
ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR1W, address 00:05:4e:42:ea:6b
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01:
24-bit timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: SAMSUNG HM121HC
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, RW/DVD GCC-4242N, 0201 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq
11, ICH4 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, 

Re: Machine will not recover from 'deep sleep' state [ IBM Thinkpad T41 ]

2007-11-30 Thread Pau Amaro-Seoane
Hi,

I am having the same issue. Have you succeed at waking up the video?

Pau

2007/11/7, Mark Thomas [EMAIL PROTECTED]:
 On Nov 6, 2007 5:34 AM, Mark Thomas [EMAIL PROTECTED] wrote:
  If I close the lid on this laptop ( Thinkpad T41 ) the machine goes
  into a deep sleep but will not recover with OpenBSD 4.2. With 4.1 this
  worked flawlessly. xorg is not running during these tests.

 Well apparently it's just video related. The machine still responds to
 typed commands I just cannot see what I'm typing. :)

 --
 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments



Re: wifiprobe script

2007-11-26 Thread Pau Amaro-Seoane
Hi,

sorry for the spam. This is an update to the wifiprobe script. For
some reason the ath0 scan output differs from the ipw0, iwi0, iwn0
etc... ath0 gives the signal strength in % (of what?), whilst iwi0,
ipw0, iwn0 specifies the units (dB)

In any case, this is the update to the script:

www.aei.mpg.de/~pau/OpenBSD_wifiprobe.sh

I hope you find it useful

Pau


2007/11/7, Pau Amaro-Seoane [EMAIL PROTECTED]:
 Hi,

 I use very frequently the wireless to connect to different nets and I
 have a script for personal use which probably (??) could be useful for
 some of you. At least some of the misc people I know asked me to post
 this here.

 I also have seen/read a lot of critics to obsd for not having a couple
 of tools for doing such things. I hope this helps obsd a bit (???).

 In any case, I hope I don't overwhelm your inbox with unwished spam. I
 am sure that a lot of you have already done something similar...

 This script is thought to help you find the different available
 connections (named beams for historical reasons) where you happen to
 be when you execute it. It will display them in the following order:

 1- Public connections (i.e. without wep key)
 2- Secured connections (i.e. with wep)

 They are also shown in order according to the strength of the signal
 and then you're prompted to choose the number of the beam you wish to
 connect to. Of course, if a wep password is required, you will be
 asked for it. Afterwards it'll connect to it.

 Please note that you will have to modify the script to

 a- select your IFACE (in my case iwi0)
 b- select your LANG (in my case catala, but english is also available)

 ah, so... author? Let's say... an anonymous donor to the public domain ;)

 A big thank you to everybody and in this occasion especially to Damien
 for his great work.

 Cheers,

 Pau



Re: Any OpenBSD users in Berlin?

2007-11-24 Thread Pau Amaro-Seoane
http://marc.info/?l=openbsd-miscw=2r=1s=berlinq=b

I am (very) unfortunately leaving Berlin in 20 days, though...
probably one of the worst tragedies of my life

2007/11/23, Siju George [EMAIL PROTECTED]:
 Hi,

 If there are any OpenBSD users in Berlin could you please contact me
 off list please?

 Thank you so much :-)

 Kind Regards

 Siju



apm -S against apm -z?

2007-11-11 Thread Pau Amaro-Seoane
Hi,

I have created a fat partition to use tphdisk etc etc... and I don't
really know what the difference is between apm -S and apm -z. The man
page says it is

-S  Put the system into stand-by (light sleep) state.

-z  Put the system into suspend (deep sleep) state.

I was expecting that deep sleep means you can remove the battery and
plug off the laptop, never mind, when you plug it again and press the
power bottom, it will wake up and still be there. But not.
Can you explain me the subtle differences between -S and -z? The only
thing I can tell is that with -z the moon light of my thinkpad is
off and with -S it is on.

And I really don't know whether apm -z is what tphdisk enables, or
is there any other third possibility? There's no manual entry for
tphdisk.

Pau



Re: Powered by obsd stickers and other stuff

2007-11-10 Thread Pau Amaro-Seoane
what about painted puffy?

it's been there for a while...

http://www.kde-look.org/content/show.php/Powered+by+OpenBSD?content=61218


2007/11/10, Jona Joachim [EMAIL PROTECTED]:
 On Sat, 10 Nov 2007 01:18:42 +0100, Iqigo Tejedor Arrondo wrote:

  Hello all
 
   Some art, at slw spanish foul asymetric connection. The sources are
  xcf, at 1600x1200.
 
   Clarify that I am not a designer :)
 
   I have make the typical Powered by stickers:
  http://inigo.homeunix.net/files/art/powered_by_puffy_black.png
  http://inigo.homeunix.net/files/art/powered_by_puffy_grey.png
 
   I hope that those stickers replace the vista compatible of the
  developers laptops :)
 
   There are some backgrounds:
 
   A blue rounded gradient with puffy:
  http://inigo.homeunix.net/files/art/background_blue_puff_1024x768.png
  http://inigo.homeunix.net/files/art/background_blue_puffy_text_1024x768.png

 At first I thought you just copied that one:
 http://www.openbsd-france.org/reposit/wallpapers/openbsd_yellow.png
 and I wanted to accuse you of plagiarism but then I noticed there are some
 differences between the two pictures :)

 The pictures are quite nice. I especially like the old picture filter
 one. The half wire / half red beastie looks kinda strange :)


 Best regards,
 Jona

 --
 I am chaos. I am the substance from which your artists and scientists
 build rhythms. I am the spirit with which your children and clowns
 laugh in happy anarchy. I am chaos. I am alive, and tell you that you
 are free. Eris, Goddess Of Chaos, Discord  Confusion



Re: Thinkpad t61 OpenBSD support?

2007-11-07 Thread Pau Amaro-Seoane
is it a T61 or something else, like T61s? it can be a difference in
terms of supported hardware; you'll have to decide between -current or
4.2

At least it is the case of x61 and x61s:

http://kerneltrap.org/mailarchive/openbsd-misc/2007/9/11/211298


2007/11/7, Girish Venkatachalam [EMAIL PROTECTED]:
 On 23:10:35 Nov 06, Predrag Punosevac wrote:
  You should not pay more than $1000 including taxes and shipping for
  ThinkPAD T61. The prices vary a lot from web-site to web-site, from
  store to store and from one week to another.

 Hmmm...

  Actually have you heard of Black Friday?

 No.

  This is the first day of Christmas sales (right after the Thanks Giving
  Holiday) when you can get killer deals if you know what are you doing.
  This year Black Friday is  23 of  November (I think).

 Great. :)

 23 Nov is just round the corner. Perfect timing.

  The best web-site for computer parts in states is www.newegg.com but
  they also sell laptops and complete PCs.
  Geeks.com often have killer deals on older stuff.

 I shall ask him to order from newegg then. I have used that site before.

 Thanks for your reply.

 Much appreciated.

 Best,
 Girish



Re: wifiprobe script

2007-11-07 Thread Pau Amaro-Seoane
PS: No offense, please

I also have seen/read a lot of critics to obsd for not having a couple
of tools for doing such things. I hope this helps obsd a bit

ahem... the tools are ALREADY there, of course, and they're fantastic
(ifconfig, dhclient, and all iwi, iwn, ipw Damien wrote!)

what I of course mean is something like a wrapper... for all those
tools, since I personally sometimes have problems remembering the
different options and I'm in a hurry or just a stupid lazybones to do
man bla



wifiprobe script

2007-11-07 Thread Pau Amaro-Seoane
Hi,

I use very frequently the wireless to connect to different nets and I
have a script for personal use which probably (??) could be useful for
some of you. At least some of the misc people I know asked me to post
this here.

I also have seen/read a lot of critics to obsd for not having a couple
of tools for doing such things. I hope this helps obsd a bit (???).

In any case, I hope I don't overwhelm your inbox with unwished spam. I
am sure that a lot of you have already done something similar...

This script is thought to help you find the different available
connections (named beams for historical reasons) where you happen to
be when you execute it. It will display them in the following order:

1- Public connections (i.e. without wep key)
2- Secured connections (i.e. with wep)

They are also shown in order according to the strength of the signal
and then you're prompted to choose the number of the beam you wish to
connect to. Of course, if a wep password is required, you will be
asked for it. Afterwards it'll connect to it.

Please note that you will have to modify the script to

a- select your IFACE (in my case iwi0)
b- select your LANG (in my case catala, but english is also available)

ah, so... author? Let's say... an anonymous donor to the public domain ;)

A big thank you to everybody and in this occasion especially to Damien
for his great work.

Cheers,

Pau



#!/bin/sh
#
#
# wifiprobe ver 0.1
#
# Copyright (c) 2007 anonymous donor to the public domain
#
# BSD license and disclaimers apply.
#
# Do not change to zsh;  it will break. There are subtle differences.
#
# This script should be installed with execute permissions, and
# be invoked by name.
#
# Developed under and for OpenBSD 4.1  9/2007
#
#-
#
#  helper functions
#
#-

function parseit
{
   local therest

   shift 1
   beamname=$1
   shift 1
   therest=$*
   IFS= 
   set $therest
   shift 4
   sigstrength=$1
   shift 1
}


function readprobe
{
#
# this was not as easy to write as it looks
#
   local Foo

   while read Foo
   do
  IFS= 
  if  echo $Foo | grep -q \  ; then
 IFS=\
  fi
  parseit $Foo
  beam[nbeam]=${beamname}
  strength[nbeam]=${sigstrength%dB}
#  printf %4d\t%-32s\t%s\t%s\n $nbeam ${beam[$nbeam]}
$sigstrength ${strength[nbeam]}
  nbeam=$(($nbeam+1))
   done
}

function sortandprint
{
   typeset tempnm
   typeset tempst
   typeset -i i
   typeset -i j
   typeset -i inc
   typeset -i n
   typeset -i s

   s=$1
   n=$2
# s is offset in arrays where sort starts
# n is number of items to sort
# In other words, sort elements $s to $s + $n
#
# Implement a Shell sort.  In ksh.  Painful.  All the write-only jive-notation
# of perl, none of the functionality.
#

   if [ $n -eq 0 ]; then
  echo $MSG9
  return
   fi

   inc=$(($n/2))
   while [ $inc -gt 0 ]
   do
  i=$inc
  while [ $i -lt $n ]
  do
 j=$i
 tempst=${strength[$(($i+$s))]}
 tempnm=${beam[$(($i+$s))]}
#
# to change the sense of the sort, change the second test.
# use -lt for biggest first, -gt for smallest first.
#
 while [[ $j -ge $inc   ${strength[$(($j+$s-$inc))]} -lt $tempst ]]
 do
strength[$(($j+$s))]=${strength[$(($j+$s-$inc))]}
beam[$(($j+$s))]=${beam[$(($j+$s-$inc))]}
j=$(($j-$inc))
 done
 strength[$(($j+$s))]=$tempst
 beam[$(($j+$s))]=$tempnm
 i=$(($i+1))
  done

  if [ $inc -eq 2 ]; then
 inc=1
  else
 inc=$(($inc/2))
  fi
   done

   i=$s
   while [ $i -lt $(($n+$s)) ]
   do
  printf %4d   %-32s\t%3d dB\n $(($i+1)) ${beam[$i]} ${strength[$i]}
  i=$(($i+1))
   done
}


cleanup ()
{
   if [ -t 0 -a -t 1 ]; then
  stty sane
   fi
   rm -f ${TMPPROBE}
   exit
}

#-
#
# main part of the script
#
#-

LANG=catala
progname=`basename $0`

if [ X$LANG = Xenglish ]; then

   MSG1=$progname:  Wireless access selection for device:
   MSG2=Available public beams
   MSG3=Available secured beams
   MSG4=$progname: no wireless beams found
   MSG5=choice out of range
   MSG6=try again
   MSG7=public access beam selected
   MSG8=$progname: not interactive and no public beams
   MSG9=none probed
   MSG10=usage: $progname [interface_name]
   CHOOSEPROMPT=Select beam 
   PASSPROMPT=Password for

elif [ X$LANG = Xcatala ] ; then

   MSG1=$progname: Dispositu de xarxa sense fil:
   MSG2=Xarxes obertes disponibles
   MSG3=Xarxes tancades detectades
   MSG4=$progname: No hi ha cap xarxa disponible
   MSG5=La xarxa que has triat no es troba en la llista
   MSG6=mira de fer-ho una altra vegada...
   MSG7=Has triat una xarxa oberta
   

Re: how to support Intel 965?

2007-11-03 Thread Pau Amaro-Seoane
su
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.original
startx

does it work?

2007/11/3, 23号 [EMAIL PROTECTED]:
 Hi,
 my notebook's dmesg:
 OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (GenuineIntel 686-class)
 1.50 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,EST,TM2,CX16,xTPR
 real mem  = 1064574976 (1015MB)
 avail mem = 1021739008 (974MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/25/07, BIOS32 rev. 0 @ 0xf0010,
 SMBIOS rev. 2.4 @ 0xf06a0 (34 entries)
 bios0: vendor American Megatrends Inc. version 0042date 06/25/2007
 bios0: ASUSTeK Computer INC. Z62E
 pcibios0 at bios0: rev 3.0 @ 0xf/0x1
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7fd0/208 (11 entries)
 pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2815
 pcibios0: Warning, unable to fix up PCI interrupt routing
 pcibios0: PCI bus #4 is the last bus
 bios0: ROM list: 0xc/0xee00!
 acpi at mainbus0 not configured
 cpu0 at mainbus0
 cpu0: unknown Enhanced SpeedStep CPU, msr 0x0613092806000928
 cpu0: using only highest and lowest power states
 cpu0: Enhanced SpeedStep 1500 MHz (1340 mV): speeds: 1500, 1000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82965GM MCH rev 0x03
 vga1 at pci0 dev 2 function 0 Intel 82965GM Video rev 0x03: aperture at
 0xd000, size 0x800
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 Intel 82965GM Video rev 0x03 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: irq 10
 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: irq 7
 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: irq 11
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: irq 3
 azalia0: host: High Definition Audio rev. 1.0
 azalia0: codec: Realtek ALC883 (rev. 0.2), HDA version 1.0
 azalia0: codec: 0x1543/0x3155 (rev. 7.0), HDA version 1.0
 azalia0: codec[1]: No support for modem function groups
 azalia0: codec[1]: No audio function groups
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03
 pci1 at ppb0 bus 3
 ppb1 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03
 pci2 at ppb1 bus 1
 uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: irq 15
 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: irq 5
 uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: irq 11
 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: irq 15
 ehci1: timed out waiting for BIOS
 usb1 at ehci1: USB revision 2.0
 uhub1 at usb1: Intel EHCI root hub, rev 2.00/1.00, addr 1
 ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3
 pci3 at ppb2 bus 4
 Ricoh 5C832 Firewire rev 0x05 at pci3 dev 1 function 0 not configured
 sdhc0 at pci3 dev 1 function 1 Ricoh 5C822 SD/MMC rev 0x22: irq 7
 sdmmc0 at sdhc0
 Ricoh 5C843 rev 0x12 at pci3 dev 1 function 2 not configured
 Ricoh 5C592 Memory Stick rev 0x12 at pci3 dev 1 function 3 not configured
 Ricoh 5C852 xD rev 0x12 at pci3 dev 1 function 4 not configured
 re0 at pci3 dev 7 function 0 Realtek 8169SC rev 0x10: RTL8169/8110SCd
 (0x1800), irq 11, address 00:1b:fc:b6:71:55
 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
 ichpcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x03: PM
 disabled
 pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA,
 channel 0 configured to compatibility, channel 1 configured to compatibility
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: QSI, DVD+-RW SDW-082S, LX06 SCSI0 5/cdrom
 removable
 cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 pciide0: channel 1 ignored (disabled)
 ahci0 at pci0 dev 31 function 2 Intel 82801HBM SATA rev 0x03: irq 11, AHCI
 1.1
 scsibus1 at ahci0: 32 targets
 sd0 at scsibus1 targ 0 lun 0: ATA, SAMSUNG HM120JI, YF10 SCSI2 0/direct
 fixed
 sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec
 total
 ichiic0 at pci0 dev 31 function 3 Intel 82801H SMBus rev 0x03: irq 5
 iic0 at ichiic0
 usb2 at uhci0: USB revision 1.0
 uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
 usb3 at uhci1: USB revision 1.0
 uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
 usb4 at uhci2: USB revision 1.0
 uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1
 usb5 at uhci3: USB revision 1.0
 uhub5 at usb5: Intel UHCI root hub, rev 1.00/1.00, addr 1
 usb6 at uhci4: USB revision 1.0
 uhub6 at usb6: Intel UHCI root hub, rev 1.00/1.00, addr 1
 isa0 at ichpcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 

Re: apm -S freezes the laptop

2007-11-02 Thread Pau Amaro-Seoane
Conclusions:

I thought it could be the ati driver

First I tried to change it with the vesa one and it suspended very
quickly; only X was not displayed correctly. So that I thought I could
give X a chance to run on the fly (without xorg.conf) and

1- the laptop is suspending/ resuming the old thinkpad way (i.e. in
a fraction of a second)
2- X is looking just as good as when using xorg.conf + vesa driver
3- But there is still a random power-off

After some minutes the laptop decides to power-off; as fast as if it
had been plugged without battery and you pulled out the power cable.

sigh...

Pau



Re: apm -S freezes the laptop

2007-11-02 Thread Pau Amaro-Seoane
merda!

in the middle of writing an email the laptop powered off!

exactly the same behaviour I had when typing zzz or apm -S

??

I had to boot and, of course, the filesystem didn't like it at all...

I'm going to try to update the bios, but I am not very positive...


2007/11/2, Pau Amaro-Seoane [EMAIL PROTECTED]:
 It IS suspending

 I was too impatient! it takes some seconds, whilst in the thinkpads is a
 fraction of second, but it is suspending

 N I C E

 But it only suspends when I press fn + moon (which is F1)

 anyway... good news, it seems

 Pau



Re: apm -S freezes the laptop

2007-11-02 Thread Pau Amaro-Seoane
It IS suspending

I was too impatient! it takes some seconds, whilst in the thinkpads is a
fraction of second, but it is suspending

N I C E

But it only suspends when I press fn + moon (which is F1)

anyway... good news, it seems

Pau



apm -S freezes the laptop

2007-11-01 Thread Pau Amaro-Seoane
Hi,

this is a fujitsu siemens amilo 1425M; dmesg can be read here

www.aei.mpg.de/~pau/dmesg_FJS_Amilo1425.txt (OpenBSD 4.2, installed
today from CD)

ok... I changed apmd flags to apmd_flags= because I noticed that
when I close the lid, the suspend light blinks and the screen gets
black and so remains it until I press again the power bottom. I hoped
that, maybe, the laptop could suspend via apm.

But the result is different. Closing the lid yields the same result,
but if I type apm -S or zzz, the laptop will die in a millifraction
of second. I press enter and almost immediately PUF! the whole laptop
is powered off; I mean _everything_ Not even the light charging
(plugged) is on (even if it's plugged, of course)

Is there any hope that this laptop suspends? I'm just asking
because... sigh... suspending under OpenBSD is my dream...

cheers,

Pau



Re: apm -S freezes the laptop

2007-11-01 Thread Pau Amaro-Seoane
hehe...

yes... this is indeed the reason that makes me think about thinkpads
(up to T43p; from that model onwards, bye-bye, suspend)

I have the feeling that only thinkpads suspend under openbsd... of
course, some other models in the laptop page say the contrary... btw,
how old is that page? I submitted some entries some months ago and
don't see anything...

  worrying about.  It's likely not going to work.

 Sssh, don't tell my X40.



Re: First install: Grub doesn't find partitions

2007-10-29 Thread Pau Amaro-Seoane
Hi,

I don't quite understand what you're doing? Are you looking for a
dual-boot with linux via grub?

If so, have a look at

www.aei.mpg.de/~pau/zen_process_obsd.html

Read it in detail.

If not, just forget this mail.

Cheers,

Pau

2007/10/29, Bertram Scharpf [EMAIL PROTECTED]:
 Hi again,

 Am Montag, 29. Okt 2007, 02:38:08 +0100 schrieb Bertram Scharpf:
  I just installed OpenBSD on a i386 from cd41.iso as
  described in the FAQ, chapter 4.
 
  When I restart the system from the CD all OpenBSD partitions
  show up properly and I can chroot into /mnt after I mounted
  them.
 
  However, Grub refuses to recognize any of the OpenBSD
  partitions. A Linux resides on the same disk that cannot
  mount any of these partitions either.
 
  Here is a `sfdisk' (Linux) output:
 
/dev/hdb1 : start=1, size=32255, Id=83
/dev/hdb2 : start=32256, size=  2096640, Id=82
/dev/hdb3 : start=  2128896, size=117974304, Id= 5
/dev/hdb4 : start=0, size=0, Id= 0
/dev/hdb5 : start=  2128897, size=  4194287, Id=83
/dev/hdb6 : start=  6323185, size= 37748591, Id=a6, bootable
/dev/hdb7 : start= 44071777, size= 76031423, Id=8e
 
  And here is what I entered into `disklabel':
 
start   size mountpoint
wd1a   6323185 524159/
wd1b   6847344 524160(swap)
wd1d   7371504 524160/tmp
wd1e   7895664   12582864/usr
wd1f  204785288388576/home

 First of all thanks to the off-list responders. I already
 considered the chainloader option but as I installed no
 bootloader this probably would not work.

 I examined the Grub source code to find out where it looks
 for BSD partitions. I found there is a sector containing the
 BSD magic label and appropriate partitioning info. It's
 sector 1, the second one on the disk == the first in slice
 /dev/hdb1 or (hd1,0), respectively.

 Arrgh!

 Sectors 6323185 and 6323186 are still untouched. I tried to
 use the 'b' command in 'disklabel -E ..' but nothing went
 better. I dd'ed sector 1 to 6323186 and voila - there they
 are. Could this be the correct way that I first have to
 damage another partition and then manually have to move a
 sector?

 When booting this system I run into the next problem:

   panic: /boot too old: upgrade!

 Therefore I would like to try to install a bootloader and
 chainload it. But with a 'disklabel' that overwrites
 existing partitions?

 Do I have to get used to struggle with such fundamental
 problems when I proceed with OpenBSD?

 Thank for reading so far,

 Bertram


 --
 Bertram Scharpf
 Stuttgart, Deutschland/Germany
 http://www.bertram-scharpf.de



Re: First install: Grub doesn't find partitions

2007-10-29 Thread Pau Amaro-Seoane
I am writing this from a dual-boot system with linux only and I never
had your problem.

2007/10/29, michael hamerski [EMAIL PROTECTED]:
 is it a recent grub? if you're reading grub source I will assume you
 know more about it than I do, but am writing this on a box which boots
 debian/openbsd/xp without problems, from grub installed circa 6 months
 ago. I certainly did not dd any sectors around. I can send you my grub
 conf when I reboot next.

 mike



Re: First install: Grub doesn't find partitions

2007-10-29 Thread Pau Amaro-Seoane
indeed...

you seem not to have read the site I pointed to previously.

Don't say you have read it if you didn't. The information is there.

Do what Andrew says and tag it as A6; i.e. openbsd from the linux fdisk

This is *also* written in the web page

2007/10/29, Andrew Daugherity [EMAIL PROTECTED]:
 On 10/28/07, Bertram Scharpf [EMAIL PROTECTED] wrote:
grub root (hd1,^I
 Possible partitions are:
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 5,  No BSD sub-partition found, partition type 0xa6
   Partition num: 6,  Filesystem type unknown, partition type 0x8e
 
grub root (hd1,5,a)
 
Error 5: Partition table invalid or corrupt
 
grub rootnoverify (hd1,5,a)
 
grub cat /
 
Error 17: Cannot mount selected partition
 
  Here is a `sfdisk' (Linux) output:
 
/dev/hdb1 : start=1, size=32255, Id=83
/dev/hdb2 : start=32256, size=  2096640, Id=82
/dev/hdb3 : start=  2128896, size=117974304, Id= 5
/dev/hdb4 : start=0, size=0, Id= 0
/dev/hdb5 : start=  2128897, size=  4194287, Id=83
/dev/hdb6 : start=  6323185, size= 37748591, Id=a6, bootable
/dev/hdb7 : start= 44071777, size= 76031423, Id=8e
 

 I think this is your problem -- the OpenBSD partition needs to be a
 primary partition (hda1-hda4 in Linux terminology, or (hd0,1) -
 (hd0,3) in GRUB language, and you have it as an extended partition
 (hdb6).  This is not supported.  Reallocated your fdisk partitions so
 the OpenBSD partition is a primary partition and reinstall (you may
 have to resize your extended partition, ID=5, to make room).

 Andrew



Re: First install: Grub doesn't find partitions

2007-10-29 Thread Pau Amaro-Seoane
 Thanks a lot for your patience when I became fretful.

I also become very usually fretful when something that SHOULD be
working is as stubborn as to refuse to do it. I know it. Oh, yes...
and how...

glad to read that it worked for you!

Pau

2007/10/29, Bertram Scharpf [EMAIL PROTECTED]:
 Hi,

 Am Montag, 29. Okt 2007, 11:54:23 -0500 schrieb Andrew Daugherity:
  On 10/28/07, Bertram Scharpf [EMAIL PROTECTED] wrote:
 grub root (hd1,^I
...
Partition num: 5,  No BSD sub-partition found, partition type 0xa6
...
  
   Here is a `sfdisk' (Linux) output:
  
 /dev/hdb1 : start=1, size=32255, Id=83
 /dev/hdb2 : start=32256, size=  2096640, Id=82
 /dev/hdb3 : start=  2128896, size=117974304, Id= 5
 /dev/hdb4 : start=0, size=0, Id= 0
 /dev/hdb5 : start=  2128897, size=  4194287, Id=83
 /dev/hdb6 : start=  6323185, size= 37748591, Id=a6, bootable
 /dev/hdb7 : start= 44071777, size= 76031423, Id=8e
  
 
  I think this is your problem -- the OpenBSD partition needs to be a
  primary partition (hda1-hda4 in Linux terminology, or (hd0,1) -
  (hd0,3) in GRUB language, and you have it as an extended partition
  (hdb6).  This is not supported.  Reallocated your fdisk partitions so
  the OpenBSD partition is a primary partition and reinstall (you may
  have to resize your extended partition, ID=5, to make room).

 Those @#$! extended partitions! It's really time for me to
 get rid of that kind of programming style.

 I tried it out on another machine where I had a free primary
 partition. Hoolay--it boots! Moving partitions around on the
 machine described above will take some time but I will try
 it in any case and I will report.

 Thanks a lot for your patience when I became fretful.

 Bertram


 --
 Bertram Scharpf
 Stuttgart, Deutschland/Germany
 http://www.bertram-scharpf.de



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Pau Amaro-Seoane
 Hey, I'm sure you are totally right! It just struck me a bit silly sounding,
 and since he's a self proclaimed newbee, and me being willing to
 constructively help others, I thought it be good to know that there's a
 simple way around the issue.

yes, but this is not a linux mailing list and, as you pointed out, the
answer is in the links he posted; he cannot be that silly.

The answer he was asking for was what Stuart Henderson posted. And I
was also interested; so that many thanks, Stuart


t did not strike me as a
 very informed comment. More like what a reporter would say.

yes, he described himself as amateur, so give him a break on his very
first post ;)


 I love both Linux and OpenBSD and I also hate them.

this is indeed true; I have arrived to the conclusion that I hate
computers, full stop. But I certainly appreciate a lot what obsd gives
me. I cannot rely on linux, it behaves randomly, but I don't want to
start a flame war

 things that drive me batty about both and things that I would not want to be
  I saw the new MAC the other day and for the few minutes I spent on
 it it came across as a very slick user interface.

really, I don't want to start one :)


 The same applies to our friend here who might never look at whatever O/S's he
 might have left behind him.

let's see what he says.

Cheers,

Pau



Re: linux kills laptop hard drive... how does obsd behave?

2007-10-27 Thread Pau Amaro-Seoane
 Well, the entire thread was started as Linux killing hard disks, wasn't it?

and asking for Obsd information... :)

what about A4an0's question?

I've been running OpenBSD on my laptop for about a month (I've had 3
servers o it since 3.1) and I havn't noticed an issue like the one
you're talking about.
Can anyone confirm or deny this?

How can you see how often the disc was parked under OpenBSD?

This guy here makes a summary (full with too much emotion, as usual):

http://beranger.org/index.php?page=diary2007/10/24/18/07/21-it-s-confirmed-gutsy-is-killing-



current and fluxbox

2007-10-24 Thread Pau Amaro-Seoane
Hi,

I made a fresh install of current some five days ago and when I tried
to install fluxbox I get:


# pkg_add fluxbox
Can't install imlib2-1.4.0: lib not found png.6.0
Dependencies for imlib2-1.4.0 resolve to: png-1.2.18, bzip2-1.0.4,
libid3tag-0.15.1bp0, jpeg-6bp3, libungif-4.1.4p1, tiff-3.8.2p0
Full dependency tree is
png-1.2.18,bzip2-1.0.4,libid3tag-0.15.1bp0,jpeg-6bp3,libungif-4.1.4p1,tiff-3.8.2p0
png.6.0: partial match in /usr/local/lib: major=5, minor=2 (bad major)
Can't install fluxbox-0.9.15.1p0: can't resolve imlib2-1.4.0


I have tried different ftp mirrors (even the master one) in these days
but I get the same problem all the time.

I *know* that this is normal if you're following current but I wonder
whether it can take so long (i.e. almost a week) to fix the
dependencies.

Again, feel free to stone me. If my language is offensive it's a
matter of not being native in English. The email is meant to be very
nice.

I need current because of my bleedy-edge hardware (eek!).

Cheers,

Pau



Re: current and fluxbox

2007-10-24 Thread Pau Amaro-Seoane
thanks for the answer!

Pau

2007/10/24, Stuart Henderson [EMAIL PROTECTED]:
 On 2007/10/24 11:31, Pau Amaro-Seoane wrote:
  I have tried different ftp mirrors (even the master one) in these days
  but I get the same problem all the time.

 At the moment, you need to build your own from ports or wait a
 while. There have been some changed libraries recently and it will
 take a while for new package snaps to finish.

  I *know* that this is normal if you're following current but I wonder
  whether it can take so long (i.e. almost a week) to fix the
  dependencies.

 Yes - as well as actually building the packages, they must be
 transferred to the ftp servers, which can be up to 4gb or so for
 some arch, and this takes some time.



Re: Help with LiveCD/LIveDVD

2007-10-22 Thread Pau Amaro-Seoane
Hi,

I hope you succeed. I'd be very itnerested in a live cd/dvd for obsd.
As you say, it's ideal to test hardware, but I don't have to time to
do it myself. Btw, why obsd 4.1?
Do you plan to upload the iso to some site? There were some projects,
like quetzal and olivebsd, but they died, I think.

good luck,

Pau

2007/10/22, Ted M. Goodridge, Jr. [EMAIL PROTECTED]:
 Hello all,

 Please CC to me directly as I am offlist...

 I am building a LiveCD/LiveDVD based on OpenBSD 4.1 snapshot.  I know this
 is an unofficial page, but I followed the instructions here:
 http://openbsd-wiki.org/index.php?title=LiveCD

 I'm using 4.1 because of the libraries required on the LiveDVD.  This
 LiveDVD is used for in-house hardware diagnostics with customized programs
 written for BSD.  I thought it would be easier to boot from CD rather than
 installing OpenBSD on every machine we need to use as a hardware testbed.


 The only changes I made to the above instructions were to copy the
 backup/{} directories instead of tar'ing them and unzipping them.

 Everything works fine until the hang on boot with the message: Loading
 CBDR..  The disc then fails to boot.

 Relevant info:
 ---
 I'm burning a re-writable DVD using the above instructions

 The mkisofs command to burn the image is as follows:

 /usr/local/bin/mkisofs -no-iso-translate -R -T -allow-leading-dots -l -d
 -D -N -v -b cdbr -no-emul-boot -c boot.catalog -o /tmp/livecd.iso /livecd

 
 Any help would be greatly appreciated.  I'm pushing against a deadline, so
 any tips / pointers / suggestions are also appreciated.

 Ted Goodridge



OpenBSD Berlin

2007-10-19 Thread Pau Amaro-Seoane
Hi,

I have plenty of time between next 1/11 ~ 5/11; who wants to meet in
Berlin, in Tuffstein to celebrate the 12th birthday of OpenBSD?
(Leberstrasse 2, Schoeneberg):

http://maps.google.com/maps?f=qhl=cageocode=time=date=ttype=q=leberstrasse+2,+berlin,+germanysll=37.0625,-95.677068sspn=31.095668,81.5625ie=UTF8ll=52.486413,13.361478spn=0.011655,0.039825z=15om=1

Remember that we have our own mailing list thanks to Gabriel:

-- http://www.abc.se/mailman/listinfo/openbsd-berlin --

I am posting here in order to draw the attention of potential new members

Cheers,

Pau



Re: cp(1) bug ?

2007-10-19 Thread Pau Amaro-Seoane
penguin's behaviour:

elachistos| cp -R foo foo
cp: cannot copy a directory, `foo', into itself, `foo/foo'

:)

2007/10/19, Arnaud Berthomier [EMAIL PROTECTED]:
 On the October 17, at 10:39 (-0700), Bryan Irvine wrote:
  [...]
  looks like a feature to me.  ;)

 Agreed, although it does not seem to exists on GNU/Linux since GNU's cp
 is different from BSD's.  The feature is present on {Net,Open,Free}BSD.

 It's not that a big deal, is it?  Eventually, the question could be: what
 should be limiting cp there?  a max_path value, or... himself? I think
 the former's the best.

 Just my 2 cents. :)

 --
 B+ A nation is a society united by a delusion about it's ancestry and by
   common hatred of its neighbours. B;-- Dean William R. Inge



Re: Skype on OpenBSD 4.1 using Fedora RPM

2007-09-21 Thread Pau Amaro-Seoane
www.aei.mpg.de/~pau/skype.png

(BIG png, watch out, I don't want to kill your modem connection)

was working fine. I installed it as an exercise and then deleted it...
because I don't use it

Cheers,

Pau

2007/9/21, Siju George [EMAIL PROTECTED]:
 On 9/20/07, Siju George [EMAIL PROTECTED] wrote:
  Hi,
 
  Is there anybody successfully using skype on OpenBSD 4.1 using Linux 
  emulation?
  If so which RPM are you using?
 

 O.K with the help of Martynas Venckus I got Skype running on 4.1
 had to copy

 libasound.so.2 = /usr/lib/libasound.so.2
 libsigc-2.0.so.0 = /usr/lib/libsigc-2.0.so.0

 to the openbsd system as told in

 http://www.openbsd.org/cgi-bin/man.cgi?query=compat_linuxsektion=8

 Had problems with running skype.
 Martynas helped me there too :-) Thanks a million friend.

 When you restart skype you cannot login as it would give the error

 Another skype instance may exist

 so the work around followed now is wipe out whole ~/.Skype directory
 and it works again.

 I can chat but cannot make phone calls

 It gives the error

 Call Failed : Problem with audio playback

 Thank ou so much :-)

 Kind Regards

 Siju



Re: OpenBSD Install Goal

2007-09-14 Thread Pau Amaro-Seoane
Please don't touch the installer. It's just perfect.

I have tried tons of different unix/linux OS's before I saw The Light
and, pay attention, NONE of them was as reliable/robust/quick as
OpenBSD's

And guess... FreeBSD is getting a graphical installer:

http://blogs.freebsdish.org/ivoras/2007/08/29/finstall-alpha-version/

OpenBSD, along with the venerable and respectable linux slackare, is
going to be one of the last bastions.

Please no fancy installers, please no fancy GUIs!!

Regarding multibooting, I struggled with this a bit and then decided
to put _all_ information in a kind of summary. If you want to have a
look:

http://www.aei.mpg.de/~pau/zen_process_obsd.html

This is meant for people wishing to migrate from linux to OpenBSD, as I did.

The INSTALL.linux was too... spartan for me. Dave helped me and I put
together the information. I hope this helps somebody.

keep the installer as it is

Pau

2007/9/14, Paul de Weerd [EMAIL PROTECTED]:
 On Fri, Sep 14, 2007 at 08:36:11AM +0100, Stuart Henderson wrote:
 | On 2007/09/14 12:55, Edwards, David  (JTS) wrote:
 |  Have you ever tried to do an install of FreeBSD/Linux using a 9600
 |  serial console?
 |
 | Oh thanks, I'd been trying to erase that from memory (-:
 | FreeBSD, 9600 serial, PXE boot. Took the best part of a day...

 I hardly notice the difference when installing OpenBSD over serial (vs
 over glass console). It's the same amazing graceful text-only
 interface that asks me some basic questions and installs fine.

 Indeed, the only 'hard' part is when it comes to partitioning,
 especially when multibooting. But once you've done this a couple of
 times and you know how it works, you'll learn to dislike all the other
 installers for being way to complicated.

 Thanks guys !

 Paul 'WEiRD' de Weerd

 --
 [++-]+++.+++[---].+++[+
 +++-].++[-]+.--.[-]
  http://www.weirdnet.nl/



Re: OpenBSD Install Goal

2007-09-14 Thread Pau Amaro-Seoane
PS: From http://wiki.freebsd.org/finstall/Amnesiac

the novice track, meaning as little interaction with the user as possible

This is what I meant...



2007/9/14, Pau Amaro-Seoane [EMAIL PROTECTED]:
 Please don't touch the installer. It's just perfect.

 I have tried tons of different unix/linux OS's before I saw The Light
 and, pay attention, NONE of them was as reliable/robust/quick as
 OpenBSD's

 And guess... FreeBSD is getting a graphical installer:

 http://blogs.freebsdish.org/ivoras/2007/08/29/finstall-alpha-version/

 OpenBSD, along with the venerable and respectable linux slackare, is
 going to be one of the last bastions.

 Please no fancy installers, please no fancy GUIs!!

 Regarding multibooting, I struggled with this a bit and then decided
 to put _all_ information in a kind of summary. If you want to have a
 look:

 http://www.aei.mpg.de/~pau/zen_process_obsd.html

 This is meant for people wishing to migrate from linux to OpenBSD, as I did.

 The INSTALL.linux was too... spartan for me. Dave helped me and I put
 together the information. I hope this helps somebody.

 keep the installer as it is

 Pau



Re: Running 4.2? [was Re: CD files - order question]

2007-09-12 Thread Pau Amaro-Seoane
having read and understood that, you should know that for most people
-current is more than good enough to work with. I am always running
-current in my production system and do not see any major (nor minor)
problem. Well, if you want to try the vry lastest drivers of X
then you'll have to ask for them explicitly and do it all by yourself
(compile, CVS etc) instead of just downloading the kernel from a
snapshot obsd ftp server.
I know that comparisons are stupid but I am an ex linux user and I
have never seen/ had the robustness of -current in any -stable release
of the linux world...

So, if you want e.g. the newest azalia codec, don't hesitate and run
-current. It's also a nice way to support the project... this way you
help to test the driver

Cheers,

Pau

2007/9/12, Greg Thomas [EMAIL PROTECTED]:
 On 9/11/07, Aaron W. Hsu [EMAIL PROTECTED] wrote:
  Hrm, I think this clarifies one thing...
 
  [EMAIL PROTECTED] said:
   1. Once you run a -current, you cannot go backwards.  This is repeated
  over and over in the FAQ.
   2. New features do not get moved into -stable.
 
  I was under the impression that the current snapshots were still under the 
  4.2
  heading, and as such, were not actually ahead of the 4.2 release. I guess I
  misunderstood here. Of course, I'm well aware of the particular FAQ. :-)
 
  The new features I am talking about are not the features after stable, but 
  the
  feature list that is currently listed in 4.2. Those are features that I want
  to use now, but I want to make sure that I can move easily to 4.2-STABLE 
  when
  it is released. Are you saying that there is no way for me to get the 
  features
  in 4.2 now without running -CURRENT, which will require me to reinstall (as
  opposed to upgrade) when 4.2 is released?

 If you're running recent snapshots then you are running -CURRENT and
 as Theo mentions above:

 ...but beware since -current is now ahead of what the upcoming
 release will be, and that may not be what you want -- almost a
 thousand commits have already happened to it.

 -RELEASE would have been sent to the presses awhile back and
 development continues on from 4.2.  You're past that point.  The
 options are to continue with -CURRENT or start fresh with -RELEASE.

 Greg

 --
 Ticketmaster and Ticketweb suck, but everyone knows that:
 http://ticketmastersucks.org

 Dethink to survive - Mclusky



Re: how get colour mutt when ssh from OBSD?

2007-09-12 Thread Pau Amaro-Seoane
yes... it doesn't help

I thought left-clicking on the xterm, and selecting Backarrow Key
(BS/DEL) would do it, and afterwards typing `stty erase ` and then
ctrl-v and then hitting backspace and enter...

but that's only for xterm. What, if you're using a different terminal,
like aterm, eterm, konsole or gnome-terminal? you don't have that
menu...

I also saw this... but... don't know...

http://www.hypexr.org/linux_roboff.php


 Did you use TERM=screen on both ends of the ssh, i.e. on OBSD before ssh
 and on linux after ssh?

 
 
  
   Try TERM=screen.  I didn't know about the backspace to scroll up; I just
   use page up.  I just tried it and yes it works with TERM=screen.
  
   Note that I can't use TERM=xterm* since I'm not using X for this.
  
   Doug.



unix on lenovos

2007-09-12 Thread Pau Amaro-Seoane
Hi,

there's a poll about which linux (please read here UNIX) you'd like
to see preinstalled/supported on the lenovos thinkpads

 http://lenovoblogs.com/insidethebox/?p=98

You'll notice that Mark Kohut (Lenovo's worldwide analyst) cannot tell
the difference between linux and BSD (both freebsd and openbsd fall in
the category of linux) but, in any case, maybe you feel like
clicking the OpenBSD entry... I did

Cheers,

Pau Amaro-Seoane



Re: lenovo thinkpad x61s support for wireless + sound

2007-09-11 Thread Pau Amaro-Seoane
you'll not have sound if you install now -current

As Deanna said, she has to check still a couple of things.

I can upload my bsd.mp and bsd somewhere, if you wish, but I guess
it's more sensible to wait until she has really finished. I have to
test her patches still a bit... we should have a bit of patience... on
the other hand I can understand you, of course! I couldn't wait
myself! :)

Cheers,

Pau Amaro Seoane (Vim)

 Thanks Vim, Deanna and Damien!  I just bought an x61 last week and was
 wondering what to do about wireless.  Now I know.

 I'll install -current ASAP and let you know how it goes.

 Cheers!

 Aaron

 P.S.  Also looking forward to my 4.2 goodies!

 Vim Visual wrote:
  Hi,
 
  I just wanted to report that today and after gallons of sweat and
  blood and some 14 compiled kernels to test the drivers and patches of
  Damien Bergamini (iwn0) and Deanna Phillips (azalia) (and correct a
  lot of mistakes I made), I finally got my brand new lenovo thinkpad
  wireless device (Intel 4965AGN) and sound card (Intel 82801H HD) to
  work with OpenBSD -current.
 
  Volume up/ down work perfectly (on terminal, for X it'll be more
  tricky, depends on your WM, but mute does work both in X and no-X).
 
  I have seen some people complaining on the difficulty of wireless
  management in obsd; I am writing a script now to simplify it and I'll
  post it as soon as I have it running.
 
  By the way, the keys for light up/down works just out of the box.
 
  So... don't hesitate and get a new lnovo thinkpad x61s!
 
  Cheers,
 
  Pau Amaro-Seoane



Re: how get colour mutt when ssh from OBSD?

2007-09-11 Thread Pau Amaro-Seoane
yes, I tried this before I posted here but no way... it's not working
in my case... mmmh... thanks anyway



 Try TERM=screen.  I didn't know about the backspace to scroll up; I just
 use page up.  I just tried it and yes it works with TERM=screen.

 Note that I can't use TERM=xterm* since I'm not using X for this.

 Doug.



Re: apmd -f /dev/acpi?

2007-02-05 Thread Pau Amaro-Seoane
Hi,

to summarise again my problem...

My goal is to be able to suspend (zzz/ apm -S). apm0 is not supported in
this laptop.

Then I thought of trying to set up apmd over /dev/acpi with the current
kernel I downloaded from ftp.openbsd.org - current (both bsd and bsd.mp)
to have the latest version (I know that there has been a lot of progress
in acpi in the last weeks)

I boot with the -c option, enable acpi and when I log in I try to do

sudo apmd -f /dev/acpi

to see whether I am lucky and can suspend this way. It doesn't. I just
want to ask you whether you see something wrong.

Cheers,

Pau

These are my dmesg...

---
This is dmesg generic

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.20GHz (GenuineIntel 686-class) 1.21 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 1200 MHz (940 mV): speeds: 1200, 1100, 1000, 900, 800, 
600 MHz
real mem  = 1063809024 (1038876K)
avail mem = 962383872 (939828K)
using 4256 buffers containing 53293056 bytes (52044K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ba) BIOS, date 05/09/05, BIOS32 rev. 0 @ 0xfd720, 
SMBIOS rev. 2.3 @ 0xe80c0 (43 entries)
bios0: FUJITSU SIEMENS 00
pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xd200! 0xdc000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at 
0xd800, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83
pci1 at ppb0 bus 1
cbb0 at pci1 dev 10 function 0 Ricoh 5C476 CardBus rev 0xab: irq 11
cbb1 at pci1 dev 10 function 1 Ricoh 5C476 CardBus rev 0xab: irq 11
Ricoh 5C552 Firewire rev 0x03 at pci1 dev 10 function 2 not configured
vendor Ricoh, unknown product 0x0576 (class system subclass miscellaneous, 
rev 0x01) at pci1 dev 10 function 3 not configured
Ricoh 5C592 Memory Stick rev 0x00 at pci1 dev 10 function 4 not configured
rl0 at pci1 dev 12 function 0 Realtek 8139 rev 0x10: irq 11, address 
00:0b:5d:91:6d:e8
rlphy0 at rl0 phy 0: RTL internal PHY
iwi0 at pci1 dev 13 function 0 Intel PRO/Wireless 2200BG rev 0x05: irq 11, 
address 00:0e:35:34:e3:60
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHT2080AH
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x03: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03: irq 11, ICH4 
AC97
ac97: codec id 0x414c4770 (Avance Logic ALC203 rev 0)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0

apmd -f /dev/acpi?

2007-02-04 Thread Pau Amaro-Seoane
Hi,

I just downloaded cd40.iso from ftp://ftp.openbsd.org/pub/OpenBSD/snapshots and
installed openbsd on my laptop because I thought the kernel would be -current
but when booting I tried bsd -c and then UKC enable acpi but nothing happened,
so that I went to the site and downloaded bsd and bsd.mp, copied them to / with
the names bsd.acpi and bsd.mp.acpi

Then I rebooted (bsd.acpi -c and/or bsd.mp.acpi -c) and UKC said 385 acpi0
enabled and everything was looking fine (apart from the problem that I didn't
get any dhcp offer?).

I wait until it's up and then make sudo apmd -f /dev/acpi with the hope that I
could get apm to work over acpi but when I type zzz or apm -S nothing
happens...

I know acpi is under development and I am not complaining at all. I just want
to check out I did everything correctly or not. Do you see something wrong?

I can provide you with dmesg if you wish but it looked fine to me.

thanks,

Pau