config(8) and ugen/uhidev

2006-06-02 Thread David Higgs

I recently found myself the owner of an APC UPS that talks over USB.
I installed apcupsd and disabled uhidev(4) with config(8) so that it
would instead show up as ugen(4) as noted in the apcupsd docs.  The
dmesg lines below are both against a -stable GENERIC, and are not
cumulative.

Now I am looking to attach other USB items - camera, keyboard, mouse -
that would undoubtedly require uhidev to work.  I have tried several
different methods to get things to cooperate, without success.

I suspect that I have two options, but at this point I don't know how
to accomplish either.
A) Specifically configure ONLY the ugen0 device.
B) Disable uhidev ONLY where the ugen0 needs to be found.

Suggestions are welcome; thanks in advance.

--david

# disable uhidev
#
ugen0 at uhub0 port 1
ugen0: APC Back-UPS ES 750 FW:819.z2.D USB FW:z2, rev 1.10/1.06, addr 2
ugen1 at uhub0 port 2
ugen1: Canon Inc. Canon Digital Camera, rev 2.00/0.02, addr 3

# add ugen0
#   clone ugen (299)
#   above ugen (299)
# change ugen0
#   port 1
# disable ugen
#
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: APC Back-UPS ES 750 FW:819.z2.D USB FW:z2, rev 1.10/1.06,
addr 2, iclass 3/0
uhidev0: 123 report ids
uhid0 at uhidev0 reportid 1: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 2: input=0, output=0, feature=1
[...etc...]
uhid49 at uhidev0 reportid 123: input=0, output=0, feature=2
Canon Inc. Canon Digital Camera, class 0/0, rev 2.00/0.02, addr 3,
uhub0 port 2 not configured



Re: How to enable hw crypto?

2006-06-02 Thread NetNeanderthal

On 6/2/06, Winston <[EMAIL PROTECTED]> wrote:

I have tried the following command to get the hw crypto to work:
openssl speed des-cbc -engine cryptodev
But the result I got is pretty much the same if I don't specify the
cryptodev engine.
The crypto card I have is hifn7956.


Who made the card you have with a hifn7956 processor?  Can you at
least provide a bit more information/dmesg?



Re: Support Needed for GPS and Time Signal Station Receiver Development

2006-06-02 Thread Graham Gower

- GPS devices, serially and UPS attached (consumer grade)


USB?



Strange happenings with .forward

2006-06-02 Thread Chris Zakelj
Ok, I'm fairly certain I've done something on my side, but I've no clue
what. Running on a fresh install of 3.9-RELEASE, the only thing I've
changed in mail is swapping the default 'localhost.cf' in /etc/rc.conf
for 'sendmail.cf' in /etc/rc.conf.local, and installing pine to read it
(mail frustrates me, and mutt annoys me). There are two user accounts on
the system, one (czakelj) is used for sending emails relating to my
website, and another (junk) which gets used when I need to test
something without breaking the "real" address. I'd like to use a
.forward file to bounce things from the real address to my regular one,
since I don't always remember to log in and look for mail there. Of
course, I tested it on the junk account first, with the following

$ cat /var/www/home/junk/.forward
[EMAIL PROTECTED]

Things worked just swimmingly when I sent a test email, so I did the
same thing to the real account. Only that address can't get through,
because apparently it's being rejected by an upstream server despite my
using the same laptop and same sending email address. Pulled from
/var/spool/mqueue:

# cat qfk531KLXH030430
V8
T1149297622
K1149297622
N1
P30912
I0/5/20696
MDeferred: Connection refused by orion.ieee.org.
Fbs
$_ylpvm25-ext.prodigy.net [207.115.57.56]
$rESMTP
$sylpvm25.prodigy.net
${daemon_flags}
${if_addr}68.75.22.92
S<[EMAIL PROTECTED]>
MDeferred: Connection refused by orion.ieee.org.
Cczakelj:1000:1000:<[EMAIL PROTECTED]>
rRFC822; [EMAIL PROTECTED]
RPFD:[EMAIL PROTECTED]
H?P?Return-Path: <g>
H??Received: from ylpvm25.prodigy.net (ylpvm25-ext.prodigy.net
[207.115.57.56])
by bbhhs96.dyndns.org (8.13.4/8.13.4) with ESMTP id k531KLXH030430
for <[EMAIL PROTECTED]>; Fri, 2 Jun 2006 21:20:22 -0400 (EDT)
H??Received: from [127.0.0.1] (adsl-68-75-22-92.dsl.wotnoh.ameritech.net
[68.75.22.92])
(authenticated bits=0)
by ylpvm25.prodigy.net (8.13.6 smtpauth.dk/8.13.6) with ESMTP id
k533RQav002018
for <[EMAIL PROTECTED]>; Fri, 2 Jun 2006 23:27:27 -0400
H??Message-ID: <[EMAIL PROTECTED]>
H??Date: Fri, 02 Jun 2006 23:27:20 -0400
H??From: Chris Zakelj <[EMAIL PROTECTED]>
H??User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
H??MIME-Version: 1.0
H??To: [EMAIL PROTECTED]
H??Subject: test forwrd
H??Content-Type: text/plain; charset=ISO-8859-1
H??Content-Transfer-Encoding: 7bit
H??X-Antivirus: avast! (VPS 0622-4, 06/02/2006), Outbound message
H??X-Antivirus-Status: Clean
.

Is this something I've messed up on my side, or did my test email
possibly go through a different pool server that had a different
configuration, and there's nothing I can do about this?



Re: Windows to "copy" open bsd

2006-06-02 Thread Breen Ouellette

Darrin Chandler wrote:

Ask Gates, Ballmer and crew what MS's goals are. Or find it on the MS
site. If none of that works you can speculate (I'm not going to). Do you
think their goals fall as much in line with what you want as does
OpenBSD's goals?
  

Actually, this is very easy and does not require any speculation. The
goal of any for-profit corporation is summed up in one line:

   Maximize shareholder profit.

Therefore, MS will make it their goal to improve security only when it
affects the bottom line. Most of the time they don't even have to
improve security to affect the bottom line - they just have to go
through the motions of appearing to improve security.

If more people would come to understand the staggering importance of
that single minded goal of any corporation the world would be a better
place. Instead of appealing to corporations to exhibit the behaviours of
a person, all we need to really worry about is appealing to (or
threatening) their bottom line. Theo has been doing this for years, and
he's one smart cookie. No, that image just does fit - Theo is one smart
saltine cracker.  :)

Breeno



Re: jdk 1.5 on 3.9-current (one question)

2006-06-02 Thread bofh
On 6/2/06, Diana Eichert <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2 Jun 2006, bofh wrote:
> > snapshot.  Works great.  However, I have one quick question - of the
> > following packages that got built as a result of building jdk1.5 - which
> is
> > needed for _running_ jdk1.5?
>
> Hmmm, what does the Makefile for jdk1.5 show for dependencies and what are
> the dependencies for the dependencies?  Note some dependencies are listed
> for BUILD and are not required for runtime.
>
> You should get acquainted with the way packages are built via the ports
> system.


Oh foo, how embarassing.  And I did go through the Makefile too, since I
first tried to build it on 3.9-release (and of course, it failed :)).
Actually, there's a quick easy way to find out, I think it should be
possible to get all the packages that's been built, drop it on another new
box, and install the jdk package.

Speaking of which, the original link indicated that it was kaffe that needed
the 3.9-current sbrk patch.  Should I try these packages from -current on
the 3.9-release system, since kaffe was only needed to build the jdk?  I
realize that there might have been other changes in -current that may affect
things - just wondering.



Re: ATI products documentation release possibility soon

2006-06-02 Thread Matthew R. Dempsky
On Fri, Jun 02, 2006 at 11:03:10AM +0530, Siju George wrote:
> Hope if this
> http://www.forbes.com/markets/economy/2006/05/31/amd-ati-technologies-0531markets10.html
> happens, then  it will free up documentation for ATI products :-)

Or AMD's docs will end up behind NDAs. :(



Re: tracking website visitors

2006-06-02 Thread Terry
On Fri, Jun 02, 2006 at 08:10:22PM -0500, Jacob Yocom-Piatt wrote:
> i've got a website where i'd like to be able to make a map and/or list of the
> various IPs and/or domains that visit it. i've got a large access.log file for
> the site, could this be used to generate a map of the geographic locations of
> the IPs that have visited it? alternately, it could make a listing of the 
> domain
> names for the visiting IPs.
> 
> any suggestions on a good way to do this would be appreciated.
 
I started using webalizer reciently. It's pretty nice but the
geographic part doesn't seem to work.

http://tyson.homeunix.org/usage/

-- 
Terry
http://tyson.homeunix.org



Re: How to enable hw crypto?

2006-06-02 Thread jared r r spiegel
On Fri, Jun 02, 2006 at 05:23:40PM -0700, Winston wrote:
> I have tried the following command to get the hw crypto to work:
> openssl speed des-cbc -engine cryptodev
> But the result I got is pretty much the same if I don't specify the
> cryptodev engine.
> The crypto card I have is hifn7956.
> I tried to compile hifn7751.c by commenting out #undef HIFN_DEBUG,
> hoping to get some debug msgs, but I got none. So the hifn driver is
> not really called.
> On FreeBSD I need to specify a -evp flag, However, if I specify -evp,
> it say "no EVP given". So it looks like that I need to provide a
> parameter to -evp. But I have no idea what are valid parms. On
> FreeBSD, -evp with no parm is OK.
> 
> Environ:
> OpenBSD ver: 3.8
> Processor: Intel Xeon 2.8G.
> 
> Winston

http://marc.theaimsgroup.com/?l=openbsd-misc&w=2&r=1&s=openssl+speed+evp&q=b

  i believe usercrypto is 1 by default now

-- 

  jared

[ openbsd 3.9-current GENERIC ( may  1 ) // i386 ]



tracking website visitors

2006-06-02 Thread Jacob Yocom-Piatt
i've got a website where i'd like to be able to make a map and/or list of the
various IPs and/or domains that visit it. i've got a large access.log file for
the site, could this be used to generate a map of the geographic locations of
the IPs that have visited it? alternately, it could make a listing of the domain
names for the visiting IPs.

any suggestions on a good way to do this would be appreciated.



Email f�r Dich?

2006-06-02 Thread SiusanEnid139
Hi, hier ist blondi,
 
kannst du dich noch an mich erinnern?
Ich schon. Letztens im Chat, habe viel nachgedacht,
und ja ich habe lust dich besser kennen zu lernen.
 
Ich habe jetzt erst mal Urlaub und besuche alle mvglichen
Freunde. Wenn du lust hast auch dich, w|rde dich
gerne mal von Angesicht zu Angesicht sehen.
 
Hier ein Link zu meinem Bild, damit du weist was Dich
erwartet.
 
Da kannst du mir auch Nachrichten hinterlassen und senden die bekomme
ich immer auch wenn ich unterwegs bin wie jetzt.
 
Ich freue mich auf eine Nachricht vin dir,
 
Mein Bild
 
Bis Bald, vieleicht sieht man sich ja bald, 
 
LG Blondi
 
http://www.venussms.com/sendSMS.php?uid=710&x=53&y=59



How to enable hw crypto?

2006-06-02 Thread Winston

I have tried the following command to get the hw crypto to work:
openssl speed des-cbc -engine cryptodev
But the result I got is pretty much the same if I don't specify the
cryptodev engine.
The crypto card I have is hifn7956.
I tried to compile hifn7751.c by commenting out #undef HIFN_DEBUG,
hoping to get some debug msgs, but I got none. So the hifn driver is
not really called.
On FreeBSD I need to specify a -evp flag, However, if I specify -evp,
it say "no EVP given". So it looks like that I need to provide a
parameter to -evp. But I have no idea what are valid parms. On
FreeBSD, -evp with no parm is OK.

Environ:
OpenBSD ver: 3.8
Processor: Intel Xeon 2.8G.

Winston



Re: Windows to "copy" open bsd

2006-06-02 Thread Darrin Chandler
On Fri, Jun 02, 2006 at 01:37:24PM -0700, akonsu wrote:
> in my understanding a proper implementation does not require any service
> packs. in other words: if one implements something that later requires a
> service pack, this is not a proper implementation.

This is a nice idea, but everyone makes mistakes. Services packs,
errata, patches and upgrades will always be with us. The frequency and
nature of the problems they indicate do tell something of the developers
and organization that produced the code, though.

Can MS incorporate any given technology, and do it fairly well? Sure.
Believe it or not they have some top coders on staff there. Except for
the very beginning that's never been their problem.

Does MS, as an organization, have a focus on quality code, as it applies
to the *system* they produce? They'd like it, and take it when it
doesn't get in the way of other goals. But in general, no, that's not
their focus as I see it.

The result being that any collection of individual technologies will
help them to only a limited extent. They're all bandaids on a poorly
designed system.

The same kind of incorporation of technologies into OpenBSD (ProPolice,
recent memory stuff, etc.) is different. How? They're added as
mitigation techniques to a quality system where they're hardly and
seldom needed. The quality was already there in the design. The system
wasn't fragile without them. OpenBSD got a bit more immune.

So... it's not a technology issue, it's about goals and management.

Ask Theo and the other devs what OpenBSD's goals are. Wait, it's right
there on the site. Does OpenBSD/OpenSSH/etc. match with those goals? Uh,
huh.

Ask Gates, Ballmer and crew what MS's goals are. Or find it on the MS
site. If none of that works you can speculate (I'm not going to). Do you
think their goals fall as much in line with what you want as does
OpenBSD's goals?

OK, I was going to stay out of this. Then I was going to write a short
response. Now look what's happened!

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: Strange carp issues

2006-06-02 Thread Steven S
Steven S wrote:
> It would appear my issues are related to timekeeping on these boxes
> (Compaq DL360 G1).
> 
> If I bump advbase to '3' on each box everything is more stable. 
> Given this, I now have a roughly 10 second fail-over time, but that
> is still acceptable. 
> 
> Since these are production boxes I'll probably wait until my
> 3.9 arrives to
> see if any of the kern_time/kern_clock changes help.  I'll let
> everyone know more when I do.

For the archives...

I upgraded the backup firewall to 3.9-stable but it still appeared to have
the MASTER-MASTER issue (with primary at 3.8).  Based on some other posts in
misc I tried using aliases on a single carp interface instead of multiple
carp interfaces on the same physical interface.  I upgraded the primary to
3.9-stable and things seem to be operating as expected.  I have not had any
MASTER<-->MASTER issues that weren't self inflicted.  I guess I'm not 100%
sure if the cure was upgrading or migrating to aliases, but it's working.  

The self inflicted issue came when I added an alias IP to FW1:carp0 but not
yet to FW2:carp0.  Both FW1 and FW2 became master for the interface, until I
added the alias to FW2.

Thanks again for the pointers and the great OS!

-Steve S.



openbsd.org/plus.html <-- update tracking ?

2006-06-02 Thread Jérôme Loyet
Hello,

Seing http://www.openbsd.org/plus.html, I'm asking myself what is the order
of the changes (if there is one)?
(Is the oldest change at the top of the list or at the bottom?)

Is there a global cvs log?

Thx
++ Jerome

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which 
had a name of smime.p7s]



Re: MAC -> IP -> MAC

2006-06-02 Thread Gaby vanhegan
On 2 Jun 2006, at 23:16, Spruell, Darren-Perot wrote:

> Neither reasonable nor sensible from a security standpoint.  
> Authenticating
> based on MAC addresses is like authenticating someone on the  
> pretense of
> them wearing a blue shirt. It's not a strong authenenticator and it  
> can be
> changed easily.

It's more of an identifier.  I'm trying to use it to only allow one  
client per login/password, and I just figured MAC addresses would be  
more unique than an IP and easier to track between different sites.   
The login and password is still independent of the IP address.

 From thinking about it more, it's just simpler to track which IP  
address belongs to which login, and then when that user tries to  
login on a second client, the first one is barred access.  This only  
allows one IP address per client.  It does mean that the the IP  
tracking software needs to know a little more about the IP address  
that it created, and requires to be a bit more actively managed.

Gaby

--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/sudoku/
http://weblog.vanhegan.net/



PF, DNS, and internal network

2006-06-02 Thread Allen Theobald
Greetings everyone!

Apologies in advance if this came through already.
 
This question has to do with PF and DNS from my internal 
network to my ISP.

Here is what I have done:

Set /etc/sysctl.conf

   net.inet.ip.forwarding=1

Set /etc/rc.conf

   pf=YES

Used the pf.conf file from the FAQ
(http://www.openbsd.org/faq/pf/example1.html).  Except 
my "internal" is xl0 and my external is rl0.  rl0 gets 
its IP dynamically.

My network looks exactly like the one in the FAQ
(http://www.openbsd.org/faq/pf/example1.html).

I can ping www.google.com from the firewall.

But I cannot ping www.google.com from any computers 
on the internal network.

First, does the pf.conf in the FAQ route DNS requests 
from the internal network?

Second, if not would someone suggest a rule to accomplish 
that, so that DNS can be handled by my ISP?
 
I've tried a couple of rdr/pass combinations.  But no luck.
 
Hell, I'm not even sure any rdr/pass combinations are
requireddoesn't seem like it.

Thanks and take care,

Allen 
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: jdk 1.5 on 3.9-current (one question)

2006-06-02 Thread Diana Eichert
On Fri, 2 Jun 2006, bofh wrote:

> I read http://www.undeadly.org/cgi?action=article&sid=20060518065549,
> downloaded the current snapshot for amd64, and then tried to install jdk 1.5.
> It works.  I am currently running the wildfire jabber server on this
> snapshot.  Works great.  However, I have one quick question - of the
> following packages that got built as a result of building jdk1.5 - which is
> needed for _running_ jdk1.5?

Hmmm, what does the Makefile for jdk1.5 show for dependencies and what are
the dependencies for the dependencies?  Note some dependencies are listed
for BUILD and are not required for runtime.

You should get acquainted with the way packages are built via the ports
system.



PF, DNS, and internal network

2006-06-02 Thread Allen Theobald
Greetings everyone!

   
  This question has to do with PF and DNS from my internal network to my ISP.

Here is what I have done:

Set /etc/sysctl.conf

   net.inet.ip.forwarding=1

Set /etc/rc.conf

   pf=YES

Used the pf.conf file from the FAQ 
(http://www.openbsd.org/faq/pf/example1.html).  Except my "internal" is xl0 and 
my external is rl0.  rl0 gets its IP dynamically.

My network looks exactly like the one in the FAQ 
(http://www.openbsd.org/faq/pf/example1.html).

I can ping www.google.com from the firewall.

But I cannot ping www.google.com from any computers on the internal network.

First, does the pf.conf in the FAQ route DNS requests from the internal network?

Second, if not would someone suggest a rule to accomplish that, so that DNS can 
be handled by my ISP?
   
  I've tried a couple of rdr/pass combinations.  But no luck.
   
  Hell, I'm not even sure any rdr/pass combinations are requireddoesn't 
seem like it.

Thanks and take care,

Allen 
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: jdk 1.5 on 3.9-current (one question)

2006-06-02 Thread Ted Unangst

On 6/2/06, bofh <[EMAIL PROTECTED]> wrote:

I read http://www.undeadly.org/cgi?action=article&sid=20060518065549,
downloaded the current snapshot for amd64, and then tried to install jdk 1.5.
It works.  I am currently running the wildfire jabber server on this
snapshot.  Works great.  However, I have one quick question - of the
following packages that got built as a result of building jdk1.5 - which is
needed for _running_ jdk1.5?


cat /var/db/pkg/jdk-1.5.0p14/+REQUIRING



Re: A joke

2006-06-02 Thread bofh
On 6/1/06, Nick Holland
>
> Bring in another dev. company...
> (the good news is, this one seems to be MUCH better.)


We had something even better.  My guy developed a working prototype, in less
than a month (1 weeks spent getting specs, another week spent getting the
java servlet engine working - this is back in the late 90s, another week
developing the database schema) - actual coding time was less than a week.

Our users loved it.  Instead of consulting a bunch of books (govt paperwork)
as tall as I was, and as wide as 10', they could have just used the browser,
and get the results back in a split second.  We just had to enter the data,
ONCE.

Mgmt put it on hold.  Demoed to customer.  Customer loved it.  Instead of
taking/buying our work, customer shopped that concept out.  The new company
took over a year to get the specs, could not deliver any working prototype,
and had a $4.5mil contract.

Best part of the story - customer (fortune 100 transportation company)
bought us - so, effectively, they owned the source code.

My total cost - $1k for an IDE that we later decided not to use.

Man - like what they say - what we need is less corruption, or more chances
to participate in it.



Re: MAC -> IP -> MAC

2006-06-02 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
> Authenticated MACs are converted to an IP address, using 
> dhcpd.leases  
> to do the lookup.  Then, as a double check, it will use the 
> ARP cache  
> to confirm that the IP and the MAC match up, so users can't steal  
> access from a stale IP somewhere.  If a user picks a static IP, they  
> won't have an entry in dhcpd.leases, so they won't get access.
> 
> What I'm looking for is a simple way to pull an IP/MAC combination  
> out of a dhcpd.leases file, or a reasonably sized dhcpd.leases file  
> that I can test a parser on.  Can anybody help out here?
> 
> Also, does this system sound reasonable or sensible?  All comments  
> welcome.

Neither reasonable nor sensible from a security standpoint. Authenticating
based on MAC addresses is like authenticating someone on the pretense of
them wearing a blue shirt. It's not a strong authenenticator and it can be
changed easily. 

WPA/802.1x handles this sort of thing much better, as does authpf and IPsec
and ... and ...

DS



jdk 1.5 on 3.9-current (one question)

2006-06-02 Thread bofh
I read http://www.undeadly.org/cgi?action=article&sid=20060518065549,
downloaded the current snapshot for amd64, and then tried to install jdk 1.5.
It works.  I am currently running the wildfire jabber server on this
snapshot.  Works great.  However, I have one quick question - of the
following packages that got built as a result of building jdk1.5 - which is
needed for _running_ jdk1.5?

atk-1.10.3p1
autoconf-2.13p0
autoconf-2.57
autoconf-2.59
bzip2-1.0.3
cairo-1.0.4
esound-0.2.34p0
expat-2.0.0
gettext-0.14.5p1
glib2-2.10.2
glitz-0.4.4
gmake-3.80p1
gmp-4.1.4p0
gtar-1.15.1p4
gtk+2-2.8.17p1
help2man-1.29
hicolor-icon-theme-0.5p0
jdk-1.5.0p14
jikes-1.22p0
jpeg-6bp3
kaffe-1.1.7p1
libIDL-0.8.5p0
libaudiofile-0.2.6p0
libiconv-1.9.2p3
libltdl-1.5.22p1
libtool-1.5.22
metaauto-0.5
mozilla-1.7.13
mozilla-devel-1.7.13
openmotif-2.1.30.5p1
pango-1.12.1
pkgconfig-0.19p0
png-1.2.10p0
tiff-3.8.2
unzip-5.52
zip-2.3p0


dmesg follows (HP DL145 G2):
OpenBSD 3.9-current (GENERIC.MP) #843: Mon May 29 14:16:28 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2146152448 (2095852K)
avail mem = 1834831872 (1791828K)
using 22937 buffers containing 214822912 bytes (209788K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.34 @ 0xf1110 (45 entries)
bios0: HP ProLiant DL145 G2
ipmi0 at mainbus0: version 1.5 interface KCS iobase 0xca2/2 spacing 1
mainbus0: Intel MP Specification (Version 1.4) (AMD  HAMMER  )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual Core AMD Opteron(tm) Processor 275, 2210.48 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Dual Core AMD Opteron(tm) Processor 275, 2210.19 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 128 is type PCI
mpbios: bus 129 is type PCI
mpbios: bus 134 is type PCI
mpbios: bus 139 is type ISA
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
ioapic1 at mainbus0 apid 3 pa 0xd800, version 11, 7 pins
ioapic2 at mainbus0 apid 4 pa 0xd8001000, version 11, 7 pins
pci0 at mainbus0 bus 0: configuration mode 1
"NVIDIA nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA nForce4 ISA" rev 0xa3
nviic0 at pci0 dev 1 function 1 "NVIDIA nForce4 SMBus" rev 0xa2
iic0 at nviic0: disabled to avoid ipmi0 interactions
iic1 at nviic0: disabled to avoid ipmi0 interactions
ohci0 at pci0 dev 2 function 0 "NVIDIA nForce4 USB" rev 0xa2: apic 2 int 10
(irq 10), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ehci0 at pci0 dev 2 function 1 "NVIDIA nForce4 USB" rev 0xa3: apic 2 int 11
(irq 11)
ehci0: timed out waiting for BIOS
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
pciide0 at pci0 dev 6 function 0 "NVIDIA nForce4 IDE" rev 0xa2: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
ppb0 at pci0 dev 9 function 0 "NVIDIA nForce4 PCI-PCI" rev 0xa2
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "NVIDIA GeForce2 MX" rev 0xb2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 12 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): apic 2 int 10 (irq 10), address 00:15:60:ed:cb:07
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 13 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
pci3 at ppb2 bus 3
bge1 at pci3 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): apic 2 int 11 (irq 11), address 00:15:60:ed:cb:06
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb3 at pci0 dev 14 function 0 "NVIDIA nForce4 PCIE" rev

Re: Windows to "copy" open bsd

2006-06-02 Thread Karsten McMinn

On 6/2/06, Dan Farrell <[EMAIL PROTECTED]> wrote:

 (including captain fucktrust) has
had any relevant input.


Can't we all just get along ... and let this thread die a quiet death?


in a second don quixote.

1) were all subscribed to misc@ :: use the force :: resist the reply all button.
2) http://catb.org/jargon/html/T/top-post.html
3) Eric appointed meaning to this thread.



MAC -> IP -> MAC

2006-06-02 Thread Gaby vanhegan
Hello, good evening and welcome.

I'm building a system that allows wireless clients to connect to an  
AP, authenticate themselves with a login and password, and they're  
then granted access to the internet, through a pf firewall using  
tables to control access.

The clients are all assigned an address through DHCP (hopefully using  
dhcpd) so they should have an entry in dhcpd.leases for their MAC.   
When they authenticate, their MAC address is what is used to identify  
them, not their IP.  I'm using a custom system to authenticate users,  
authpf is not really suitable here.

Authenticated MACs are converted to an IP address, using dhcpd.leases  
to do the lookup.  Then, as a double check, it will use the ARP cache  
to confirm that the IP and the MAC match up, so users can't steal  
access from a stale IP somewhere.  If a user picks a static IP, they  
won't have an entry in dhcpd.leases, so they won't get access.

What I'm looking for is a simple way to pull an IP/MAC combination  
out of a dhcpd.leases file, or a reasonably sized dhcpd.leases file  
that I can test a parser on.  Can anybody help out here?

Also, does this system sound reasonable or sensible?  All comments  
welcome.

Gaby

--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/sudoku/
http://weblog.vanhegan.net/



Re: one drive in a raid 0 failed, can I save any data?

2006-06-02 Thread John Brahy
It turned out that I actually configured it as a raid 1 so I have a mirrored
disk. I appreciate everyone's help and now I have options if I'm ever in the
situation that I thought I was in. The best advice that I got was from
Samuri Chef telling me to check out this software:

http://www.data-recovery-software.net

it turned out to be able to read ffs which was very nice. But when I went to
use it, I found out that I had a raid 1. I remember having two 80 GB drives
and my disk size was 160GB so I assumed that my raid was level zero. But it
turned out that I never used the 80 GB drives and I actually had two 160GB
drives.

So, I made a big mistake and I'm definitely feeling much better now. Thank
you to everyone for all your help and sorry for wasting your time.


John



Re: Windows to "copy" open bsd

2006-06-02 Thread Tony Abernethy
akonsu wrote:
> 
> in my understanding a proper implementation does not require any service
> packs. in other words: if one implements something that later requires a
> service pack, this is not a proper implementation.

Exactly. 
(And I don't seem to hear a lot about keeping OpenBSD patched up-to-date;)

> 
> 
> 2006/6/2, misiu <[EMAIL PROTECTED]>:
> >
> > akonsu schrieb:
> > >  no way. trust me. ;)
> > >
> > >
> > > We'll see, like many other security features in Windows, if they
> > implement
> > >> it *properly*.

Now, would you trust Linux to implememt it properly?

> > >>
> > >> DS
> > >
> > >
> > >
> > You guys funny!
> > But to remind all you, with Servicepack 2 for XP, it is unpossible to
> > execute injected code...
> > Or did I understand something wrong?
What you misunderstand is security.
Probably the most accurate guage of effective security is the price
for compromised computers. Last I heard it was five cents.
I'm not sure, but I think I could do better with incredibly bad security.

If there's only one hole, plugging it can make you a hero.
Like the little Dutch boy sticking his finger in the dyke.
For security, it's not where you are strongest that matters, it's
where you are weakest.

> >
> > m



Re: Windows to "copy" open bsd

2006-06-02 Thread Dan Farrell
What's the point of any portion of this thread? The subject matter is
complete hearsay, and so far, no one (including captain fucktrust) has
had any relevant input.

If you want to discuss windows, I'm sure there's a ton of mailing lists
out there...

Can't we all just get along ... and let this thread die a quiet death?


danno

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Eric Pancer
Sent: Friday, June 02, 2006 4:18 PM
To: akonsu
Cc: misc@openbsd.org
Subject: Re: Windows to "copy" open bsd

On Fri, 2006-06-02 at 12:58:43 -0700, akonsu wrote...

>  no way. trust me. ;)

Who the fuck are you to trust?



Re: Windows to "copy" open bsd

2006-06-02 Thread Eric Pancer
On Fri, 2006-06-02 at 20:48:06 +, [EMAIL PROTECTED] wrote...

> you're just a warm and fuzzy kind of guy, aren't you? 
> 

Only on friday's.



Re: Windows to "copy" open bsd

2006-06-02 Thread pauljgreene
 -- Original message --
From: Eric Pancer <[EMAIL PROTECTED]>
> 
> Who the fuck are you to trust?

you're just a warm and fuzzy kind of guy, aren't you? 



Re: Windows to "copy" open bsd

2006-06-02 Thread akonsu
in my understanding a proper implementation does not require any service
packs. in other words: if one implements something that later requires a
service pack, this is not a proper implementation.

konstantin


2006/6/2, misiu <[EMAIL PROTECTED]>:
>
> akonsu schrieb:
> >  no way. trust me. ;)
> >
> >
> > We'll see, like many other security features in Windows, if they
> implement
> >> it *properly*.
> >>
> >> DS
> >
> >
> >
> You guys funny!
> But to remind all you, with Servicepack 2 for XP, it is unpossible to
> execute injected code...
> Or did I understand something wrong?
>
> m



Re: Windows to "copy" open bsd

2006-06-02 Thread akonsu
i am sorry you are on this list.

konstantin


2006/6/2, Eric Pancer <[EMAIL PROTECTED]>:
>
> On Fri, 2006-06-02 at 12:58:43 -0700, akonsu wrote...
>
> >  no way. trust me. ;)
>
> Who the fuck are you to trust?



Re: Windows to "copy" open bsd

2006-06-02 Thread Eric Pancer
On Fri, 2006-06-02 at 12:58:43 -0700, akonsu wrote...

>  no way. trust me. ;)

Who the fuck are you to trust?



Re: problems booting off wrong drive

2006-06-02 Thread John Brahy
WOOHOO I figured it out. It was my root device.

http://www.openbsd.org/faq/faq8.html#Bootloader

boot -a allowed me to chose a different root device. I didn't realize that
was going on but after booting several times I realized there was a line
that said root_device wd1a

thanks to the FAQ maintainer!



On 6/2/06, John Brahy <[EMAIL PROTECTED]> wrote:
>
> I've got two drives in a OpenBSD 3.9 amd64 server. one that used to be the
> root drive in an old 3.8 system and a new drive that I've installed a
> fresh copy of OpenBSD 3.9.
>
> I want to boot up on just one of the drives but for some reason when I put
> the second drive in the server it tries to take over the root drive. I've
> tried switching the SATA cables between them and changing the boot option
> for boot hd0a:/bsd and hd1a:/bsd and I get the same errors.
>
> I attempted to find a way to make the secondary drive not bootable by
> booting up on my Official OpenBSD 3.9 CD and running a shell and then
> fdisking it, but I didn't find anywhere I could turn the bootable flag off.
>
> Any suggestions on what I can do?
>
> Thanks,
>
> John



Re: Windows to "copy" open bsd

2006-06-02 Thread akonsu
 no way. trust me. ;)


We'll see, like many other security features in Windows, if they implement
> it *properly*.
>
> DS



Re: Windows to "copy" open bsd

2006-06-02 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
> Hey did you hear that in Windows vista they implemented ASLR 
> , somethink
> similar to the technology of random memory allocation in open 
> bsd. So I gues
> Windows is copying bsd. Cool.

We'll see, like many other security features in Windows, if they implement
it *properly*.

DS



Windows to "copy" open bsd

2006-06-02 Thread Diaconescu Stefan Andrei
Hey did you hear that in Windows vista they implemented ASLR , somethink
similar to the technology of random memory allocation in open bsd. So I gues
Windows is copying bsd. Cool.



problems booting off wrong drive

2006-06-02 Thread John Brahy
I've got two drives in a OpenBSD 3.9 amd64 server. one that used to be the
root drive in an old 3.8 system and a new drive that I've installed a fresh
copy of OpenBSD 3.9.

I want to boot up on just one of the drives but for some reason when I put
the second drive in the server it tries to take over the root drive. I've
tried switching the SATA cables between them and changing the boot option
for boot hd0a:/bsd and hd1a:/bsd and I get the same errors.

I attempted to find a way to make the secondary drive not bootable by
booting up on my Official OpenBSD 3.9 CD and running a shell and then
fdisking it, but I didn't find anywhere I could turn the bootable flag off.

Any suggestions on what I can do?

Thanks,

John



Tape Changer ch(4) and Tape st(4) support changes - and hardware needed

2006-06-02 Thread Bob Beck
A lot of work has been done by myself and krw@ at the hackathon
to improve support for st(4) and ch(4) devices. In particular we have
fixed up support for tape and changer devices so that opening a scsi tape
device should be much more reliable (an open of the tape device should
acutally mount the tape now)

Additionally some work has been done to improve ch(4) and I have
added bar code reader support to the kernel and to chio(8). These changes
should be visible in new snapshots available soon. 

One problem with doing this work is a lack of changer devices. While
I have access to a number of them at my day job, to ensure that fixes
work and are compatible with several types of changers you really need
access to more of these devices, as they have some interesting quirks.
So, anyone with a working tape changer *with media* who wants to find
it a good home, please contact me. Particularly if it has a barcode
reader. I'm sure either myself or krw could put it to good use. 

-Bob



Re: mounting winxp

2006-06-02 Thread jjhartley
Original message from "Martin Gruden" [EMAIL PROTECTED]:

> I have a noob question. 
> I have two disks wd0 and wd1 . On wd1a to wd1f i have obsd3.9 an on wd0 i 
> have winXP. 
> I read the fstab man page but it doesn't explain anything about mounting xp. 

Read Section 14.16 of the OpenBSD FAQ.  You will need to recompile your kernel 
in order to get NTFS support.

http://openbsd.org/faq/faq14.html#foreignfs

Jim



Re: sendmail causing high load

2006-06-02 Thread Lyndon Nerenberg
My isp blocks traffic on port 25. So i decided to experiment on adding a 
listening port for sendmail.


While not an answer to your load problem, I suggest you read up on the 
Submission service (RFC 4409).


--lyndon



Re: dynamic dns update

2006-06-02 Thread Marsh J. Ray

riwanlky wrote:
I will like to know if OpenBSD have the capability to update my 
dynamic ip to www.dyndns.org.

ddclient version 3.6.3 works great for me. Let me know if you'd like any config 
pointers.

- Marsh



Re: Support Needed for GPS and Time Signal Station Receiver Development

2006-06-02 Thread Will H. Backman
Have you looked at gpsd, which is BSD licensed?  According to the author, they
have very good device detection, so maybe you could use their device info
database.
http://gpsd.berlios.de/

-- Willg



Support Needed for GPS and Time Signal Station Receiver Development

2006-06-02 Thread Marc Balmer
as you may know, I have added support for time signal station receivers
earlier this year and during the calgary hackathon I added suport for
NMEA talking GPS devices.  these devices can now be used by our ntpd.

unfortunately, most devices are slightly different in the data they
return or the formats they use.  so it is important for me to get as
much such devices as ever possible to add support for them.  for
economic reasons, I can not buy every single device I come across, so I
much depend on donations.

if you are able to help me with my efforts by donating such devices or
paying for them, please get in contact with me by private email.

what I am looking for most are the following items:

- GPS devices, serially and UPS attached (consumer grade)
- industrial GPS devices, providing hich accuracy
- GPS devices that can provide a proper per-second pulse
- PCI based GPS receivers
- GPS modules
- receiver for the British MSF time signal station (Rugby)
- High-precision correlation receiver for the german DCF77 station
- Loran-C receiver
- PCI based time signal station receivers

thank you,
marc balmer



Re: dynamic dns update

2006-06-02 Thread Alexander Hall

riwanlky wrote:

Hi,

I will like to know if OpenBSD have the capability to update my dynamic 
ip to www.dyndns.org.


One more vote for ddclient from ports. No external dependencies (e.g. 
Python).




Re: mounting winxp

2006-06-02 Thread Darrin Chandler
On Fri, Jun 02, 2006 at 05:36:52PM +0200, Martin Gruden wrote:
> Hi
> 
> I have a noob question.
> I have two disks wd0 and wd1 . On wd1a to wd1f i have obsd3.9 an on wd0  i
> have winXP.
> I read the fstab man page but it doesn't explain anything about mounting xp.
> 
> I tried allsorts of combinations, editing fstab
> Like :
>  /dev/wd0a /mnt/c ntfs ro,noauto 0 0
> 
> i keep changing the letters from a to whatever i have in /dev and
> nothing.Ialways recive this:
> 
> mount_ntfs /dev/wd0a to /mnt/c : Operation not supported
> 
> Am i missing something, is there a document i can read, or  can you help me.

This came up a few days ago on this very list. Check the archives for
detailed info, but the bottom line is that ntfs support isn't in the
stock build, so you'll have to go custom...

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: mounting winxp

2006-06-02 Thread akonsu
hello, i just asked the very same question about a week ago on this list.
just search the archive. ntfs is not enabled by default. you will need to
compile the OS yourself to enable it.

a hint, before changing fstab, try to mount a filesystem manually.

konstantin


2006/6/2, Martin Gruden <[EMAIL PROTECTED]>:
>
> Hi
>
> I have a noob question.
> I have two disks wd0 and wd1 . On wd1a to wd1f i have obsd3.9 an on wd0  i
> have winXP.
> I read the fstab man page but it doesn't explain anything about mounting
> xp.
>
> I tried allsorts of combinations, editing fstab
> Like :
> /dev/wd0a /mnt/c ntfs ro,noauto 0 0
>
> i keep changing the letters from a to whatever i have in /dev and
> nothing.Ialways recive this:
>
> mount_ntfs /dev/wd0a to /mnt/c : Operation not supported
>
> Am i missing something, is there a document i can read, or  can you help
> me.
>
> Goodbye and thank  you



Re: mounting winxp

2006-06-02 Thread Wade, Daniel
> -Original Message-
> From: Martin Gruden [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 02, 2006 11:37 AM
> To: misc@openbsd.org
> Subject: mounting winxp
> 
> Hi
> 
> I have a noob question.
> I have two disks wd0 and wd1 . On wd1a to wd1f i have obsd3.9 
> an on wd0  i
> have winXP.
> I read the fstab man page but it doesn't explain anything 
> about mounting xp.
> 
> I tried allsorts of combinations, editing fstab
> Like :
>  /dev/wd0a /mnt/c ntfs ro,noauto 0 0
> 
> i keep changing the letters from a to whatever i have in /dev and
> nothing.Ialways recive this:
> 
> mount_ntfs /dev/wd0a to /mnt/c : Operation not supported
> 
> Am i missing something, is there a document i can read, or  
> can you help me.
> 
> Goodbye and thank  you
> 
> 
> 

http://www.openbsd.org/faq/faq14.html#foreignfs



Re: one drive in a raid 0 failed, can I save any data?

2006-06-02 Thread Chris 'Xenon' Hanson

Shane J Pearson wrote:
What I did in that case, was image with Ghost and when the drive 
spins-down, pull the power plug on the drive alone, then plug it back in 
to get a few more minutes of copying. Keep doing that until the whole 
drive is imaged. Thankfully, this worked perfectly for me.


Another thing I have seen successfully done when a drive would not 
spin-up at all, was a PCB swap from an exact same drive 
(model/firmware). If you try this, image the drive and then restore to 
another disk. Since when I saw this done, the newly fixed drive with 
different PCB died only days later in the same way. As if something 
inside the drive killed something on the outer PCB.


  I have done both of these things in the past, when desperate, with some success. I've 
also sent a super-critical drive out to drivesavers (I think it was them) and they saved 
it, but it was mucho $.


  It all depends on how much you need it.

  Also, look into RAID _5_ in the future.


  And a final note of wisdom -- SMART monitoring is your friend. Use it. Check it weekly 
on every system you own. I saved a lot of hassle when one drive in my (Linux) file 
server's RAID 5 told me one day "Failure Imminent". I overnighted the exact same model ans 
swapped it out the next day, preventing a lot of headache.



Shane


--
 Chris 'Xenon' Hanson | Xenon @ 3D Nature | http://www.3DNature.com/
 "I set the wheels in motion, turn up all the machines, activate the programs,
  and run behind the scenes. I set the clouds in motion, turn up light and 
sound,
  activate the window, and watch the world go 'round." -Prime Mover, Rush.



mounting winxp

2006-06-02 Thread Martin Gruden
Hi

I have a noob question.
I have two disks wd0 and wd1 . On wd1a to wd1f i have obsd3.9 an on wd0  i
have winXP.
I read the fstab man page but it doesn't explain anything about mounting xp.

I tried allsorts of combinations, editing fstab
Like :
 /dev/wd0a /mnt/c ntfs ro,noauto 0 0

i keep changing the letters from a to whatever i have in /dev and
nothing.Ialways recive this:

mount_ntfs /dev/wd0a to /mnt/c : Operation not supported

Am i missing something, is there a document i can read, or  can you help me.

Goodbye and thank  you



Re: dynamic dns update

2006-06-02 Thread idzuwan
Totally agree i personaly use ddclient for dyndns and zoneedit for 
updating my dns never fail me yet :)


Simon Slaytor wrote:


DDCLIENT works well for me on 3.7


riwanlky wrote:


Hi,

I will like to know if OpenBSD have the capability to update my 
dynamic ip to www.dyndns.org.


I am currently running myDYNIPPRO on Windows to update my dynamic ip. 
I want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, 
mySQL on the

machine.

Thanks and best regards,
Riwan




Re: dynamic dns update

2006-06-02 Thread Chris Zakelj
I've been using ddclient from packages successfully for the better part of a 
year.  Before that, it was ipcheck.py (until it started doing abusive updates).

riwanlky <[EMAIL PROTECTED]> wrote:  Hi,

I will like to know if OpenBSD have the capability to update my dynamic ip 
to www.dyndns.org.

I am currently running myDYNIPPRO on Windows to update my dynamic ip. I want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL on the
machine.

Thanks and best regards,
Riwan



Re: dynamic dns update

2006-06-02 Thread Roger Neth Jr

On 6/2/06, riwanlky <[EMAIL PROTECTED]> wrote:

Hi,

I will like to know if OpenBSD have the capability to update my dynamic ip
to www.dyndns.org.

I am currently running myDYNIPPRO on Windows to update my dynamic ip. I want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL on the
machine.

Thanks and best regards,
Riwan




Hello, I used that with ports ipforward without a problem on 3.8
snapshot with a DEC Alpha as a firewall and Sun Ultra as the webserver
pointing to by dyndns.

rogern

John 3:16



Re: dynamic dns update

2006-06-02 Thread Antoine Jacoutot
Selon riwanlky <[EMAIL PROTECTED]>:
> I will like to know if OpenBSD have the capability to update my dynamic ip
> to www.dyndns.org.
>
> I am currently running myDYNIPPRO on Windows to update my dynamic ip. I want
> to
> move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL on the
> machine.

$ cd /usr/ports/ && make search key=dyndns
Port:   ipcheck-0.207
Path:   net/ipcheck
Info:   fully compliant DynDNS.org client
Maint:  The OpenBSD ports mailing-list 
Index:  net
L-deps:
B-deps:
R-deps: python-2.3*:lang/python/2.3
Archs:  any

Regards,

-- 
Antoine



Re: dynamic dns update

2006-06-02 Thread Matthias Bertschy

Personaly I use: http://ipcheck.sourceforge.net/

riwanlky wrote:

Hi,

I will like to know if OpenBSD have the capability to update my 
dynamic ip to www.dyndns.org.


I am currently running myDYNIPPRO on Windows to update my dynamic ip. 
I want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL 
on the

machine.

Thanks and best regards,
Riwan




Re: dynamic dns update

2006-06-02 Thread Dan Farrell
Google is your friend. Maybe you should ask Google first.

If you think I'm being rude, read this

http://www.catb.org/~esr/faqs/smart-questions.html#rtfm


cheers!


Dan Farrell
Applied Innovations
[EMAIL PROTECTED]
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of riwanlky
Sent: Friday, June 02, 2006 9:51 AM
To: misc@openbsd.org
Subject: dynamic dns update

Hi,

I will like to know if OpenBSD have the capability to update my dynamic
ip 
to www.dyndns.org.

I am currently running myDYNIPPRO on Windows to update my dynamic ip. I
want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL
on the
machine.

Thanks and best regards,
Riwan



Re: dynamic dns update

2006-06-02 Thread Terry
On Fri, Jun 02, 2006 at 08:50:57PM +0700, riwanlky wrote:
> I will like to know if OpenBSD have the capability to update my dynamic ip 
> to www.dyndns.org.

ddclient

-- 
Terry
http://tyson.homeunix.org



Re: dynamic dns update

2006-06-02 Thread Tasos Varoudis

Use google...

ez-ipupdate or ddclient

_OR_
this script makes use of nslookup, lynx, and dyndnsupdate.

#!/bin/sh

# This script uses "dyndnsupdate" available at 
http://www.bebits.com/app/2927


# HOSTNAME is your DynDNS hostname
HOSTNAME=your_hostname.dyndns.org

# NSLOOKUP is the current DNS entry for your DynDNS hostname
NSLOOKUP=`/usr/bin/nslookup -sil $HOSTNAME | tail -2 | head -1 | cut -d" 
" -f2`


# CURRENT_IP is your router's current IP
CURRENT_IP=`/usr/bin/lynx -dump 
http://www.netins.net/dialup/tools/my_ip.shtml | grep -A2 "Your current 
IP Address is:" | tail -n1 | tr -d ' '`


# Is CURRENT_IP returning "unknown"?
if [ "$CURRENT_IP" = "unknown" ] ; then
   exit
fi

# Is our current IP in the DynDNS DNS records? If not, update them.
if [ "$NSLOOKUP" != "$CURRENT_IP" ] ; then
   /sbin/dyndnsupdate -a $CURRENT_IP -h your_hostname.dyndns.org -m \
   your_hostname's_mail_exchange.dyndns.org -s statdns \
   -u dyndns.org_username:dyndns.org_password
   # Flush local DNS cache of $HOSTNAME
   /sbin/service named restart
fi


Take a look at the first two before using this script.


--
Tasos Varoudis  | [EMAIL PROTECTED] / rm '_XX'
Architecture Engineer   | http://www.daemons.gr/
phone: +3-210-9949406   | 23 Mixalakopoulou str, Argiroupoli
mobile: +3-694-4663268  | 16451, Athens, GREECE



Re: dynamic dns update

2006-06-02 Thread Dries Schellekens

riwanlky wrote:

I will like to know if OpenBSD have the capability to update my dynamic 
ip to www.dyndns.org.


I am currently running myDYNIPPRO on Windows to update my dynamic ip. I 
want to move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL 
on the machine.


There is net/ipcheck in the ports. See http://ipcheck.sourceforge.net


Cheers,

Dries



Re: dynamic dns update

2006-06-02 Thread Andreas Kahari

Try out the net/ipcheck port.

Regards,
Andreas


On 02/06/06, riwanlky <[EMAIL PROTECTED]> wrote:

Hi,

I will like to know if OpenBSD have the capability to update my dynamic ip
to www.dyndns.org.

I am currently running myDYNIPPRO on Windows to update my dynamic ip. I want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL on the
machine.

Thanks and best regards,
Riwan





--
Andreas Kahari
Somewhere in the general Cambridge area, UK



Re: dynamic dns update

2006-06-02 Thread Wade, Daniel
> -Original Message-
> From: riwanlky [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 02, 2006 9:51 AM
> To: misc@openbsd.org
> Subject: dynamic dns update
> 
> Hi,
> 
> I will like to know if OpenBSD have the capability to update 
> my dynamic ip 
> to www.dyndns.org.
> 

Did you try these?
http://www.dyndns.com/support/clients/unix.html



Re: dynamic dns update

2006-06-02 Thread Simon Slaytor

DDCLIENT works well for me on 3.7


riwanlky wrote:


Hi,

I will like to know if OpenBSD have the capability to update my 
dynamic ip to www.dyndns.org.


I am currently running myDYNIPPRO on Windows to update my dynamic ip. 
I want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL 
on the

machine.

Thanks and best regards,
Riwan




Re: dynamic dns update

2006-06-02 Thread Jerome Loyet
> I will like to know if OpenBSD have the capability to update 
> my dynamic ip to www.dyndns.org.

Look at the ports:)

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which 
had a name of smime.p7s]



Re: dynamic dns update

2006-06-02 Thread Darrin Chandler
On Fri, Jun 02, 2006 at 08:50:57PM +0700, riwanlky wrote:
> Hi,
> 
> I will like to know if OpenBSD have the capability to update my dynamic ip 
> to www.dyndns.org.
> 
> I am currently running myDYNIPPRO on Windows to update my dynamic ip. I 
> want to
> move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL on 
> the
> machine.
> 
> Thanks and best regards,
> Riwan

No, OpenBSD doesn't have that capability, and neither does Windows.

However, there are many programs/scripts available which will work. The
dyndns web site has a list of available ones for various platforms.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: dynamic dns update

2006-06-02 Thread Josh Grosse
On Fri, Jun 02, 2006 at 08:50:57PM +0700, riwanlky wrote:
> Hi,
> 
> I will like to know if OpenBSD have the capability to update my dynamic ip 
> to www.dyndns.org.
> 
> I am currently running myDYNIPPRO on Windows to update my dynamic ip. I 
> want to
> move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL on 
> the
> machine.
> 
> Thanks and best regards,
> Riwan
  
ddclient is available as a package.  You'll see it mentioned in dyndns's 
documentation about automatic updates.



Re: dynamic dns update

2006-06-02 Thread Raymond Lewis Rebbeck
You can use ddclient to update your dynamic dns. I've used it, it works well.

On Friday, 2 June 2006 23:20, riwanlky wrote:
> Hi,
>
> I will like to know if OpenBSD have the capability to update my dynamic ip
> to www.dyndns.org.
>
> I am currently running myDYNIPPRO on Windows to update my dynamic ip. I
> want to move to OpenBSD. I had currently running sendmail, popa3d, mrtg,
> mySQL on the machine.
>
> Thanks and best regards,
> Riwan

-- 
Raymond Lewis Rebbeck



dynamic dns update

2006-06-02 Thread riwanlky

Hi,

I will like to know if OpenBSD have the capability to update my dynamic ip 
to www.dyndns.org.


I am currently running myDYNIPPRO on Windows to update my dynamic ip. I want to
move to OpenBSD. I had currently running sendmail, popa3d, mrtg, mySQL on the
machine.

Thanks and best regards,
Riwan



Re: sendmail causing high load

2006-06-02 Thread David Hill
On Fri, Jun 02, 2006 at 02:32:26PM +0200, Jasper Bal wrote:
> Jasper Bal schreef:
> >Hi all,
> >
> >My isp blocks traffic on port 25. So i decided to experiment on adding 
> >a listening port for sendmail. I added port 53, because this is never 
> >blocked. I added the following line in sendmail.cf: OOPort=53. I 
> >killed -1 sendmail. And then all my connections timed out. Ping gives 
> >a 80% loss. Are there that many wild dns requests? The box doesn't run 
> >his own dns-server, nor is it registered as one. I'm running OpenBSD 
> >3.7 on this one. Any thoughts?
> After my colocator fixed the switch, I was able to watch statistics on 
> data traffic. There was minimal traffic, so no DOS attack ;-)
> 
> Requested a reboot and everything was fine again. Port 53 didn't work 
> properly so i used 26 instead. Now it works fine. Probably a dangling 
> bit somewhere.
> 
> Kind regards,
> Jasper
>

Why not use the standard port of 587? 

- David



Re: one drive in a raid 0 failed, can I save any data?

2006-06-02 Thread Matthias Kilian
On Thu, Jun 01, 2006 at 03:08:21PM -0400, Nick Holland wrote:
> On Thu, Jun 01, 2006 at 08:57:08AM -0700, John Brahy wrote:
> > F.r.a.c.u.l. .e.k. . .a. .u.n.n. .i.h.u. .a.k.p. .n. .n. .f.t.e.d.i.e. .i.d.
> > .s.t.e.e.a.w.y.t. .e.o.e. .n. .f.t.e.d.t. .r.m.t.e.d.i.e.?
> >
>  
> N t l k l .   o r .  <- Drive 0, RAID0
>  o   i e y   S r y   <- Drive 1, RAID0
>  
> Nick.  <- Drive 0, RAID1   
> Nick.  <- Drive 1, RAID1

I  t  ^M r  a  ^Wa  ^\ n  o  U  d  '  T  u ^S I  ?
s  T  h  e  A  n  r  ^D s ^V u  o  I  t  s  E  R  D  ^J
: e  ^Wy  R  e  o  N  y ^K n 6  e  A  ^M 5

(SCNR)



Re: sendmail causing high load

2006-06-02 Thread Jasper Bal

Jasper Bal schreef:

Hi all,

My isp blocks traffic on port 25. So i decided to experiment on adding 
a listening port for sendmail. I added port 53, because this is never 
blocked. I added the following line in sendmail.cf: OOPort=53. I 
killed -1 sendmail. And then all my connections timed out. Ping gives 
a 80% loss. Are there that many wild dns requests? The box doesn't run 
his own dns-server, nor is it registered as one. I'm running OpenBSD 
3.7 on this one. Any thoughts?
After my colocator fixed the switch, I was able to watch statistics on 
data traffic. There was minimal traffic, so no DOS attack ;-)


Requested a reboot and everything was fine again. Port 53 didn't work 
properly so i used 26 instead. Now it works fine. Probably a dangling 
bit somewhere.


Kind regards,
Jasper



sendmail causing high load

2006-06-02 Thread Jasper Bal

Hi all,

My isp blocks traffic on port 25. So i decided to experiment on adding a 
listening port for sendmail. I added port 53, because this is never 
blocked. I added the following line in sendmail.cf: OOPort=53. I killed 
-1 sendmail. And then all my connections timed out. Ping gives a 80% 
loss. Are there that many wild dns requests? The box doesn't run his own 
dns-server, nor is it registered as one. I'm running OpenBSD 3.7 on this 
one. Any thoughts?


Kind regards,
Jasper



Last call for swedes wanting to attend the fundraiser event.

2006-06-02 Thread Janne Johansson

http://slackathon2006.unix.se for info (in swedish),
attach /index_en.html for an (almost 100% updated) english version.

It's tomorrow (3rd of June) at the Stockholm University, so this really 
is the last call, but in case I missed some of you swedes when spamming 
all local lists and forums, and you have the day off tomorrow, come by 
and donate!


We'll play with trunk(4)ed Gbit-interfaces, hear Niklas Hallqvist, Artur 
Grabowski, Hans Insulander and others talk about OpenBSD and 
networking/security stuff in general, and generally have a nice social 
event. Since there are no/few good events where you can meet openbsd 
people in .se, this is your chance!


See you (and your cash) there!

/Janne



Re: one drive in a raid 0 failed, can I save any data?

2006-06-02 Thread Shane J Pearson

Hi John,

On 2006.06.02, at 1:57 AM, John Brahy wrote:

For a couple weeks I was running without backups and one of the  
drives died.

Is there a way to recover any of the data from the drives?


How dead is the drive and how desperate are you?

I have imaged a clients ide drive which was doing the "spin-up and  
keep spinning for a few minutes and then spin-down", thing. The slow  
disk death where you get excited about copying your data, then it  
dies mid-copy, you try lots of times to copy, it does the same thing  
each time and then the drive eventually never spins up again.


What I did in that case, was image with Ghost and when the drive  
spins-down, pull the power plug on the drive alone, then plug it back  
in to get a few more minutes of copying. Keep doing that until the  
whole drive is imaged. Thankfully, this worked perfectly for me.


I only mention Ghost because I have only tried this with Ghost and  
Ghost did actually tolerate this abuse and patiently waited for the  
drive to become responsive again and then continued. I don't know if  
this would work with other imaging type software. Seems scary, so I  
suppose if you want to try this you should do it on an expendable PC  
or perhaps an external enclosure. Ghost has a "forensic" option where  
it copies all data regardless of partition types and file-systems,  
which you'll need in this case since Ghost knows nothing about FFS  
and even if it did, it's striped.


If you manage to get a full image, get an exact same drive and  
restore the image to it, then you might get lucky.


Another thing I have seen successfully done when a drive would not  
spin-up at all, was a PCB swap from an exact same drive (model/ 
firmware). If you try this, image the drive and then restore to  
another disk. Since when I saw this done, the newly fixed drive with  
different PCB died only days later in the same way. As if something  
inside the drive killed something on the outer PCB.


Good luck, I hope you have some option.


Shane



Re: apple usb modem

2006-06-02 Thread akonsu
here is the relevant portion of dmesg that is output when i plug in the
modem:

uaudio0 at uhub1 port 2 configuration 1 interface 2: Motorola, Inc. Apple
USB Modem, rev 2.00/2.02, addr 3
uaudio0: ignored output endpoint of type async
uaudio0: audio rev 1.00, 0 mixer controls
audio0 at uaudio0


i guess no luck huh? i have no idea where audio gets in to the story... i
wonder whether apple's darwin project has the sources for the driver and how
difficult it is to port them if the source is available.

konstantin


2006/5/29, Shawn K. Quinn <[EMAIL PROTECTED]>:
>
> On Mon, 2006-05-29 at 00:18 -0700, akonsu wrote:
> > hello,
> >
> > i have apple usb modem left over from my imac g5 that i got rid of. is
> there
> > any chance of getting this modem to work with openbsd in stead of the
> > unsupported winmodem that i have on my laptop?
>
> Plug it in and see if you get a ucom device. If you do, then it'll
> probably work. If not, then you're probably SOL.
>
> --
> Shawn K. Quinn