New release of Sealing Wafter.

2006-01-10 Thread ober

http://www.linbsd.org/wafter.c
Updates to include icmp, and udp support as well
as a code cleanup.
Works on i386.
Feel free to provide any feedback.

Thanks!

-Ober



mod_auth_bsd

2006-01-10 Thread William Ahern
I've just released the first version of mod_auth_bsd which supports
authentication of system accounts from a chrooted Apache. You can download
version 0.8.0 of mod_auth_bsd from

http://25thandclement.com/~william/projects/bsdauth.html

This release was supported by Barracuda Networks.

libevent from 3.8-current is required. OpenBSD 3.8 and earlier never built a
dynamic library.

If you're interested let me know how it works out. I might not be able to
revisit this project for awhile so the quicker the feedback the better. 
Version 0.7 as included in the ports tree uses an executable wrapper. The
wrapper is gone in 0.8, replaced by a daemon which forks during module
initialization and communicates with child httpd processes over unix domain
sockets.

Socket communication is authenticated using an HMAC with a shared secret.
There's a unique socket and secret pair for each child process. Mischievous
CGI processes may be able to shutdown the socket, but they can't send valid
packets to the auth daemon (invalid packets will force the daemon to close
the socket).

Credential caching is also supported in the daemon. An HMAC is used with a
random key for sorting the lookup tree.

Socket I/O is non-blocking, but calling into the BSD Authentication API is
single-threaded. I want to add threads for concurrency (i.e. if you're using
login_ldap or login_radius), but I'd like to hear if anybody objects to
mixing threads and BSD Auth (with the requisite forking involved).

- Bill



Re: Remove all password restrictions?

2006-01-10 Thread Tony
On Tuesday, January 10, 2006 1:12 AM, Peter Bako wrote:
 To: misc@openbsd.org
 Subject: Remove all password restrictions?


 I have an internal OpenBSD 3.8 system that I use as a data dump, internal
 source for PXE installs and the like.  It is not accessible to the outside
 world, so security is not exactly critical.  In fact I would like
 to setup a
 user with a very minimal password (four characters and all lower case
 letters), but passwd is not letting me.  I've already found the
 minpasswordlen option in login.conf, and set it appropriately,
 but when I
 try to change this account's password to an all lower case
 password, I get a
 warning back to make the password more secure and it does not accept it.

 How do I change this so I can use any generic password?  While
 for this case
 I want to dumb down the rules, for other more exposed servers I would like
 to do the opposite so I really would like to know how/where to
 modify this.

 Thanks,
 Peter

Strange. On pretty stock OpenBSD 3.8
adduser  allowed creating user foo with password bar  -- no complaints

# passwd foo
allows changing password to baz  (after complaining a few times)

@ userdel foo
works nicely.



Re: OpenBGP IPv6

2006-01-10 Thread Sylvain Coutant
Hi,

 Try:
 
 announce IPv4 unicast
 announce IPv6 unicast

Nothing does :(


--
Sylvain COUTANT

ADVISEO
http://www.adviseo.fr/
http://www.open-sp.fr/



Re: OpenBGPd filters

2006-01-10 Thread Sylvain Coutant
 Yes they need the session up/down to be applyed

I'm not sure, but some of them (I think localpref defined in a group) require 
the whole daemon to be restarted.

Regards,

--
Sylvain COUTANT

ADVISEO
http://www.adviseo.fr/
http://www.open-sp.fr/



Re: Remove all password restrictions?

2006-01-10 Thread Gaby vanhegan
On 10 Jan 2006, at 07:12, Peter Bako wrote:

 How do I change this so I can use any generic password?  While for  
 this case
 I want to dumb down the rules, for other more exposed servers I  
 would like
 to do the opposite so I really would like to know how/where to  
 modify this.

Although it complains about short/bad passwords, keep putting it in,  
it'll relent after the third or fourth attempt.

Gaby

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



New Message from Chase Online

2006-01-10 Thread Online Banking
[IMAGE]

Dear JPMorgan Chase Client,

 This is your official notification from JPMorgan Chase that the
service(s) listed below
 will be deactivated and deleted if not renewed immediately. Previous
notifications have
 been sent to the Billing Contact assigned to this account. As the
Primary Contact, you
 must renew the service(s) listed below or it will be deactivated and
deleted. 

Renew Now your JPMorgan Chase Bill Pay and Services.

If you are not enrolled at Web Banking, please enter your SSN as
Username, and account number as Password.

 SERVICE : JPMorgan Chase with Bill Pay.
 EXPIRATION: January 13, 2006
 Thank you, sincerely,

Tricia Doyle
Customer Service
  
IMPORTANT CUSTOMER SUPPORT INFORMATION
   Please do not reply to this
message. For any inquiries, contact Customer Service.  Document
Reference: (87051203).

) 2005 JPMorgan Chase  Co. Member FDIC. Equal Housing Lender

* Please do not reply to this message. For any inquiries, contact
Customer Service.

[IMAGE][IMAGE]



CVSup and stable

2006-01-10 Thread Stefan
Hi,

I'm trying to sync the cvs tree with cvsup. As explained at this page:
http://www.openbsd.org/cvsup.html

The only thing I found about tags was in the sectiion Running CVSup  
in Checkout Mode which says to use the tag option when you want to  
use a specified version e.g. of a date.

But how can I use ONLY the stable version? I thought about something  
like that:
*default release=cvs
*default delete use-rel-suffix
*default umask=022
*default host=cvsup2.de.openbsd.org
*default base=/cvs
*default prefix=/cv
*default compress
OpenBSD-src tag=OPENBSD_3_8

Would this download/sync only the stable tree?

Another question, the recomended way of syncing is with cvsync but  
this product has no tag option. How would it be possible to sync the  
stable tree? And if not, what would happen when I sync and then build  
the tree? Would it build current?
The only thing I've found about the tag-problem was at the  
mailinglist at cvsync with this entry:
http://mailserv.allbsd.org/pipermail/cvsync-devel/2004-February/ 
85.html
But this was 2004 and I don't know if there's something new today?

It's a little bit confusing to sync the stable tree. It would be nice  
to hear of someone who uses one of these tools and is syncing the  
stable tree.

Best regards
Stefan

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of PGP.sig]



login_ldap and /etc/passwd sync

2006-01-10 Thread Raul Aldaz
Hi all,

Anybody out there is working with this scenery? (cron activated, no need for
real time). I don't want to use YP just for this and I see a lot a people in
linux world using scripts for remote ldap sync. But I have not found any obsd
specific experience.  

Regads.



Re: CVSup and stable

2006-01-10 Thread Philip S. Schulz

on 10.01.2006 10:16 Uhr Stefan said the following:

Hi,

I'm trying to sync the cvs tree with cvsup. As explained at this page:
http://www.openbsd.org/cvsup.html

The only thing I found about tags was in the sectiion Running CVSup  
in Checkout Mode which says to use the tag option when you want to  
use a specified version e.g. of a date.


But how can I use ONLY the stable version? I thought about something  
like that:

*default release=cvs
*default delete use-rel-suffix
*default umask=022
*default host=cvsup2.de.openbsd.org
*default base=/cvs
*default prefix=/cv
*default compress
OpenBSD-src tag=OPENBSD_3_8

Would this download/sync only the stable tree?



I'm not sure if the tag and the collection (OpenBSD-src) are correct, 
you want to look that information up yourself, but the syntax of the 
supfile looks good. Please note that with the given configuration, CVSup 
will operate in check out mode which will check the files out for you, 
but will not create a working copy for you. That is, you have the files 
with the OPENBSD_3_8 tag on your disk, but you will not be able to do 
cvs operations such as diff on the checked out files.


Another question, the recomended way of syncing is with cvsync but  
this product has no tag option. How would it be possible to sync the  
stable tree? And if not, what would happen when I sync and then build  
the tree? Would it build current?
The only thing I've found about the tag-problem was at the  
mailinglist at cvsync with this entry:
http://mailserv.allbsd.org/pipermail/cvsync-devel/2004-February/ 
85.html

But this was 2004 and I don't know if there's something new today?

It's a little bit confusing to sync the stable tree. It would be nice  
to hear of someone who uses one of these tools and is syncing the  
stable tree.




I'm not sure what you mean by sync the stable tree.
 If you want to have the source code with the specified tag on your 
disk, cvsup should be fine. If you want to have a working copy, I think 
you'll have to stick with either cvs or perhaps cvsync (I never used it 
so I can't say for sure).
 If you want the complete repository, CVSup will work. cvsync might 
work as well. Again, I've never used it.
 If you want only the 3.8 tagged part of the repository, I'm afraid 
that will not work at all.


HTH,

Phil.

--
Don't fix it if it ain't broke.



D-Link DWL-G650

2006-01-10 Thread M. Schatzl
Hi,

I've got a D-Link DWL-G650 (H/W C2, F/W 3.1.6) PCMCIA wifi-card lying
around here for some time. I haven't had tested it by now, but out of
curiousity I was searching for some info yesterday why it wouldn't work
on OpenBSD (though it seemed to be recognized as ath1, AR5212, but not
registered at all).

Due to some hints in a former posting I set the COUNTRYCODE in
/usr/src/sys/dev/ic/ar5xxx.c to de and rebuilt the kernel. Well, it
seems to work perfectly now.

I wonder what this countrycode-thingy means that it enables a card that
didn't work before? I couldn't find any good information about that
except that it seems to enable some country-specific frequencies.
Anybody that can provide more in-deep knowledge or pointers?


I'm using -current, the machine is a Thinkbook X40.

Thanks in advance,
/Markus


Attaching the card:

Jan 10 11:58:39 fugu /bsd: ath1 at cardbus0 dev 0 function 0 Atheros
Communications, Inc., AR5001--, Wireless LAN Reference Card: irq 11
Jan 10 11:58:39 fugu /bsd: ath1: AR5213 5.9 phy 4.3 rf2112a 4.6, FCC2A*,
address 00:0f:3d:ac:f9:94

After providing the nwid it works without any additional configuration
with DHCP:

ath1: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:0f:3d:ac:f9:94
media: IEEE802.11 autoselect (DS11 mode 11b)
status: active
ieee80211: nwid target23 chan 1 bssid 00:12:17:b3:03:05
inet6 fe80::20f:3dff:feac:f994%ath1 prefixlen 64 scopeid 0xd
inet 172.16.3.38 netmask 0xfff0 broadcast 172.16.3.47

DMESG:

OpenBSD 3.8-current (GENERIC) #0: Mon Jan  9 21:27:02 CET 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.40GHz (GenuineIntel 686-class)
598 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 600 MHz (988 mV): speeds: 1400, 1300, 1200,
1100, 1000, 900, 800, 600 MHz
real mem  = 1063755776 (1038824K)
avail mem = 963993600 (941400K)
using 4278 buffers containing 53288960 bytes (52040K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(1a) BIOS, date 06/15/05, BIOS32 rev. 0 @ 0xfd740
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 44%
apm0: AC off, battery charge high, estimated 1:42 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xc800! 0xcc800/0x1000 0xcd800/0x1000
0xdc000/0x4000! 0xe/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not
configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at
0xe000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: 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 82801DB USB rev 0x01: 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
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci1 at ppb0 bus 1
cbb0 at pci1 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11
vendor Ricoh, unknown product 0x0822 (class system unknown subclass
0x05, rev 0x13) at pci1 dev 0 function 1 not configured
em0 at pci1 dev 1 function 0 Intel PRO/1000MT Mobile (82541GI) rev
0x00: irq 11, address 00:0a:e4:39:9f:27
ath0 at pci1 dev 2 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01:
irq 11
ath0: AR5213 5.9 phy 4.3 rf5112 3.6, WOR2W, address 00:0e:9b:ae:d0:72
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: HTC426060G9AT00
wd0: 

Re: OpenBGP IPv6

2006-01-10 Thread unixgeek
The works for me perring with the OCCAID network:
   www:occaid.net
 and Hurricane Electric's Tunnel Broker Service:
   http://tunnelbroker.net

 Both Cisco based equipmentthere must be something else wrong in the
configuration...
Glenn

 Hi,

 Try:

 announce IPv4 unicast
 announce IPv6 unicast

 Nothing does :(


 --
 Sylvain COUTANT

 ADVISEO
 http://www.adviseo.fr/
 http://www.open-sp.fr/



Re: OpenBGPd filters

2006-01-10 Thread Henning Brauer
* Sylvain Coutant [EMAIL PROTECTED] [2006-01-10 10:15]:
  Yes they need the session up/down to be applyed
 
 I'm not sure, but some of them (I think localpref defined in a group) require 
 the whole daemon to be restarted.

certainly not.

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: CVSup and stable

2006-01-10 Thread Christian Weisgerber
Stefan [EMAIL PROTECTED] wrote:

 The only thing I found about tags was in the sectiion Running CVSup  
 in Checkout Mode which says to use the tag option when you want to  
 use a specified version e.g. of a date.
 
 But how can I use ONLY the stable version? I thought about something  
 like that:
 [...]
 OpenBSD-src tag=OPENBSD_3_8
 
 Would this download/sync only the stable tree?

Yes.

 Another question, the recomended way of syncing is with cvsync but  
 this product has no tag option. How would it be possible to sync the  
 stable tree?

Use cvsync to mirror the repository and use cvs(1) to checkout the
-stable tree from your local copy (cf. anoncvs.html).

 The only thing I've found about the tag-problem was at the  
 mailinglist at cvsync with this entry:
 http://mailserv.allbsd.org/pipermail/cvsync-devel/2004-February/ 
 85.html
 But this was 2004 and I don't know if there's something new today?

No, cvsync does still not implement a checkout mode.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



safte errors

2006-01-10 Thread Diego Woitasen
Under heavy load (restoring a tape or copying files, for example) i get
the following messages from the kernel:

safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online


full dmesg:

OpenBSD 3.8 (GENERIC.MP) #298: Sat Sep 10 15:51:54 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 1073065984 (1047916K)
avail mem = 972488704 (949696K)
using 4278 buffers containing 53755904 bytes (52496K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/01/04, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbbf0/288 (16 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev
0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0xb000! 0xcb000/0x800 0xcb800/0x1400
0xec000/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (DELL PE 0183 )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type PCI
mainbus0: bus 6 is type PCI
mainbus0: bus 7 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
ioapic1 at mainbus0: apid 9 pa 0xfec8, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apic 9
ioapic2 at mainbus0: apid 10 pa 0xfec80800, version 20, 24 pins
ioapic2: misconfigured as apic 0, remapped to apic 10
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7710 SMCH rev 0x09
ppb0 at pci0 dev 2 function 0 Intel E7710 MCH PCIE rev 0x09
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci2 at ppb1 bus 2
mpt0 at pci2 dev 4 function 0 Symbios Logic 53c1030 rev 0x08: apic 9
int 10 (irq 5)
mpt0: sending FW Upload request to IOC (size: 36, img size: 40048)
mpt0: IM support: 0
scsibus0 at mpt0: 16 targets
ami0 at pci2 dev 5 function 0 Symbios Logic MegaRAID rev 0x01: apic 9
int 5 (irq 11) Dell 520/64b/lhc
ami0: FW 350O, BIOS v1.09, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus1 at ami0: 40 targets
sd0 at scsibus1 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct
fixed
sd0: 34680MB, 4421 cyl, 255 head, 63 sec, 512 bytes/sec, 71024640 sec
total
scsibus2 at ami0: 16 targets
safte0 at scsibus2 targ 6 lun 0: SDR, GEM318P, 1 SCSI2 3/processor
fixed
ahc1 at pci2 dev 6 function 0 Adaptec AHA-3960D U160 rev 0x01: apic 9
int 0 (irq 11)
scsibus3 at ahc1: 16 targets
st0 at scsibus3 targ 6 lun 0: SEAGATE, DAT DAT72-052, A060 SCSI3
1/sequential removable
st0: drive empty or not ready
ahc2 at pci2 dev 6 function 1 Adaptec AHA-3960D U160 rev 0x01: apic 9
int 1 (irq 11)
scsibus4 at ahc2: 16 targets
vendor Intel, unknown product 0x0326 (class system subclass interrupt,
rev 0x09) at pci1 dev 0 function 1 not configured
ppb2 at pci1 dev 0 function 2 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 3
em0 at pci3 dev 7 function 0 Intel PRO/1000MT (82541GI) rev 0x05: apic
10 int 5 (irq 11), address: 00:0f:1f:fa:74:2b
vendor Intel, unknown product 0x0327 (class system subclass interrupt,
rev 0x09) at pci1 dev 0 function 3 not configured
ppb3 at pci0 dev 4 function 0 Intel E7710 MCH PCIE rev 0x09
pci4 at ppb3 bus 4
ppb4 at pci0 dev 6 function 0 Intel E7710 MCH PCIE rev 0x09
pci5 at ppb4 bus 5
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic 8
int 16 (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 82801EB/ER USB rev 0x02: apic 8
int 19 (irq 10)
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 82801EB/ER USB rev 0x02: apic 8
int 18 (irq 5)
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
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB rev 0x02: apic 8
int 23 (irq 3)
usb3 at ehci0: USB revision 2.0
uhub3 at usb3

Re: Remove all password restrictions?

2006-01-10 Thread Joel Dinel
On 01/09/06 at 23:12, Peter Bako wrote:
How do I change this so I can use any generic password?  While for this case
I want to dumb down the rules, for other more exposed servers I would like
to do the opposite so I really would like to know how/where to modify this.

Have you tried changing the password as root, and retrying when it
warns you about the password strength?

# passwd user
Changing local password for joel.
New password:
Please enter a longer password.
New password:
Please enter a longer password.
New password:
Retype new password:
# 

The password I set was 'hello'.



Re: DRI on OpenBSD (again, but with Xorg)

2006-01-10 Thread Bruno Carnazzi
Is DRI support activated in GENERIC kernel (OpenBSD 3.8/i386) ?

Thank you,

On 1/10/06, Andreas Bihlmaier [EMAIL PROTECTED] wrote:
 On Mon, Jan 09, 2006 at 03:25:34PM +0400, Bruno Carnazzi wrote:
 Hi All,
 
  Referencing to this post :
  http://www.monkey.org/openbsd/archive/misc/0303/msg01384.html there is
  (was ?) some work in progress in supporting DRI on OpenBSD. As this
  post was written when XFree86 was still in the distro, I'd like to
  know if this work is curently progressing with Xorg ?

 It did work for me until the most recent snapshot, in which it is broke
 at least for me and on amd64.
 Completely unrelated the kde port seems to be broken right now as well, thus I
 come to the conclusion:

 Should work with -release, -stable, but don't try a current snapshot (at
 least not amd64) at the moment.

 Hope that helps.

 Regards,
 ahb



safte errors

2006-01-10 Thread Diego Woitasen
Under heavy load (restoring a tape or copying files, for example) i get
the following messages from the kernel:

safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online


full dmesg:

OpenBSD 3.8 (GENERIC.MP) #298: Sat Sep 10 15:51:54 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 1073065984 (1047916K)
avail mem = 972488704 (949696K)
using 4278 buffers containing 53755904 bytes (52496K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/01/04, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbbf0/288 (16 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev
0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0xb000! 0xcb000/0x800 0xcb800/0x1400
0xec000/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (DELL PE 0183 )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.20 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
mainbus0: bus 0 is type PCI   
mainbus0: bus 1 is type PCI   
mainbus0: bus 2 is type PCI   
mainbus0: bus 3 is type PCI   
mainbus0: bus 4 is type PCI   
mainbus0: bus 5 is type PCI   
mainbus0: bus 6 is type PCI   
mainbus0: bus 7 is type ISA   
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
ioapic1 at mainbus0: apid 9 pa 0xfec8, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apic 9
ioapic2 at mainbus0: apid 10 pa 0xfec80800, version 20, 24 pins
ioapic2: misconfigured as apic 0, remapped to apic 10
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7710 SMCH rev 0x09
ppb0 at pci0 dev 2 function 0 Intel E7710 MCH PCIE rev 0x09
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci2 at ppb1 bus 2
mpt0 at pci2 dev 4 function 0 Symbios Logic 53c1030 rev 0x08: apic 9
int 10 (irq 5)
mpt0: sending FW Upload request to IOC (size: 36, img size: 40048)
mpt0: IM support: 0
scsibus0 at mpt0: 16 targets
ami0 at pci2 dev 5 function 0 Symbios Logic MegaRAID rev 0x01: apic 9
int 5 (irq 11) Dell 520/64b/lhc
ami0: FW 350O, BIOS v1.09, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus1 at ami0: 40 targets
sd0 at scsibus1 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct
fixed
sd0: 34680MB, 4421 cyl, 255 head, 63 sec, 512 bytes/sec, 71024640 sec
total
scsibus2 at ami0: 16 targets
safte0 at scsibus2 targ 6 lun 0: SDR, GEM318P, 1 SCSI2 3/processor
fixed
ahc1 at pci2 dev 6 function 0 Adaptec AHA-3960D U160 rev 0x01: apic 9
int 0 (irq 11)
scsibus3 at ahc1: 16 targets
st0 at scsibus3 targ 6 lun 0: SEAGATE, DAT DAT72-052, A060 SCSI3
1/sequential removable
st0: drive empty or not ready
ahc2 at pci2 dev 6 function 1 Adaptec AHA-3960D U160 rev 0x01: apic 9
int 1 (irq 11)
scsibus4 at ahc2: 16 targets
vendor Intel, unknown product 0x0326 (class system subclass interrupt,
rev 0x09) at pci1 dev 0 function 1 not configured
ppb2 at pci1 dev 0 function 2 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 3
em0 at pci3 dev 7 function 0 Intel PRO/1000MT (82541GI) rev 0x05: apic
10 int 5 (irq 11), address: 00:0f:1f:fa:74:2b
vendor Intel, unknown product 0x0327 (class system subclass interrupt,
rev 0x09) at pci1 dev 0 function 3 not configured
ppb3 at pci0 dev 4 function 0 Intel E7710 MCH PCIE rev 0x09
pci4 at ppb3 bus 4
ppb4 at pci0 dev 6 function 0 Intel E7710 MCH PCIE rev 0x09
pci5 at ppb4 bus 5
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic 8
int 16 (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 82801EB/ER USB rev 0x02: apic 8
int 19 (irq 10)
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 82801EB/ER USB rev 0x02: apic 8
int 18 (irq 5)
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
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB rev 0x02: apic 8
int 23 (irq 3)
usb3 at ehci0: USB 

Re: ftp-proxy help needed...

2006-01-10 Thread Peter Landry
We don't (yet) do any egress filtering

pass out on $ext_if proto tcp all modulate state flags S/SA

tcpdump on the pflog0 interface as you suggested returns nothing being
blocked when trying to connect -- not the internal IP, external IP, or
ftp server. So I think the problem is with my config of ftp-proxy.

There are currently 7 IP aliases on the external interface. I'm using -a
and -S to specify which alias ftp-proxy should use, and I'm passing the
-n flag to indicate we're using NAT.

Is there something else I'm missing somewhere?

-Original Message-
From: Bob Beck [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 09, 2006 6:31 PM
To: Peter Landry
Cc: misc@openbsd.org
Subject: Re: ftp-proxy help needed... 


   Judging by the error message, likely you are either blocking the
outbound data channel connection to the real server, or the server
itself is filtering it. The first place I'd start looking
is in your other pf rules to see what's getting blocked. 

   set your block rules to log stuff, and then tcpdump the pflog
interface looking for anything blocked that involves the real server
or your test client - then you'll see if one of your rules is
spanking something. 

   i.e.

tcpdump -n -i pflog0 host ftp.server.ip.addr or host
client.machine.ip.addr

   -Bob

* Peter Landry [EMAIL PROTECTED] [2006-01-09 15:20]:
 Hello list,
 I'm working on getting Active FTP Connections working (a requirement
of
 an app used by a client) through our 3.8 firewall. Following the PF
FAQ,
 I was able to get passive FTP working fine with the following pf.conf
 lines:
 
 rdr pass on $int_usr_if proto tcp from $int_usr_if:network to any
port
 21 - \
 127.0.0.1 port 8021
 and
 
 pass in on $ext_if inet proto tcp from any port 20 to any \
 user proxy flags S/SA keep state
 
 When I attempt to make an outgoing connection, everything goes fine
up
 until the data connection is attempted.
 
 (xxx.xxx.xxx.xxx is the ftp server IP)
 (yyy.yyy.yyy.yyy is our externally visible IP)
 
 pflog, as far as I can tell, doesn't show anything being blocked.
 tcpdump during the session produces a bunch of packets on port 21 for
 the control connection, and the following for ftp-data:
 16:00:03.825620 xxx.xxx.xxx.xxx.ftp-data  yyy.yyy.yyy.yyy.50463: S
 1112717906:1112717906(0) win 16384 mss 1380,nop,nop,sackOK (DF)
 16:00:03.825648 yyy.yyy.yyy.yyy.50463  xxx.xxx.xxx.xxx.ftp-data: S
 399002834:399002834(0) ack 1112717907 win 16384 mss
 1460,nop,nop,sackOK (DF)
 16:00:03.831991 xxx.xxx.xxx.xxx.ftp-data  yyy.yyy.yyy.yyy.50463: .
ack
 1 win 16560 (DF)
 16:00:03.838487 xxx.xxx.xxx.xxx.ftp-data  yyy.yyy.yyy.yyy.50463: P
 1:1081(1080) ack 1 win 16560 (DF)
 16:00:03.838611 xxx.xxx.xxx.xxx.ftp-data  yyy.yyy.yyy.yyy.50463: F
 1081:1081(0) ack 1 win 16560 (DF)
 16:00:03.838628 yyy.yyy.yyy.yyy.50463  xxx.xxx.xxx.xxx.ftp-data: .
ack
 1082 win 15480 (DF)
 
 tail /var/log/daemon:
 Jan  9 15:55:27 maverick ftp-proxy[20164]: accepted connection from
 192.168.0.37:4713 to xxx.xxx.xxx.xxx:21
 Jan  9 15:55:27 maverick ftp-proxy[20164]: client: USER username\^M
 Jan  9 15:56:10 maverick ftp-proxy[17000]: cannot connect data
channel
 (Connection timed out)
 
 
 The relevant /etc/inetd.conf line is as follows:
 127.0.0.1:8021  stream  tcp nowait  root
/usr/libexec/ftp-proxy
 ftp-proxy -n -a yyy.yyy.yyy.yyy -V -S yyy.yyy.yyy.yyy
 (yyy.yyy.yyy.yyy is the IP we nat from, it's an alias on em0) 
 
 Just to clarify -- the ftp server isn't on our network, it's at a
client
 site.
 
 
 Can anyone see anything I've missed in the config? I've tried many
 different options in both pf.conf and inetd.conf to no avail. Also, I
 realize ftp-proxy is being replaced in -current, but I'd like to get
 this working with the old ftp-proxy before trying -current (which
I've
 never done before... could be dangerous).
 
 Any advice at all would be helpful. Thanks!
 Peter L.
 
 PS -- is posting tcpdump and logfile like I have done considered bad
 form?
 PPS -- a dmesg wouldn't really be helpful here, would it?
 

-- 
| | |The ASCII Fork Campaign
 \|/  against gratuitous use of threads.
  |



Unsupported Wifi dongle

2006-01-10 Thread Bruno Carnazzi
   Hi all,

I've been given a Wifi USB dongle (the one given with the LiveBox
(France Telecom ADSL access) : the Inventel UR054g (in fact, it's a
Thomson Telecom product). With my OBSD 3.8/i386 (GENERIC), it's not
recognized (in fact, as ugen0), here is the dmesg :

OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 233 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 33071104 (32296K)
avail mem = 22192128 (21672K)
using 429 buffers containing 1757184 bytes (1716K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 09/07/98, BIOS32 rev. 0 @ 0xfc2c0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 20102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf01c0/96 (4 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
WARNING: can't reserve area for I/O APIC.
WARNING: can't reserve area for Local APIC.
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX rev 0x02
cbb0 at pci0 dev 2 function 0 Toshiba ToPIC97 CardBus rev 0x05: irq 11
cbb1 at pci0 dev 2 function 1 Toshiba ToPIC97 CardBus rev 0x05: irq 11
vga1 at pci0 dev 4 function 0 Chips and Technologies 6 rev 0xc6
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4310MAT
wd0: 16-sector PIO, LBA, 4126MB, 8452080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, 7.5A SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: 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
Intel 82371AB Power rev 0x02 at pci0 dev 7 function 3 not configured
Toshiba Fast Infrared Type O rev 0x23 at pci0 dev 10 function 0 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0 cacheline 0x0, lattimer 0x0
pcmcia1 at cardslot1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb4d netmask eb4d ttymask fbcf
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ne3 at pcmcia0 function 0 PCMCIA, FastEthernet, V port 0xa300/32
ne3: address 00:10:60:f6:71:29
rl0 at cardbus1 dev 0 function 0 Realtek, Rtl8139, \M^?: irq 11
address 00:40:f4:c3:9a:27
rlphy0 at rl0 phy 0: RTL internal phy
ugen0 at uhub0 port 1
ugen0: GlobespanVirata Cohiba 3887 rev0, rev 2.00/10.20, addr 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
pppoe0: phase establish
pppoe0: phase authenticate
pppoe0: phase network


Some tech spec can be found at :
http://www.unex.com.tw/web1/images/product/spec/UR054g.htm

Under Linux, it can works through NDISWrapper using the prisma02 driver.
Based on : http://www.inexq.co.uk/web1/english/download/search.asp#,
it use a Conexant chipset.

Can we hope to have this model supported in the next release ?

Thank you,

Best regards,

Bruno.



Re: safte errors

2006-01-10 Thread David Gwynne
this was fixed in revision 1.92 of src/sys/dev/ic/ami.c. the problem  
is that a busy logical disk can starve the available openings on the  
passthrough bus. this means that the safte io is being attempted, but  
insufficient resources are available to complete it. a lack of  
resources causes an error to be returned to the safte driver and it  
makes unhappy noises. krws patch alleviates this by reserving  
openings for use by the passthrough devices.


i would suggest trying current, i am certain this problem has been  
fixed.


dlg

On 10/01/2006, at 11:27 PM, Diego Woitasen wrote:

Under heavy load (restoring a tape or copying files, for example) i  
get

the following messages from the kernel:

safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online
safte0: error getting enclosure status
safte0: enclosure back online


full dmesg:

OpenBSD 3.8 (GENERIC.MP) #298: Sat Sep 10 15:51:54 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.20  
GHz

cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 
6,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID

real mem  = 1073065984 (1047916K)
avail mem = 972488704 (949696K)
using 4278 buffers containing 53755904 bytes (52496K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/01/04, BIOS32 rev. 0 @
0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbbf0/288 (16 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev
0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0xb000! 0xcb000/0x800 0xcb800/0x1400
0xec000/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (DELL PE 0183 )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.20  
GHz

cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 
6,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID

mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type PCI
mainbus0: bus 6 is type PCI
mainbus0: bus 7 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
ioapic1 at mainbus0: apid 9 pa 0xfec8, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apic 9
ioapic2 at mainbus0: apid 10 pa 0xfec80800, version 20, 24 pins
ioapic2: misconfigured as apic 0, remapped to apic 10
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7710 SMCH rev 0x09
ppb0 at pci0 dev 2 function 0 Intel E7710 MCH PCIE rev 0x09
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci2 at ppb1 bus 2
mpt0 at pci2 dev 4 function 0 Symbios Logic 53c1030 rev 0x08: apic 9
int 10 (irq 5)
mpt0: sending FW Upload request to IOC (size: 36, img size: 40048)
mpt0: IM support: 0
scsibus0 at mpt0: 16 targets
ami0 at pci2 dev 5 function 0 Symbios Logic MegaRAID rev 0x01:  
apic 9

int 5 (irq 11) Dell 520/64b/lhc
ami0: FW 350O, BIOS v1.09, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus1 at ami0: 40 targets
sd0 at scsibus1 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct
fixed
sd0: 34680MB, 4421 cyl, 255 head, 63 sec, 512 bytes/sec, 71024640 sec
total
scsibus2 at ami0: 16 targets
safte0 at scsibus2 targ 6 lun 0: SDR, GEM318P, 1 SCSI2 3/processor
fixed
ahc1 at pci2 dev 6 function 0 Adaptec AHA-3960D U160 rev 0x01:  
apic 9

int 0 (irq 11)
scsibus3 at ahc1: 16 targets
st0 at scsibus3 targ 6 lun 0: SEAGATE, DAT DAT72-052, A060 SCSI3
1/sequential removable
st0: drive empty or not ready
ahc2 at pci2 dev 6 function 1 Adaptec AHA-3960D U160 rev 0x01:  
apic 9

int 1 (irq 11)
scsibus4 at ahc2: 16 targets
vendor Intel, unknown product 0x0326 (class system subclass  
interrupt,

rev 0x09) at pci1 dev 0 function 1 not configured
ppb2 at pci1 dev 0 function 2 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 3
em0 at pci3 dev 7 function 0 Intel PRO/1000MT (82541GI) rev 0x05:  
apic

10 int 5 (irq 11), address: 00:0f:1f:fa:74:2b
vendor Intel, unknown product 0x0327 (class system subclass  
interrupt,

rev 0x09) at pci1 dev 0 function 3 not configured
ppb3 at pci0 dev 4 function 0 Intel E7710 MCH PCIE rev 0x09
pci4 at ppb3 bus 4
ppb4 at pci0 dev 6 function 0 Intel E7710 MCH PCIE rev 0x09
pci5 at ppb4 bus 5
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02:  
apic 8

int 16 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1

bioctl weirdness - wha???

2006-01-10 Thread Matthew S Elmore

Greetings misc@ (Marco in particular! :),

I am having some unusual issues with bioctl while using an ami-based 
RAID card.


The card is a LSI/Symbios MegaRAID 150-4 (FW 713N) in a 64-bit PCI slot. 
Drives are Seagate SATA drives. Case is a Supermicro 5033C-T with 
built-in drive cage.


Currently we are having a two-drive RAID-1 mirrored array with one hot 
spare drive.


When we first setup the array and installed openbsd, bioctl ami0 
produced output just like you would expect. When I simulated a failure, 
the array started to rebuild. Good! Except that when I reinserted 
another drive to become the new hotspare, it did not show in bioctl output.


After a reboot, the drive did show in bioctl output as unused, so I set 
it as hot spare (bioctl -H 0:1 ami0). After doing this, bioctl did not 
show the drive as a hot spare, but still as unusued. After yet another 
reboot, the controller's BIOS did show the extra drive as a hot spare.


Can you provide any insight into what could be going on?

Many thanks!

random info below:

# bioctl -Dv ami0
bioctl: cookie = 0xd1753e80
bio_inq
Volume  Status Size   Device
 ami0 0 Degraded 160036814848 sd0 RAID1
  0 Online   160036814848 0:0.0   noencl ST3160812AS 
   2AAA

 '5LS0MNEY'
  1 Rebuild  160036814848 0:2.0   noencl ST3160812AS 
   2AAA

 '5LS0MNG5'
 ami0 1 Unused   160036814848 0:1.0   noencl ST3160812AS 
   2AAA

 '5LS0NEKN'


OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID

real mem  = 1072193536 (1047064K)
avail mem = 971747328 (948972K)
using 4278 buffers containing 53710848 bytes (52452K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(91) BIOS, date 03/09/05, BIOS32 rev. 0 @ 0xfb790
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xdf64
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde60/240 (13 entries)
pcibios0: PCI Exclusive IRQs: 5 7 9 10 11 12
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x25a1
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x2200
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82875P Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82875P AGP rev 0x02
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 Intel 82875P PCI-CSA rev 0x02
pci2 at ppb1 bus 2
em0 at pci2 dev 1 function 0 Intel PRO/1000CT (82547GI) rev 0x00: irq 
10, address: 00:30:48:82:95:02

ppb2 at pci0 dev 28 function 0 Intel 6300ESB PCIX rev 0x02
pci3 at ppb2 bus 3
ami0 at pci3 dev 1 function 0 Symbios Logic MegaRAID rev 0x01: irq 9 
LSI 523/64b/lhc

ami0: FW 713N, BIOS vG119, 64MB RAM
ami0: 1 channels, 0 FC loops, 1 logical drives
scsibus0 at ami0: 40 targets
sd0 at scsibus0 targ 0 lun 0: AMI, Host drive #00,  SCSI2 0/direct fixed
sd0: 152623MB, 19456 cyl, 255 head, 63 sec, 512 bytes/sec, 312571904 sec 
total

scsibus1 at ami0: 16 targets
vendor Marvell, unknown product 0x5041 (class mass storage subclass 
RAID, rev 0x00) at pci3 dev 4 function 0 not configured

ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x0a
pci4 at ppb3 bus 4
trm0 at pci4 dev 2 function 0 Tekram DC-3x5U rev 0x01: irq 11
scsibus2 at trm0: 8 targets
trm0: target 0 using 8 bit 10.0 MHz, Offset 15 data transfers
st0 at scsibus2 targ 0 lun 0: ARCHIVE, Python 04106-XXX, 7600 SCSI2 
1/sequential removable

st0: drive empty or not ready
vga1 at pci4 dev 9 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em1 at pci4 dev 10 function 0 Intel PRO/1000MT (82541GI) rev 0x00: irq 
5, address: 00:30:48:82:95:03

ichpcib0 at pci0 dev 31 function 0 Intel 6300ESB LPC rev 0x02
pciide0 at pci0 dev 31 function 2 Intel 6300ESB SATA rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 1: ST3160812AS
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus3 at atapiscsi0: 2 targets
cd0 at scsibus3 targ 0 lun 0: LITE-ON, DVD SOHD-16P9SV, F$01 SCSI0 
5/cdrom removable

cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
Intel 6300ESB SMBus rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at 

problems compiling helloworld.cpp on openbsd3.8

2006-01-10 Thread Jeffrey R. Meyer

Hello all,

I have a recently built openBSD 3.8 machine and I wanted to be able to 
do some simple c++ programming on it.  I wrote the following helloworld 
program:


#include iostream
using namespace std;

int main()
{
cout  Hello World!\n;
}

I installed the following packages:
g++-4.0-20050804
gcc-4.0-20050804

The program fails to compile.
Any help would be greatly appreciated.

--Jeff



Re: problems compiling helloworld.cpp on openbsd3.8

2006-01-10 Thread Marc Espie
On Tue, Jan 10, 2006 at 10:09:46AM -0600, Jeffrey R. Meyer wrote:
 Hello all,
 
 I have a recently built openBSD 3.8 machine and I wanted to be able to 
 do some simple c++ programming on it.  I wrote the following helloworld 
 program:
 
 #include iostream
 using namespace std;
 
 int main()
 {
 cout  Hello World!\n;
 }
 
 I installed the following packages:
 g++-4.0-20050804
 gcc-4.0-20050804
 
 The program fails to compile.
 Any help would be greatly appreciated.
 
 --Jeff
Start by giving useful information, like what you mean by `fails to compile'.



FreeBSD packages

2006-01-10 Thread Gaby vanhegan
Hi,

I have a FreeBSD package that contains the networker backup  
software.  I've made the software run on OpenBSD by installing the  
FreeBSD compat stuff.  What I want to know is if there's a cleaner  
way to install the package, or if there's a way to convert a package  
to the OpenBSD package format.

I've made packages before, so I think I can convert it to OpenBSD  
package if needs be.  If there's any hints or tips about converting  
Free to OpenBSD packages, I'd be happy to listen.

Gaby

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



Re: OpenBGP IPv6

2006-01-10 Thread Sylvain Coutant
  Both Cisco based equipmentthere must be something else wrong in the
 configuration...

Any idea what could be else ?
;-)

BR,
--
Sylvain COUTANT

ADVISEO
http://www.adviseo.fr/
http://www.open-sp.fr/



safte0: error getting enclosure status

2006-01-10 Thread Thierry Lacoste
I'm running 3.8 on a Dell PowerEdge 1800 with 3 140 G SCSI disks
configured as a RAID5 array.
I'm having those messages quite regularly:
Jan 10 14:07:14 polaris /bsd: safte0: error getting enclosure status
Jan 10 14:07:34 polaris /bsd: safte0: enclosure back online
Jan 10 14:08:04 polaris /bsd: safte0: error getting enclosure status
Jan 10 14:08:14 polaris /bsd: safte0: enclosure back online

What should I do to solve this problem?

Regards,
Thierry.



Re: problems compiling helloworld.cpp on openbsd3.8

2006-01-10 Thread Alexander Hall

Jeffrey R. Meyer wrote:

Hello all,

I have a recently built openBSD 3.8 machine and I wanted to be able to 
do some simple c++ programming on it.  I wrote the following helloworld 
program:


#include iostream
using namespace std;

int main()
{
cout  Hello World!\n;
}

I installed the following packages:
g++-4.0-20050804
gcc-4.0-20050804


Just tried it myself. No problems whatsoever.

# vi helloworld.cpp
# c++ -o hello helloworld.cpp
# ./hello
Hello World!
#

You should not need to install any additional packages for this as long 
as you installed the compiler (compXX.tgz) while installing. If you did 
not do that then, do it now. man tar and tar -xzvpf are your friends.


/Alexander



dante (sockd) + BSD passwd authentication

2006-01-10 Thread Matthew Closson

Hello,

I'm trying to get sockd (A SOCKS4/5 proxy from the 
/usr/ports/security/dante port) working with BSD username/password 
authentication.  Currently it is saying userauthentication failed.  I have 
made sure it is not something simple like wrong password.  Here is the 
relevant info:


Here is the contents of /etc/sockd.conf:
---
logoutput: syslog stdout /var/log/sockd
internal: 192.168.0.1  port = 1080
external: fxp0
method: username
clientmethod: none
user.privileged: root
user.notprivileged: proxy
iotimeout: 0

client pass {
from: 192.168.0.1/24 port 1-65535 to: 0.0.0.0/0
log: connect disconnect error
}

pass {
from: 192.168.0.1/24 to: 0.0.0.0/0
method: username
log: connect disconnect error
}
-

Now here is the output written to the console by sockd when trying to 
connect:


$ sudo /usr/local/sbin/sockd
Jan 10 11:41:34 (1136911294) sockd[0]: socks_seteuid(): old: 0, new: 0
Jan 10 11:41:34 (1136911294) sockd[0]: socks_reseteuid(): current: 0, new: 
0

Jan 10 11:41:34 (1136911294) sockd[0]: socks_seteuid(): old: 0, new: 71
Jan 10 11:41:34 (1136911294) sockd[0]: socks_reseteuid(): current: 71, 
new: 0
Jan 10 11:41:34 (1136911294) sockd[0]: fixsettings(): setting the libwrap 
uid to 
0 is not recommended

Jan 10 11:41:34 (1136911294) sockd[23668]: dante/server v1.1.17 running
Jan 10 11:41:34 (1136911294) sockd[2926]: created new negotiatorchild
Jan 10 11:41:34 (1136911294) sockd[20194]: created new requestchild
Jan 10 11:41:34 (1136911294) sockd[32229]: created new requestchild
Jan 10 11:41:34 (1136911294) sockd[22256]: created new requestchild
Jan 10 11:41:34 (1136911294) sockd[1030]: created new requestchild
Jan 10 11:41:34 (1136911294) sockd[23452]: created new iochild
Jan 10 11:42:04 (1136911324) sockd[2926]: pass(1): tcp/accept [: 
192.168.0.5 
6636 - 192.168.0.1.1080
Jan 10 11:42:04 (1136911324) sockd[2926]: pass(1): tcp/accept ]: 
192.168.0.5 
Jan 10 11:44:27 (1136911467) sockd[2926]: pass(1): tcp/accept [: 
192.168.0.5 
6700 - 192.168.0.1.1080
Jan 10 11:44:27 (1136911467) sockd[2926]: pass(1): tcp/accept ]: 
[EMAIL PROTECTED] - 192.168.0.1.1080: system 
password 
userauthentication 
failed


---

I am connecting from a Windows2000 box running FreeCap
(http://freecap.ru/eng) to SOCKSify my applications.
The FreeCap is setup to use SOCKSv5 username/password authentication.

Any ideas, or anyone have a working sockd.conf for this?  In sockd.conf
the method: username is supposed to have it authenticate to the system 
password file.  Thanks for any info, I am subscribed.


-Matt-



How to hangup from normal user.

2006-01-10 Thread DrumFire
bugreport number 137:

http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=137

is not yet close. If you have access on a OpenBSD system,
you can hangup it using this command:

while true; do grep pippo /dev/zero  done

Why, this bug is yet open? Everyone can crash my OpenBSD server,
if have a simple shell. There's some sysctl to modidy, to avoid
this problem?



Re: FreeBSD packages

2006-01-10 Thread Jasper Lievisse Adriaanse
On Tue, 10 Jan 2006 16:36:51 +
Gaby vanhegan [EMAIL PROTECTED] wrote:

 Hi,

 I have a FreeBSD package that contains the networker backup
 software.  I've made the software run on OpenBSD by installing the
 FreeBSD compat stuff.  What I want to know is if there's a cleaner
 way to install the package, or if there's a way to convert a package
 to the OpenBSD package format.

 I've made packages before, so I think I can convert it to OpenBSD
 package if needs be.  If there's any hints or tips about converting
 Free to OpenBSD packages, I'd be happy to listen.

 Gaby
Well, it would be easier to just convert the port to an OpenBSD port, and
then build the package on OpenBSD directly.


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



--
Security is decided by quality -- Theo de Raadt

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



Re: SOLVED: Tuning NFS file transfer speed

2006-01-10 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




On Mon, 9 Jan 2006, Denny White wrote:


Date: Mon, 9 Jan 2006 12:13:38 + (UTC)
From: Denny White [EMAIL PROTECTED]
To: OpenBSD Questions Mailing List misc@openbsd.org
Subject: Tuning NFS file transfer speed

I know the usual complaint is, it's not fast enough. My
question is, after doing much googling - mail archive
reading, is there a way to slow the file transfer speed
down? I've asked the list before about a rebooting problem
I have on this box,  it's still here, but now only when
I transfer large files from another box. I thought for a
while, it might be something with the XP system on another
box, but the same problem exists when I try it from my
FreeBSD box. I've fought with the BIOS settings for weeks
now,  once thought I had the problem fixed. Later, my
friend, unbeknownst to me  thinking he was helping, tried
tweaking the BIOS some more, before I had a chance to write
down all the settings. Since, I have not been able to duplicate
a problem free incoming NFS file transfer, unless it's a small
file. Anything over 6-8MB  down she goes. I can, on the other
hand, mount exported shares from my XP or FreeBSD boxes and
copy really large files to them from this OpenBSD box. I've
swapped cables, to no avail. I've checked the hd, the simms,
everything showing okay. I have the proper cable on the hd,
80 pin. Dmesg shows it using Ultra DMA 66. I'll include the
dmesg at end of message. Several times in the past, the box
rebooted too, when updating the locate database, or when
running fsck. That seems to have disappeared since making
some changes in the BIOS, the most important one being,
according to some BIOS/reboot problems I read about on Google,
getting the cmos clock  the os clock synced properly. I'm
now using /etc/localtime - /usr/share/zoneinfo/UTC instead of
Central like before. Thanks for any help I can get on this. I
really tried to solve this before asking for help. Right now,
can't afford another box, mobo, etc. Everything else on here
works great. Cvsup, rebuilding kernel  userland,  so forth.

OpenBSD 3.8-stable (GENERIC) #2: Wed Dec 28 10:03:01 CST 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 601 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 335060992 (327208K)
avail mem = 298348544 (291356K)
using 4115 buffers containing 16855040 bytes (16460K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(a7) BIOS, date 01/31/02, BIOS32 rev. 0 @ 
0xfb4f0

apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xb970
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd90/144 (7 entries)
pcibios0: PCI Exclusive IRQs: 5 9 10 11
pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT82C691 PCI rev 0xc4
ppb0 at pci0 dev 1 function 0 VIA VT82C598 AGP rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x22
pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x10: ATA66, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility

wd0 at pciide0 channel 0 drive 0: WDC WD400BB-00AUA1
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HP, CD-Writer+ 9500b, 1.06 SCSI0 5/cdrom 
removable

atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: ASUS, CD-S500/A, 1.0K SCSI0 5/cdrom 
removable

cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x10: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3 VIA VT83C572 USB rev 0x10: irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x30
auvia0 at pci0 dev 7 function 5 VIA VT82C686 AC97 rev 0x20: irq 5
ac97: codec id 0x83847644 (SigmaTel STAC9744/45)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at auvia0
xl0 at pci0 dev 13 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, 
address 00:01:03:1a:2f:21

bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 7
vga1 at pci0 dev 15 function 0 3DFX Interactive Voodoo3 rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at 

Re: OpenBGP IPv6

2006-01-10 Thread Sylvain Coutant
 so the neighbor refuses our OPEN messgae because we announce some
 capability it dioesn't like,

I traced frames and had a look at BGP's OPEN frames. I think neighbor doesn't 
like the IPv4 capability !! However, I can't change the configuration (reload, 
neighbour clear), IPv4 is always the only capability announced. I believe I 
need to kill bgpd and restart it for the change in the configuration to take 
effect. I can't for now.

BR,
--
Sylvain COUTANT

ADVISEO
http://www.adviseo.fr/
http://www.open-sp.fr/



Re: problems compiling helloworld.cpp on openbsd3.8

2006-01-10 Thread Jeffrey R. Meyer

Alexander Hall wrote:

Jeffrey R. Meyer wrote:


Hello all,

I have a recently built openBSD 3.8 machine and I wanted to be able to 
do some simple c++ programming on it.  I wrote the following 
helloworld program:


#include iostream
using namespace std;

int main()
{
cout  Hello World!\n;
}

I installed the following packages:
g++-4.0-20050804
gcc-4.0-20050804



Just tried it myself. No problems whatsoever.

# vi helloworld.cpp
# c++ -o hello helloworld.cpp
# ./hello
Hello World!
#

You should not need to install any additional packages for this as long 
as you installed the compiler (compXX.tgz) while installing. If you did 
not do that then, do it now. man tar and tar -xzvpf are your friends.


/Alexander


Thanks for all the help.  I did not install comp38.tgz, once installed 
everything worked fine.


--Jeff



Re: Recommendations for wireless ethernet adapters for AP

2006-01-10 Thread Christian Weisgerber
Damon McMahon [EMAIL PROTECTED] wrote:

 Does anyone have any recommendations for a wireless ethernet adapter
 for a Pentium III 500 MHz box which will become a wireless access
 point for a 2-3 node network?

 I'm intending to use IPSec or PPTP to secure the WLAN - will this
 machine be up to specs to handle this?

Pushing IPsec (AES, HMAC-SHA2-256) traffic to an .11g access point
at the maximum data rate of just under 2 MB/s takes about 40..45%
CPU of my Pentium-III 800 MHz gateway here.  This should scale
approximately with the clock difference for your box, so yes, I
think it can handle it.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: FreeBSD packages

2006-01-10 Thread Gaby vanhegan
On 10 Jan 2006, at 17:36, Jasper Lievisse Adriaanse wrote:

 Well, it would be easier to just convert the port to an OpenBSD  
 port, and
 then build the package on OpenBSD directly.

This is what I'm thinking.  It is a bunch of binaries that sit in a  
separate subfolder in /usr/local, some man pages and a bit of code to  
go into /etc/rc.local.  No problems.

Gaby

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



Re: OpenBGP IPv6

2006-01-10 Thread Henning Brauer
* Sylvain Coutant [EMAIL PROTECTED] [2006-01-10 18:51]:
  so the neighbor refuses our OPEN messgae because we announce some
  capability it dioesn't like,
 I traced frames and had a look at BGP's OPEN frames. I think neighbor 
 doesn't like the IPv4 capability !! However, I can't change the 
 configuration (reload, neighbour clear), IPv4 is always the only 
 capability announced. I believe I need to kill bgpd and restart it for 
 the change in the configuration to take effect. I can't for now.

hmm, there might have been an issue with changing the announced address 
families, I vaguely remember fixing something there - tho I don't 
remember when. Might have been post-3.8

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: How to hangup from normal user.

2006-01-10 Thread Paul de Weerd
On Tue, Jan 10, 2006 at 05:39:06PM +0100, DrumFire wrote:
| bugreport number 137:
|
| http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=137
|
| is not yet close. If you have access on a OpenBSD system,
| you can hangup it using this command:
|
| while true; do grep pippo /dev/zero  done
|
| Why, this bug is yet open? Everyone can crash my OpenBSD server,
| if have a simple shell. There's some sysctl to modidy, to avoid
| this problem?

Funny you should mention that - I tried that just two hours ago in a
discussion with a coworker. It doesn't crash my system. It becomes
pretty slow after spawning 83 processes because it's eating memory
(and swap) like cake. Swapping is what makes the system go slow.
After I log in as root and kill the shell that started all this
nonsense, I can continue working as normal.

To prevent your users from doing this, tell them not to. This can be
somewhat enforced by putting your users in a separate loginclass which
has a limited amount of memory and processes available. Read up on
login.conf(5).

Cheers,

Paul 'WEiRD' de Weerd

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

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



Unable to reach server in dmz. Whats wrong?

2006-01-10 Thread Jonas Lindskog

Hello,

We are using OpenBSD 3.8 as a firewall/router. We have two internal 
nets; one with workstations (NAT) and one DMZ with a single server.
And thus we have three network interfaces installed in the router: one 
for the NAT, one for the DMZ and one for the external net.


Our ISP has given us a range of IP adresses (the ones below are 
obfuscated ;)):


Segment: 38.87.5.112 /28 
net address:   38.87.5.112

gateway adress:   38.87.5.113
firewall:  38.87.5.114
fria fasta ip: 38.87.5.115-126
broadcast address:38.87.5.127
netmask:  255.255.255.240

I have set up the DMZ with
net adress 38.87.5.120
Gateway: 38.87.5.121
Server: 38.87.5.122

netmask:  255.255.255.252

To ensure that routing worked properly I just entered pass (and nat of course) in the /etc/pf.conf file. 

I have no trouble connecting to the server at 38.87.5.122 from the 
internal net where nat-addresses are used, but for some reason
I cant connect to the server from the outside. I thought it was a 
routing problem but when I entered a port redirect from the gateway


(38.87.5.113) to the server at  38.87.5.122  for the ssh port I reached the server. I haven't got a 
clue whats wrong. Can anybody help to explain this or have an idea of a workaround (I dont want the port

redirect)? Thanks in advance.

/Jonas



Re: [unclassified] Simple Question about PF

2006-01-10 Thread Giancarlo Razzolini
Chris Zakelj wrote:

 
 Welcome to the crew.  Sounds like you're doing pretty much the exact
 same thing I was doing last year on an ADSL line shared between myself
 and two roomies.  If you haven't gotten all the way through it yet, read
 the PF user's guide at http://www.openbsd.org/faq/pf/index.html, and pay
 special attention to the examples in the Packet Queueing and
 Prioritization section.  While leaving the particular rules up to you,
 I'll make the following suggestions:
 
 1: Set your upload bandwidth to about 125% of your advertised rate
 2: Unless it was just dumb luck, there's nothing wrong with using the
 full bandwidth of your internal interface.
 3: I've had better results using CBQ on internal interfaces, and PRIQ on
 the external.  In my 3-person condo last year, using your 300k
 downstream, I'd set 100k (borrow) to each person internally, so that if
 someone's not using their straw, the others could borrow from it. 
 Likewise, my outbound priority was something along the lines of ACK,
 DNS, SSH, HTTP, SMTP/POP, bulk (one was an anime freak, and forcing his
 habit into the 'bulk' queue allowed the rest of us to surf in peace).
 
 Obviously, what worked best for me may not be best for you.
 
 
Thanks for the prompt reply. I had some luck yesterday with altq. I've
put 300kb as bandwidht limit in my internal iface and 150Kb in my
external iface. And assigned traffic to the download queue (300Kb) and
it worked. The only problem is that i'm using keep state in all of my
rules, and i'll have to change this behavior to filter the incoming and
the outcoming packets. I only run into one problem, the connections to
the firewall itself (ssh, for example) ended being queued to. And 300Kb
is a very little bandwidth if you have 2 simultaneous downloads. But i
believe that no using keep state for some of my rules will do the trick.

My regards,

-- 
Giancarlo Razzolini
Linux User 172199
Moleque Sem Conteudo Numero #002
Slackware Current
Snike Tecnologia em Informatica
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85



Re: pf not logging to /var/log/pflog...

2006-01-10 Thread Otto Moerbeek
On Mon, 9 Jan 2006, Olivier Mehani wrote:

 On Mon, Jan 09, 2006 at 08:37:04PM +0100, Otto Moerbeek wrote:
   adsl:
  ! sh -c /sbin/ifconfig pflog0 up
 
 As far as I remember, it's not necessary to ifconfig pflog0 up to use it.
 
  Why enable pf only when the link is up? It's non-standard and
  potentially dangarous. You're better of using the standard way of
  enabling pf.
 
 However non standard, I don't clearly see the potential danger in this. Can 
 you
 elaborate ?

- There's a race between getting the net up and pf being enabled. That
means there's a moment in time when you are not protected.

 - Assume that sometimes things go wrong. You make a typo in pf.conf,
for example. What would happen if you reboot?

-Otto



Re: Unable to reach server in dmz. Whats wrong?

2006-01-10 Thread Abraham Al-Saleh
On 1/10/06, Jonas Lindskog [EMAIL PROTECTED] wrote:
 Hello,

 We are using OpenBSD 3.8 as a firewall/router. We have two internal
 nets; one with workstations (NAT) and one DMZ with a single server.
 And thus we have three network interfaces installed in the router: one
 for the NAT, one for the DMZ and one for the external net.

 Our ISP has given us a range of IP adresses (the ones below are
 obfuscated ;)):

 Segment: 38.87.5.112 /28
 net address:   38.87.5.112
 gateway adress:   38.87.5.113
 firewall:  38.87.5.114
 fria fasta ip: 38.87.5.115-126
 broadcast address:38.87.5.127
 netmask:  255.255.255.240

 I have set up the DMZ with
 net adress 38.87.5.120
 Gateway: 38.87.5.121
 Server: 38.87.5.122

 netmask:  255.255.255.252

 To ensure that routing worked properly I just entered pass (and nat of 
 course) in the /etc/pf.conf file.

 I have no trouble connecting to the server at 38.87.5.122 from the
 internal net where nat-addresses are used, but for some reason
 I cant connect to the server from the outside. I thought it was a
 routing problem but when I entered a port redirect from the gateway

 (38.87.5.113) to the server at  38.87.5.122  for the ssh port I reached the 
 server. I haven't got a
 clue whats wrong. Can anybody help to explain this or have an idea of a 
 workaround (I dont want the port
 redirect)? Thanks in advance.

 /Jonas


It would help if you attached your pf.conf, and relevant configuration
files (hostname.if, for example)



Backup/Restore -panic: cannot open disk..., error 6

2006-01-10 Thread Dede Dascalu

Hi,

I have been trying to follow the backup/restore procedures for  
recovering the an OpenBSD installation to a different machine an ran  
into some problems.
Used http://www.openbsd.org/faq/faq14.html#Backup to create a backup  
using dump of my partitions - went fine
Went through the restore procedures on the second machine used the  
entire disk for the installation and created the disklabels. See  
below...

 fdisk sd0
Disk: sd0   geometry: 4427/255/63 [71119755 Sectors]
Offset: 0   Signature: 0xAA55
 Starting   Ending   LBA Info:
#: idC   H  S -C   H  S [   start:  size   ]

0: 000   0  0 -0   0  0 [   0:   0 ] unused
1: 000   0  0 -0   0  0 [   0:   0 ] unused
2: 000   0  0 -0   0  0 [   0:   0 ] unused
*3: A60   1  1 - 4426 254 63 [  63:71119692 ] OpenBSD

disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: MAP3367NC
flags:
bytes/sector: 512
sectors/track: 739
tracks/cylinder: 2
sectors/cylinder: 1478
cylinders: 48122
total sectors: 71132959
rpm: 10025
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#size   offsetfstype   [fsize bsize   cpg]
  a:   301449   634.2BSD 2048 16384   208 	# (Cyl. 
0*- 203)
  b:   614848   301512  swap  	# (Cyl.  204  
- 619)
  c: 711329590unused0 0   	# (Cyl.0  
- 48127*)
  d:   239436   9163604.2BSD 2048 16384   176 	# (Cyl.  620  
- 781)
  e:  4194564  11557964.2BSD 2048 16384   416 	# (Cyl.  782  
- 3619)
  f:  4194564  53503604.2BSD 2048 16384   416 	# (Cyl. 3620  
- 6457)
  g: 20551590  95449244.2BSD 2048 16384   416 	# (Cyl. 6458  
- 20362)


Made the disk bootable wrote the MBR using the /usr/mdec utilities -  
went fine
When rebooting into single user mode to restore the rest of the  
partitions I get to the ddb with the following error:

...
biomask ef65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
panic: cannot open disk, 0x400/0xd00, error 6
Stopped at debugger+0x4: leave
...
I am unable to post capture more details at the moment but I will if  
they are needed


I tried a couple of things:
1. New installation from CD 3.6 (just checking to see if this is a  
hardware problem) - works fine
2. Used the install script to partition and label the disk (in case I  
messed something up) - still same problem and after the recover  
procedure.
3. Tried using the boot file from the image without writing the new  
MBR - did not get to stage 1 as expected.


I seem to be missing something in the process; help is appreciated.  
Thanks.

Dede



Re: Sony DSC T7 camera works with OpenBSD

2006-01-10 Thread Mechiel Lukkien
On Mon, Jan 09, 2006 at 12:55:00PM +0100, Fred Crowson wrote:
 Hi Misc,
 
 This is just a quick message to say that the issue [1] I had with a Sony 
 DSC T7 camera not attaching has been resolved with the snapshots from 5 
 Jan 06.
 
 Thanks to all the developers for a great OS!

same here.  just tried the snapshot and my camera (sony dsc p-73)
started working as well.  thanks!

mechiel



Re: Unable to reach server in dmz. Whats wrong?

2006-01-10 Thread Bryan Irvine
 Our ISP has given us a range of IP adresses (the ones below are
 obfuscated ;)):

 Segment: 38.87.5.112 /28
 net address:   38.87.5.112
 gateway adress:   38.87.5.113
 firewall:  38.87.5.114
 fria fasta ip: 38.87.5.115-126
 broadcast address:38.87.5.127
 netmask:  255.255.255.240

 I have set up the DMZ with
 net adress 38.87.5.120
 Gateway: 38.87.5.121
 Server: 38.87.5.122

 netmask:  255.255.255.252

 To ensure that routing worked properly I just entered pass (and nat of 
 course) in the /etc/pf.conf file.

 I have no trouble connecting to the server at 38.87.5.122 from the
 internal net where nat-addresses are used, but for some reason
 I cant connect to the server from the outside. I thought it was a
 routing problem but when I entered a port redirect from the gateway


I suspect it may still be a routing problem.  You have a range of 13
available IP's from your ISP, but according to the subnet they are all
on the same network.  Unless I've mis-read something (which happens
often) you need to have the ISP split your range into 2 networks* and
set the router located at 38.87.5.113 to route the next hop of the
second network to your firewall.

* note you will lose a couple of ip's by doing that.

A simple way to test would be to move the 38.87.5.122 machine to the
same network as the firewall (so that it's no longer being firewalled)
and see if you can get to it.


--Bryan



Re: Sony DSC T7 camera works with OpenBSD

2006-01-10 Thread Andrés Delfino
same here... again! =). I tried the a snapshot and my camera (Sony
DSC-S40) works great.

Thanks!!



bibd 9.3 dnssec-makekeyset missing?

2006-01-10 Thread Chris
3.7 Stable
BIND 9.3.0

I m trying to set up some zones with DNSSEC for dynamic updates.

Can someone did it in Openbsd?

Chroot give some problems?
And I just decided to post here after seeing that I can see in my src
tree the files
/usr/src/usr.sbin/bind/bin/dnssec/dnssec-makekeyset.8
/usr/src/usr.sbin/bind/bin/dnssec/dnssec-makekeyset.c
/usr/src/usr.sbin/bind/bin/dnssec/dnssec-makekeyset.docbook
/usr/src/usr.sbin/bind/bin/dnssec/dnssec-makekeyset.html

but dnssec-makekeyset dont seem to exist in my system.

I m doing something wrong or it is not possible to allow dynamic updates
with SIG in openbsd. I think with BIND 9 is possible.

Why the dnssec-makekeyset missing?

Any help would be greatly apreciated.



Re: [unclassified] Simple Question about PF

2006-01-10 Thread Chris Zakelj
Giancarlo Razzolini wrote:

Thanks for the prompt reply. I had some luck yesterday with altq. I've
put 300kb as bandwidht limit in my internal iface and 150Kb in my
external iface. And assigned traffic to the download queue (300Kb) and
it worked. The only problem is that i'm using keep state in all of my
rules, and i'll have to change this behavior to filter the incoming and
the outcoming packets. I only run into one problem, the connections to
the firewall itself (ssh, for example) ended being queued to. And 300Kb
is a very little bandwidth if you have 2 simultaneous downloads. But i
believe that no using keep state for some of my rules will do the trick.

Keeping state has nothing to do with ALTQ, apart from making things go
faster because the rules (and thus, the queue) don't need constant
re-evaluation.



Re: bibd 9.3 dnssec-makekeyset missing?

2006-01-10 Thread Rogier Krieger
On 1/10/06, Chris [EMAIL PROTECTED] wrote:
 but dnssec-makekeyset dont seem to exist in my system.

 I m doing something wrong or it is not possible to allow dynamic updates
 with SIG in openbsd. I think with BIND 9 is possible.

You may want to look into dnssec-keygen(8). It can also generate the
keys for use with TSIG.

Cheers,

Rogier

--
If you don't know where you're going, any road will get you there.



Re: OpenBGP IPv6

2006-01-10 Thread Sylvain Coutant
  However, I can't change the
  configuration (reload, neighbour clear), IPv4 is always the only
  capability announced. I believe I need to kill bgpd and restart it for
  the change in the configuration to take effect. I can't for now.
 
 hmm, there might have been an issue with changing the announced address
 families, I vaguely remember fixing something there - tho I don't
 remember when. Might have been post-3.8

I finally found that deleting the neighbor from the conf, reloading, adding 
back the neighbor was able to reset (when not changing groups settings) and 
works.

Now I'm facing several (not so) funny ones :


1/ Routes are not installed because bgpd[31578]: send_rtmsg: action 1, prefix 
3ffe:800::/24: Network is unreachable. I didn't found what was causing that. I 
killed bgpd and restarted, nothing does.

bgpctl show interfaces shows the interface as ok/UP.
bgpctl show nexthop show nothing about the nexthop (others are ..., UP, 
active, ...). This should be the problem but I don't know how to investigate.


2/ bgpd crashes when the first IPv6 withdraw occurs :

Jan 10 23:11:08 r1 bgpd[2945]: neighbor 2001:x: (AS) withdraw 2001:13a8::/48
Jan 10 23:11:08 r1 bgpd[31578]: Lost child: route decision engine terminated; 
signal 11
[...}
Jan 10 23:11:08 r1 bgpd[26296]: session engine exiting

Oops :-(


3/ Now bgpctl show nexthop shows a nexthop which does not exist. Its IPv4 
address is nothing I know about (and is not the first 32 bits of a v6 address).



--
Sylvain COUTANT

ADVISEO
http://www.adviseo.fr/
http://www.open-sp.fr/



Re: OpenBGP IPv6

2006-01-10 Thread Henning Brauer
* Sylvain Coutant [EMAIL PROTECTED] [2006-01-11 00:18]:
 3/ Now bgpctl show nexthop shows a nexthop which does not exist. Its IPv4 
 address is nothing I know about (and is not the first 32 bits of a v6 
 address).

ok, you are definately running relatively old code. please try with a 
-current bgpd (-current bgpd sources should compile on -stable as well).
we fixed quite some v6 stuff after 3.8.

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: OpenBGPd filters

2006-01-10 Thread Sylvain Coutant
  I'm not sure, but some of them (I think localpref defined in a group)
 require the whole daemon to be restarted.
 
 certainly not.

So what should I do to change the localpref assigned this way ? neighbor 
clear did not changed the localpref last time I checked ... I didn't try to 
delete the neighbour, reload and add back.

BR,
--
Sylvain COUTANT

ADVISEO
http://www.adviseo.fr/
http://www.open-sp.fr/



Re: OpenBGPd filters

2006-01-10 Thread Henning Brauer
* Sylvain Coutant [EMAIL PROTECTED] [2006-01-11 00:53]:
   I'm not sure, but some of them (I think localpref defined in a group)
  require the whole daemon to be restarted.
  certainly not.
 So what should I do to change the localpref assigned this way ? neighbor 
 clear did not changed the localpref last time I checked ...

it does.

it would be a bug otherwise, but I am certain it does.

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Problems mounting cdrom

2006-01-10 Thread Anders Normann
I am a newbie when it comes to OpenBSD, but have already set up my 
web-server with 3.8 and is quite happy with the ease of installation and 
the way it behaves. Have also installed 3.8 on a spare pc which sits in 
a closet and is used for testing. Use ssh to connect to that pc.


But ran into problems when trying to mount a cd by the command: mount -t 
cd9660 /dev/cd0c /mnt/cdrom which returned the error message: 
input/output error.
Thereafter it was impossible to release the cd and trying to umount it 
was to no avail; it was not mounted!


What am I doing wrong? Include the output of dmesg.

OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005

[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

cpu0: Intel(R) Celeron(R) CPU 2.40GHz (GenuineIntel 686-class) 2.42 GHz

cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID


real mem = 1073258496 (1048104K)

avail mem = 972722176 (949924K)

using 4278 buffers containing 53764096 bytes (52504K) of memory

mainbus0 (root)

bios0 at mainbus0: AT/286+(ef) BIOS, date 10/06/04, BIOS32 rev. 0 @ 0xfbb30

apm0 at bios0: Power Management spec V1.2

apm0: AC on, battery charge unknown

apm0: flags 70102 dobusy 1 doidle 1

pcibios0 at bios0: rev 2.1 @ 0xf/0xdf64

pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/208 (11 entries)

pcibios0: PCI Exclusive IRQs: 5 9 11 12

pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)

pcibios0: PCI bus #2 is the last bus

bios0: ROM list: 0xc/0xf400

cpu0 at mainbus0

pci0 at mainbus0 bus 0: configuration mode 1 (no bios)

pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02

ppb0 at pci0 dev 1 function 0 Intel 82865G/PE/P CPU-AGP rev 0x02

pci1 at ppb0 bus 1

vga1 at pci1 dev 0 function 0 Nvidia GeForce FX 5200 rev 0xa1

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: irq 5

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 82801EB/ER USB rev 0x02: irq 12

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 82801EB/ER USB rev 0x02: irq 12

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 82801EB/ER USB rev 0x02: irq 5

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 82801EB/ER 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

ppb1 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2

pci2 at ppb1 bus 2

Texas Instruments ACX111 rev 0x00 at pci2 dev 2 function 0 not configured

rl0 at pci2 dev 5 function 0 Realtek 8139 rev 0x10: irq 11 address 
00:04:61:77:3a:2c


rlphy0 at rl0 phy 0: RTL internal phy

ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02

pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility


wd0 at pciide0 channel 0 drive 0: WDC WD1200JB-32EVA0

wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors

wd1 at pciide0 channel 0 drive 1: ST380011A

wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5

wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5

atapiscsi0 at pciide0 channel 1 drive 0

scsibus0 at atapiscsi0: 2 targets

cd0 at scsibus0 targ 0 lun 0: PHILIPS, DVDR1648P1, P2.2 SCSI0 5/cdrom 
removable


atapiscsi1 at pciide0 channel 1 drive 1

scsibus1 at atapiscsi1: 2 targets

cd1 at scsibus1 targ 0 lun 0: AOPEN, DUW1608/ARR, A04b SCSI0 5/cdrom 
removable


cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2

cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2

Intel 82801EB/ER SMBus rev 0x02 at pci0 dev 31 function 3 not configured

auich0 at pci0 dev 31 function 5 Intel 82801EB/ER AC97 rev 0x02: irq 
9, ICH5 AC97


ac97: codec id 0x414c4760 (Avance Logic ALC655)

audio0 at auich0

isa0 at ichpcib0

isadma0 at isa0

pckbc0 at isa0 port 0x60/5

pckbd0 at pckbc0 (kbd slot)

pckbc0: using irq 1 for kbd slot

wskbd0 at pckbd0: console keyboard, using wsdisplay0

pcppi0 at isa0 port 0x61

midi0 at pcppi0: PC speaker

spkr0 at pcppi0

sysbeep0 at pcppi0

lpt0 at isa0 port 0x378/4 irq 7

lm0 at isa0 port 0x290/8: W83627HF

npx0 at isa0 port 0xf0/16: using exception 16

pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

pccom1 at isa0 

error on ifconfig, bssid

2006-01-10 Thread Lucas Reddinger
hi misc,

the man page for ifconfig is very concise for bssid. why isn't this correct?

$ sudo ifconfig wi0 bssid 00:13:10:e8:9f:44
ifconfig: SIOCS80211BSSID: Invalid argument
$

thanks for your help. (more info follows)

lucas

--

$ uname -a
OpenBSD release.wingedleopard.net 3.8 GENERIC#138 i386
$ ifconfig wi0
wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:80:c6:e3:1c:ff
description: wifi uplink
groups: egress
media: IEEE802.11 autoselect (DS11)
status: active
ieee80211: nwid linksys 2dBm (auto)
inet6 fe80::280:c6ff:fee3:1cff%wi0 prefixlen 64 scopeid 0x2
inet 192.168.1.75 netmask 0xff00 broadcast 255.255.255.0
$ dmesg
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 234 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
cpu0: F00F bug workaround installed
real mem  = 100245504 (97896K)
avail mem = 84328448 (82352K)
using 1249 buffers containing 5115904 bytes (4996K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 01/26/98, BIOS32 rev. 0 @ 0xfd850
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6a0/0x960
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf60/128 (6 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x product 0x
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 SIS 5597/5598 Host rev 0x02
pcib0 at pci0 dev 1 function 0 SIS 85C503 System rev 0x01
pciide0 at pci0 dev 1 function 1 SIS 5513 EIDE rev 0xd0: 5597/5598:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: QUANTUM FIREBALL SE2.1A
wd0: 16-sector PIO, LBA, 2014MB, 4124736 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HITACHI, CDR-8335, 0008 SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ohci0 at pci0 dev 1 function 2 SIS 5597/5598 USB rev 0x10: irq 3,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
dc0 at pci0 dev 6 function 0 ADMtek AN983 rev 0x11: irq 12, address
00:04:5a:70:cd:18
acphy0 at dc0 phy 1: AC_UNKNOWN 10/100 PHY, rev. 0
wi0 at pci0 dev 10 function 0 National Datacomm NCP130 Rev A2 rev 0x01: irq 9
wi0: PRISM2 HWB3163 rev.B (0x8003), Firmware 0.3.0 (primary), 1.4.9
(station), address 00:80:c6:e3:1c:ff
vga1 at pci0 dev 13 function 0 S3 Trio64V2/DX rev 0x16
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ed6d netmask ff6d ttymask ffef
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
$



OpenBSD logo in xlock(1) life mode should be updated

2006-01-10 Thread Andrés Delfino
The logo which one can see is the old daemon, shouldn't it be Puffy now?



Re: OpenBSD logo in xlock(1) life mode should be updated

2006-01-10 Thread veins

AndrC)s Delfino wrote:


The logo which one can see is the old daemon, shouldn't it be Puffy now?


 


should my tatoo be be updated too ? :-)



Re: OpenBSD logo in xlock(1) life mode should be updated

2006-01-10 Thread Theo de Raadt
 The logo which one can see is the old daemon, shouldn't it be Puffy now?

I'm sure we will get right on that, after we stop working on improving
the code.