Re: detect if a flag-day has happened in the meanwhile

2005-10-03 Thread Han Boetes
Ted Unangst wrote:
> On 10/2/05, Han Boetes <[EMAIL PROTECTED]> wrote:
> > I am wondering if there is a good way to check if a flag-day
> > has passed if you have both the new and old kernel. How can I
> > check that?
>
> md5 src/sys/*/*.h for both kernels and compare the result.

Ah right. But is there perhaps a way to test it on two compiled
kernels?



# Han



LinuxWorld Expo UK 2005, Oct 5 - 6, 2005, Olympia, London, UK

2005-10-03 Thread Wim Vandeputte
Hi,

just a heads up that like every year there will be an OpenBSD / OpenSSH
booth a the LinuxWorld Expo UK which is held Oct 5 - 6 in the Olympia, London.

More info: http://www.linuxworldexpo.co.uk/

As always I'm looking for people to give me a hand, even if it was just for
half a day. Volunteers are invited to check with me if there still is
an 11 pm closing hour after the Licencing Act 2003 came in affect ;-)

Potential booth slaves email me please in advacne so I can arrange your 
free badges.

Wim.

PS: Next week http://www.linux-kongress.org/2005/index.html Hamburg

-- 
   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=   
https://kd85.com/notforsale.html
 --



Url checker

2005-10-03 Thread Nils.Reuvers
Hi list,

Anyone knows a good URL checker that runs on OpenBSD? My boss wants me
to monitor web site traffic and present a report with all visits to all
websites per user (pc). I've searched the internet but did not find an
appropriate (free) solution. I have been playing with the idea to use
snort, but that seems a lot of work to me.

Any suggestions are more then welcome.

Nils

=
A disclaimer applies to this email and any attachments. 
Refer to http://www.sparkholland.com/emaildisclaimer for the full text of this 
disclaimer.



Re: Migration to PF - some questions

2005-10-03 Thread Szechuan Death

jared r r spiegel wrote:


  i'd VERY much like to see someone put up a short little www-type
  ( or whatever ) illustration of how they were really experiencing
  a service-affecting performance degredation which was solved by 
  the use of 'quick' in their ruleset.


For what it's worth, I've never found that performance is as much the
issue as clarity; if I am certain that I want evaluation to stop in
that particular case, then it needs to stop there, period.  Any further
evaluation is at best a waste of time and can potentially cause weird
errors when rules you _thought_ were in effect are superseded by later
rules.  Administration is hard enough without providing nesting spots
for exciting new types of bug to eat up all your available time.  >;->


  even little soekrises are really hurting for speed some times, but
  from my small experience with them one would probably end up gagging
  on interrupts before one would run into a brick wall due to not using
 'quick' a lot.


I find myself wishing for more memory on the Soekris before I wish for
more CPU.  (Though honestly, a little more of both wouldn't hurt.)
Which brings up an interesting point:  is anybody else irritated that
the Routerboard 532 has only 32 MB of memory, and that soldered on
board?  Is there any particularly good reason these manufacturers don't
stick a SODIMM slot on the board and let _us_ decide how much memory it
needs?  I'd be thrilled if someone had a 400/500-MHz MIPS board with
a SODIMM slot, I almost wouldn't care what else was on it.  I've also
had scant luck Googling for ATX/uATX form-factor MIPS boards in that
clock range anywhere.  Do such things exist, or is this one of those
things that one can find only in the Great Machineroom in the Sky?
I'd like just a tiny bit more oomph and expandability than the Soekris
has, but not that much more.

--
(c) 2005 Unscathed Haze via Central Plexus <[EMAIL PROTECTED]>
I am Chaos.  I am alive, and I tell you that you are Free.  -Eris
Big Brother is watching you.  Learn to become Invisible.
| Your message must be this wide to ride the Internet. |



Re: Help creating a port

2005-10-03 Thread viq
On Monday 03 of October 2005 02:46, Jacob Meuser wrote:

> maybe adding DESTDIR in patches isn't needed anymore?

Or rather, still is necessary... There's much more of that in the Makefile of 
newer version, seems getting rid of them helped. Thanks :)
Now copying from bzip's port what to do about symlinks ;)

-- 
viq



Re: Url checker

2005-10-03 Thread J. Lievisse Adriaanse
Maybe you mean something like:
http://www.openbsd.org/cgi-bin/cvsweb/ports/www/linkchecker/ ?

Cheers,
Jasper

Op 3/10/2005 schreef "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>:

>Hi list,
>
>Anyone knows a good URL checker that runs on OpenBSD? My boss wants me
>to monitor web site traffic and present a report with all visits to all
>websites per user (pc). I've searched the internet but did not find an
>appropriate (free) solution. I have been playing with the idea to use
>snort, but that seems a lot of work to me.
>
>Any suggestions are more then welcome.
>
>Nils
>
>=
>A disclaimer applies to this email and any attachments.
>Refer to http://www.sparkholland.com/emaildisclaimer for the full text of this 
>disclaimer.



Re: Url checker

2005-10-03 Thread Nils.Reuvers
Thanks Jasper,

I just thought of another solution. Stupid me not thinking of it
earlier. I can log all http traffic with PF and write some perl to
process the logfile. Can't believe I was staring blind on a 3rd party
solution.

Nils
 

-Original Message-
From: J. Lievisse Adriaanse [mailto:[EMAIL PROTECTED] 
Sent: maandag 3 oktober 2005 12:41
To: Reuvers, Nils; misc@openbsd.org
Subject: Re: Url checker


Maybe you mean something like:
http://www.openbsd.org/cgi-bin/cvsweb/ports/www/linkchecker/ ?

Cheers,
Jasper

Op 3/10/2005 schreef "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>:

>Hi list,
>
>Anyone knows a good URL checker that runs on OpenBSD? My boss wants me 
>to monitor web site traffic and present a report with all visits to all

>websites per user (pc). I've searched the internet but did not find an 
>appropriate (free) solution. I have been playing with the idea to use 
>snort, but that seems a lot of work to me.
>
>Any suggestions are more then welcome.
>
>Nils
>
>===
>== A disclaimer applies to this email and any 
>attachments.
>Refer to http://www.sparkholland.com/emaildisclaimer for the full text
of this disclaimer.
>


=
A disclaimer applies to this email and any attachments. 
Refer to http://www.sparkholland.com/emaildisclaimer for the full text of this 
disclaimer.



Re: Url checker

2005-10-03 Thread Teemu Schaabl
[EMAIL PROTECTED]([EMAIL PROTECTED])@2005.10.03
11:08:31 +:
> Hi list,
>
> Anyone knows a good URL checker that runs on OpenBSD? My boss wants me
> to monitor web site traffic and present a report with all visits to all
> websites per user (pc). I've searched the internet but did not find an
> appropriate (free) solution. I have been playing with the idea to use
> snort, but that seems a lot of work to me.
>
> Any suggestions are more then welcome.
>

use squid transparent on your openbsd gateway:
daniel has a working howto:
http://www.benzedrine.cx/transquid.html

after you got it up and running, analyse the resulting log-files
with one of these: http://www.squid-cache.org/Scripts/

maybe you should try out this, sounded good to me, but I never had to
implemented it (thank god):

http://squidalyser.sourceforge.net

hope this helps,
teemu

--
personal crap: http://teemu.lynix.net

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: Url checker

2005-10-03 Thread Gaby vanhegan
On 3 Oct 2005, at 12:11, <[EMAIL PROTECTED]> wrote:

> I just thought of another solution. Stupid me not thinking of it
> earlier. I can log all http traffic with PF and write some perl to
> process the logfile. Can't believe I was staring blind on a 3rd party
> solution.

Perhaps transparent proxying with Squid and PF might give you the  
information you need?

--
Junkets for bunterish lickspittles since 1998!
[EMAIL PROTECTED]
http://weblog.vanhegan.net



Re: Url checker

2005-10-03 Thread Teemu Schaabl
Teemu Schaabl([EMAIL PROTECTED])@2005.10.03 13:15:20 +:
> [EMAIL PROTECTED]([EMAIL PROTECTED])@2005.10.03
> 11:08:31 +:
> > Hi list,
> >
> > Anyone knows a good URL checker that runs on OpenBSD? My boss wants me
> > to monitor web site traffic and present a report with all visits to all
> > websites per user (pc). I've searched the internet but did not find an
> > appropriate (free) solution. I have been playing with the idea to use
> > snort, but that seems a lot of work to me.
> >
> > Any suggestions are more then welcome.
> >
>
> use squid transparent on your openbsd gateway:
> daniel has a working howto:
> http://www.benzedrine.cx/transquid.html
>
> [ ... ]
>

gezz - got this question wrong, sorry for the noise.

--
"Every man takes the limits of his own field of vision
 for the limits of the world." - Schopenhauer

[demime 1.01d removed an attachment of type application/pgp-signature]



OpenBSD MetaStore: Wireless cards

2005-10-03 Thread Szechuan Death

OpenBSD users:

In light of the recent post about ath(4) D-Link cards of particular
revision numbers not functioning properly, anyone who has the following
cards and can verify their functionality under some version of OpenBSD,
please inform me of that fact:

D-Link DWL-G520
D-Link DWL-G650
Senao 5354 MP plus
Linksys WPC55AG

If this functionality is restricted to particular revisions, please
report only the revisions that work.

Also, those of you who have purchased a wireless card new in the
last year or so, please send me the model number of the version that
you purchased, along with revision number and other relevant identifying
information.  Email me off-list, or go to the link below and click
on the "Submit New Kit!" to submit this information.

This information is going into the MetaStore, located here:

http://www.sdeath.net/obsdstore

to help prevent other people from buying lemon hardware that won't
work with OpenBSD.  I have no doubt that it is mildly inconvenient
to track down what you put in your machine and send the information
to some asshole in the hinterlands of Nowhere, but if everybody kicks
in one device's worth of information, after a very little while, the
options for _everybody_ get a lot better.  I'm sure that everyone
here (myself included) who have once in their lives been bit by the
"OpenBSD Compatibility Curse" and had to brave the blank, bovine stare
of the computer-store salesdroid upon attempting to return the hardware
we thought looked so damned cool in the salesrack will appreciate having
those options.  Suggestions welcome for the format, too.

--
(c) 2005 Unscathed Haze via Central Plexus <[EMAIL PROTECTED]>
I am Chaos.  I am alive, and I tell you that you are Free.  -Eris
Big Brother is watching you.  Learn to become Invisible.
| Your message must be this wide to ride the Internet. |



Re: OpenBSD MetaStore

2005-10-03 Thread Brandon Mercer
Szechuan Death wrote:

> The MetaStore is at this point essentially complete, save for content.
> There are links on the page to assist in populating it.  There are
> about 20 pieces of hardware featured on this:  IT NEEDS MORE.
> I have received several bits and pieces of information, but to make
> this more useful, I need even more information.  Go to the following
> link, browse what's there, and provide information about what stuff
> you know is out there that works with OpenBSD.  I've provided the
> resource, people: you need to help me fill it.
>
> http://www.sdeath.net/obsdstore 

http://www.sdeath.net/obsdstore ++  Nice work
Brandon



Kprinter in KDE fails

2005-10-03 Thread [EMAIL PROTECTED]
Hi

At our office we are planning a migration from Ubuntu on some desktops to 
OpenBSD so far everything has been working well except printing in KDE.

I have managed to get OpenBSD printing with CUPS from the packages, but if I 
try to start kprinter in KDE it crashes. Every other application in KDE crashes 
too with I try to use "print" from the file menu.

Is this a common problem in KDE on OpenBSD? Have I missed something? I have 
testet this on two different installations and it's the same result.

Should I do some debugging or is this perhaps due to some common problem? Do 
everybody else who uses KDE face the same problem?

I have search the achives and googled but have failed to find the relevant 
information and tend to think that perhaps it's a well know issue hence no 
information.

Cheers, 
Marcus



Re: Url checker

2005-10-03 Thread Nils.Reuvers
Good point. 

-Original Message-
From: michael hamerski [mailto:[EMAIL PROTECTED] 
Sent: maandag 3 oktober 2005 15:46
To: Reuvers, Nils
Subject: Re: Url checker

be warned: depending on the number of clients on your network, logging
all http traffic is a pretty good way of testing the reliability of your
disk.

when I was reluctantly asked to implement this a few years ago on a 100
client network, the aging disk failed within a week. if you want to do
this on a long-term basis for more than a few clients, I would consider
a dedicated disk.

mike


=
A disclaimer applies to this email and any attachments. 
Refer to http://www.sparkholland.com/emaildisclaimer for the full text of this 
disclaimer.



Re: OpenBSD MetaStore

2005-10-03 Thread frantisek holop
hmm, on Sat, Oct 01, 2005 at 05:08:44AM -0800, Szechuan Death said that
> http://www.sdeath.net/obsdstore

nice work and all.
but please don't put frames on openbsd.org

-f
-- 
how many of you believe in telekinesis?  raise my hand!



Re: Kprinter in KDE fails

2005-10-03 Thread Marc Espie
On Mon, Oct 03, 2005 at 02:29:55PM +0200, [EMAIL PROTECTED] wrote:
> Hi
> 
> At our office we are planning a migration from Ubuntu on some desktops to 
> OpenBSD so far everything has been working well except printing in KDE.
> 
> I have managed to get OpenBSD printing with CUPS from the packages, but if I 
> try to start kprinter in KDE it crashes. Every other application in KDE 
> crashes too with I try to use "print" from the file menu.
> 
> Is this a common problem in KDE on OpenBSD? Have I missed something? I have 
> testet this on two different installations and it's the same result.
> 
> Should I do some debugging or is this perhaps due to some common problem? Do 
> everybody else who uses KDE face the same problem?
> 
> I have search the achives and googled but have failed to find the relevant 
> information and tend to think that perhaps it's a well know issue hence no 
> information.

Did you install cups ?
KDE is built to use cups as a plugin, but you need to install it before
you can switch kprinter to cups.



Re: Url checker

2005-10-03 Thread Gaby vanhegan
On 3 Oct 2005, at 14:48, <[EMAIL PROTECTED]> wrote:

> be warned: depending on the number of clients on your network, logging
> all http traffic is a pretty good way of testing the reliability of  
> your
> disk.

If you do eventually get your HTTP traffic running through one host,  
running EtherPeg on it always tickles me.

--
Junkets for bunterish lickspittles since 1998!
[EMAIL PROTECTED]
http://weblog.vanhegan.net



Re: compaq evo t20

2005-10-03 Thread Dag Sverre Seljebotn
> First, thanks for a well made t20 evo+linux doc.
> here is a post I dropped to a obsd mailinglist. I don't know if you can help 
> me?

[Writing this so that it can be posted to the list - I'm trying, but I
don't know if my mail will be accepted when I am not subscribing to it,
so can you please forward it if it doesn't get through?]

Only thing I can think of is the gate A20 - I have absolutely no
knowledge about the OBSD kernel, but if it tries to set gate A20 (google
for more info) then it will halt.

Might be lots of other stuff as well I guess, but the gate A20 was the
only one I encountered when trying to load GRUB on it (see how to patch
GRUB at http://fredtun.no/ltsp). Using GRUB to load Linux then worked
flawlessly.

So if OBSD, or (more likely) your PXE loader program, does any gate A20
switching on boot, just patch it to remove the switching (there is no
gate A20 on the EVO, it behaves as though it is always on).

// Dag Sverre



Re: OpenBSD MetaStore

2005-10-03 Thread L. V. Lammert
On Mon, 3 Oct 2005, frantisek holop wrote:

> hmm, on Sat, Oct 01, 2005 at 05:08:44AM -0800, Szechuan Death said that
> > http://www.sdeath.net/obsdstore
>
> nice work and all.
> but please don't put frames on openbsd.org
>
Nice work, .. *including* the frames.

Lee



Queing on Multiple Interfaces Revisited (WAS: Re: matching queues in both directions with stateful rulesets)

2005-10-03 Thread Brian A. Seklecki
On Mon, October 25, 2004 12:50 pm, Henning Brauer said:
> * Tony Sarendal <[EMAIL PROTECTED]> [2004-10-25 16:48]:
>> Is there a way to assign wich queues stateful traffic
>> will use in both directions ?
>
> yes, you can have queues with the same names on multiple interfaces.
>
> i. e. you create the queue "customer1" on both your external (dc0) and
> "his" interface (vlan1). outbond will go to the one on dc0, inbound to
> the one on vlan1.

A better topic would be perhaps "upstream bandwidth
distribution...downstream"

All, the PF FAQ states several fundementals about queuing:

1) "queuing is only useful for packets in the outbound direction"

..then later:

2) "Note that queue designation can happen on an interface other than the
one defined in the altq on directive:
  [...example rule set..]

 Queueing is enabled on fxp0 but the designation takes place on dc0. If
packets matching the pass rule exit from interface fxp0, they will be
queued in the ftp queue. This type of queueing can be very useful on
routers."

-

I think a lot of confusion on this topic of multiple interfaaces
originates from three problems:

*) The FAQ/documentation doesn't discuss how stateful rules effect
behavior of queue assigment of returing traffic.

*) The FAQ/documentation doesn't really clarify how matching traffic
inbound on one interface (of which the destination traffic matched will
travel outbound on an inteface on which queuing is enabled) and applying
it to the "outbound" queue of the designated interface (point #2 above)
differs in behavior from simply matching traffic "outbound" on said
queuing-enabled interface.

*) The documentation is a bit ambiguous in the use of terminology such as
"direction", "inbound", "outbound", "upstream", "downstream", "ingress",
"egress", etc.,
this is especially important with regards to the naming conventions on
queues and also when the behavior of an example rulset is described.

Back to the multiple interface issue:

Let's looks at an example like a Frame Relay network mightsay that
your objective is an SLA for your customers worded as so:

"Customer 1 has a 300Kbps bi-directional CIR. Customer 2 has a 500Kbps
bi-directional CIR.  Both may borrow from the total available."

*) 1 or 2 physical interface, 3 logical, whatever.
*) The upstream "external" interface is broadband/narrowband delivered via
Fast Ethernet (xl0)
*) For the sake of sanity, the narrowband connectivity is
synchronous/symetric
*) Customer handoff is 100mbs Ethernet (vlan10,vlan20), switch trunked
*) The OpenBSD router is a "perimeter router" with a "pass all" style
ruleset (with scrubbing and RFC1918 bogon filters, etc.)

In this case, you can use a generic template to enforce "upstream" or
"outbound" queues on xl0.

altq on xl0 cbq queue { std-up cust1-up cust2-up }
queue std-up cbq(default ecn)
queue cust1-up bandwidth 10Mb cbq(ecn)
queue cust2-up bandwidth 10Mb cbq(ecn)

pass out on xl0 from $vlan10_subnet to any keep state queue cust1-up
pass out on xl0 from $vlan20_subnet to any keep state queue cust1-up
# these filters will match customer FTP uploads and HTTP GETs from
cuomster-hosted web servers, etc.
# this rule is redundant because the traffic would be forwarded anyway, it
exists simply to match traffic into a queue and create a state table entry
while we're at it.

...

But then let's say you want to invert those rules.

**NOTE**, if customer1 and customer2 were visibile via the same interface,
then you could easily create a queue on that shared customer-facing
interface with a "bandwidth" statement that matches the max hypothetical
"downstream" speed of the broadband connection.  Then divy it up using
sub-queues and borrow statements.

...but what if Customer 1 and Customer 2 are on seperate interfaces?

1) You could create non-stateful matching rules as "pass in on $ext_if"
2) You could create non-stateful matching rules as "pass out on $cust1
...", "pass out on $cust2...",

But the question remains: Into what queue?  What type of queue would be
used to desginate a policy for "downstream traffic flows" that are
traveling "inbound" via an "upstream" interface, processed by the router,
and forwarded "outbound" via two "downstream" interfaces, ***while SHARING
the available "downstream" bandwidth available via the "inbound
interface"***

It's as if there needs to almost be a seperate type of queue not affilated
with an Interface, i.e., the "ingress/egress" queue for matching traffic
switched from interface-to-interface.

We keep saying, "you can't queue inbound", which makese sense.

But you need a technique for queuing a "shared ingress"

~BAS

>
> --
> http://2suck.net/hhwl.html - http://www.bsws.de/
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)
>
>


-- 
l8r* --
~ Brian A. Seklecki

"From back in the heady days when 'Help Desk' meant nothing, 'Disk Quota'
meant everything, and lives could be bought and sold for a couple of pages
of laser print

Documentation bug in WWW FAQ???

2005-10-03 Thread Bryan
I recently attempted to dualboot my laptop with Windows XP.  I was
following the FAQ and came to the point where I issued this command:

"dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1"

And the system tells me that:


"/dev/rsd0a not configured"

I did a google search to see if I did anything wrong and I found this site:


http://darkuncle.net/OpenBSD/OpenBSD_dualboot.txt

I found the following passage:

-
When you're done installing, pop in a USB key or floppy, mount it
(for a USB key, I do "mount_msdos /dev/sd0i /mnt"; for a floppy, it's
"mount_msdos /dev/fd0a /mnt") and do the following to grab your OpenBSD
primary boot record:

# dd if=/dev/rwd0a of=/mnt/openbsd.pbr bs=512 count=1

Now reboot the machine into Windows, and copy the openbsd.pbr file you just
created to C:\openbsd.pbr in Windows. If you don't have a floppy or USB key
available to tranfer your openbsd.pbr with, you can copy it to another
machine on your network, reboot into Windows, and copy it back.
-


The "dd" command above does allow me to save openbsd.pbr, and with
this, I can dualboot.  I just wanted to give a heads-up that if the
FAQ doesn't allow you to dualboot, then the above might work.  I
thought that maybe it was a typo, since "rsd0a" and "rwd0a" differ by
one letter, and those differing letters lie close on the keyboard.



Re: Documentation bug in WWW FAQ???

2005-10-03 Thread Andreas Kahari
On 03/10/05, Bryan <[EMAIL PROTECTED]> wrote:
> I recently attempted to dualboot my laptop with Windows XP.  I was
> following the FAQ and came to the point where I issued this command:
>

First you say:
> "dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1"

later you quote the docs:
> # dd if=/dev/rwd0a of=/mnt/openbsd.pbr bs=512 count=1

I see "rwd0a" in the document, not "rsd0a".

Andreas



--
Andreas Kahari



Current: ports/infrastructure/build/out-of-date - Replacement?

2005-10-03 Thread sebastian . rother
I noticed this new Script wich replaced the old out-of-date is a
"littlebit" lame. To say it truthly.. it is incredible lame. (no offending
for the developer of that script)

I needed about 20 seconds on a Dual-Opteron with 2GB RAM and a neat HDD to
get the output of that script (even I don't installed every program so
there shouldn't be a lot to check).

Btw: I got this output:

graphics/gimp/stable # 2.2.8 -> 2.2.8
multimedia/transcode # 0.6.14p2 -> 0.6.14p2

Does it mean that I should have to upgrade to the same version?

A nice 9RC-Port exist and is avaiable here:
http://wmi.modprobe.de/snaps/openbsd/

9rc is faster, uses less memory and could be a perfect solution for simple
system-scripts. So I guess it would be worth to take a look at 9rc.

Kind regards,
Sebastian
-- 
Don't buy anything from YeongYang.
Their Computercases are expensiv, they WTX-powersuplies start burning and
their support refuse any RMA even there's still some warenty.



Re: Documentation bug in WWW FAQ???

2005-10-03 Thread steven mestdagh
On Mon, Oct 03, 2005 at 04:35:36PM +0100, Bryan wrote:
> I recently attempted to dualboot my laptop with Windows XP.  I was
> following the FAQ and came to the point where I issued this command:
> 
> "dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1"
> 
> And the system tells me that:
> 
> 
> "/dev/rsd0a not configured"
> 
> I did a google search to see if I did anything wrong and I found this site:
> 
> 
> http://darkuncle.net/OpenBSD/OpenBSD_dualboot.txt
> 
> I found the following passage:
> 
> -
> When you're done installing, pop in a USB key or floppy, mount it
> (for a USB key, I do "mount_msdos /dev/sd0i /mnt"; for a floppy, it's
> "mount_msdos /dev/fd0a /mnt") and do the following to grab your OpenBSD
> primary boot record:
> 
> # dd if=/dev/rwd0a of=/mnt/openbsd.pbr bs=512 count=1
> 
> Now reboot the machine into Windows, and copy the openbsd.pbr file you just
> created to C:\openbsd.pbr in Windows. If you don't have a floppy or USB key
> available to tranfer your openbsd.pbr with, you can copy it to another
> machine on your network, reboot into Windows, and copy it back.
> -
> 
> 
> The "dd" command above does allow me to save openbsd.pbr, and with
> this, I can dualboot.  I just wanted to give a heads-up that if the
> FAQ doesn't allow you to dualboot, then the above might work.  I
> thought that maybe it was a typo, since "rsd0a" and "rwd0a" differ by
> one letter, and those differing letters lie close on the keyboard.

it is not a typo, just another possibility. maybe you want to have a look
at the wd(4) and sd(4) manual pages.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: compaq evo t20

2005-10-03 Thread Bachman Kharazmi
thanks for your reply Dag.

I've made some search using google about 'gate A20' and openbsd with
evo, but nothing that I've found very useful yet. I found one page
http://www.win.tue.nl/~aeb/linux/kbd/A20.html describing A20, even if
I don't have a clue what all that mean.

I'am most frustrated about why the kernel get transfered but doesn't
even start initializing.
(it was just here:
>>OpenBSD/i386 PXEBOOT 1.02
booting tftp:/bsd 4807268-
it feezed, remember?)

I've read my kernel config if there was any option related to gate
A20, but my search didn't find any matches.

I know that I once tried booting a linux kernel and it did boot
without freezing.

I've "boot" in my /tftp/etc/boot.conf so there's no delay during
startup since it's a non working usb KB at that bootprompt state.  I
don't think that it's my problem. But what I do think might cause my
kernel freeze is missing support in kernel. Even if Geode GX1 is
supposed to be supported which I think it is, but just not in my case
:/

Anyone who has further ideas about how to disable gate A20 with generic kernel?

/bkw

On 10/3/05, Dag Sverre Seljebotn <[EMAIL PROTECTED]> wrote:
> > First, thanks for a well made t20 evo+linux doc.
> > here is a post I dropped to a obsd mailinglist. I don't know if you can 
> > help me?
>
> [Writing this so that it can be posted to the list - I'm trying, but I
> don't know if my mail will be accepted when I am not subscribing to it,
> so can you please forward it if it doesn't get through?]
>
> Only thing I can think of is the gate A20 - I have absolutely no
> knowledge about the OBSD kernel, but if it tries to set gate A20 (google
> for more info) then it will halt.
>
> Might be lots of other stuff as well I guess, but the gate A20 was the
> only one I encountered when trying to load GRUB on it (see how to patch
> GRUB at http://fredtun.no/ltsp). Using GRUB to load Linux then worked
> flawlessly.
>
> So if OBSD, or (more likely) your PXE loader program, does any gate A20
> switching on boot, just patch it to remove the switching (there is no
> gate A20 on the EVO, it behaves as though it is always on).
>
> // Dag Sverre
>
>


--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: Url checker

2005-10-03 Thread Dave Anderson
** Reply to message from <[EMAIL PROTECTED]> on Mon, 3 Oct
2005 11:08:31 +0200

>Anyone knows a good URL checker that runs on OpenBSD? My boss wants me
>to monitor web site traffic and present a report with all visits to all
>websites per user (pc). I've searched the internet but did not find an
>appropriate (free) solution. I have been playing with the idea to use
>snort, but that seems a lot of work to me.

Your boss _is_ aware that what he seems to be asking for is
fundamentally impossible, due to caching proxies, dynamic IP addresses,
multiuser systems, etc?

Dave

-- 
Dave Anderson
<[EMAIL PROTECTED]>



LSI MegaRAID SATA 300-8X controller

2005-10-03 Thread dick
heya,

i'm interested in getting an 8-channel SATA RAID controller
that runs on the ami driver so i can use all the new neato
RAID functionality for my backup server. i haven't seen
anything in the archives about a known working controller like
i've described, but i did see the LSI MegaRAID SATA 300-8X
mentioned in a couple posts.

is anybody currently using this controller? does it run on the
ami driver and/or play nice with bioctl?

if this card is unsupported i would appreciate a suggestion
for another 8 channel SATA RAID card that is known to work
with ami and bioctl.

cheers,
jake



Re: Documentation bug in WWW FAQ???

2005-10-03 Thread Nick Holland
On Mon, Oct 03, 2005 at 04:35:36PM +0100, Bryan wrote:
> I recently attempted to dualboot my laptop with Windows XP.  I was
> following the FAQ and came to the point where I issued this command:
> 
> "dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1"
> 
> And the system tells me that:
> 
> 
> "/dev/rsd0a not configured"

DON'T BLINDLY TYPE COMMANDS YOU DON'T UNDERSTAND.

man wd
man sd

Yes, I could change that so more people could use it blindly, but
multibooting IS NOT TRIVIAL.  If you don't understand what you are
doing, you can very easily cause data loss.

I don't want this section to be too "just type this" or "HOWTO".

Nick.



Re: Documentation bug in WWW FAQ???

2005-10-03 Thread Matthew Weigel
Andreas Kahari wrote:
> On 03/10/05, Bryan <[EMAIL PROTECTED]> wrote:
>> I recently attempted to dualboot my laptop with Windows XP.  I was
>> following the FAQ and came to the point where I issued this command:
>
> First you say:
>> "dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1"
>
> later you quote the docs:
>> # dd if=/dev/rwd0a of=/mnt/openbsd.pbr bs=512 count=1
>
> I see "rwd0a" in the document, not "rsd0a".

Eh?  Look at http://www.openbsd.org/faq/faq4.html#Multibooting:

# dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1

However, that's entirely dependent on the device to which you are
installing, although the FAQ doesn't make that clear.

Other parts of the install process make it very clear what drive
(typically wd0 for IDE drives and sd0 for SCSI drives) is being used, what
is not so clear to a new user is that 'rsdX' is the raw version of the
'sdX' block device, and 'rwdX' is the raw version of the 'wdX' block
device.
-- 
 Matthew Weigel
 hacker
 [EMAIL PROTECTED]



Re: Documentation bug in WWW FAQ???

2005-10-03 Thread Bryan
On 10/3/05, Andreas Kahari <[EMAIL PROTECTED]> wrote:
> On 03/10/05, Bryan <[EMAIL PROTECTED]> wrote:
> > I recently attempted to dualboot my laptop with Windows XP.  I was
> > following the FAQ and came to the point where I issued this command:
> >
>
> First you say:
> > "dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1"
This is what is found on the WWW FAQ.  Using this, I get the

"/dev/rsd0a is not configured"  and I am unable to get a .pbr file to
dualboot my laptop.

http://www.openbsd.org/faq/faq4.html#Multibooting
>
> later you quote the docs:
> > # dd if=/dev/rwd0a of=/mnt/openbsd.pbr bs=512 count=1

This command works for me, it's on the following website:

http://darkuncle.net/OpenBSD/OpenBSD_dualboot.txt

>
> I see "rwd0a" in the document, not "rsd0a".
>
> Andreas



Re: Documentation bug in WWW FAQ???

2005-10-03 Thread Andreas Kahari
On 03/10/05, Bryan <[EMAIL PROTECTED]> wrote:
> On 10/3/05, Andreas Kahari <[EMAIL PROTECTED]> wrote:
> > On 03/10/05, Bryan <[EMAIL PROTECTED]> wrote:
> > > I recently attempted to dualboot my laptop with Windows XP.  I was
> > > following the FAQ and came to the point where I issued this command:
> > >
> >
> > First you say:
> > > "dd if=/dev/rsd0a of=openbsd.pbr bs=512 count=1"
> This is what is found on the WWW FAQ.  Using this, I get the
>
> "/dev/rsd0a is not configured"  and I am unable to get a .pbr file to
> dualboot my laptop.
>
> http://www.openbsd.org/faq/faq4.html#Multibooting
> >
> > later you quote the docs:
> > > # dd if=/dev/rwd0a of=/mnt/openbsd.pbr bs=512 count=1
>
> This command works for me, it's on the following website:
>
> http://darkuncle.net/OpenBSD/OpenBSD_dualboot.txt
>
> >
> > I see "rwd0a" in the document, not "rsd0a".


Ah, now I see what you're typing.  Yes, that part of the FAQ is only
really valid if you boot from a SCSI drive.  Some people do, some
people don't.  You obviously do not, so you naturally need to specify
your IDE drive instead.


Andreas


--
Andreas Kahari



Re: LSI MegaRAID SATA 300-8X controller

2005-10-03 Thread Brandon Mercer
[EMAIL PROTECTED] wrote:

>heya,
>
>i'm interested in getting an 8-channel SATA RAID controller
>that runs on the ami driver so i can use all the new neato
>RAID functionality for my backup server. i haven't seen
>anything in the archives about a known working controller like
>i've described, but i did see the LSI MegaRAID SATA 300-8X
>mentioned in a couple posts.
>
>is anybody currently using this controller? does it run on the
>ami driver and/or play nice with bioctl?
>  
>
Yes, and Yes, and Yes!  Use it, it's great!
Brandon



Re: Webmail recommendations?

2005-10-03 Thread Adam Douglas
I've used SquirrelMail and it works with both IMAP and POP3. It's pretty
good, simple and functional. However it does lack more advanced features
suchs as threading, searching, etc. I personally wish it had.

Adam

>> I am at a loss for a good web interface.
>>
>> Anyone care to make any recommendations?

>I'm a pretty big fan of SquirrelMail.  It's a web-based IMAP client, so
you'd need an IMAP >server as well (I use Courier).  It works just fine
with OpenBSD's chrooted Apache, which is a >big plus.



Re: clamav 0.87 build error on 3.7

2005-10-03 Thread Marc Balmer

J Moore wrote:

I would have thought the Makefile would have taken care of this; i.e. 
deleted (or mv'd) the clamav libs... was I expecting too much, or is 
something missing from the port?


People like you should probably rather use the binary packages we 
provide.  Using the ports system directly can lead to unexpected 
results, indeed ;-)




Re: OpenBSD VPN SonicWall Problems

2005-10-03 Thread Hans-Joerg Hoexer
Hi,

On Fri, Sep 30, 2005 at 05:57:14PM -0700, Trepliev wrote:
> [Net-SonicWall]
> ID-type= IPV4_ADDR_SUBNET
> Network= 172.16.0.0 
> Netmask= 255.255.0.0 
^
> 
> [Net-Corp]
> ID-type= IPV4_ADDR_SUBNET
> Network= 10.1.105.0 
> Netmask= 255.255.255.0 
^^

This is not supposed to work.  Please read isakmpd.conf(5).



Re: Apache and SSL failed

2005-10-03 Thread Francisco Valladolid
Hi, this is the best doc about it.
 http://www.openbsd.org/faq/faq10.html#HTTPS
 Regards.
 On 9/30/05, Beto <[EMAIL PROTECTED]> wrote:
>
> Hello, can anybody send me a copy, a example of an apache server with
> SSL. My Apache server is stopped. Attaching file.
>
>
> Thanks
>
> **
> ServerType standalone
> ServerRoot "/var/www"
>
> PidFile logs/httpd.pid
> MaxClients 150
>
> #Modulos cargados
> LoadModule php5_module /usr/lib/apache/modules/libphp5.so
> LoadModule rewrite_module /usr/lib//apache/modules/mod_rewrite.so
>
> Port 80
>
> 
> Listen 80
> Listen 443
> 
>
> User www
> Group www
>
> ServerAdmin [EMAIL PROTECTED]
> ServerName *
> DocumentRoot "/var/www/htdocs"
>
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogLevel notice
> ErrorLog syslog
> CustomLog "| /usr/bin/logger -p local6.info " common
>
> 
> Options FollowSymLinks
> AllowOverride None
> Order deny,allow
> Deny from all
> 
>
> 
> Order allow,deny
> Allow from all
> 
>
> 
> Order allow,deny
> Allow from all
> 
>
> 
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> 
>
> UserDir disabled
>
> DirectoryIndex index.php index.htm index.html
>
> ServerTokens Prod
> UseCanonicalName On
> ServerSignature Off
>
> IndexOptions FancyIndexing
> LanguagePriority es en
>
> #archivos .php son interpretados por PHP
> AddType application/x-httpd-php .php .php3
>
> #Para el favicon
> AddType image/x-icon .ico
>
> NameVirtualHost *:80
>
> 
> AddType application/x-x509-ca-cert .crt
> AddType application/x-pkcs7-crl .crl
> 
>
> 
> SSLPassPhraseDialog builtin
> SSLSEssionCache dbm:logs/ssl_scache
> SSLSessionCacheTimeout 300
> SSLMutex sem
> SSLRandomSeed startup builtin
> SSLRandomSeed connect builtin
> SSLRandomSeed startup file:/dev/arandom 512
> SSLLog logs/ssl_engine_log
> SSLLogLevel info
> 
>
> SSLCertificateFile /etc/ssl/server.crt
> SSLCertificateKeyFile /etc/ssl/private/server.key
>
> #Dominio Default
>
> 
> SSLDisable
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /var/www/domains/one
> ServerName www.dominio.com 
> RewriteEngine on
> RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
> RewriteRule .* - [F]
> 
>
> 
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /var/www/domains/onessl
> ServerName lob.dominio.com 
> RewriteEngine on
> RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
> RewriteRule .* - [F]
> #SSL
> SSLEngine on
> SSLCertificateFile /etc/ssl/lob.dominio.com.crt
> #SSLCertificateKeyFile /etc/ssl/private/server.key
> SSLVerifyClient 0
> CustomLog "| /usr/bin/logger -p local6" common
> 
>
> 
> SSLDisable
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /var/www/domains/idbrandidentity
> ServerName www.domain2.com 
> # ErrorLog logs/www.domain2.com-error_log
> # CustomLog logs/www.domain2.com-access_log common
> RewriteEngine on
> RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
> RewriteRule .* - [F]
> 
>
>
>
> __
> Visita http://www.tutopia.com y comienza a navegar mas rapido en Internet.
> Tutopia es Internet para todos.
>
>


--
---
BSD - Unix simplicity.
Francisco Valladolid Hdez.
[EMAIL PROTECTED]



Re: Url checker

2005-10-03 Thread Hannah Schroeter
Hello!

On Mon, Oct 03, 2005 at 12:24:41PM -0400, Dave Anderson wrote:
>** Reply to message from <[EMAIL PROTECTED]> on Mon, 3 Oct
>2005 11:08:31 +0200

>>Anyone knows a good URL checker that runs on OpenBSD? My boss wants me
>>to monitor web site traffic and present a report with all visits to all
>>websites per user (pc). I've searched the internet but did not find an
>>appropriate (free) solution. I have been playing with the idea to use
>>snort, but that seems a lot of work to me.

>Your boss _is_ aware that what he seems to be asking for is
>fundamentally impossible, due to caching proxies, dynamic IP addresses,
>multiuser systems, etc?

An exact solution is impossible for the reasons you state. But
you *can* do heuristic approximations. I don't know of any free
solutions though.

But I know that the OP isn't alone. There's a company doing that for
the web sites they host, based on the httpd (Apache) logs.

>   Dave

Kind regards,

Hannah.



Re: Webmail recommendations?

2005-10-03 Thread viq
On Sunday 02 of October 2005 00:34, Chris wrote:

> Anyone care to make any recommendations?

http://www.pingwales.co.uk/tutorials/webmail-on-openbsd.html seems to be a 
nice tutorial, one of a couple they have. They suggest using dovecot (IMAP), 
and Horde+Imp for webmail. I cannot say i tried it, but the article seems 
nice.

> Chris

-- 
viq

--
Jestem niesamowita... ;-) >>> http://link.interia.pl/f18b8



IDE disk problems

2005-10-03 Thread Steve Harding
I have been chasing intermittent problems with my hard disks for a while
now, and have replaced nearly everything, including drives, in an
attempt to fix them. I had convinced myself that it must be a
motherboard problem so I just swapped out to the one listed below. Disk
errors show up at the end of the dmesg. This machine acts as a backup
server, with data coming in from a Windows machine (via samba) and then
a mass of rsync and gtar/gzip activity.

What I was wondering is whether the problem might be something other
than hardware. Any thoughts would be appreciated.

Thanks, Steve

OpenBSD 3.7 (GENERIC.MP) #50: Sun Mar 20 00:17:19 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP

cpu0: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 1073258496 (1048104K)
avail mem = 972795904 (949996K)
using 4278 buffers containing 53764096 bytes (52504K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(f6) BIOS, date 03/05/02, BIOS32 rev. 0 @
0xfb100
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf94
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xa800 0xcc000/0x2800 0xcf000/0x1800
mainbus0: Intel MP Specification (Version 1.4) (OEM0 PROD)
cpu0 at mainbus0: apid 0 (boot processor)
k7_powernow: couldn't map BIOS
cpu0: apic clock running at 266 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "AMD 762 PCI" rev 0x11
ppb0 at pci0 dev 1 function 0 "AMD 762 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "Nvidia Vanta" rev 0x15
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "AMD 768 ISA" rev 0x05
pciide0 at pci0 dev 7 function 1 "AMD 768 IDE" rev 0x04: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 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:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"AMD 768 Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
auich0 at pci0 dev 7 function 5 "AMD 768 AC97" rev 0x03: apic 2 int 17
(irq 11), AMD768 AC97
ac97: codec id 0x49434511 (ICEnsemble ICE1232)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auich0
pciide1 at pci0 dev 9 function 0 "Promise PDC20269" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 17 (irq 11) for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: 
wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd2 at pciide1 channel 0 drive 1: 
wd2: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd2(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
wd3 at pciide1 channel 1 drive 0: 
wd3: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ppb1 at pci0 dev 16 function 0 "AMD 768 PCI-PCI" rev 0x05
pci2 at ppb1 bus 2
ohci0 at pci2 dev 0 function 0 "AMD 768 USB" rev 0x07: apic 2 int 19
(irq 11), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
em0 at pci2 dev 6 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02:
apic 2 int 18 (irq 5), address: 00:0e:0c:06:b6:ea
fxp0 at pci2 dev 9 function 0 "Intel 82559ER" rev 0x09, i82559S: apic 2
int 17 (irq 11), address 00:10:dc:4c:ee:e3
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): 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: 
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 ir

pxeboot

2005-10-03 Thread Bachman Kharazmi
When I pxeboot loads on my diskless workstation it sets:
mem[635K 249M a20=on]

the last option "a20=on" does freeze the whole system.
So I wonder if there's any way to change that option in "pxeboot"?

thx
/bkw
--
##
BKW - Bachman Kharazmi
bahkha AT gmail DOT com
uin: #24089491
SWEDEN
##



Re: Webmail recommendations?

2005-10-03 Thread hellsop
On Mon, Oct 03, 2005 at 10:01:26AM -0600, Adam Douglas wrote:
> I've used SquirrelMail and it works with both IMAP and POP3. It's pretty
> good, simple and functional. However it does lack more advanced features
> suchs as threading, searching, etc. I personally wish it had.

This is a feature, intended to encourage users to avail themselves of
excellent shell tools as ghod intended, instead of webmail which is
expensive in host, client, and bandwidth-resources as well.

(;

-- 
Better to teach a man to fish than to give him a fish.  And if he can't
be bothered to learn to fish and starves to death, that's a good enough
outcome for me.
  -- Steve VanDevender



Re: Kprinter in KDE fails

2005-10-03 Thread Rico

Marc Espie wrote:

I have managed to get OpenBSD printing with CUPS from the packages, but if I try to start 
kprinter in KDE it crashes. Every other application in KDE crashes too with I try to use 
"print" from the file menu.


Did you install cups ?
KDE is built to use cups as a plugin, but you need to install it before
you can switch kprinter to cups.


It is clear from the above that he installed CUPS :-) He can print from 
CUPS.


I actually face the same problem.

Cheers,
Rico.



Re: ntop

2005-10-03 Thread shane mullins
If you find a way to compile ntop on OpenBSD, please post it.

Thanks
Shane

- Original Message - 
From: "B4nsh33" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, September 29, 2005 12:43 PM
Subject: ntop


> Hi, im trying to install ntop 3.1 on openbsd 3.7, it doesnt compile,
> reading the archives i learned its an unsupported application.
> Is there any workaround o should i look for another package?, i really
> like the ntop's full feature set and i would prefer use it.
>
> ---
> thanks



Re: Webmail recommendations?

2005-10-03 Thread FBN

you could try horde - it's pretty full-featured. Mta, i would
recommend qmail, but YMMV... The setup will be pretty tedious if u go
this way, but once setup, everything will run very nicely.

-jf


Horde/IMP from OpenBSD ports seems to have a problem.

The attachment size, mime type and name is reported
correctly in IMP, but when I download it, their size
is 0KB.

you can read about it in horde.imp group.

I had to change to squirrelmail

FBN



PF - connections per machine

2005-10-03 Thread Francisco Jose Nina Rente

Greetings,

There is any way that i can limit the number of connections between a  
computer (on the LAN) and the router ?


The router: OpenBSD 3.7/sparc

tks in advance!

Cheers,
FRente

- - -
  Francisco Josi Nina Rente
  rAsTeJaNtE

- [EMAIL PROTECTED]
- www.cognitrap.org

  pgp.dei.uc.pt:11371/pks/lookup?search=frente&op=index
- - -
"Ha nos confins da Iberia um povo que nem se governa nem se deixa  
governar"

Gaius Julius Caesar (100-44 AC)



Re: PF - connections per machine

2005-10-03 Thread Darrin Chandler

Yes. man pf.conf(5) and see the section "STATEFUL TRACKING OPTIONS"

Francisco Jose Nina Rente wrote:


Greetings,

There is any way that i can limit the number of connections between a  
computer (on the LAN) and the router ?


The router: OpenBSD 3.7/sparc

tks in advance!

Cheers,
FRente

- - -
  Francisco Josi Nina Rente
  rAsTeJaNtE

- [EMAIL PROTECTED]
- www.cognitrap.org

  pgp.dei.uc.pt:11371/pks/lookup?search=frente&op=index
- - -
"Ha nos confins da Iberia um povo que nem se governa nem se deixa  
governar"

Gaius Julius Caesar (100-44 AC)





--
Darrin Chandler
[EMAIL PROTECTED]
http://www.stilyagin.com/



Re: getting usb networking up on the Zaurus

2005-10-03 Thread Chuck Robey

Dale Rahn wrote:


On Sat, Oct 01, 2005 at 05:03:48PM -0400, Chuck Robey wrote:
 

I want to get usb to usb networking up on the Zaurus running OpenBSD (a 
snap from about a week ago).  I wish to get it to communicate to the 
FreeBSD box that is sitting next to it.


When I :reboot: the Zaurus back to Linux, FreeBSD immediately sees a new 
cdce0 device, and I could communicate, but the device crawls back into 
it's hole when I boot back into OpenBSD.  I need to know how to get a 
cdce active, I *think* (I guess I could be wrong here)


Thanks for any help!

   



Sorry, usb client mode is not supported in OpenBSD at this time.
Only usb host mode is supported see usb(4) for list.
The hardware supports usb on-the-go, but OpenBSD doesn't have a driver
for it yet.
 

I just got a note from Theo over this... I think I probably managed to 
make him mad at me.  I am looking at the FreeBSD man page for cdce (it's 
where the cdce was written, I think, it was just ported elsewhere).  I 
may be misreading it, it doesn't seem to say anything at all about 
"client mode".  It goes on about "USB Host to Host" and "USB bridges 
based on the USB Communication Device Class" (CDC).  Nothing about 
client mode, so I guess that's why I made my mistake.  Add to this the 
fact that it works, to/from FreeBSD to the original Linux on the Zaurus, 
using cdce on both ends.


If there is a way to do this "host mode", could you please give me a bit 
more of a hint?  I've been over the usb man page a whole lot, and can't 
puzzle it out yet.  I have a really nice, pluggable cable that lets me 
make any sort of usb cable I need, male/female/mini or full, anything I 
please. so I think I have the hardware done.  I just haven't any idea 
what the basic architecture you are trying to point me towards is.



Dale Rahn   [EMAIL PROTECTED]




Re: PF - connections per machine

2005-10-03 Thread Jakub Głazik

Francisco Jose Nina Rente wrote:

Greetings,

There is any way that i can limit the number of connections between a  
computer (on the LAN) and the router ?


The router: OpenBSD 3.7/sparc


I believie you should RTFM.
http://www.openbsd.org/faq/pf



--
.: Jakub G3azik
.: zytek(at)ostrow-wlkp.net
.: jid:zytek(at)azazel.ostrow-wlkp.net



Re: PF - connections per machine

2005-10-03 Thread Stuart Henderson

--On 03 October 2005 20:00 +0100, Francisco Jose Nina Rente wrote:


There is any way that i can limit the number of connections between a
computer (on the LAN) and the router ?


Yes, see pf.conf(5) - stateful tracking options. It's been mentioned 
here rather often...




Re: getting usb networking up on the Zaurus

2005-10-03 Thread Stuart Henderson

--On 03 October 2005 17:19 -0400, Chuck Robey wrote:


Add to this the fact that it works, to/from FreeBSD to the original
Linux on the Zaurus, using cdce on both ends.


Client (aka target) mode is where the Z acts as a USB peripheral, not 
as a host. afaik you need the Linux distributed with the Z to support 
this.


cdce on (Open|Free|Net)BSD is just for running on a computer (host) to 
*connect* to such a device in client mode.


Simplest way for you to connect the two is probably with a USB-ethernet 
adapter (aue, kue, cue and the like)...




Re: hp nc6120 I can't use openbsd

2005-10-03 Thread Haluk Durmus
I still had no success.
Plees help me.
Tell me what I can do or what I can give you to find a solution.



On Thu, 29 Sep 2005 11:41:09 +0200
Haluk Durmus <[EMAIL PROTECTED]> wrote:

> Hello 
> 
> I love openbsd but after the display of my openbsd-laptop
> was broken a bought a new Laptop hp nc6120.
> I can't boot openbsd wit 3.7 boot cd and snapshot 3.8 boot cd.
> 
> I'm very sad becaus I have to use ubuntu-linux (it is suported by hp).
> 
> openbsd-log not working !:
> 
> http://www.millenix.de/cd38.iso.boot.log
> (I had to make a foto of the screen and wirte the log to file ...)
> 
> ubuntu-log working but I don't want it:
> 
> http://www.millenix.de/dmesg_ubuntu_linux_hp_laptop_edition
> 
> thx & greets,
> 
> Haluk



Re: OpenBSD MetaStore: Wireless cards

2005-10-03 Thread pedro la peu
> D-Link DWL-G650

https://gullfoss2.fcc.gov/prod/oet/forms/blobs/retrieve.cgi?attachment_id=303696&native_or_pdf=pdf

I don't think you understand at all.



Re: getting usb networking up on the Zaurus

2005-10-03 Thread Chuck Robey

Stuart Henderson wrote:


--On 03 October 2005 17:19 -0400, Chuck Robey wrote:


Add to this the fact that it works, to/from FreeBSD to the original
Linux on the Zaurus, using cdce on both ends.



Client (aka target) mode is where the Z acts as a USB peripheral, not 
as a host. afaik you need the Linux distributed with the Z to support 
this.


cdce on (Open|Free|Net)BSD is just for running on a computer (host) to 
*connect* to such a device in client mode.


Simplest way for you to connect the two is probably with a 
USB-ethernet adapter (aue, kue, cue and the like)...


Fantastic!  I sure appreciate this, the first real suggestion [beyond 
"go read usb(4)"].  This I can do, tomorrow!




Re: iscsi support

2005-10-03 Thread Sevan / Venture37

Kenneth R Westerback wrote:


Nobody is working on iSCSI as far as I know, and I'm one of the scsi
developers at OpenBSD. Now if someone was to donate enough equipment
that someone could work on it, things might change.

 Ken
 


Adaptec do a iscsi HBA, would you some more Adaptec kit? ;)
A example of a working software target  can be found here: 
http://iscsitarget.sourceforge.net/

potential candidate for openiscsi?


Sevan



Re: clamav 0.87 build error on 3.7

2005-10-03 Thread J Moore
On Mon, Oct 03, 2005 at 06:38:14PM +0200, the unit calling itself Marc Balmer 
wrote:
> J Moore wrote:
> 
> >I would have thought the Makefile would have taken care of this; i.e. 
> >deleted (or mv'd) the clamav libs... was I expecting too much, or is 
> >something missing from the port?
> 
> People like you should probably rather use the binary packages we 
> provide.  Using the ports system directly can lead to unexpected 
> results, indeed ;-)
> 
People like me!? You fucking arrogant toad - there wasn't a 0.87 package 
available for 3.7. All the help I've gotten from you on this is 
worthless - you've given blatantly incorrect information on at least 
two occasions - and now you come slinging insults... what an asshole!

Do me a favor - blacklist me - please don't ever respond to any of my 
postings.

Jay



Re: Webmail recommendations?

2005-10-03 Thread Nick Holland
Chris wrote:
> Hello
> 
> I want to setup a OBSD box for my email server.  It will service
> probably about 2 dozen people, but It could conceivably double or more
> over the next year or two.
> 
> I was wondering if anyone had any recommendations for an mta, and for a
> webmail program that is easy to use and fully featured for users who are
> not so computer savvy.
> 
> I am pretty comfortable with Sendmail, but I hear a lot of people are
> moving more toward postfix (which I know nothing about).
> 
> I am at a loss for a good web interface.
> 
> Anyone care to make any recommendations?

this comes up regularly, archives are your friend here.

One that I worked with a while back and kinda like for some reasons is
OpenWebMail.  The big plus was that it worked with sendmail directly --
didn't need to learn a new mail system.  A few OpenWebMail notes:

1) Put the user's home directories in the /var partition.  This way, the
quota stuff works properly.  The program stores everything in mbox
files, the inbox is the user's /var/mail/ file, their mail
folders are in the home directory.  OpenWebMail only looks at one of the
two to figure how much space the user has used...so the users run out of
space "but I still have 70% free!".

2) Not too processor intensive, but memory hungry.  Having 24 students
changing their PWs at the same time caused the machine to burn through
256M RAM and 300M of swap really, really quickly.  I ended up adding
something like an additional 600M swap-to-file, and since then, the
PII-450 has been doing Just Fine.  Curiously, the memory was only an
issue when the teacher had all the students change their PWs at the same
time -- after that, it never seemed to be an issue again.  Performance
wasn't even that horrible while that was going on.

3) Users seemed to find it pretty usable.  Not exactly loaded with
features, but works.

4) Don't even try to chroot it.

5) /var is mounted noexec and nosuid by default...this will really
irritate you when you forget that it is running out of /var...

6) The port may have some permissions issues.  I figured it out, but
didn't have time to do it again and take notes this time to help get it
fixed.


Definitely an app with quirks...but if you are comfy with sendmail now
and don't want to spend a lot of time learning a new mail handler, this
might be worth a look-at.

Nick.



Re: Webmail recommendations?

2005-10-03 Thread Aaron Glenn
On 10/1/05, Chris <[EMAIL PROTECTED]> wrote:
>
> I am at a loss for a good web interface.
>
> Anyone care to make any recommendations?

http://www.uebimiau.org/demo.php

I've never installed it myself, but a few of my collegues swear by it. YMMV

aaron.glenn



Re: IDE disk problems

2005-10-03 Thread Nick Holland
Steve Harding wrote:
> I have been chasing intermittent problems with my hard disks for a while
> now, and have replaced nearly everything,

Statements like that without an itemized list are very dangerous.  You
might make someone think you really changed everything, when in reality,
you just changed the things that YOU felt were important.
Fortunately for you, I don't believe you. :)

Things to consider:
  Cables
  Interface
  Power supply
  Drives.

You only mentioned the drives.
BTW: There are companies which sell "too long" IDE drive cables.  If you
want to go fast, you gotta keep 'em short, and that won't work in many
boxes.

> including drives, in an
> attempt to fix them. I had convinced myself that it must be a
> motherboard problem so I just swapped out to the one listed below. 

your drives don't seem to be attached to the motherboard, so no, that's
not where the problem is.  (well..you could have one of those MoBos with
an on-board additional IDE interface chip...)

> Disk
> errors show up at the end of the dmesg. This machine acts as a backup
> server, with data coming in from a Windows machine (via samba) and then
> a mass of rsync and gtar/gzip activity.
> 
> What I was wondering is whether the problem might be something other
> than hardware. Any thoughts would be appreciated.

hmm.  Most of your problems are with wd3, but some from wd2, both of
which are on the Promise controller card.  You didn't mention changing
that out for a different brand & chip card...

If for some reason, you are really fond of that Promise card which seems
to be causing the problem, you might just de-tune the things to UDMA
mode 4 (or 3) from the start via config(8)'ing the wd(4) driver.  (man
wd, man config).  Might also be interesting to re-arrange the drives so
that the "problem" drives are on the on-board controller...you could
probably just disconnect the CDROM for the time being.

Nick.



Re: hp nc6120 I can't use openbsd

2005-10-03 Thread Jason Haag
> I love openbsd but after the display of my openbsd-laptop
> was broken a bought a new Laptop hp nc6120.
> I can't boot openbsd wit 3.7 boot cd and snapshot 3.8 boot cd.

Have you tried disabling pcibios, pchb and/or ppb from UKC?

I had a similar problem with a nx6125, and this did allow it to boot,
but a lot of the devices are not supported. I ended up returning (read:
handing-down) the nx6125.

-Jason



Re: LSI MegaRAID SATA 300-8X controller

2005-10-03 Thread Marco Peereboom

Try it.  If it doesn't work let me know and I'll add it to ami(4).

On Oct 3, 2005, at 10:10 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>  
wrote:



heya,

i'm interested in getting an 8-channel SATA RAID controller
that runs on the ami driver so i can use all the new neato
RAID functionality for my backup server. i haven't seen
anything in the archives about a known working controller like
i've described, but i did see the LSI MegaRAID SATA 300-8X
mentioned in a couple posts.

is anybody currently using this controller? does it run on the
ami driver and/or play nice with bioctl?

if this card is unsupported i would appreciate a suggestion
for another 8 channel SATA RAID card that is known to work
with ami and bioctl.

cheers,
jake




Re: Compatibility question for the New Sun X4100 server with 4FastEthernet as possible BGP routers, or stick with HP DL-145 G2?

2005-10-03 Thread Marco Peereboom

We'll make it work for donations :-)

IPMI & MPT :-)

So if anyone is willing to donate let us know...

On Sep 30, 2005, at 7:04 PM, Sam Vaughan wrote:


On 30/09/2005, at 6:58 PM, David Gwynne wrote:



From: "Henning Brauer" <[EMAIL PROTECTED]>



* Daniel Ouellet <[EMAIL PROTECTED]> [2005-09-29 22:20]:

afaik the 4100 and 4200 use the slightly aged AMD chipset, same  
thing

as in the HP DL145 G1, the V20z, and the IBM - should just work.




True, that bit should just work as should the nics since its just  
4x em.


However, the onboard storage controller probably wont work out of  
the box right now. It's a SAS variant of the chips supported by  
the mpt driver. According to marco it isn't as trivial as adding  
the pci ids to the driver to make it work either. I'll gladly  
accept a donation of a x4100 or x4200 to make it work ;)


The only other interesting thing in these machines is the ipmi  
stuff and the management controller.




When you say that the onboard storage controller probably won't  
work, do

you mean that managing it from inside OpenBSD won't work, or that it
probably won't even be possible to boot?

If it's just the former, then the IPMI controller would still allow  
you
to set up RAID status notification, reconfigure the disks and so  
forth.


I need to choose a server in the next couple of months and the x4200
looks like very good value for money.  I'd really like to be able  
to run

OpenBSD on it.

Thanks,

Sam




Re: IDE disk problems

2005-10-03 Thread Marco Peereboom

Dude you're disk is dying on you.  Replace it ASAP.

On Oct 3, 2005, at 11:57 AM, Steve Harding wrote:

I have been chasing intermittent problems with my hard disks for a  
while

now, and have replaced nearly everything, including drives, in an
attempt to fix them. I had convinced myself that it must be a
motherboard problem so I just swapped out to the one listed below.  
Disk

errors show up at the end of the dmesg. This machine acts as a backup
server, with data coming in from a Windows machine (via samba) and  
then

a mass of rsync and gtar/gzip activity.

What I was wondering is whether the problem might be something other
than hardware. Any thoughts would be appreciated.

Thanks, Steve

OpenBSD 3.7 (GENERIC.MP) #50: Sun Mar 20 00:17:19 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP

cpu0: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 
6,MMX,FXSR,SSE

real mem  = 1073258496 (1048104K)
avail mem = 972795904 (949996K)
using 4278 buffers containing 53764096 bytes (52504K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(f6) BIOS, date 03/05/02, BIOS32 rev. 0 @
0xfb100
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf94
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xa800 0xcc000/0x2800 0xcf000/0x1800
mainbus0: Intel MP Specification (Version 1.4) (OEM0 PROD)
cpu0 at mainbus0: apid 0 (boot processor)
k7_powernow: couldn't map BIOS
cpu0: apic clock running at 266 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "AMD 762 PCI" rev 0x11
ppb0 at pci0 dev 1 function 0 "AMD 762 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "Nvidia Vanta" rev 0x15
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "AMD 768 ISA" rev 0x05
pciide0 at pci0 dev 7 function 1 "AMD 768 IDE" rev 0x04: DMA,  
channel 0

configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 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:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"AMD 768 Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
auich0 at pci0 dev 7 function 5 "AMD 768 AC97" rev 0x03: apic 2 int 17
(irq 11), AMD768 AC97
ac97: codec id 0x49434511 (ICEnsemble ICE1232)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auich0
pciide1 at pci0 dev 9 function 0 "Promise PDC20269" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 17 (irq 11) for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: 
wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd2 at pciide1 channel 0 drive 1: 
wd2: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd2(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
wd3 at pciide1 channel 1 drive 0: 
wd3: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ppb1 at pci0 dev 16 function 0 "AMD 768 PCI-PCI" rev 0x05
pci2 at ppb1 bus 2
ohci0 at pci2 dev 0 function 0 "AMD 768 USB" rev 0x07: apic 2 int 19
(irq 11), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
em0 at pci2 dev 6 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02:
apic 2 int 18 (irq 5), address: 00:0e:0c:06:b6:ea
fxp0 at pci2 dev 9 function 0 "Intel 82559ER" rev 0x09, i82559S:  
apic 2

int 17 (irq 11), address 00:10:dc:4c:ee:e3
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): 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: 
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa

netstart and trunk interfaces in 3.8

2005-10-03 Thread Ryan Puckett
When using 3com NICs (aka xl's) in a trunk, the trunk interface will not
be defined after a system reboot.

I'm thinking this is because the /etc/netstart script considers trunk
interfaces to be normal/real interfaces vs. a virtual interface that
need to created until after all real interfaces are brought up (aka like
carp).

If I modify the netstart command and delay the startup of trunk
interfaces, then the trunk interface is brought up just fine.


Modified in /etc/netstart:
changed
ifmstart "" "carp gif gre pfsync pppoe"
to
ifmstart "" "carp gif gre pfsync pppoe trunk"

and added
ifmstart "trunk"prior to   ifmstart "pfsync carp"




/etc/hostname.trunk0:
inet 1.2.3.4 255.255.255.0 NONE trunkport xl0 trunkport xl1 trunkport
xl2

/etc/hostname.xl0: 
up media 100baseTX mediaopt full-duplex

/etc/hostname.xl1:
up media 100baseTX mediaopt full-duplex

/etc/hostname.xl2:
up media 100baseTX mediaopt full-duplex 


dmesg:
OpenBSD 3.8-current (GENERIC) #169: Sun Oct  2 15:06:50 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 549
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 670658560 (654940K)
avail mem = 604418048 (590252K)
using 4278 buffers containing 33636352 bytes (32848K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(1e) BIOS, date 02/23/00, BIOS32 rev. 0 @
0xfd7a0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd7a0/0x860
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x6600 0xce800/0x800
0xcf000/0x800 0xe/0x4000! 0xe4000/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Magnum" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 ignored (disabled)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9
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
"Intel 82371AB Power" rev 0x02 at pci0 dev 7 function 3 not configured
yds0 at pci0 dev 12 function 0 "Yamaha 740C" rev 0x03: irq 10
xl0 at pci0 dev 13 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 11,
address 00:50:da:22:7c:7e
exphy0 at xl0 phy 24: 3Com internal media interface
ahc1 at pci0 dev 14 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 5
scsibus1 at ahc1: 16 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3 0/direct
fixed
sd0: 8761MB, 14384 cyl, 3 head, 415 sec, 512 bytes/sec, 17942584 sec
total
xl1 at pci0 dev 15 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 10,
address 00:01:02:46:25:77
bmtphy0 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 6
xl2 at pci0 dev 16 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 9,
address 00:01:02:73:ec:be
bmtphy1 at xl2 phy 24: Broadcom 3C905C internal PHY, rev. 6
isa0 at pcib0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask f365 netmask ff65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ahc1: target 0 using 16bit transfers
ahc1: target 0 synchronous at 20.0MHz, offset = 0x1f
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
ac97: codec id 0x41445303 (Analog Devices AD1819)
ac97: codec features Analog Devices Phat Stereo
audio0 at yds0
opl0 at yds0: model OPL3
midi1 at opl0: 
mpu at yds0 not configured
mpu at yds0 not configured
mpu at yds0 not configured
mpu at yds0 not configured



Re: Webmail recommendations?

2005-10-03 Thread Jason Dixon

On Oct 1, 2005, at 6:34 PM, Chris wrote:


I want to setup a OBSD box for my email server.  It will service
probably about 2 dozen people, but It could conceivably double or more
over the next year or two.

I was wondering if anyone had any recommendations for an mta, and  
for a
webmail program that is easy to use and fully featured for users  
who are

not so computer savvy.

I am pretty comfortable with Sendmail, but I hear a lot of people are
moving more toward postfix (which I know nothing about).

I am at a loss for a good web interface.

Anyone care to make any recommendations?


Everyone has their own favorite MTA;  mine happens to be Postfix.  I  
use Squirrelmail on one server, it's fine for basic webmail and you  
can't beat the easy installation.  For users that want a "prettier"  
interface, Horde/IMP works quite well, even in the OpenBSD httpd  
chroot.  I no longer run the ports version, installing manually from  
source is no less difficult and allows you to keep up with the more  
current releases.  I also happen to use Turba (address book),  
Kronolith (shared calendar), Nag (shared tasklists), and Whups  
(ticket system).  I've encountered some small issues with Kronolith,  
everything else seems production-ready.


--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



Re: IDE disk problems

2005-10-03 Thread Gordon Willem Klok

I think he (Steve) is correct in his diagnosis, the drive being bad seems
logical however I have been chasing some problems with ioapic and interrupts
myself on a similar setup, the drive in question is attached to pciide1
which shares interrupt 17 with possibly bunch of other devices in the dmesg
e.g. auich and fxp, and the soft error being corrected is missing interrupt,
just a guess on my part but I have been having similar problems and have
just started recently to go poking about for answers. What I can suggest
 is that he attempt to maybe disable some of the device he doesn't use e.g.
serial,parallel,midi or game ports and hope that the bios uses these
interrupts for something else (hasn't worked for me with my bios but its
worth a shot I guess).

GWK

Marco Peereboom wrote:

Dude you're disk is dying on you.  Replace it ASAP.

On Oct 3, 2005, at 11:57 AM, Steve Harding wrote:


I have been chasing intermittent problems with my hard disks for a  while
now, and have replaced nearly everything, including drives, in an
attempt to fix them. I had convinced myself that it must be a
motherboard problem so I just swapped out to the one listed below.  Disk
errors show up at the end of the dmesg. This machine acts as a backup
server, with data coming in from a Windows machine (via samba) and  then
a mass of rsync and gtar/gzip activity.

What I was wondering is whether the problem might be something other
than hardware. Any thoughts would be appreciated.

Thanks, Steve

OpenBSD 3.7 (GENERIC.MP) #50: Sun Mar 20 00:17:19 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP

cpu0: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 
6,MMX,FXSR,SSE

real mem  = 1073258496 (1048104K)
avail mem = 972795904 (949996K)
using 4278 buffers containing 53764096 bytes (52504K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(f6) BIOS, date 03/05/02, BIOS32 rev. 0 @
0xfb100
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf94
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xa800 0xcc000/0x2800 0xcf000/0x1800
mainbus0: Intel MP Specification (Version 1.4) (OEM0 PROD)
cpu0 at mainbus0: apid 0 (boot processor)
k7_powernow: couldn't map BIOS
cpu0: apic clock running at 266 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) MP 2000+ ("AuthenticAMD" 686-class) 1.67 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "AMD 762 PCI" rev 0x11
ppb0 at pci0 dev 1 function 0 "AMD 762 PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "Nvidia Vanta" rev 0x15
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "AMD 768 ISA" rev 0x05
pciide0 at pci0 dev 7 function 1 "AMD 768 IDE" rev 0x04: DMA,  channel 0
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 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:  SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"AMD 768 Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
auich0 at pci0 dev 7 function 5 "AMD 768 AC97" rev 0x03: apic 2 int 17
(irq 11), AMD768 AC97
ac97: codec id 0x49434511 (ICEnsemble ICE1232)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auich0
pciide1 at pci0 dev 9 function 0 "Promise PDC20269" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 17 (irq 11) for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: 
wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd2 at pciide1 channel 0 drive 1: 
wd2: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd2(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
wd3 at pciide1 channel 1 drive 0: 
wd3: 16-sector PIO, LBA48, 286168MB, 586072368 sectors
wd3(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ppb1 at pci0 dev 16 function 0 "AMD 768 PCI-PCI" rev 0x05
pci2 at ppb1 bus 2
ohci0 at pci2 dev 0 function 0 "AMD 768 USB" rev 0x07: apic 2 int 19
(irq 11), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: AMD OHCI root hub,

Re: getting usb networking up on the Zaurus

2005-10-03 Thread Jonathan Gray
On Mon, Oct 03, 2005 at 08:26:35PM -0400, Chuck Robey wrote:
> Stuart Henderson wrote:
> 
> >--On 03 October 2005 17:19 -0400, Chuck Robey wrote:
> >
> >>Add to this the fact that it works, to/from FreeBSD to the original
> >>Linux on the Zaurus, using cdce on both ends.
> >
> >
> >Client (aka target) mode is where the Z acts as a USB peripheral, not 
> >as a host. afaik you need the Linux distributed with the Z to support 
> >this.
> >
> >cdce on (Open|Free|Net)BSD is just for running on a computer (host) to 
> >*connect* to such a device in client mode.
> >
> >Simplest way for you to connect the two is probably with a 
> >USB-ethernet adapter (aue, kue, cue and the like)...
> >
> Fantastic!  I sure appreciate this, the first real suggestion [beyond 
> "go read usb(4)"].  This I can do, tomorrow!

Note that you will need a Zaurus USB host cable for this, these
don't come with the Zaurus and have to be purchased seperately.

If you just want some kind of network connectivity a Compact Flash
Ethernet or 802.11 wireless adapter would probably be a better choice.