Odd sendmail behavior

2006-09-25 Thread Rob Baldassano
Need some help. 
  All of a sudden, sendmail wont. 
  I can't even send myself a test message from the server. 
  I'm currently running 3.6 (in the process of getting another box up on 3.9 so 
that I can migrate over), but could use some help diagnosing this issue. 
   
  Thanks, 
  --Rob


- 
 
Eirik Goransson / Rob Baldassano
Member, Barony of Endless Hills; 
House Odlahorde; 
Viking & All around Good Egg ; 
VROC #5029 (Tigger)
come visit http://www.dracowolf.com 
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 



Re: Majordomo 2 on OpenBSD 3.9

2006-09-25 Thread Sevan / Venture37

problem solved, /var was mounted with the nosuid option set.

hmm, might be a good idea to have the cgi scripts in /usr/local/f00 &
leave /var mounted with nosuid.

Just out of curiosity, how is lists.openbsd.org setup??

Sevan / Venture37


--
"The truth, the half-truth, and nothing like the truth." - Mark Brandon Read



Majordomo 2 on OpenBSD 3.9

2006-09-25 Thread Sevan / Venture37

Hi Guys
I'm trying to get Majordomo going on my server, everything is setup
apart from the web fronted, the cgi scripts keep on bombing out. I have
tried compiling with & without wrapper support, but this hasn't made any
difference.
The following is spat out when I try to fireup any of the 3 mj_ scripts
in my cgi-bin directory.

Not running as UID 1001 at /var/www/cgi-bin/mj_wwwadm line 18.
BEGIN failed--compilation aborted at /var/www/cgi-bin/mj_wwwadm line 21.

Apache is running in unsecure mode (httpd -u)
& make test tells me that everything is a-ok
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/addr...ok

t/bounce.ok

t/core...ok

t/db-dbmbtreeok

t/db-dbmhash.ok

t/db-textok

t/shell..ok

All tests successful.

Anyone got any pointers??


Sevan / Venture37
--
"The truth, the half-truth, and nothing like the truth." - Mark Brandon Read



Re: Crash Report - Desired Info "Quality"?

2006-09-25 Thread Nick Holland
Toni Mueller wrote:
> Hello,
> 
> I'm getting a reproducible panic on a remote 3.9-stable system and have
> managed to talk someone into taking photographs with his cell phone
> camera that show the panic and 'ps' and 'trace' info. The image quality
> is generally poor, however.
> 
> The crash occurs when using smartmontools (from ports).
> 
> Would this be acceptable for filing a crash report, or is this out of
> your scope?

The trick to answering a question like this is to imagine yourself as an
OpenBSD developer.  At this point, 4.0 is done.  Out the door to the
presses.  You are now actively working on what will become 4.1.

NOW, someone offers to show you a problem with 3.9, and a kernel panic
at that.
What is your interest?  Definite curiosity.  After all, you are an
OpenBSD developer, when someone finds a problem, it is nice to make sure
it is eliminated.  However, it sure would be nice if the person asking
about a  reproducible problem would try reproducing it on -current code
to see if it has already been solved, or if it is something new.

Now they tell you they have labored for seconds to grab a digicam and
produce photos, which will take you much more time to actually get into
readable form on your screen than it took the person who is experiencing
the problem to create them.  And, you know from experience the photos
are going to be either huge, so they take forever to download and are a
pain in the butt to view, or tiny and fuzzy and unreadable.  Once you
make sense of the photo, you will very possibly find the problem is
either a custom kernel or bad hardware or something that was solved six
months ago.
What is your interest now?  almost Zero.

Unfortunately, the difference between "almost zero" and "zero" was the
question: is it a 10megapixel image (i.e., "is their camera better than
mine?"), or is it a fuzzy, mostly unreadable phone-cam picture (or
both).  People are curious about which way you are about to annoy them.
 You gave that away. :)


In general, especially with reproducible errors, try to reproduce them
on -current.

And then, forget the digicam.  ONCE you have a developer's interest, ok,
fine, maybe that particular developer will be interested in looking at
your fuzzy and/or fat digicam pics to save time on later iterations of
the resolution process, but you are unlikely to get their interest
initially with a photograph.

In general, I think it is usually best if the person ASKING for help
expects to spend many times the effort and time they expect the person
GIVING free help spend on a problem.  Transcribe your photos to text,
then file a proper bug report.  If it is really reproducible, grab a
serial cable, reproduce on -current, and skip the transcription.  If you
aren't willing spend a little time to do that, how important do you
think the OpenBSD developers are going to consider your problem?  How
much time do you think they will expect you will spend verifying the fix?

(and in case you are wondering, yes, I've transcribed quite a few
panics, often while sitting on an 80386/25 that is now used as an
uncomfortable chair).

(and no, this is not aimed at Toni personally, but rather, at people who
really don't think about the "other side" of the troubleshooting
process.  Toni was nice enough to ask before slinging photos around and
expecting magic to happen.  I'm just taking this opportunity to make a
long-winded answer.)

Nick.



Re: ipsec.conf and road warriors

2006-09-25 Thread viq

On 9/24/06, Joachim Schipper <[EMAIL PROTECTED]> wrote:

On Sun, Sep 24, 2006 at 07:10:14PM +0200, Thomas Schoeller wrote:
> hello all,
> is it possible with ipsec.conf and ipsecctl in 3.9 to listen for a
> road warrior with dynamic address. or should i wait for 4.0 where i can
> specify a fqdn as peer? is it maybe in 4.0 possible to listen for any
> peer?

I believe you should wait for 4.0.


Sorry for somewhat piggybacking this thread, but how to configure
that? I am thinking of something like "have all traffic from the
remote box come into network and from there go where it should", is
that at all possible, or it needs to be specified more carefully? I
was trying to set up something like that, but failed... (on current)


> on more question...
> when i use fqdn in 4.0 do i have to reload my rule set every time the
> road warrior change ip?

No.

Joachim





--
viq



Hacking a mail server

2006-09-25 Thread Carlos A. Garcia G.
can someone external to the network get a copy of all the mail that are 
getting to a mail server???

??



Re: bgpd best external route

2006-09-25 Thread Tom Beard
Henning Brauer wrote:
> i honestly don't understand your problem ;(
I get told that a lot ;)

Our two border routers (I'll call them B1 & B2) both have full views
made up of various transit & peering connections.  They have iBGP
peerings with each other and also with both of the access routers (I'll
call them A1 & A2).  Under normal circumstances the access routers see
~180,000 prefixes from B1 and ~12,000 prefixes from B2.  If for some
reason B1 loses external connectivity, there is about a 2 minute time
frame where A1 & A2 only have partial connectivity as B2 loses the
routes from B1 and then starts advertising more of it's own external routes.

JunOS has an option that allow you to tell B1 & B2 to advertise a full
table of routes to all iBGP peers so in the example of B2, it might have
selected routes via B1 as active, however it will still advertise a full
table of it's own best external routes.  This means that should B1 lose
connectivity, A1 and A2 already have a full route view from B2 and don't
need to wait to it to re-converge.

I'm not convinced that made much more sense.  Perhaps I'm making the
whole issue overly complicated?

Tom



EuroBSDCon registration Open

2006-09-25 Thread Massimiliano Stucchi
Hi all,

we finally made it, the registration for EuroBSDCon 2006 - Milan is now
open to everybody.

Please register as soon as possible to ensure a seat for you at the
event !

go to http://www.eurobsdcon.org/register/ and complete the registration
process.

It is also possible to book a room for the conference hotel.

We hope to meet you all in Milan !

Ciao
-- 

Massimiliano Stucchi
[EMAIL PROTECTED]   



Re: bgpd best external route

2006-09-25 Thread Tom Beard
Dan Farrell wrote:
> I take it you've already adjusted your holdtimes?
Yes,  I've got them down to 30, but I don't really think it's the hold
times that are causing the problem.  We're seeing ~180,000 prefixes from
one of the borders and ~12,000 from the other normally.  It takes about
2 mins to re-converge properly which I guess is not tragic, but it gives
you a short period of unreachability to some destinations and it's worse
than we were getting using two M10s as the borders.

Tom



Re: bgpd best external route

2006-09-25 Thread Dan Farrell
I take it you've already adjusted your holdtimes?

Dan Farrell
Applied Innovations
[EMAIL PROTECTED]
 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
> Tom Beard
> Sent: Monday, September 25, 2006 2:18 PM
> To: misc@openbsd.org
> Subject: bgpd best external route
> 
> Is there any way to mimic the behaviour of the Juniper
> "advertise-best-external-to-internal" function within OpenBGPd?
> 
> I currently have a setup of 4 OpenBSD routers, two with eBGP sessions
to
> upstreams and peers, and a full mesh of iBGP sessions between these
and
> the two internal routers.  This all works well normally, however I
would
> like to see a full view of the routing table passed to each internal
> peer, not just the routes originating locally so as to minimise the
> convergence time in the event of an outage on one router/provider.
> 
> If what I've just written is complete rubbish then please accept my
> apologies.
> 
> Tom



Re: Is it possible to install old packages on new release

2006-09-25 Thread Ted Unangst

On 9/24/06, Igor Zinovik <[EMAIL PROTECTED]> wrote:

   Hello, misc readers.
Maybe my question is obvious, but i want to know could one install old packages
on new release? My situation is following: i have OpenBSD_3_8 and a lot of
packages on CD with OPENBSD_3_6. Docs say: "Dont mix OpenBSD system and ports
version, keep system and ports in sync", but it dont say anything about 
packages.


it is possible to do a lot of things.  but "possible to do" and
"tested to work" are very different things.

if this is something you feel the need to try, why not just go ahead and try it?



Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode

2006-09-25 Thread Pierre Riteau

On 9/24/06, Karsten McMinn <[EMAIL PROTECTED]> wrote:

On 9/24/06, Pierre Riteau <[EMAIL PROTECTED]> wrote:
> ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
> ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
> ath0: unable to attach hardware; HAL status 22


is that on a fresh power-on?



Yes. I installed OpenBSD this evening, and tried with latest GENERIC
and GENERIC.MP.
Same result.

OpenBSD 4.0-current (GENERIC) #: Sun Sep 24 20:49:17 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2c06040613
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 2000, 1000 MHz
real mem  = 515354624 (503276K)
avail mem = 462118912 (451288K)
using 4256 buffers containing 25870336 bytes (25264K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe7440 (37 entries)
bios0: Apple Computer, Inc. MacBook1,1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xe600!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture
at 0x9038, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
vendor "Intel", unknown product 0x27a3 (class DASP subclass Time and
Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Sigmatel STAC9221 (rev. 52.1), HDA version 1.0
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x22,
Marvell Yukon-2 EC rev. A3 (0x2): irq 11
msk0 at mskc0 port A, address 00:16:cb:cb:66:74
eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
ath0 at pci2 dev 0 function 0 "Atheros AR5424" rev 0x01: irq 11
ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
ath0: unable to attach hardware; HAL status 22
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci3 at ppb2 bus 3
"AT&T/Lucent FW322 1394" rev 0x61 at pci3 dev 3 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: 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 4
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 1: 
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: irq 11
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask  netmask  ttymask 
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_syn

Re: Crash Report - Desired Info "Quality"?

2006-09-25 Thread Steve Welham
>> Would this be acceptable for filing a crash report, or is this out of
>> your scope?
> 
> If you can type in the text, that should be fine. Don't expect multiple
> developers to try and make head or tail of a .jpg though...
> 
> As mentioned here recently, if the machine is rebooted rather than
> power-cycled (type 'boot r' at ddb> prompt after tr/ps) you might find
> the information still available in dmesg. (If you want to test whether
> this is likely to work before asking someone to type things, reboot
> yourself and see if you get two sets of startup messages displayed in
> dmesg).
> 
> 

Also a useful way to get textual screen output is to setup your system
to use a serial console rather than VGA. Then provided you have another
box you can just use your console emulator's copy or save options.

http://www.openbsd.org/faq/faq7.html#SerCon

SteveW



Using Exabyte Mammoth-2 tapes on OpenBSD

2006-09-25 Thread DoN. Nichols
All,

I posted this a few days ago to comp.unix.bsd.openbsd.misc, and
the only answer I got was mostly a suggestion that I post it here.  So,
here it is:

I've got an Exabyte 430 tape jukebox with two drives
(Mammoth-2).

They need to be connected to LVD SCSI, so I have found a PCI LVD
SCSI card to put in an Ultra-5.  (Exabyte's own documentation says that
while most LDV devices will work on SE SCSI, these will not.)

The drive most distant from the terminator with SE SCSI works
most of the time read and write up to certain sizes -- Under Solaris 10
on an Ultra-2.  More than Exabyte promised.  It works quite well for
reading, and reasonably, but not perfectly for writing.  (The drive
closer to the SE terminator does not work well at all, but swapping them
causes the one which did not work well before to work well afterwards.

With the system connected to the LVD SCSI controller on an
OpenBSD 3.8 system (mostly because I am too lazy to move that system to
OpenBSD 3.9 for the moment, as it is serving its main function with no
problems), I can control the jukebox with chio with no problems, and
read tapes written on other machines (even very long files) in either
drive (with a differential terminator in place, of course).

However -- I cannot *write* to the drives at all.  It doesn't
even write enough to render previously-written files unaccessible. :-(

This is OpenBSD 3.8 on a Sun Ultra5 (sparc64 kernel).  The only
part of the system which does not come with it is the LVD SCSI card,
which is documented in the dmesg information quoted below.

Partial information from the dmesg output on that system:

 ==
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights
reserved.
Copyright (c) 1995-2005 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 3.8 (GENERIC) #607: Sat Sep 10 16:03:59 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 536870912
avail memory = 480067584
using 3276 buffers containing 26836992 bytes of memory
bootpath: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED],0/[EMAIL 
PROTECTED],0
mainbus0 (root): Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 333MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 333 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K
external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c000 to e000
IOTDB: 26a8000 to 2728000

[ ... ]

siop0 at pci2 dev 1 function 0 "Symbios Logic 53c896" rev 0x07: ivec 1810, 
using 8K of on-board RAM
scsibus1 at siop0: 16 targets
siop1 at pci2 dev 1 function 1 "Symbios Logic 53c896" rev 0x07: ivec 1811, 
using 8K of on-board RAM
scsibus2 at siop1: 16 targets
ch0 at scsibus2 targ 9 lun 0:  SCSI2 8/changer 
removable
st0 at scsibus2 targ 10 lun 0:  SCSI2 1/sequential 
removable
st0: density code 0x28, 1024-byte blocks, write-enabled
st1 at scsibus2 targ 11 lun 0:  SCSI2 1/sequential 
removable
st1: density code 0x28, 1024-byte blocks, write-enabled
 ==

And -- when we start having problems:

 ==
siop1: target 10 now using 16 bit 40.0 MHz 31 REQ/ACK offset xfers
st0(siop1:10:0): unhandled message 0x23
st0(siop1:10:0): unhandled message 0x23
st0(siop1:10:0): unhandled message 0x23
siop1: target 9 now using 8 bit async xfers
ch0: 30 slots, 2 drives, 1 picker, 1 portal
siop1: target 11 now using 16 bit 40.0 MHz 31 REQ/ACK offset xfers
st1(siop1:11:0): unhandled message 0x23
st1(siop1:11:0): unhandled message 0x23
st1(siop1:11:0): unhandled message 0x23
st0(siop1:10:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Not Ready
 ASC/ASCQ: Logical Unit Is in Process Of Becoming Ready
st0(siop1:10:0): unhandled message 0x23
st0(siop1:10:0): unhandled message 0x23
st0(siop1:10:0): unhandled message 0x23
st0(siop1:10:0): unhandled message 0x23
st0(siop1:10:0): unhandled message 0x23
 ==

So -- does OpenBSD 3.8 or 3.9 deal properly with Exabyte Mammoth
2 drives?

Does something special need to be put into the kernel source and
a recompilation performed -- similar to the "st.conf" changes in Solaris
10 as below?

 ==
tape-config-list= "EXABYTE Mammoth2", "Mammoth2 8mm Helical Scan", "M2";
M2  = 1,0x35,0,0x19e39,1,0x28,0;
 ==

If all else fails, I'll pick up another Ultra-5 or Ultra-10,
stuff Solaris 10 into it, and use the PCI LVD card in that, since I do
know that Solaris 10 *will* write to th

Re: Is it possible to install old packages on new release

2006-09-25 Thread Joachim Schipper
On Mon, Sep 25, 2006 at 01:17:45AM -0400, Mike Dalgity wrote:
> So what does one do if they need a port/package that is available for a
> previous release but not the latest release? For example, Mysql 4.0 is a
> package for OBSD 3.8 and I'd like to install Mysql 4.x on OBSD 3.9 or soon
> to be 4.0 but it seems only Mysql 5.0 is available. What is generally done
> in a case such as this?

While it is not supported, there is a directory /usr/ports/mystuff for
this; typically, old ports compile just fine. (Be aware that the library
syntax has changed recently, though - but that won't be a problem on
3.9, and should be obvious from a quick diff anyway.)

Joachim



Re: OpenBSD dedicated hosting

2006-09-25 Thread Sven Wolf

Oops, maybe something went wrong at my last post :(
Here is the missing wd0 line:

wd0 at pciide0 channel 0 drive 0: 


Stuart Henderson wrote:

On 2006/09/21 22:50, Sven Wolf wrote:

wd0 at pciide0 channel 0 drive 0:

^
haven't noticed that before (no drive model listed) - do they have
something to hide?!




Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-25 Thread ip

I'm thinking to buy the Belink F5D7050USB 2.0 802.11b/g adapter,
listed in i386 hardware list.
Chipset Ralink RT2500 -> ural driver.

And I hope it working in g mode...

Cheers,

--
 ip



bgpd best external route

2006-09-25 Thread Tom Beard
Is there any way to mimic the behaviour of the Juniper
"advertise-best-external-to-internal" function within OpenBGPd?

I currently have a setup of 4 OpenBSD routers, two with eBGP sessions to
upstreams and peers, and a full mesh of iBGP sessions between these and
the two internal routers.  This all works well normally, however I would
like to see a full view of the routing table passed to each internal
peer, not just the routes originating locally so as to minimise the
convergence time in the event of an outage on one router/provider.

If what I've just written is complete rubbish then please accept my
apologies.

Tom



Re: Looking for a script to create siteXX.tgz

2006-09-25 Thread viq

On 9/25/06, Antoine Jacoutot <[EMAIL PROTECTED]> wrote:

On Mon, 25 Sep 2006, viq wrote:
> I remember I did see someone talking about such script/program, but
> neither google nor archives were able to help me (or I was just
> looking for the wrong thing) - does anyone have the link handy?

http://mongers.org/openbsd/siteXYtools/


Ah, thank you! No wonder I couldn't find it, I was looking for siteXX
not site XY ;)


--
Antoine




--
viq



Re: Looking for a script to create siteXX.tgz

2006-09-25 Thread Antoine Jacoutot

On Mon, 25 Sep 2006, viq wrote:

I remember I did see someone talking about such script/program, but
neither google nor archives were able to help me (or I was just
looking for the wrong thing) - does anyone have the link handy?


http://mongers.org/openbsd/siteXYtools/

--
Antoine



Re: qt 3.3 or later

2006-09-25 Thread Marc Espie
On Mon, Sep 25, 2006 at 07:36:14PM +0200, Karel Kulhavy wrote:
> Hello
> 
> I am trying to compile qcad 2.x from sources which says "Qt 3.3 or later"
> - which packages should I install? Just qt4-4.1.0p0.tgz? Or some more?



> qt3-mt-3.5p4.tgz  

That's the one, this is qt 3.3.5, in fact.
qt 4 is an entirely different beast, probably better than qt3, but most
programs will need some adaptations to work with it.

The qcad port should maybe get updated at some point ?



Looking for a script to create siteXX.tgz

2006-09-25 Thread viq

I remember I did see someone talking about such script/program, but
neither google nor archives were able to help me (or I was just
looking for the wrong thing) - does anyone have the link handy?
TIA
--
viq



qt 3.3 or later

2006-09-25 Thread Karel Kulhavy
Hello

I am trying to compile qcad 2.x from sources which says "Qt 3.3 or later"
- which packages should I install? Just qt4-4.1.0p0.tgz? Or some more?

qt3-examples-3.5.tgz  
qt3-html-3.5.tgz  
qt3-mt-3.5p4.tgz  
qt3-mysql-3.5p1.tgz   
qt3-postgresql-3.5p1.tgz  
qt4-4.1.0p0.tgz   
qt4-examples-4.1.0.tgz
qt4-html-4.1.0.tgz
qt4-mysql-4.1.0p0.tgz 
qt4-postgresql-4.1.0p0.tgz

CL<



Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-25 Thread Greg Thomas

On 9/25/06, Nick Guenther <[EMAIL PROTECTED]> wrote:

Wait for OpenBSD 4.0. There's been fixes to AR5213 recently. ath(4)
has never worked across the entire range of cards anyway.



I doubt 4.0 is going to do it either since -current is still not
working reliably.

Greg



Re: Asterisk Voip

2006-09-25 Thread Karsten McMinn

On 9/25/06, J.A. Bal <[EMAIL PROTECTED]> wrote:

Hi Stuart,\

I altered some ownerships of the /asterisk folders,
but still it wouldn't run as _asterisk.

Right now, i'm running asterisk as root.


I never even noticed there was an _asterisk user. and
usually new users copy in the asterisk default
config, and start reading through it bit-by-bit.



Re: kernel profiling boot startup call graph kgmon gprof

2006-09-25 Thread Paul Stoeber
(update of http://marc.theaimsgroup.com/?l=openbsd-misc&m=115914181032738&w=2)

Polishing.

--- /dev/null   Mon Sep 25 16:30:26 2006
+++ sys/conf/gen_addr_etext Mon Sep 25 15:41:13 2006
@@ -0,0 +1,19 @@
+#!/bin/sh
+f=addr_etext.h
+l='#define ADDR_ETEXT \'
+if [ $# = 0 ]; then
+   echo "$l" > $f
+   echo '((u_long)KERNBASE + (1<<16))' >> $f
+   exit 0
+fi
+if [ $# = 1 ]; then
+   a="0x$(nm -gp "$1" | awk '/ etext$/{print $1}')UL"
+   [ -z "$a" ] && exit 2
+   b=$(sed -n 2p < $f)
+   [ -z "$b" ] && exit 2
+   [ x"$a" = x"$b" ] && exit 1
+   echo "$l" > $f
+   echo "$a" >> $f
+   exit 0
+fi
+exit 2
Index: sys/kern/init_main.c
===
RCS file: /cvs/src/sys/kern/init_main.c,v
retrieving revision 1.130
diff -u -r1.130 init_main.c
--- sys/kern/init_main.c6 May 2006 23:02:36 -   1.130
+++ sys/kern/init_main.c25 Sep 2006 16:30:30 -
@@ -347,6 +347,9 @@
 
/* Start real time and statistics clocks. */
initclocks();
+#ifdef GPROF
+   startprofclock(&proc0);
+#endif
 
/* Lock the kernel on behalf of proc0. */
KERNEL_PROC_LOCK(p);
@@ -385,11 +388,6 @@
domaininit();
if_attachdomain();
splx(s);
-
-#ifdef GPROF
-   /* Initialize kernel profiling. */
-   kmstartup();
-#endif
 
 #if !defined(NO_PROPOLICE)
{
Index: sys/kern/subr_prof.c
===
RCS file: /cvs/src/sys/kern/subr_prof.c,v
retrieving revision 1.15
diff -u -r1.15 subr_prof.c
--- sys/kern/subr_prof.c9 Dec 2005 09:09:52 -   1.15
+++ sys/kern/subr_prof.c25 Sep 2006 16:30:30 -
@@ -45,53 +45,40 @@
 #ifdef GPROF
 #include 
 #include 
-#include 
+#include "addr_etext.h"
 
 /*
- * Froms is actually a bunch of unsigned shorts indexing tos
+ * Round lowpc and highpc to multiples of the density we're using
+ * so the rest of the scaling (here and in gprof) stays in ints.
  */
-struct gmonparam _gmonparam = { GMON_PROF_OFF };
-
-extern char etext[];
-
+#define LOWPC ROUNDDOWN((u_long)KERNBASE, HISTFRACTION * sizeof(HISTCOUNTER))
+#define HIGHPC ROUNDUP(ADDR_ETEXT, HISTFRACTION * sizeof(HISTCOUNTER))
+#define TEXTSIZE (HIGHPC - LOWPC)
+#define KCOUNTSIZE (TEXTSIZE / HISTFRACTION)
+#define FROMSSIZE (TEXTSIZE / HASHFRACTION)
+#define TOLIM (TEXTSIZE * ARCDENSITY / 100)
+#define TOLIMIT (TOLIM < MINARCS ? MINARCS : TOLIM > MAXARCS ? MAXARCS : TOLIM)
+#define TOSSIZE (TOLIMIT * sizeof(struct tostruct))
 
-void
-kmstartup(void)
-{
-   char *cp;
-   struct gmonparam *p = &_gmonparam;
-   int size;
+static char buf[KCOUNTSIZE + FROMSSIZE + TOSSIZE];
 
-   /*
-* Round lowpc and highpc to multiples of the density we're using
-* so the rest of the scaling (here and in gprof) stays in ints.
-*/
-   p->lowpc = ROUNDDOWN(KERNBASE, HISTFRACTION * sizeof(HISTCOUNTER));
-   p->highpc = ROUNDUP((u_long)etext, HISTFRACTION * sizeof(HISTCOUNTER));
-   p->textsize = p->highpc - p->lowpc;
-   printf("Profiling kernel, textsize=%ld [%lx..%lx]\n",
-  p->textsize, p->lowpc, p->highpc);
-   p->kcountsize = p->textsize / HISTFRACTION;
-   p->hashfraction = HASHFRACTION;
-   p->fromssize = p->textsize / HASHFRACTION;
-   p->tolimit = p->textsize * ARCDENSITY / 100;
-   if (p->tolimit < MINARCS)
-   p->tolimit = MINARCS;
-   else if (p->tolimit > MAXARCS)
-   p->tolimit = MAXARCS;
-   p->tossize = p->tolimit * sizeof(struct tostruct);
-   size = p->kcountsize + p->fromssize + p->tossize;
-   cp = (char *)uvm_km_zalloc(kernel_map, round_page(size));
-   if (cp == 0) {
-   printf("No memory for profiling.\n");
-   return;
-   }
-   p->tos = (struct tostruct *)cp;
-   cp += p->tossize;
-   p->kcount = (u_short *)cp;
-   cp += p->kcountsize;
-   p->froms = (u_short *)cp;
-}
+/*
+ * Froms is actually a bunch of unsigned shorts indexing tos
+ */
+struct gmonparam _gmonparam = {
+   /* state = */ GMON_PROF_ON,
+   /* kcount = */ (u_short *)(buf + TOSSIZE),
+   KCOUNTSIZE,
+   /* froms = */ (u_short *)(buf + TOSSIZE + KCOUNTSIZE),
+   FROMSSIZE,
+   /* tos = */ (struct tostruct *)buf,
+   TOSSIZE,
+   TOLIMIT,
+   LOWPC,
+   HIGHPC,
+   TEXTSIZE,
+   HASHFRACTION
+};
 
 /*
  * Return kernel profiling information.
Index: sys/sys/systm.h
===
RCS file: /cvs/src/sys/sys/systm.h,v
retrieving revision 1.69
diff -u -r1.69 systm.h
--- sys/sys/systm.h 27 Apr 2006 02:17:21 -  1.69
+++ sys/sys/systm.h 25 Sep 2006 16:30:30 -
@@ -291,11 +291,6 @@
 void   cpu_configure(void);
 extern void (*md_diskconf)(void);
 
-
-#ifdef GPROF
-void   kmstartup(void);
-#endif
-
 int nfs_mountroot(void);
 int dk_mountroot(void);
 extern int (*

Re: Asterisk Voip

2006-09-25 Thread J.A. Bal
Hi Stuart,\

thanks for your reply. The problem starts with the asterisk.conf. When i add 
the package, it doesn't create asterisk.conf and it's not provided as an 
example. So i copied the README.asterisk.conf and edited a bit. The only way to 
start the deamon is using root. I altered some ownerships of the /asterisk 
folders, but still it wouldn't run as _asterisk.

Right now, i'm running asterisk as root. Internal SIP works; we can talk using 
soft phones.

I'm wondering if i added the package correctly. Do i have to create a 
asterisk.conf file? Do i have to alter ownerships manually?

kind regards
Jasper



Re: trying to build mod_python on OpenBSD

2006-09-25 Thread edgar mortiz

guys thanks for all the support I manage to run mod_python on my 3.7
box awesome ... it seems that the culprit during my build would be
python since i build it from source I might be missing some "openbsd"
related conf as well as some of it's dependencies. but now it's
running beautifully .. thank you all!!

[Sun Sep 24 21:57:52 2006] [notice] Apache/2.0.59 (Unix)
mod_python/3.2.10 Python/2.3.5 configured -- resuming normal
operations


-eD

On 9/22/06, edgar mortiz <[EMAIL PROTECTED]> wrote:

thanks for the package list tony :) I'll try to build it again

On 9/22/06, tony sarendal <[EMAIL PROTECTED]> wrote:
>
> I've used different versions of mod_python since 3.7 without problems
> compiling it.
>
> [Fri Aug 25 12:31:56 2006] [notice] Apache/2.0.55 (Unix) mod_python/3.2.7
> Python/2.3.5 configured -- resuming normal operations
>
> [EMAIL PROTECTED] uname -a
> OpenBSD XXX 3.8 GENERIC#1 i386
> [EMAIL PROTECTED] pkg_info
> ImageMagick-6.2.3.3 image processing tools
> autoconf-2.13p0 automatically configure source code on many Un*x
> platforms
> autoconf-2.57   automatically configure source code on many Un*x
> platforms
> autoconf-2.59   automatically configure source code on many Un*x
> platforms
> bzip2-1.0.3 block-sorting file compressor, unencumbered
> db-4.2.52p2 Berkeley DB package, revision 4
> expat-1.95.6XML 1.0 parser written in C
> freetype-1.3.1p1free and portable TrueType font rendering engine
> gd-1.8.3graphics library for fast PNG creation
> gdbm-1.8.3p0GNU dbm
> gettext-0.10.40p3   GNU gettext
> ghostscript-7.05p6  GNU PostScript interpreter
> ghostscript-fonts-6.0 35 standard PostScript fonts with Adobe name aliases
> gmake-3.80p1GNU make
> gmp-4.1.4   library for arbitrary precision arithmetic
> help2man-1.29   GNU help2man
> jasper-1.701.0  reference implementation of JPEG-2000
> jbigkit-1.5 lossless image compression library
> jpeg-6bp2   IJG's JPEG compression utilities
> lcms-1.12p0 color management library
> libiconv-1.9.2p1character set conversion library
> libltdl-1.5.18  GNU libtool system independent dlopen wrapper
> libtool-1.5.18p2generic shared library support script
> libxml-2.6.16p5 XML parsing library
> metaauto-0.5wrapper for gnu auto*
> mpeg-lib-1.3.1p0collection of C routines to decode MPEG movies
> mrtg-2.12.2 multi-router traffic grapher
> mysql-client-4.0.24 multithreaded SQL database (client)
> netpbm-9.24p3   toolkit for converting images between different formats
> p5-Pod-Escapes-1.04 library to resolve perl Pod escape sequences
> p5-Pod-Simple-3.02  framework for parsing the Perl Pod format
> p5-SNMP_Session-1.07 provides rudimentary access to remote SNMP agents
> png-1.2.8   library for manipulating PNG images
> python-2.3.5p2  interpreted object-oriented programming language
> python-2.4.1p0  interpreted object-oriented programming language
> rrdtool-1.0.49  system to store and display time-series data
> screen-4.0.2multi-screen window manager
> tcl-8.4.7p1 Tool Command Language
> tiff-3.7.3  tools and library routines for working with TIFF images
> tk-8.4.7graphical toolkit for Tcl
> transfig-3.2.4  tools to convert Xfig's .fig files
> unzip-5.52  extract, list & test files in a ZIP archive
> [EMAIL PROTECTED]
>
>
>
> On 22/09/06, edgar mortiz <[EMAIL PROTECTED]> wrote:
> > tony what version of openbsd r u using? can you send me a pkg_info
> > list so i can see what packages you have installed on your box as well
> > as the exact versions for python, mod_python and apache your using.
> >
> >
> > -eD
> >
> > On 9/21/06, tony sarendal <[EMAIL PROTECTED]> wrote:
> > >
> > > I run mod_python on a few machines with apache2.0.
> > > No problems compiling it, python from ports, apache2 from source
> > > and mod_python from source.
> > >
> > > /Tony
> > >
> > >
> > > On 20/09/06, edgar mortiz <[EMAIL PROTECTED]> wrote:
> > > > I'll try that dimitry and see if it's possible for me to build
> > > > mod_python on apache 1.3.29 that comes with OpenBSD :)
> > > >
> > > >
> > > >
> > > > On 9/19/06, Dimitry Andric <[EMAIL PROTECTED] > wrote:
> > > > > edgar mortiz wrote:
> > > > > > trying to build mod_python on OpenBSD 3.7 with the following
> > > configuration.
> > > > > >
> > > > > > Python 2.4 (source build) --disabled-share
> > > > > > Apache 2.0.59 --enable-so
> > > > > > mod_python 3.2.10 --with-apxs
> > > > >
> > > > > OpenBSD comes with Apache 1.3.29, so you should try mod_python 2.7.1
> > > > > instead.  A quick test here shows that at least compiles and
> installs
> > > > > without any problems, using the system Apache and the python 2.4
> port.
> > > > > Whether it actually works in the chroot, I haven't tried yet... :)
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Tony Sarendal - [EMAIL PROTECTED]
> > > IP/Unix
> > >-= The scorpion replied,

Re: How to disable NAT-T advertisement ?

2006-09-25 Thread HÃ¥kan Olsson

On 25 sep 2006, at 14.00, Stefan Sczekalla-Waldschmidt wrote:


Hi,

Can I prevent OpenBSD from advertising its NAT-T Capability or prevent
to negociate it ?


-T option to isakmpd, as mentioned in isakmpd(8).  It shouldn't be  
necessary to disable it, unless you're stuck with some old NAT-box  
that thinks it knows better how to tunnel IPsec/IKE.


/H



Re: How to disable NAT-T advertisement ?

2006-09-25 Thread Stuart Henderson
On 2006/09/25 14:00, Stefan Sczekalla-Waldschmidt wrote:
> Can I prevent OpenBSD from advertising its NAT-T Capability or prevent
> to negociate it ?

yes, see isakmpd(8)



How to disable NAT-T advertisement ?

2006-09-25 Thread Stefan Sczekalla-Waldschmidt
Hi,

Can I prevent OpenBSD from advertising its NAT-T Capability or prevent
to negociate it ?

Kind regards,

Stefan



Re: write wireless card eeprom (iwi and ath)

2006-09-25 Thread Stuart Henderson
On 2006/09/25 13:18, viq wrote:
> Then there is misc/tpwireless port, though it is a bit
> laptop-specific, judging by the name (or no, didn't look into this).

yes it is, it changes a byte in cmos which bypasses the bios check
in a thinkpad. No bios changes, no card changes, relatively clean.
You just get to take the card out and run it again if your cmos
is cleared.

Other machines seem to have it harder; most people seem to be changing
the machine's BIOS and reflashing. There are various guides e.g.
http://www.richud.com/HP-Pavilion-104-Bios-Fix/

Changing the machine to accept the card, rather than changing the card
to work in the machine, has the advantage that you don't then have to
modify the device driver each time you upgrade the kernel.



Re: write wireless card eeprom (iwi and ath)

2006-09-25 Thread viq

On 9/25/06, Andreas Fierlinger <[EMAIL PROTECTED]> wrote:

Hi,

a lot of newer notebooks uses pci whitelisting
to allow only mini-pci wireless cards sold by the
notebook vendor.

i read a few manuals explaining how pci id and vendor
id are set with linux.

i want to do same with OpenBSD, so i tried with
pcitweak.

# pcitweak -r 02:04:0 -h 0x2C
0x8086 (Intel Corp)

# pcitweak -w 02:04:0 -h 0x2C 0x0e11 (Write compaq id into the card)

# pcitweak -r 02:04:0 -h 0x2C  #read again
0x8086

# fsck intel again

is it possible to write into intel or atheros card eeprom
with pcitweak ?

are there any modifications in kernel (4.0 current) needed to write
eeprom ?

i dont want to install linux and the blob sh*t just for change
a few settings in the eeprom.

fire

fire AT
enemy org


Then there is misc/tpwireless port, though it is a bit
laptop-specific, judging by the name (or no, didn't look into this).

--
viq



write wireless card eeprom (iwi and ath)

2006-09-25 Thread Andreas Fierlinger

Hi,

a lot of newer notebooks uses pci whitelisting
to allow only mini-pci wireless cards sold by the
notebook vendor.

i read a few manuals explaining how pci id and vendor
id are set with linux.

i want to do same with OpenBSD, so i tried with
pcitweak.

# pcitweak -r 02:04:0 -h 0x2C
0x8086 (Intel Corp)

# pcitweak -w 02:04:0 -h 0x2C 0x0e11 (Write compaq id into the card)

# pcitweak -r 02:04:0 -h 0x2C  #read again
0x8086

# fsck intel again

is it possible to write into intel or atheros card eeprom
with pcitweak ?

are there any modifications in kernel (4.0 current) needed to write
eeprom ?

i dont want to install linux and the blob sh*t just for change
a few settings in the eeprom.

fire

fire AT
enemy org



Re: WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-25 Thread Nick Guenther

Wait for OpenBSD 4.0. There's been fixes to AR5213 recently. ath(4)
has never worked across the entire range of cards anyway.

-Nick



WiFi PC Card Atheros AR5213 - Association doesn't work, Status: no network

2006-09-25 Thread ip

Hello guys,
I have OpenBSD 3.9 on a thinkpad T23.

I have also a PC Card (Trust Speedshare Turbo Pro-Wireless) and I want
to join to my wifi area:
Authentication Type: Open System
SSID: wcontea
Channel: 6
WEP Enable: 128bit HEX

The following steps explain what I have done:

$ dmesg
...
ath0 at cardbus1 dev 0 function 0 "Atheros Communications, Inc.,
AR5001--, Wireless LAN Reference Card": irq 11
ath0: AR5213 5.9 phy 4.3 rf2112a 4.6, ETSI4W, address 00:03:2f:20:8b:6c

$ ifconfig
lo0: flags=8049 mtu 33224
   groups: lo
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
fxp0: flags=8843 mtu 1500
   lladdr 00:d0:59:b7:62:8b
   groups: egress
   media: Ethernet 100baseTX full-duplex
   status: no carrier
   inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
   inet6 fe80::2d0:59ff:feb7:628b%fxp0 prefixlen 64 scopeid 0x1
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 1460
enc0: flags=0<> mtu 1536
ath0: flags=8822 mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect
   status: no network
   ieee80211: nwid ""

$ sudo ifconfig -M ath0
ath0: flags=8822 mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect
   status: no network
   ieee80211: nwid ""
   nwid wcontea chan 6 bssid 00:03:2f:24:08:3e 15dB 54M
privacy,short_preamble,short_slottime

$ sudo ifconfig ath0 nwid wcontea nwkey ...my hex key...
$ sudo ifconfig ath0 192.168.1.102 netmask 255.255.255.0

$ ifconfig ath0
ath0: flags=8863 mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect (DS1)
   status: no network
   ieee80211: nwid wcontea nwkey 
   inet6 fe80::203:2fff:fe20:8b6c%ath0 prefixlen 64 scopeid 0x6
   inet 192.168.1.102 netmask 0xff00 broadcast 192.168.1.255
$ ifconfig ath0
ath0: flags=8863 mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect (DS1 mode 11b)
   status: no network
   ieee80211: nwid wcontea chan 6 bssid 00:03:2f:24:08:3e nwkey

   inet6 fe80::203:2fff:fe20:8b6c%ath0 prefixlen 64 scopeid 0x6
   inet 192.168.1.102 netmask 0xff00 broadcast 192.168.1.255
$ ifconfig ath0
ath0: flags=8863 mtu 1500
   lladdr 00:03:2f:20:8b:6c
   media: IEEE802.11 autoselect (DS1 mode 11b)
   status: no network
   ieee80211: nwid wcontea nwkey 
   inet6 fe80::203:2fff:fe20:8b6c%ath0 prefixlen 64 scopeid 0x6
   inet 192.168.1.102 netmask 0xff00 broadcast 192.168.1.255

I have also tried media DS11, OFDM54 with the respective "mode 11b"
and "g" but I don't obtain the association with my AP.

Moreover, every time I make the modifications, there are errors like these:
...
Sep 25 12:55:36 vapordrago /bsd: ar5k_ar5212_nic_wakeup: failed to
resume the AR5212 (again)
Sep 25 12:55:36 vapordrago /bsd: ath0: unable to reset hardware; hal status 3
Sep 25 12:55:43 vapordrago /bsd: ath0: device timeout
Sep 25 12:56:20 vapordrago /bsd: ar5k_ar5212_nic_wakeup: failed to
resume the AR5212 (again)
Sep 25 12:56:20 vapordrago /bsd: ath0: unable to reset hardware; hal status 3
Sep 25 13:01:04 vapordrago /bsd: arp_rtrequest: bad gateway value
Sep 25 13:07:34 vapordrago /bsd: ar5k_ar5212_nic_wakeup: failed to
resume the AR5212 (again)
Sep 25 13:07:34 vapordrago /bsd: ath0: unable to reset hardware; hal status 2

How can I resolve ?

Thanks,
best regards

--
 ip



Re: Is it possible to install old packages on new release

2006-09-25 Thread Stuart Henderson
On 2006/09/25 08:25, Igor Zinovik wrote:
> Maybe my question is obvious, but i want to know could one install old 
> packages on new release? My situation is following: i have OpenBSD_3_8
> and a lot of packages on CD with OPENBSD_3_6.

I've mixed -current and a just-previous release (on zaurus because
of slow compiles and a lot fewer packages built for it on -current).
I didn't have too much trouble, but it's not recommended (and isn't
tested).

You do need to have the old libraries installed - if you no longer
have base36.tgz then don't waste bandwidth downloading it, just fetch
the new tgz for the packages you want instead.

Packages and package-tools have improved beyond recognition since 3.6.



Re: Crash Report - Desired Info "Quality"?

2006-09-25 Thread Stuart Henderson
On 2006/09/25 11:36, Toni Mueller wrote:
> Hello,
> 
> I'm getting a reproducible panic on a remote 3.9-stable system and have
> managed to talk someone into taking photographs with his cell phone
> camera that show the panic and 'ps' and 'trace' info. The image quality
> is generally poor, however.
> 
> The crash occurs when using smartmontools (from ports).
> 
> Would this be acceptable for filing a crash report, or is this out of
> your scope?

If you can type in the text, that should be fine. Don't expect multiple
developers to try and make head or tail of a .jpg though...

As mentioned here recently, if the machine is rebooted rather than
power-cycled (type 'boot r' at ddb> prompt after tr/ps) you might find
the information still available in dmesg. (If you want to test whether
this is likely to work before asking someone to type things, reboot
yourself and see if you get two sets of startup messages displayed in
dmesg).



Re: Asterisk Voip

2006-09-25 Thread Stuart Henderson
On 2006/09/25 09:37, J.A. Bal wrote:
> I've seen in the archieves there has been some discussion about using asterisk
> on OpenBSD. I'm trying to build an PABX with asterisk, but don't even seem to 
> get
> the deamon running. Can someon supply me with a asterisk.conf file to get me
> started?

Are you having a problem with the sample files from the port/package?
(there are two sets: simplified ones that get installed to /etc/asterisk
which help avoid the twisty maze of config files for a simple setup,
and the normal ones in /usr/local/share/examples/asterisk/default).

btw: voip-info.org's wiki is the most useful source of Asterisk docs.

If there's still a problem, please reply to ports@ or via private
mail, and let me know what arch (`uname -m`) you're using. Thanks.



Crash Report - Desired Info "Quality"?

2006-09-25 Thread Toni Mueller
Hello,

I'm getting a reproducible panic on a remote 3.9-stable system and have
managed to talk someone into taking photographs with his cell phone
camera that show the panic and 'ps' and 'trace' info. The image quality
is generally poor, however.

The crash occurs when using smartmontools (from ports).

Would this be acceptable for filing a crash report, or is this out of
your scope?

TIA!


Best,
--Toni++



Re: Asterisk Voip

2006-09-25 Thread steve szmidt
On Monday 25 September 2006 03:37, J.A. Bal wrote:
> Hi all,
>
> I've seen in the archieves there has been some discussion about using
> asterisk on OpenBSD. I'm trying to build an PABX with asterisk, but don't
> even seem to get the deamon running. Can someon supply me with a
> asterisk.conf file to get me started?
>
> Thanks a lot.
>
> Jasper

http://www.voip-info.org/wiki-Asterisk
-- 

Steve Szmidt

"To enjoy the right of political self-government, men must be 
capable of personal self-government - the virtue of self-control. 
A people without decency cannot be secure in its liberty.
From the Declaration Principles



Re: Asterisk Voip

2006-09-25 Thread steve szmidt
On Monday 25 September 2006 03:37, J.A. Bal wrote:
> Hi all,
>
> I've seen in the archieves there has been some discussion about using
> asterisk on OpenBSD. I'm trying to build an PABX with asterisk, but don't
> even seem to get the deamon running. Can someon supply me with a
> asterisk.conf file to get me started?
>
> Thanks a lot.
>
> Jasper

You're on the wrong list. Subscribe to the users list under asterisk.

A couple of years ago some did get it to run, but I never tried myself.
-- 

Steve Szmidt

"To enjoy the right of political self-government, men must be 
capable of personal self-government - the virtue of self-control. 
A people without decency cannot be secure in its liberty.
From the Declaration Principles



Re: Is it possible to install old packages on new release

2006-09-25 Thread Thomas Leveille
On 9/25/06, Mike Dalgity <[EMAIL PROTECTED]> wrote:
>
> So what does one do if they need a port/package that is available for a
> previous release but not the latest release? For example, Mysql 4.0 is a
> package for OBSD 3.8 and I'd like to install Mysql 4.x on OBSD 3.9 or soon
> to be 4.0 but it seems only Mysql 5.0 is available. What is generally done
> in a case such as this?


You can  find official mysql 4.1 binaries for openbsd at
http://www.mysql.org/downloads/mysql/4.1.html

You can also build mysql from source.

Thomas



Asterisk Voip

2006-09-25 Thread J.A. Bal
Hi all,

I've seen in the archieves there has been some discussion about using asterisk 
on OpenBSD. I'm trying to build an PABX with asterisk, but don't even seem to 
get the deamon running. Can someon supply me with a asterisk.conf file to get 
me started?

Thanks a lot.

Jasper