Re: floppy37C.fs image too big for device

2005-06-24 Thread Jacob Meuser
On Thu, Jun 23, 2005 at 08:41:03PM -0700, Raymond Lillard wrote:
 Dear Misc,
 
 Yesterday, I cvs updated my 3.7-release tree and performed

cvs updated to what?  OPENBSD_3_7_BASE (as 3.7-release implies),
OPENBSD_3_7, or HEAD?

 All went well until it was time to create
 the floppy37C.fs image.
 
 My theory is that the latest updates have just slightly
 bumped up the kernel size, just enough to blow a floppy

my theory is that you failed to STFA and/or include proper info.

-- 
[EMAIL PROTECTED]



Re: External, USB hard drives

2005-06-24 Thread shanejp
Quoting Steven Bowers [EMAIL PROTECTED]:

 speaking are they all compatible? Are there specific brands/models to
 stay away from?

I have a USB2/Firewire combo unit based on the Prolific PL-3507 chipset.
It is problematic and doing a search for it with Google finds that many
other people have disasterous trouble with this garbage chipset.

Some can supposedly be almost fixed with firmware updates done via
software, but the first revision cant (desoldering required). I have the
first version but I'd rather stay away from them altogether.

A chipset to stay away from. Found in cheap units.

A have a USB2 Lacie 80GB unit which works well.




This email was sent from Netspace Webmail: http://www.netspace.net.au



Re: HA firewall

2005-06-24 Thread Paolo Perrucci

Hi all,

following there are others usefull infos about my configuration.
I hope these helps to debug the issue.

Paolo


=== Architecture

 xl0WAN xl0
  |  |

  |  |
   |-| rl0|-|
   | FW1 || FW2 |
   |-|rl0 |-|
  |  |
  |  |   
 xl1LAN xl1


Note: FW1 and FW2 have exactly the same hardware
==

=== /etc/hostname.* on FW1
hostname.carp0: inet 62.94.11.54 255.255.255.248 62.94.11.55 vhid 1 pass foo
hostname.carp1: inet 62.94.11.46 255.255.255.240 62.94.11.47 vhid 2 pass bar
hostname.pfsync0: up syncif rl0
hostname.rl0: inet 10.0.0.1 255.255.255.0 NONE
hostname.xl0: inet 62.94.11.52 255.255.255.248 NONE
hostname.xl1: inet 62.94.11.33 255.255.255.240 NONE
==

=== /etc/hostname.* on FW2
hostname.carp0: inet 62.94.11.54 255.255.255.248 62.94.11.55 vhid 1 
advskew 100 pass foo
hostname.carp1: inet 62.94.11.46 255.255.255.240 62.94.11.47 vhid 2 
advskew 100 pass bar

hostname.pfsync0: up syncif rl0
hostname.rl0: inet 10.0.0.2 255.255.255.0 NONE
hostname.xl0: inet 62.94.11.53 255.255.255.248 NONE
hostname.xl1: inet 62.94.11.34 255.255.255.240 NONE
==

=== dmesg on FW1
OpenBSD 3.7-stable (GENERIC) #0: Tue Jun  7 18:22:34 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 1 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 267935744 (261656K)
avail mem = 237715456 (232144K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(8d) BIOS, date 07/04/02, BIOS32 rev. 0 @ 0xf0c50
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0x14b2
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1400/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:04:0 (VIA VT82C586 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa800 0xcc000/0x800 0xd/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
vga1 at pci1 dev 0 function 0 Nvidia Vanta rev 0x15
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0 VIA VT82C686 ISA rev 0x40
pciide0 at pci0 dev 4 function 1 VIA VT82C571 IDE rev 0x06: ATA100, 
channel 0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: SAMSUNG SV2042H
wd0: 16-sector PIO, LBA, 19465MB, 39865392 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: ASUS, CD-S520/A, 1.4K SCSI0 5/cdrom 
removable

cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 4 function 2 VIA VT83C572 USB rev 0x1a: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 4 function 3 VIA VT83C572 USB rev 0x1a: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viaenv0 at pci0 dev 4 function 4 VIA VT82C686 SMBus rev 0x40: HWM disabled
xl0 at pci0 dev 8 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 5, 
address 00:50:da:8d:fd:36

bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
rl0 at pci0 dev 9 function 0 D-Link Systems 530TX+ rev 0x10: irq 10 
address 00:50:ba:48:f1:c1

rlphy0 at rl0 phy 0: RTL internal phy
xl1 at pci0 dev 10 function 0 3Com 3c905C 100Base-TX rev 0x74: irq 11, 
address 00:04:76:98:d0:a7

bmtphy1 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 6
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using 
wsdisplay0

pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
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
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb45 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 

inetd and netstat with parameters

2005-06-24 Thread Karl-Heinz Wild

I try the following

/etc/services

netstat  /tcp

/etc/inetd

netstat stream  tcp nowait  root/usr/bin/netstat netstat - 
natafinet


$ nc localhost 

but I can get any result.

then i tried starting inetd -d to get some infos
where the problem could be, but no result.

My question is how to get this work or how to
debug.

thanks
regards
Karl-Heinz



Per User Bandwidth Question -- PF.

2005-06-24 Thread Lou Goddard
Greetings,

Is this a good design?  Am I way off track; does a better method exist?

I need to limit upload and download speeds of 1,000 hosts individually.
Each host shall have it's own dedicated queue with an arbitrary  
bandwidth
limit.  The machine performing the traffic shaping shall be a multi  
homed
OpenBSD machine acting as a transparent bridge. NIC A faces the
customer network and NIC B faces internet.  Upload shaping will
be performed on outbound packets on NIC B and download shaping
will be performed on outbound packets on NIC A.  I plan to create one
giant default CBQ and 1,000 queues below it.  Bandwidth borrowing
will be turned off.  The idea is one IP/one queue.

  #define CBQ_MAX_CLASSES 256
  /usr/src/sys/altq/altq_cbq.h

I'll have to boost that number to 2,000 and recompile
the kernel.  Is there anything else I have to change? Has anyone else  
ever done this before?





Please let me know what you think of this plan.  I'm anxious for any  
form of input.

A rough example ( don't hang me if it's wrong; I didn't check the  
syntax or attempt this yet )
altq on $NICA cbq bandwidth 100Mb queue { stda, qa10.1.1.1,  
qa10.1.1.2, qa10.1.1.3...etc }
queue stda bandwidth 100Mb cbq(default)
queue qa10.1.1.1 bandwidth $value
queue qa10.1.1.2 bandwidth $value
etc...
altq on $NICB cbq bandwidth 100Mb queue { stdb, qb10.1.1.1,  
qb10.1.1.2, qb10.1.1.3...etc }
queue stdb bandwidth 100Mb cbq(default)
queue qb10.1.1.1 bandwidth $value
queue qb10.1.1.2 bandwidth $value
etc...

pass out on $NICA inet proto ip from any to 10.1.1.1 queue qa10.1.1.1
pass out on $NICB inet proto ip from 10.1.1.1 to any queue qb10.1.1.1

Thank you in advance,
Lou Goddard



package installation fatal error

2005-06-24 Thread Qv6
Folks:

Brand new to openbsd.

Just installed obsd without any of the X sets, game*, or bsd.mp 
installed, on an intel pc. Every seems to be on the up and up except 
that installing packges gives a fatal error, and there is nothing in 
the log files to tell me anything about this particular error. 

Note: 
The network is up and running and I can surf with lynx
Shell is sh. I also received this error using csh
I can ftp to ftp.openbsd.org

Here are the steps I took:

#PKG_PATH=ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/
#export PKG_PATH
#
#pkg_add snort-2.1.2.tgz
Can't find snort-2.1.2.tgz
/usr/bin/pkg_add: snort-2.1.2.tgz:Fatal error

I get this error using pkg_add as above or by prepending $PKG_PATH to 
the package name:

#pkg_add ${PKG_PATH}snort-2.1.2.tgz

OR

#pkg_add 
ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/snort-2.1.2.tgz

What could be the issue here.

TIA



Re: package installation fatal error

2005-06-24 Thread Qv6
On Friday 24 June 2005 09:23 am, Qv6 wrote:
 Folks:

 

 Here are the steps I took:

 #PKG_PATH=ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/
 #export PKG_PATH
 #
 

Never mind folks.

I found out the cause: PKG_PATH was not properly defined.

here is the original PKG_PATH definition:

PKG_PATH=ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/

and here is the corrected version 

PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/

My bad!



Crypto SO Keys

2005-06-24 Thread Roy Morris

I have read through the mail archives but
I didn't really find a good answer to the
question. Hopefully it's not just my inability
to read!

I would like to have a 'security officer' type
key, that is required at start up for encryption.
I know crypto cards I have used in the past provided
this functionality through the use of an api but I
can't seem to find the same items for 3.7, any
pointers in the right direction would be great.

It seems to me I could just ask the app to look
for a usb key when it starts, but I'd like to
hear comments.


cheers
Roy Morris



Re: package installation fatal error

2005-06-24 Thread Dimitri Georganas

Qv6 wrote:


Folks:

Brand new to openbsd.

Just installed obsd without any of the X sets, game*, or bsd.mp 
installed, on an intel pc. Every seems to be on the up and up except 
that installing packges gives a fatal error, and there is nothing in 
the log files to tell me anything about this particular error. 

Note: 
The network is up and running and I can surf with lynx

Shell is sh. I also received this error using csh
I can ftp to ftp.openbsd.org

Here are the steps I took:

#PKG_PATH=ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/
 


s/OPENBSD/OpenBSD and lose the trailing slash


#export PKG_PATH
#
#pkg_add snort-2.1.2.tgz
Can't find snort-2.1.2.tgz
/usr/bin/pkg_add: snort-2.1.2.tgz:Fatal error

I get this error using pkg_add as above or by prepending $PKG_PATH to 
the package name:


#pkg_add ${PKG_PATH}snort-2.1.2.tgz

OR

#pkg_add 
ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/snort-2.1.2.tgz


What could be the issue here.

TIA




Re: package installation fatal error

2005-06-24 Thread Qv6
Thanks all!

 s/OPENBSD/OpenBSD/



Re: package installation fatal error

2005-06-24 Thread Mr.Slippery
Qv6 ([EMAIL PROTECTED]) dixit:
 Folks:
 
 Brand new to openbsd.
Brand new to *nix too?

 #PKG_PATH=ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/
(...)
 ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/snort-2.1.2.tgz
The issue is that OpenBSD is not the same as OPENBSD. 
-- 
|--|
|  Florin (Slippery) Iamandi



Re: External, USB hard drives

2005-06-24 Thread Jon Drews
On 6/23/05, Steven Bowers [EMAIL PROTECTED] wrote:
 I'd like to attach an external USB hard drive to my 3.7 machine so
 that I can back various files on a scheduled basis. Not having used a
 USB drive before thought I would ask here about them first. 

 I am using a Seagate 80 GB USB 2.0 hard drive and it works fine. I am
running OpenBSD 3.6.

-- 
Kind regards,
Jonathan



Re: perl -MCPAN checksum mismatch on anything

2005-06-24 Thread Uwe Dippel
On Fri, 24 Jun 2005 20:03:31 -0500, J.D. Bronson wrote:

 I too have this same problem.
 
 Fresh install...no custom anything...just trying to add modules to 
 perl, and anything tried fails 100% no matter which source I use 
 (even perl.org).
 
 Whats going on? - anyone have any further insight on this?

Promise and curse of the base install. I wished I simply could wipe perl
and install it from scratch; but since it does belong to the base, I
wouldn't know how.
I have of course removed the .perl stuff, but that's not everything. Some
config is written in /usr/libdata respectively /usr/local at your initial
call of cpan, respectively the o conf init.

Uwe