Re: Nagios package incomplete? Anybody got it working? OBSD 4.5

2009-07-22 Thread Dr Alastair F. Brown

Quoting Andres Salazar ndrsslz...@gmail.com:


Hello,

Iam using OBSD 4.5, and i tried to install Nagios nagios-3.0.6p1  (also
tried nagios-3.0.6p1-chroot) from packages.. and Ive noticed that after the
install the WebGUI files are missing and there is no instruction whatsoever
if one should need to get these from somewhere else..? (the faq on
nagios.org also takes for granted that the install includes the files).

Seeing this failed, I also tried compiling from ports with no luck... the
/var/www/nagios is created and left empty.

What could it be that iam missing?


nagios-web-3.0.6.tgz

Al

--
Dr Alastair F. Brown, Head of Computing
MRC Human Genetics Unit, Edinburgh EH4 2XU, UK
Mailto:alastair.br...@hgu.mrc.ac.uk
http://www.hgu.mrc.ac.uk/Users/Alastair.Brown/
Fax: +44 (0)131 467 8456Phone: +44 (0)131 332 2471



Re: System load stays high for no reason

2009-07-22 Thread Jan-Erik Skata
On Wed, Jul 22, 2009 at 10:31 AM, Daniel Gracia Garallar 
danie...@electronicagracia.com wrote:

 Maybe these figures annoy you because you don't understand system load for
 OBSD. Take a look at

 http://www.undeadly.org/cgi?action=articlesid=20090715034920

 Regards,

 Dani

 Jan-Erik Skata escribis:

  I have done a fresh install of 4.5, as a basic firewall
 (ethernet-ethernet)
 and web server with Apache, PHP and MySQL.
 This is a dual CPU machine (Celeron 466) and I am using the SMP kernel.
 For some reason the system load has a tendency to stick at around 0.6-0.7,
 even if I shut down all services and pull the extranet cable. After a
 reboot
 it was OK (0.05-0.08) for a while.

 I have not seen this with an earlier release. Anybody else having
 experienced this?



OK, seems to be a frequently asked question. Just strange I haven't noticed
this behavior with the earlier releases I have used (3.8, 3.9, 4.0 and 4.1).



Re: ppp connection freezes

2009-07-22 Thread Фролов Константин
13.07.09, 15:32, P$QPP;PP2 PPP=QQP0P=QP8P= f-k...@yandex.ru:

 What it can be - PPP bug ?
  set mtu max 1492
  set mru max 1492

Solved by lowering MTU and MRU to 1452



Re: Porting HammerFS

2009-07-22 Thread Henning Brauer
* Christiano Farina Haesbaert christiano...@gmail.com [2009-07-21 21:02]:
 openbsd usually runs on small underpowered servers/routers

rright.

it's also slow, ya know.

and beer is dry.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: System load stays high for no reason

2009-07-22 Thread Daniel Gracia Garallar
Maybe these figures annoy you because you don't understand system load 
for OBSD. Take a look at


http://www.undeadly.org/cgi?action=articlesid=20090715034920

Regards,

Dani

Jan-Erik Skata escribis:

I have done a fresh install of 4.5, as a basic firewall (ethernet-ethernet)
and web server with Apache, PHP and MySQL.
This is a dual CPU machine (Celeron 466) and I am using the SMP kernel.
For some reason the system load has a tendency to stick at around 0.6-0.7,
even if I shut down all services and pull the extranet cable. After a reboot
it was OK (0.05-0.08) for a while.

I have not seen this with an earlier release. Anybody else having
experienced this?




Re: Porting HammerFS

2009-07-22 Thread SJP Lists
2009/7/22 Henning Brauer lists-open...@bsws.de:
 * Christiano Farina Haesbaert christiano...@gmail.com [2009-07-21 21:02]:
 openbsd usually runs on small underpowered servers/routers

 rright.

 it's also slow, ya know.

 and beer is dry.

This multiple choice exam is easy...

http://theinspirationroom.com/daily/print/2007/2/carlton-dry-fishbowl.jpg

; - )



Re: Porting HammerFS

2009-07-22 Thread Eric Furman
On Tue, 21 Jul 2009 16:37 -0300, Christiano Farina Haesbaert
christiano...@gmail.com wrote:
 2009/7/21 Stuart Henderson s...@spacehopper.org
 
  this is either trolling or a fairly naive comment. giving you the benefit
  of the doubt for now; it's pretty common for embedded systems developers
  to use BSD licensed software /specifically/ to avoid problems that the GPL
  gives them for their products.
 
 
 But there could be an jffs2 and ubifs implementation with BSD license,
 right
 ?
 
 My previous point is that ubifs and jffs2 could prove themselves more
 useful
 to OpenBSD
 than hammerfs for the very nature of themselves.
 
 I was not trolling, so yes, maybe naive.

The problem is that when you port software you cannot, contrary to
what some GNU people believe, strip off the original license and
put a new license, for example BSD, on it.
The code would have to be rewritten from scratch.
Once GNU always GNU.



Re: System load stays high for no reason

2009-07-22 Thread Stuart Henderson
On 2009-07-22, Jan-Erik Skata jesk...@gmail.com wrote:
 On Wed, Jul 22, 2009 at 10:31 AM, Daniel Gracia Garallar 
 danie...@electronicagracia.com wrote:

 Maybe these figures annoy you because you don't understand system load for
 OBSD. Take a look at

 http://www.undeadly.org/cgi?action=articlesid=20090715034920

 Regards,

 Dani

 Jan-Erik Skata escribis:

  I have done a fresh install of 4.5, as a basic firewall
 (ethernet-ethernet)
 and web server with Apache, PHP and MySQL.
 This is a dual CPU machine (Celeron 466) and I am using the SMP kernel.
 For some reason the system load has a tendency to stick at around 0.6-0.7,
 even if I shut down all services and pull the extranet cable. After a
 reboot
 it was OK (0.05-0.08) for a while.

 I have not seen this with an earlier release. Anybody else having
 experienced this?



 OK, seems to be a frequently asked question. Just strange I haven't noticed
 this behavior with the earlier releases I have used (3.8, 3.9, 4.0 and 4.1).



Some of the other tools might give you better insight. Watching the systat
vmstat display is probably a good starting point.



Araştırmadan Okul Seçmeyin!

2009-07-22 Thread NasilBir.com?
Merhaba,

Ara~t}rmadan yap}lan okul segimleri gelecepimizi depi~tiriyor! 

Epitim hayat}n}z boyunca devam edecepiniz okul,dersane,|niversite,yurt ve
kurslar}n kalitesini inceleme ve deperlendirme imkan}na sahipsiniz.

NasilBir.com ile Neler Yapabilirsiniz

  * Gocupunuzu dersaneye veya anaokuluna gvndermeden vnce ba~kalar}n}n
tecr|belerini vprenebilirsiniz.

  * Devam ettipiniz yabanc} dil kursu hakk}ndaki gvr|~lerinizi
ba~kalar}yla da payla~abilirsiniz.

  * Kalmay} d|~|nd|p|n|z yurt hakk}nda daha fazla bilgiyi orada
kalanlardan vprenebilirsiniz

  * Gittipiniz dersane size istedipiniz ba~ar}y} saplamad}ysa bunu
genglerle payla~abilirsiniz.

Bu hizmet sizin igin var ve sizinle g|gleniyor.

]~imizi Ciddiye Al}yoruz!

Okul veya dersane segiminde genglere ve velilere yvn gvsteren bir
platform olarak, bu i~in vneminin fark}nday}z. Ba~tan savma ve gazete
sitelerindeki gibi h}zl} anketlerle bir epitim kurumunun
deperlendirilemeyecepini biliyoruz. Dan}~manlar e~lipinde tespit
ettipimiz yirmiye yak}n vlgme ve deperlendirme kriterine gvre kurumlar
deperlendiriliyor.

Vrnek Lise Deperlendirme Kritereri

  * \niversiteye Giri~teki Ba~ar}s}

  * Kamp|s ve S}n}flar}n Modernlipi

  * Vpretmelerin Akademik Kalitesi

  * \cretler

  * Ula~}m ]mkanlar} ve Servislerin Kalitesi

  * Vprenci Faaliyetleri (Sanat,Spor vb)

  * Okul Ve Gevresinin G|venlipi

  * Velilerle ]leti~im

  * Yabanc} Dil Vpretmede Yeterlilipi

  * ...

Daha fazlas} igin www.nasilbir.com adresine bekliyoruz.

Unutmay}n bu hizmet sizin igin var ve sizinle g|gleniyor.

]yi g|nler dileriz
Nasilbir.com M|~teri Hizmetleri.

 Copyright NasilBir.com 2008. B|t|n Haklar} Sakl}d}r. http://www.nasilbir.com
Listeden g}kmak istiyorum



English and Spanish keyboard at same time?

2009-07-22 Thread Chris Bennett

I do most of my work in English, but I also do a small amount in Spanish.
I have a Spanish keyboard, but when I tried hooking it up, didn't get 
what was on keys.


Is there any way to change this dynamically so that I can switch back 
and forth easily?


Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: English and Spanish keyboard at same time?

2009-07-22 Thread Felipe Scarel
Try kbd(8).

On Wed, Jul 22, 2009 at 11:43, Chris Bennett
ch...@bennettconstruction.biz wrote:

 I do most of my work in English, but I also do a small amount in Spanish.
 I have a Spanish keyboard, but when I tried hooking it up, didn't get what
was on keys.

 Is there any way to change this dynamically so that I can switch back and
forth easily?

 Chris Bennett

 --
 A human being should be able to change a diaper, plan an invasion,
 butcher a hog, conn a ship, design a building, write a sonnet, balance
 accounts, build a wall, set a bone, comfort the dying, take orders,
 give orders, cooperate, act alone, solve equations, analyze a new
 problem, pitch manure, program a computer, cook a tasty meal, fight
 efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: English and Spanish keyboard at same time?

2009-07-22 Thread Mats O Jansson

On Wed, 22 Jul 2009, Chris Bennett wrote:


I do most of my work in English, but I also do a small amount in Spanish.
I have a Spanish keyboard, but when I tried hooking it up, didn't get what 
was on keys.


there is no problems to have different encodings on two keyboards.
the following command will change the encoding on the second one.

wsconsctl -f /dev/wskbd1 keyboard.encoding=es

-moj

Is there any way to change this dynamically so that I can switch back and 
forth easily?


Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
 -- Robert Heinlein




Re: English and Spanish keyboard at same time?

2009-07-22 Thread Mats O Jansson

On Wed, 22 Jul 2009, Felipe Scarel wrote:


Try kbd(8).


kbd(8) will set the encoding on ALL keyboards while wsconsctl(8) can do it
on a selected keyboard.

-moj


On Wed, Jul 22, 2009 at 11:43, Chris Bennett
ch...@bennettconstruction.biz wrote:


I do most of my work in English, but I also do a small amount in Spanish.
I have a Spanish keyboard, but when I tried hooking it up, didn't get what

was on keys.


Is there any way to change this dynamically so that I can switch back and

forth easily?


Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
 -- Robert Heinlein




Re: English and Spanish keyboard at same time?

2009-07-22 Thread Chris Bennett

Mats O Jansson wrote:

On Wed, 22 Jul 2009, Chris Bennett wrote:

I do most of my work in English, but I also do a small amount in 
Spanish.
I have a Spanish keyboard, but when I tried hooking it up, didn't get 
what was on keys.


there is no problems to have different encodings on two keyboards.
the following command will change the encoding on the second one.

wsconsctl -f /dev/wskbd1 keyboard.encoding=es

-moj


I tried kbd, that was unsuccesful. Even after rebooting with spanish 
keyboard only.


wsconsctl -f /dev/wskbd1 keyboard.encoding=es sort of works, but things 
are not matching keyboard completely, still, I get many useful characters.

Not working in all apps though.
Also is messing up kbd0.

I also got a recommendation to use setxkbmap, but I'm going to have to 
see what I can search for to use that, man page was not helpful.


Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: Soekris net5501 OpenBSD 4.5 Booting Problem

2009-07-22 Thread Theo de Raadt
 I cannot get a Soekris net5501 to boot OpenBSD 4.5 from a hard drive.
 
 Much traffic has passed on the Soekris email list.  I've now included
 misc@OpenBSD.org, because it might be an OpenBSD problem.
 
 I re-installed OpenBSD.  And I noticed a problem at the end of the
 install process.  I have a broken MBR.  This is probably why my
 Soekris net5501 won't boot from hard drive.
 
 - start of transcript -
 Installing boot block...
 boot: /mnt/boot
 proto: /usr/mdec/biosboot
 device: /dev/rwd0c
 /usr/mdec/biosboot: entry point 0
 proto bootblock size 512
 /mnt/boot is 3 blocks x 16384 bytes
 fs block shift 2; part offset 63; inode block 24, offset 11048
 installboot: broken MBR
 done.
 - end of transcript -
 
 Notice that I have a broken MBR.  This is bad.  I've never seen this
 happen before.
 
 Here is my partitioning and slicing information:
 - start of transcript -
 # fdisk wd0
 Disk: wd0   geometry: 12161/255/63 [195371568 Sectors]
 Offset: 0   Signature: 0x0

  ^^

That is not a valid MBR.  Use fdisk to fix this.  It is now required
that the MBR has a correct signature.  If the signature is not 0xAA55,
it is not a MBR partition.



Canada immigration

2009-07-22 Thread Agence Casa ElFirdaous
WARNING: contains undecipherable part
Received: from unicornia896a8 (adsl-246-228-192-81.adsl2.iam.net.ma 
[81.192.228.246])
by mail.cashcom.ma (Postfix/TrioOS) with ESMTP id B58AD1200F038
for MISC@OPENBSD.ORG; Wed, 22 Jul 2009 15:59:15 + (WET)
From: Agence Casa ElFirdaous casa.elfirda...@dialcom.ma
To: MISC@OPENBSD.ORG
Subject: Canada immigration
Date: Wed, 22 Jul 2009 17:57:22 +0200
Message-ID: 80e21849bacf4c91881dfd30152e9...@unicornia896a8
MIME-Version: 1.0
X-Security: message sanitized on shear.ucar.edu See 
http://www.impsec.org/email-tools/sanitizer-intro.html for details. $Revision: 
1.147 $Date: 2004-10-02 11:16:26-07 
Content-Type: text/plain; charset=us-ascii
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-MS-TNEF-Correlator: D67849FBE0A2614284D66D50471F1152E4452500
X-Converted-To-Plain-Text: from multipart/mixed by demime 1.01d
X-Converted-To-Plain-Text: Alternative section used was text/plain

The debate is no longer about whether Canada should remain open to
immigration. That debate became moot when Canadians realized that low birth
rates and an aging population would eventually lead to a shrinking populace.
Baby bonuses and other such incentives couldn't convince Canadians to have
more kids, and demographic experts have forecasted that a Canada without
immigration would pretty much disintegrate as a nation by 2050.
Download the attached file to know about the required forms.
The sender of this email got this article from our side and forwarded it to
you.




  The original file name is IMM_Forms_E01.rar and compressed by WinRAR no
virus found.
  Use WinRAR to decompress the file.

[demime 1.01d removed an attachment of type application/ms-tnef which had a 
name of winmail.dat]



Re: English and Spanish keyboard at same time?

2009-07-22 Thread Chris Bennett

Chris Bennett wrote:

Mats O Jansson wrote:

On Wed, 22 Jul 2009, Chris Bennett wrote:

I do most of my work in English, but I also do a small amount in 
Spanish.
I have a Spanish keyboard, but when I tried hooking it up, didn't 
get what was on keys.


there is no problems to have different encodings on two keyboards.
the following command will change the encoding on the second one.

wsconsctl -f /dev/wskbd1 keyboard.encoding=es

-moj


I tried kbd, that was unsuccesful. Even after rebooting with spanish 
keyboard only.


wsconsctl -f /dev/wskbd1 keyboard.encoding=es sort of works, but 
things are not matching keyboard completely, still, I get many useful 
characters.

Not working in all apps though.
Also is messing up kbd0.

I also got a recommendation to use setxkbmap, but I'm going to have to 
see what I can search for to use that, man page was not helpful.


Chris Bennett


I'm going to have to give my vote to setxkbmap es

Simple and easy to change. The markings on the keyboard don't really 
match exactly, but I figured out how to get everything I need to work.
Still fails to work right in a few places like xterm, but works right in 
vi, etc so I can now edit in spanish.

Good enough for me!

Thanks all,
Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: English and Spanish keyboard at same time?

2009-07-22 Thread zexel

Chris Bennett escribis:

Mats O Jansson wrote:

On Wed, 22 Jul 2009, Chris Bennett wrote:

I do most of my work in English, but I also do a small amount in 
Spanish.
I have a Spanish keyboard, but when I tried hooking it up, didn't 
get what was on keys.


there is no problems to have different encodings on two keyboards.
the following command will change the encoding on the second one.

wsconsctl -f /dev/wskbd1 keyboard.encoding=es

-moj


I tried kbd, that was unsuccesful. Even after rebooting with spanish 
keyboard only.


you just have to do
# kbd es
or
# kbd us

I use it everyday without problem.

also need to say it works on virtual consoles, not on X.

-Jesus


wsconsctl -f /dev/wskbd1 keyboard.encoding=es sort of works, but 
things are not matching keyboard completely, still, I get many useful 
characters.

Not working in all apps though.
Also is messing up kbd0.

I also got a recommendation to use setxkbmap, but I'm going to have to 
see what I can search for to use that, man page was not helpful.


Chris Bennett




Newfs crash on external HDD

2009-07-22 Thread kellvyn
I'm trying to use an external HDD for backups.  In case it's relevant: 
this is a SATA drive in an enclosure w/ eSATA and USB 2 interfaces (which 
shows up as JMicron JM20336 SATA, USB Combo in dmesg).  The jack on the 
computer is USB 1, however.  I'm currently running i386 4.4-stable with 
raidframe.

Initializing with fdisk and partitioning with disklabel worked fine, but 
several attempts to newfs have caused crashes, with messages like the 
following:

umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED

I didn't see anything mentioned on openbsd.org/plus45.html or 
openbsd.org/errata45.html about an update to umass.  Did I miss 
something, so that this problem could be fixed by upgrading to 4.5?  
Otherwise, any ideas on how to fix this?

The output of fdisk, disklabel, newfs, trace, ps, and the subsequent boot 
messages follows.

Thanks!


# fdisk sd0
Disk: sd0   geometry: 121601/255/63 [1953525168 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
*3: A6  0   1   1 - 121600 254  63 [  63:  1953520002 ] OpenBSD
# disklabel -p g sd0
# Inside MBR partition 3: type A6 start 63 size 1953520002
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: EADS-00M2B0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total bytes: 931.5G
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  a:   500.0G 0.0G  4.2BSD   2048 163841
  c:   931.5G 0.0G  unused  0 0
# umount /home
# mount
/dev/wd0a on / type ffs (local, softdep)
/dev/wd0d on /tmp type ffs (local, nodev, nosuid, softdep)
/dev/wd0f on /usr type ffs (local, nodev, softdep)
/dev/wd0e on /var type ffs (local, nodev, nosuid, softdep)
# newfs sd0a
/dev/rsd0a: 512001.2MB in 1048578552 sectors of 512 bytes
2529 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
disk_unbusy: sd0: dk_busy  0
pool scxspl: putting with none out
panic: pool_do_put
Stopped at  Debugger+0x4:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb trace
Debugger(d08308fc,50,d83c7d4c,d08c2ec0,d62ab000) at Debugger+0x4
panic(d074c741,d0772c02,d83c7d8c,6295,d83c7d74) at panic+0x55
pool_do_put(d08c2ec0,d62ab000,0,7df7,d0e68b00) at pool_do_put+0x193
pool_put(d08c2ec0,d62ab000,d83c7dec,d0506936,d0e95630) at pool_put+0x27
scsi_free_xs(d62ab000,1,d0e5d000,0) at scsi_free_xs+0x3c
scsi_done(d62ab000,d0e68c00,d83c7e4c,d06a1e6a,0) at scsi_done+0xb3
umass_scsi_cb(d0e95800,d62ab000,2000,3,d0e95800) at umass_scsi_cb+0x8a
umass_detach(d0e95800,1,10,d06a249f,d0e68880) at umass_detach+0xfb
config_detach(d0e95800,1,d83c7f0c,d06a2a18,d0e68880) at config_detach+0x228
usb_disconnect_port(d0e687b0,d0e65500,10) at usb_disconnect_port+0x65
uhub_explore(d0e68880,d06a0b08,d83c7f8c,d06a0bbd,0) at uhub_explore+0x205
usb_discover(d0e68900,78,d09f3e78,d0200936,d62a86b8) at usb_discover+0x36
usb_event_thread(d0e68900) at usb_event_thread+0x91
Bad frame pointer: 0xd09f3e78
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 14469 60  14469  0  2  0x4002newfs
60  1 60  0  3  0x4082  pause ksh
 25272  1  25272  0  3  0x4082  ttyin getty
 20404  1  20404  0  3  0x4082  ttyin getty
  5680  1   5680  0  3  0x4082  ttyin getty
 18113  1  18113  0  3  0x4082  ttyin getty
 29327  1  29327  0  3  0x4082  ttyin getty
  5215  1   5215  0  30x80  selectcron
  4794  1  12275  0  30x82  nanosleep perl
 21395  19976  19976  0  3   0x181  pause smbd
  7185  1   7185  0  30x81  selectnmbd
 19976  1  19976  0  3   0x181  selectsmbd
  1613  1   1613  0  30x80  selectsshd
 21487  1  21487  0  3 0x40180  selectsendmail
  9935  1   9935  0  3   0x180  select  

Re: Porting HammerFS

2009-07-22 Thread Christiano Farina Haesbaert
Pointing out my mistake(s) and explaining why is enough.



Re: Porting HammerFS

2009-07-22 Thread Gerald Chudyk
On Wed, Jul 22, 2009 at 10:07 AM, Christiano Farina
Haesbaertchristiano...@gmail.com wrote:
 Pointing out my mistake(s) and explaining why is enough.

Sorry but pointing and explaining is not nearly enough. We also demand
entertainment. If chuckles can be had at the expense of some hapless
soul, then all the better (I hang around here for just these moments ).



Re: English and Spanish keyboard at same time?

2009-07-22 Thread Abel Camarillo
On Wed, Jul 22, 2009 at 11:26:14AM -0500, Chris Bennett wrote:
 Chris Bennett wrote:
 Mats O Jansson wrote:
 On Wed, 22 Jul 2009, Chris Bennett wrote:

 I do most of my work in English, but I also do a small amount in  
 Spanish.
 I have a Spanish keyboard, but when I tried hooking it up, didn't  
 get what was on keys.

 there is no problems to have different encodings on two keyboards.
 the following command will change the encoding on the second one.

 wsconsctl -f /dev/wskbd1 keyboard.encoding=es

 -moj


 I tried kbd, that was unsuccesful. Even after rebooting with spanish  
 keyboard only.

 wsconsctl -f /dev/wskbd1 keyboard.encoding=es sort of works, but  
 things are not matching keyboard completely, still, I get many useful  
 characters.
 Not working in all apps though.
 Also is messing up kbd0.

 I also got a recommendation to use setxkbmap, but I'm going to have to  
 see what I can search for to use that, man page was not helpful.

 Chris Bennett

 I'm going to have to give my vote to setxkbmap es

 Simple and easy to change. The markings on the keyboard don't really  
 match exactly, but I figured out how to get everything I need to work.
 Still fails to work right in a few places like xterm, but works right in  
 vi, etc so I can now edit in spanish.
 Good enough for me!

 Thanks all,
 Chris Bennett

 -- 
 A human being should be able to change a diaper, plan an invasion,
 butcher a hog, conn a ship, design a building, write a sonnet, balance
 accounts, build a wall, set a bone, comfort the dying, take orders,
 give orders, cooperate, act alone, solve equations, analyze a new
 problem, pitch manure, program a computer, cook a tasty meal, fight
 efficiently, die gallantly. Specialization is for insects.
   -- Robert Heinlein


Well i do have a custom .xmodmap file with all my needs

xmodmap(1)

Saludos.

-- 
DISCLAIMER: http://goldmark.org/jeff/stupid-disclaimers/ 
This message will self-destruct in 3 seconds.



iwi annoyance when changing AP

2009-07-22 Thread Jeremy Chase
Hi Guys,

My iwi interface works very well if I set it up with
/etc/hostname.iwi0, but if I change access points I can usually not
get onto a new network. For example, consider this scenario:

At location 1 with open AP 'dlink' available:
# echo dhcp nwid dlink  /etc/hostname.iwi0
(reboot), and all is well.

I move to a new location without rebooting, and I want to get onto a
new AP, for example 'attwifi', so I try:
# ifconfig nwid attwifi(However this will almost never result in
'status active', sometimes it does work, randomly.)
# sh /etc/netstart iwi0  (rarely works because it says no link)

I have tried to reset it to defaults with the man page example, but
this doesn't work either.. I'll try something like this:
ifconfig iwi0 -bssid -chan media autoselect nwid  -nwkey -wpa -wpapsk
ifconfig iwi0 nwid attwifi
ifconfig iwi0 up
sh /etc/netstart iwi0
(However this usually does not work either)

So I am often forced to reboot just to change AP's, and that is rather
annoying. Any thoughts? I am running -current but have had this issue
since 4.5-release

The machine is an IBM T42p

$ pkg_info | grep iwi
iwi-firmware-3.1Firmware binary image for iwi driver

OpenBSD 4.6-current (GENERIC) #62: Wed Jul 15 17:27:21 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 2.00GHz (GenuineIntel 686-class) 599 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1072656384 (1022MB)
avail mem = 1028411392 (980MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @
0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007
bios0: IBM 2373KUU
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 29%
apm0: AC off, battery charge high, estimated 0:24 hours
acpi at bios0 function 0x0 not configured
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: (uniprocessor)
cpu0: Enhanced SpeedStep 599 MHz: speeds: 2000, 1800, 1600, 1400,
1200, 1000, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
io address conflict 0x5800/0x8
io address conflict 0x5808/0x4
io address conflict 0x5810/0x8
io address conflict 0x580c/0x4
pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xd000, size 0x1000
ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 rev 0x80
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 11
drm0 at radeondrm0
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
mem address conflict 0xb000/0x1000
mem address conflict 0xb100/0x1000
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:79:a8:3c
iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2200BG rev 0x05:
irq 11, address 00:0e:35:7b:29:23
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: HTS726060M9AT00
wd0: 16-sector PIO, LBA, 57231MB, 117210240 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 ATAPI
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
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq
11, ICH4 AC97

Re: iwi annoyance when changing AP

2009-07-22 Thread David Hill
On Wed, Jul 22, 2009 at 03:06:25PM -0400, Jeremy Chase wrote:
 Hi Guys,
 
 My iwi interface works very well if I set it up with
 /etc/hostname.iwi0, but if I change access points I can usually not
 get onto a new network. For example, consider this scenario:
 
 At location 1 with open AP 'dlink' available:
 # echo dhcp nwid dlink  /etc/hostname.iwi0
 (reboot), and all is well.

OK

 
 I move to a new location without rebooting, and I want to get onto a
 new AP, for example 'attwifi', so I try:
 # ifconfig nwid attwifi(However this will almost never result in
 'status active', sometimes it does work, randomly.)
 # sh /etc/netstart iwi0  (rarely works because it says no link)

This will reset your nwid to 'dlink', which is what you have in
/etc/hostname.iwi0

 
 I have tried to reset it to defaults with the man page example, but
 this doesn't work either.. I'll try something like this:
 ifconfig iwi0 -bssid -chan media autoselect nwid  -nwkey -wpa -wpapsk
 ifconfig iwi0 nwid attwifi
 ifconfig iwi0 up
 sh /etc/netstart iwi0
 (However this usually does not work either)

Again, this resets your nwid to 'dlink'.

I think instead of sh /etc/netstart iwi0, you want /sbin/dhclient iwi0

 
 So I am often forced to reboot just to change AP's, and that is rather
 annoying. Any thoughts? I am running -current but have had this issue
 since 4.5-release
 
 The machine is an IBM T42p
 
 $ pkg_info | grep iwi
 iwi-firmware-3.1Firmware binary image for iwi driver
 
 OpenBSD 4.6-current (GENERIC) #62: Wed Jul 15 17:27:21 MDT 2009
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) M processor 2.00GHz (GenuineIntel 686-class) 599 
 MHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
 real mem  = 1072656384 (1022MB)
 avail mem = 1028411392 (980MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @
 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
 bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007
 bios0: IBM 2373KUU
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 29%
 apm0: AC off, battery charge high, estimated 0:24 hours
 acpi at bios0 function 0x0 not configured
 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: (uniprocessor)
 cpu0: Enhanced SpeedStep 599 MHz: speeds: 2000, 1800, 1600, 1400,
 1200, 1000, 800, 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 io address conflict 0x5800/0x8
 io address conflict 0x5808/0x4
 io address conflict 0x5810/0x8
 io address conflict 0x580c/0x4
 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03
 intelagp0 at pchb0
 agp0 at intelagp0: aperture at 0xd000, size 0x1000
 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 rev 0x80
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: irq 11
 drm0 at radeondrm0
 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
 mem address conflict 0xb000/0x1000
 mem address conflict 0xb100/0x1000
 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:79:a8:3c
 iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2200BG rev 0x05:
 irq 11, address 00:0e:35:7b:29:23
 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: HTS726060M9AT00
 wd0: 16-sector PIO, LBA, 57231MB, 117210240 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 

Re: English and Spanish keyboard at same time?

2009-07-22 Thread Chris Bennett

Abel Camarillo wrote:


Well i do have a custom .xmodmap file with all my needs

xmodmap(1)

Saludos.

  
Just sdiffing xmodmap from es and us showed me a few keystrokes to try, 
now I have found all the missing pieces. I couldn't find before a way to 
do accent mark that points to the right, but found keystrokes from 
looking at that!


Thanks,
Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Microsoft mouse, ums and wsmouse

2009-07-22 Thread Luis Useche
Hi Guys,

I am new to OpenBSD and I was giving it a try by installing in my laptop. My
problem is that my usb wireless mouse does not work on X or with wsmoused.
From a message standpoint, everything seem normal. I got from dmesg:

uhidev0 at uhub4 port 2 configuration 1 interface 0 Microsoft Microsoft
Wireless Optical Mouse\M-. 1.00 rev 2.00/0.07 addr 2
uhidev0: iclass 3/1, 23 report ids
ums0 at uhidev0 reportid 17: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0
uhid2 at uhidev0 reportid 20: input=1, output=0, feature=0
uhid3 at uhidev0 reportid 21: input=3, output=0, feature=0
uhid4 at uhidev0 reportid 23: input=0, output=0, feature=1

Which means that the mouse is detected and attached to the wsmouse driver as
wsmouse1. However, it does not work at all. I have been looking all day
for a solution with no success. At this point I am clueless.

Any help is very appreciated.

Luis Useche
use...@gmail.com



Re: New Project - MICO

2009-07-22 Thread tico

Astrid Sanchez wrote:

Here in Colombia started some months ago the development of a
new project called MICO. It's purpose is create a CLI to configure services on
OpenBSD. MICO was presented in Campus Party Colombia and you can see the
slides on [1], also the screencast showing the functionality implemented so
far in [2].
  

Hello Astrid,

I've read your slides, but it's not clear to me what advantage MICO has 
over nsh[A],
which already is a CLI that configures services on OpenBSD and is well 
integrated.


Certainly you're free to write whatever CLI or management scripts you 
want, but I was curious why you wanted to start over? What problem with 
nsh are you trying to fix?


!Saludos!
Tico

[A] http://www.nmedia.net/nsh/



Re: New Project - MICO

2009-07-22 Thread Fernando Quintero
Hi Tico, Im working in the project too.

Basically, how do you add new commands  to nsh?, coding in c?, the
idea is use a .xml file with easy fields.

And, We Think nsh is used more for routing services,like BGP, OSPF,
etc, with mico the idea is configure system's stuff and services
installed with the base system, like dhcp, dns, vpn, nfs, ssh, etc.

these are some ideas about, what we want to do.

2009/7/22 tico tico-o...@raapid.net:
 Astrid Sanchez wrote:

 Here in Colombia started some months ago the development of a
 new project called MICO. It's purpose is create a CLI to configure
 services on
 OpenBSD. MICO was presented in Campus Party Colombia and you can see the
 slides on [1], also the screencast showing the functionality implemented
 so
 far in [2].


 Hello Astrid,

 I've read your slides, but it's not clear to me what advantage MICO has over
 nsh[A],
 which already is a CLI that configures services on OpenBSD and is well
 integrated.

 Certainly you're free to write whatever CLI or management scripts you want,
 but I was curious why you wanted to start over? What problem with nsh are
 you trying to fix?

 !Saludos!
 Tico

 [A] http://www.nmedia.net/nsh/





-- 
--

Fernando Quintero
http://nonroot.blogspot.com/
*Just a nonroot User*



Re: New Project - MICO

2009-07-22 Thread Chris Kuethe
Have a look in the ports@ archive for clish...

On Wed, Jul 22, 2009 at 4:21 PM, Fernando Quintero
fernando.a.quint...@gmail.com wrote:

 Hi Tico, Im working in the project too.

 Basically, how do you add new commands  to nsh?, coding in c?, the
 idea is use a .xml file with easy fields.

 And, We Think nsh is used more for routing services,like BGP, OSPF,
 etc, with mico the idea is configure system's stuff and services
 installed with the base system, like dhcp, dns, vpn, nfs, ssh, etc.

 these are some ideas about, what we want to do.

 2009/7/22 tico tico-o...@raapid.net:
  Astrid Sanchez wrote:
 
  Here in Colombia started some months ago the development of a
  new project called MICO. It's purpose is create a CLI to configure
  services on
  OpenBSD. MICO was presented in Campus Party Colombia and you can see the
  slides on [1], also the screencast showing the functionality implemented
  so
  far in [2].
 
 
  Hello Astrid,
 
  I've read your slides, but it's not clear to me what advantage MICO has
over
  nsh[A],
  which already is a CLI that configures services on OpenBSD and is well
  integrated.
 
  Certainly you're free to write whatever CLI or management scripts you
want,
  but I was curious why you wanted to start over? What problem with nsh are
  you trying to fix?
 
  !Saludos!
  Tico
 
  [A] http://www.nmedia.net/nsh/
 
 



 --
 --

 Fernando Quintero
 http://nonroot.blogspot.com/
 *Just a nonroot User*




--
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: Microsoft mouse, ums and wsmouse

2009-07-22 Thread Hendrickson, Kenneth
turn on wsmouse in /etc/rc.conf.local

read /etc/rc.conf (but don't modify it) to see what it does



-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of Luis Useche
Sent: Wednesday, July 22, 2009 5:47 PM
To: misc@openbsd.org
Subject: Microsoft mouse, ums and wsmouse


Hi Guys,

I am new to OpenBSD and I was giving it a try by installing in my
laptop. My
problem is that my usb wireless mouse does not work on X or with
wsmoused.
From a message standpoint, everything seem normal. I got from dmesg:

uhidev0 at uhub4 port 2 configuration 1 interface 0 Microsoft Microsoft
Wireless Optical Mouse\M-. 1.00 rev 2.00/0.07 addr 2
uhidev0: iclass 3/1, 23 report ids
ums0 at uhidev0 reportid 17: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0
uhid2 at uhidev0 reportid 20: input=1, output=0, feature=0
uhid3 at uhidev0 reportid 21: input=3, output=0, feature=0
uhid4 at uhidev0 reportid 23: input=0, output=0, feature=1

Which means that the mouse is detected and attached to the wsmouse
driver as
wsmouse1. However, it does not work at all. I have been looking all
day
for a solution with no success. At this point I am clueless.

Any help is very appreciated.

Luis Useche
use...@gmail.com



Re: iwi annoyance when changing AP

2009-07-22 Thread Jeremy Chase
David,

You are right. The way I laid out the example it would go back to
dlink. For the sake
of argument assume that I have also edited /etc/hostname.iwi0 dhcp
nwid attwifi, as that doesn't seem to work either.

But, what you are saying to do is to use ifconfig to setup the network
connection
and then dhclient once you can get 'status: active' in ifconfig. The
problem I have is
that I can't reliably get ifconfig to get an active status. It does
work sometimes, but
for some reason it is not consistent.

Jeremy


On Wed, Jul 22, 2009 at 3:20 PM, David Hilldh...@openbsd.org wrote:
 On Wed, Jul 22, 2009 at 03:06:25PM -0400, Jeremy Chase wrote:
 Hi Guys,

 My iwi interface works very well if I set it up with
 /etc/hostname.iwi0, but if I change access points I can usually not
 get onto a new network. For example, consider this scenario:

 At location 1 with open AP 'dlink' available:
 # echo dhcp nwid dlink  /etc/hostname.iwi0
 (reboot), and all is well.

 OK


 I move to a new location without rebooting, and I want to get onto a
 new AP, for example 'attwifi', so I try:
 # ifconfig nwid attwifi B  B (However this will almost never result in
 'status active', sometimes it does work, randomly.)
 # sh /etc/netstart iwi0 B (rarely works because it says no link)

 This will reset your nwid to 'dlink', which is what you have in
 /etc/hostname.iwi0


 I have tried to reset it to defaults with the man page example, but
 this doesn't work either.. I'll try something like this:
 ifconfig iwi0 -bssid -chan media autoselect nwid  -nwkey -wpa -wpapsk
 ifconfig iwi0 nwid attwifi
 ifconfig iwi0 up
 sh /etc/netstart iwi0
 (However this usually does not work either)

 Again, this resets your nwid to 'dlink'.

 I think instead of sh /etc/netstart iwi0, you want /sbin/dhclient iwi0


 So I am often forced to reboot just to change AP's, and that is rather
 annoying. Any thoughts? I am running -current but have had this issue
 since 4.5-release

 The machine is an IBM T42p

 $ pkg_info | grep iwi
 iwi-firmware-3.1 B  B Firmware binary image for iwi driver

 OpenBSD 4.6-current (GENERIC) #62: Wed Jul 15 17:27:21 MDT 2009
 B  B  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) M processor 2.00GHz (GenuineIntel 686-class)
599 MHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,F
XSR,SSE,SSE2,SS,TM,SBF,EST,TM2
 real mem B = 1072656384 (1022MB)
 avail mem = 1028411392 (980MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/18/07, BIOS32 rev. 0 @
 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries)
 bios0: vendor IBM version 1RETDRWW (3.23 ) date 06/18/2007
 bios0: IBM 2373KUU
 apm0 at bios0: Power Management spec V1.2
 apm0: battery life expectancy 29%
 apm0: AC off, battery charge high, estimated 0:24 hours
 acpi at bios0 function 0x0 not configured
 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: (uniprocessor)
 cpu0: Enhanced SpeedStep 599 MHz: speeds: 2000, 1800, 1600, 1400,
 1200, 1000, 800, 600 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 io address conflict 0x5800/0x8
 io address conflict 0x5808/0x4
 io address conflict 0x5810/0x8
 io address conflict 0x580c/0x4
 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03
 intelagp0 at pchb0
 agp0 at intelagp0: aperture at 0xd000, size 0x1000
 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M10 rev 0x80
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: irq 11
 drm0 at radeondrm0
 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
 mem address conflict 0xb000/0x1000
 mem address conflict 0xb100/0x1000
 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:79:a8:3c
 iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2200BG rev 0x05:
 irq 11, address 00:0e:35:7b:29:23
 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 

BD squidGuar from internet

2009-07-22 Thread Yamidt Henao
Hi,

in squid Is possible that the list of URLs from squidGuard web filter, this
could be consulted from BD in internet and not the local BD squidGuard.

Best Regars,

Yamidt



Re: Microsoft mouse, ums and wsmouse

2009-07-22 Thread Luis Useche
On Wed, Jul 22, 2009 at 9:51 PM, Hendrickson,
Kennethkhend...@harris.com wrote:
 turn on wsmouse in /etc/rc.conf.local

 read /etc/rc.conf (but don't modify it) to see what it does

I'm sorry I didn't mention it. The wsmoused is working and, in fact,
my touchpad is perfectly fine for both: console and X. Another
suggestion?

Luis Useche
use...@gmail.com



Re: Porting HammerFS

2009-07-22 Thread Jacob Yocom-Piatt

Christiano Farina Haesbaert wrote:

Pointing out my mistake(s) and explaining why is enough.

  



there is no such thing as enough: misery is openly traded on the 
exchange of m...@openbsd.org. i become miserable from reading emails 
like this and make you miserable in turn.


as gerald pointed out most of us are really interested in the misery 
derivatives, mostly spot laughs and front month chuckles.




Web GUI for named(8) ?

2009-07-22 Thread Rolf Sommerhalder
Hello list,

Can you recommend any GUI that enables junior IT staff to maintain
basic DNS Resource Records (such as for ex.. A, PTR, CNAME,...) for
BIND 9 running on OpenBSD?

Also, I will consider alternatives to named(8), provided that they
support an authoritative, split DNS server and some simple GUI, all
running on OpenBSD.

So far, I have been looking at webmin, Binder, smbind, ProBIND, DNS
Control, adadns. None of them appears to have a OpenBSD port yet.
Their maturity  development activity appears to vary widely.

Thanks for any hints,
Rolf