Broadcom BCM5805 crypto accelerator

2014-03-07 Thread Andy Hayward
Cleaning out my firewall box (Atom 330 based) before upgrading, and I
noticed it had a BCM5805 crypto accelerator card installed. Is there any
reason to keep this these days (even an an entropy source for random(4)),
or should I just recycle it as a door stop?

Thanks.



Re: Group access issue

2014-01-07 Thread Andy Hayward
Not OpenBSD related, but this can be achieved with standard Unix
permissions. From memory you'll need something like:

Two groups, one for read-only (R), the other for write access (W). Anyone
in the latter group should also be in the former. Then create the following
directory structure:

foo (group = R, owner = nobody, permissions = 0050)
foo/bar (group = W, owner = nobody, permissions =  2075)

The directory foo/ acts as a gate, only members of R can see below. The
foo/bar directory holds your files, readable by anyone (except this is
restricted to the group R by foo/), writable by members of W. The setgid
bit ensures new files are writable by other members of W.



On 7 January 2014 13:57, Jon S jonsjost...@gmail.com wrote:

 Hi!

 I have a situation where I would like to assign one group of people rights
 to read a file and a different group of people the right to read and write
 the same file (there are actually many files).

 A different way to describe it would be: I would like a file to belong to
 two groups, one with RW-permissions and one with R--permissions.

 The files are accessed using ssh.


 I run OpenBSD 4.9. Installing new software and/or upgrading to latest
 OpenBSD would be acceptable partial solutions.

 Any hints or ideas on how I can accomplish this?

 --
 
 Jon Sjöstedt

 jonsjost...@hotmail.com



Re: Small USB wifi adapter

2012-04-23 Thread Andy Hayward
On 23 April 2012 12:35, Laurence Rochfort laurence.rochf...@gmail.com
wrote:
 Hello,

 My laptop's integrated wifi adapter is not supported by OpenBSD.

 Can anybody suggest a USB adapter that doesn't stick out of the port very
 far?

 Ideally I'd like one that protrudes less than a centimeter. B There are
 several on amazon but technical details are scarce.

Edimax EW-7811Un
http://www.edimax.com/en/produce_detail.php?pd_id=347pl1_id=1pl2_id=44
http://wikidevi.com/wiki/Edimax_EW-7811Un



Re: Opteron 250 Overheating

2010-03-02 Thread Andy Hayward
On Tue, Mar 2, 2010 at 15:53, Jeff Ross jr...@openvistas.net wrote:
 Opterons are new to me. B Have I already damaged the CPU? B I can get an
 couple of active CPU heatsinks to replace the passive ones but if that chip
 is already damaged I'd rather lose some more time and return the
motherboard
 while I still can.

Very unlikely to have damaged the CPU; Opterons (and almost all modern
CPUs) have thermal protection circuity to prevent this.

-- ach



Re: Comparing large amounts of files

2009-12-12 Thread Andy Hayward
On Fri, Dec 11, 2009 at 23:24, STeve Andre' and...@msu.edu wrote:
 B  I am wondering if there is a port or otherwise available
 code which is good at comparing large numbers of files in
 an arbitrary number of directories? B I always try avoid
 wheel re-creation when possible. B I'm trying to help some-
 one with large piles of data, most of which is identical
 across N directories. B Most. B Its the 'across dirs' part
 that involves the effort, hence my avoidance of thinking
 on it if I can help it. ;-)

sysutils/fdupes

-- ach



Re: chown

2009-06-04 Thread Andy Hayward
On Thu, Jun 4, 2009 at 08:52, Steve fivering...@yahoo.com.au wrote:
 I am trying to use chown -R to selectively change permissions on files.

 A series of files are contained in many folders under the root data folder. No
 files are stored in the data folder itself.

 Running

 chown -R user:group /data/*.dat

 run
 from /data generates an error indicating no files match. If I move a
 .dat
 file into /data the ownership changes in that folder but not those
 below.

 chown -R user:group /data/*

 works as expected

 Is there a way to selectively change files recursively ?

Use find to select the files and pipe the output to xargs:

  find . -name ... -print0 | xargs -0 -- chown ...

-- ach



Re: Can one dd to /dev/rwd0c?

2008-09-23 Thread Andy Hayward
2008/9/21 Sunnz [EMAIL PROTECTED]:
 This is running off a OpenBSD 4.3 CD, there are no intention to
 actually destroy the hard disk in any way, just erasing the data off
 the hard disk so that it can be reused, re-sold, whatever. The data
 are not some military top secret, but it is interesting to know of
 what can be done in a home/small office environment when it comes to
 erasing the hard drive.

When wiping drives for resale I tend to use 'badblocks -s -v -w' from
a Knoppix cdrom. This is available under OpenBSD, (from ports,
e2fsprogs), but not from the install CD.

Alternatively, for modern drives, 'man atactl' and look at the secerase command.

-- ach



Re: 3.4-release random freeze

2008-07-31 Thread Andy Hayward
2008/8/1 Paul M [EMAIL PROTECTED]:
 Hi all

 I'm attempting to install 4.3-release on an old compac but I'm getting
 random freezes shortly after boot. The most it has stayed up is about
 1/2 hour, usually it'll die within a few minutes, sometimes it'll die
 during boot - once it even failed during the install process. The only
 way to recover is to kill the power.

 I'm at a loss, there is nothing in the logs, no messages, I've
 memtested the ram, swapped out the ram, surface scanned the disk,
 swapped out the disk, swapped out the nic, run without a nic, disabled
 acpi ... I cant think of anything else to try.

Try a different PSU.

-- ach



Re: Zsh ctrl+a / ctrl+e

2008-01-29 Thread Andy Hayward
On 29/01/2008, Edd Barrett [EMAIL PROTECTED] wrote:
 Hi there,

 I use zsh on my OpenBSD boxes.

 About a week ago ctrl+a and ctrl+e stopped working in zsh. These
 combos should skip to the begin and end of the line. These functions
 seem to work in zsh on our solaris boxes.

 I have just been chatting to another user who uses zsh and he has the
 same problem.

 Has it become broken?

Have you changed the default environment for users?

zsh uses the value of variables like EDITOR to determine which
key-mappings to default to.

-- ach



Re: Seg fault by cc1 on AMD-K6-2

2007-12-09 Thread Andy Hayward
On 09/12/2007, Mats Erik Andersson [EMAIL PROTECTED] wrote:
 First, I have OpenBSD 4.2 running on this machine using
 AMD-K6-2/350 on an AT-mainboard with VIA chipset VT82C598
 and VT82C586B. (Well, both AT and ATX in fact.) I have not
 detected any trouble until I patched libssl according to
 the official suggestion, but already when performing
 make depend, the execution aborts prematurely and reports
 a segmentation fault in cc1 that gnu.org ought to know about.
 The very same thing happened three times with reboots
 inbetween and even rearranged SDRAM just in case.

Segmentation faults during compilation is often a symptom of faulty memory.

(Old faq on this issue available at http://www.bitwizard.nl/sig11/)

Grab a copy of memtest86+, and test the memory throughly.

:)

-- ach



Re: OT: mail retrieval software

2007-07-31 Thread Andy Hayward
On 31/07/07, poncenby [EMAIL PROTECTED] wrote:
 Grateful if anyone could recommend a mail retrieval program which does
 not require a local SMTP service like fetchmail does.

Try 'getmail'.

-- ach



Re: OBSD 4.1 drops to ddb with cdd0: error 22 on component 0 (and 1 (mirror))

2007-06-16 Thread Andy Hayward

On 6/14/07, Marius Hooge [EMAIL PROTECTED] wrote:

I issued trace and ps and... don't have a clue what to do now.
I considered overheating of my CDD-Mirror, but smartctl reports
below 40 degrees C.


Have you considered PSU or other hardware failure?

-- ach



Re: via systems?

2007-05-11 Thread Andy Hayward

On 5/11/07, Todd T. Fries [EMAIL PROTECTED] wrote:

I'm looking and probably just blind but haven't found any complete systems
using the via c7 esther chipset.  Specifically I'm looking for rsa
accelleration.


Via EPIA EN15000?

-- ach



Re: Loading a Second Kernel

2007-04-23 Thread Andy Hayward

On 4/17/07, Jon Steel [EMAIL PROTECTED] wrote:

Im trying to find a way to do a sort of very soft reboot. For example I
want to boot up the computer into a kernel on one drive, and then after
saying reboot, the computer loads up a kernel from a second drive.


This sounds very similar to the Linux kexec api. Whether it actually
is, and whether this can be ported to OpenBSD is left as an exercise.
:)

http://www-128.ibm.com/developerworks/linux/library/l-kexec.html

-- ach



Re: Back again with funny network interfaces

2007-04-20 Thread Andy Hayward

On 4/20/07, Manuel Ravasio [EMAIL PROTECTED] wrote:

I have something that looks like a couple of pcmcia cards, which fit into two
pcmcia slots... I don't have a tester at home, so I can't check voltages.


PCMCIA and CardBus cards are physically (very slightly) different:

http://www.pcmcia.org/faq.htm#cardbuscard
http://en.wikipedia.org/wiki/Cardbus#CardBus

-- ach



Re: Finding a ral(4) cardbus card

2007-04-14 Thread Andy Hayward

On 4/13/07, Luke Eckley [EMAIL PROTECTED] wrote:

I am having a hard time finding a ral(4) cardbus card for my laptop. I
recently bought a Hawking Tech HWC54G - which happens to be acx(4) -
thinking I was buying a Hawking Tech HWC54GR (which is listed as
supported by ral(4)).


Try the Edimax EW-7108PCg (Ralink Rt2500 chipset).

Scan (www.scan.co.uk) and Newegg are selling them.

-- ach



Re: interface order with multiple cards of same type

2007-03-26 Thread Andy Hayward

My question is.  I have OBSD 4.0 running on an Asus p3b-F with 6 pci
slots that i'm wanting to use as a router/firewall.  I have 5 fxp
interfaces in the machine inserted starting from the bottom pci slot
up.


I have a very similar setup here at home - however I deliberately used
a different make/model of card for the external interface than the
internal interfaces so that I could  distinguish them:

external: xl0
internal: rl0, rl1, rl2
wireless: ral0

PCI cards are detected in the order they appear in the bus, which has
absolutely no relationship to their physical positions.

-- ach



Re: Install question: FreeBSD installed, no CD drive

2007-01-17 Thread Andy Hayward

On 1/17/07, Mark Bucciarelli [EMAIL PROTECTED] wrote:

I have a laptop with FreeBSD and no CD drive.  I'd like to
convert to OpenBSD.  I have the 4.0 CD.

What is the easiest path (other than buying a CD drive ;)?


dd if=floppy40.fs of=/dev/wd0c

sync; sync; sync

-- ach



Re: Where to buy SysKonnect NICs in the UK ?

2007-01-02 Thread Andy Hayward

On 1/2/07, Gordon Ross [EMAIL PROTECTED] wrote:

I'm looking for some NICs for some OBSD firewalls. After scanning the
archives (and lurking on the list) SysKonnect appear to be a well
regarded and supported brand of NIC in the OpenBSD arena. But I can't
seem to find any resellers in the UK.

Does anyone know of any suppliers in the UK for these cards ?


http://www.pcwb.com/catalogue/item/BELNIC10

-- ach



Re: Home networking for an amateur

2006-12-15 Thread Andy Hayward

Erik,


From dhcp.conf:


subnet 192.168.0.0 netmask 255.255.255.0

subnet 192.168.1.0 netmask 255.255.255.0

Wouldn't netmask 255.255.0.0 work better?

-- ach



Re: Moving a 100GB directory tree with lots of hardlinks

2006-12-15 Thread Andy Hayward

On 12/15/06, Andreas Maus [EMAIL PROTECTED] wrote:

Just a wild guess ...
Do you tried rsync?
(Although I don't know how rsync deals with _hard_ links).


rsync --archive --hard-links ...

-- ach



Re: % stdout?

2006-11-09 Thread Andy Hayward

On 11/9/06, Cassio B. Caporal [EMAIL PROTECTED] wrote:

I have problems to print '%' in stdout... Suppose code below:


Use:

   fprintf(stdout, %s, foo);

This is mentioned in the man page for fprintf.

-- ach



Re: tar question

2006-10-17 Thread Andy Hayward

On 10/17/06, Didier Wiroth [EMAIL PROTECTED] wrote:

Hello,

How can I exclude files or directories when using tar?

I found that gnu tar uses --exclude, but
how can I do this in openbsd?!


Use find (/usr/bin/find) to select the files you require, and pipe the
output to tar.

-- ach



Re: [/tmp partition secure]

2006-08-31 Thread Andy Hayward

On 8/31/06, Joachim Schipper [EMAIL PROTECTED] wrote:

I don't know what secure mode means, but a ramdisk (mount_mfs(8)) would
be difficult to get data from, and pretty quick; an encrypted vnd
interface (see vnconfig(8)) would also be pretty secure. Once you turn
off the computer, of course...


No an issue, since /tmp is usually cleared on reboot anyway. See
/etc/rc for details.

-- ach



/tmp partition secure

2006-08-31 Thread Andy Hayward

On 8/31/06, Alexander Hall [EMAIL PROTECTED] wrote:

Andy Hayward wrote:
 On 8/31/06, Joachim Schipper [EMAIL PROTECTED] wrote:
 I don't know what secure mode means, but a ramdisk (mount_mfs(8)) would
 be difficult to get data from, and pretty quick; an encrypted vnd
 interface (see vnconfig(8)) would also be pretty secure. Once you turn
 off the computer, of course...

 No an issue, since /tmp is usually cleared on reboot anyway. See
 /etc/rc for details.

Well, then just boot single-user mode and you're toast (unless using one
of the proposed solutions).


No. I meant that losing the data in /tmp after a reboot shouldn't be
considered a problem with this method (using mfs), since you would
normally lose the data in /tmp anyway.

-- ach



Re: syncing data between workstations and laptop

2006-08-29 Thread Andy Hayward

On 8/29/06, Steffen Wendzel [EMAIL PROTECTED] wrote:

I currently own 3 home directories. one on each of my workstations and one
on my laptop but I want to have the same data in all 3 folders.


Look for rsync and/or unison.

-- ach



Re: Two file eadem on the same directory

2006-07-16 Thread Andy Hayward

On 7/16/06, Gustavo Rios [EMAIL PROTECTED] wrote:

He folks,

i am facing this scenario i could never imagine to be possible (I am
serious, ok). Look the entry for file q.
Does anybody here have an ideia about what is going on?


[EMAIL PROTECTED]:/tmp$ touch q
[EMAIL PROTECTED]:/tmp$ touch q 
[EMAIL PROTECTED]:/tmp$ ls -l
total 4
-rw-r--r--  1 ach  wheel0 Jul 16 21:24 q
-rw-r--r--  1 ach  wheel0 Jul 16 21:25 q

-- ach

This message may contain mild peril.



Re: Wireless Bridge...

2006-07-04 Thread Andy Hayward

On 7/4/06, Thomas BC6rnert [EMAIL PROTECTED] wrote:

bridging doesn't work with wireless lan.


Yes it does. However the wireless adapter needs to be in hostap mode.

-- ach



Re: Ntop, Nw. Board Mfg, and CARP

2006-06-24 Thread Andy Hayward

I'm playing w/ ntop, and pressing 'n' repeatedly changes the display
format of the host. One selection is network board manufacturer, based
on MAC allocation I'm guessing. My CARP interface says the mfg is U.S.
Department of Defense.

Is this normal?


Possibly. You should be able to check for yourself:

http://standards.ieee.org/regauth/oui/index.shtml

-- ach



Re: NFS Slow writes

2006-06-16 Thread Andy Hayward

On 6/15/06, Bob Bostwick (Lists) [EMAIL PROTECTED] wrote:

I'm trying to setup an NFS share, and am getting horrible write
performance.  Reads are fast as can be expected.  I've searched the
archives and found several threads on the subject, but no resolutions.
I've tried all possible fstab options (that I know of) but none really
help with write.  I'm currently using

ip.addr:/nfs /test/dir nfs rw,nodev,nosuid,tcp,intr,-r=32768,-w=32768 0 0


I've found (after various tests) with with an OpenBSD (3.8) server and
Linux client, that I get the best performance with:

 rw,noauto,soft,tcp,rsize=2048,wsize=2048

This gives out 8MB/s for both read and write with my hardware.

YMMV, but one thing I did notice is that large rsize/wsize didn't
necessarily translate to better performance.

-- ach



Re: Wireless card use

2006-06-08 Thread Andy Hayward

On 6/7/06, Gaby vanhegan [EMAIL PROTECTED] wrote:

The reviews seem to rate them, it's listed as supported hardware and
it's less than #30.  Any reason I shouldn't get one of these to go
with a 3.9 box?


Edimax EW-7128G

http://www.scan.co.uk/Products/ProductInfo.asp?WebProductID=152539

-- ach



Re: No-name NICs

2006-06-06 Thread Andy Hayward

On 6/6/06, Lars Hansson [EMAIL PROTECTED] wrote:

On Tuesday 06 June 2006 17:42, Martin Schrvder wrote:
 Hi,
 how likely is a no-name 100MBit NIC to just work with 3.9 stable?


Very, in my experience, They almost always use a Realtek 8139 chipset - rl(4).

-- ach



Re: USB -- Ethernet NIC

2006-05-23 Thread Andy Hayward

On 5/23/06, Michael Lechtermann [EMAIL PROTECTED] wrote:

since I still got trouble (first slow than stops working) with 2 D-Link
DUB E-100 devices using axe I wonder if anyone of you is using any other
USB-Ethernet NICs that work and are getting full 100MBit speed with
USB2.0?


Netgear FA120, under OpenBSD 3.7 and later.

 http://www.netgear.com/products/details/FA120.php

I'll post a dmesg later tonight.

-- ach



Re: b/g wifi card on wi list?

2006-05-18 Thread Andy Hayward

On 5/18/06, Peter Bako [EMAIL PROTECTED] wrote:

I was looking through the list of wireless PCMCIA cards known to be
supported from the man page for wi(4), but it appears that all of those are
just 802.11b cards.  I'd prefer to get one that also supports g mode
Any recommendations?


Edimax EW-7108PCg (based on the Ralink RT2500 reference design).

(or did you really mean PCMCIA instead of Cardbus?)

-- ach



Edimax EN-9230TX-32

2006-05-17 Thread Andy Hayward

Has anyone had any experiences with the Edimax EN-9230TX-32 gigabit
network adapter?
According to the technical documents at:

 http://www.edimax.com.tw/download/datasheet/EN-9230TX-32.pdf

It uses a Realtek 8169S chipset which is supported by the re(4) driver, however
this card isn't mentioned on either the manual page or the OpenBSD i386 hardware
page.

If there are no negative comments I'll probably buy one (they're only
10 GBP or so)
and report back.

-- ach



Re: PCIe graphic card with dual dvi output, anyone?

2006-05-05 Thread Andy Hayward

On 5/4/06, Didier Wiroth [EMAIL PROTECTED] wrote:

I was wondering if someone uses a PCIe graphic card with dual dvi output
under x11 on Openbsd 3.9 or current?


I'm currently using an ATI FireMV 2200 card (dual DVI) PCI card, but
PCIe versions are also available.

 http://www.ati.com/products/firemvseries/specs.html

-- ach



Re: RAIDframe question

2006-02-01 Thread Andy Hayward
On 2/1/06, Peter Fraser [EMAIL PROTECTED] wrote:
 But why was there a crash, I would of thought
 that the system should run after a disk failure.
 And even more to my surprise, about two days
 of my work disappeared.

 I believe, the disk drive died about 2 days before
 the crash. I also believe that RAIDframe did
 not handle the disk drive's failure correctly
 and as a result all file writes to the failed
 drive queued up in memory, when memory ran
 out the system crashed.

What mount options are/were you using?

-- ach



Re: RAIDframe question

2006-02-01 Thread Andy Hayward
On 2/1/06, Greg Oster [EMAIL PROTECTED] wrote:
 Peter Fraser writes:
  and as a result all file writes to the failed
  drive queued up in memory,

 I've never seen that behaviour...  I find it hard to believe that
 you'd be able to queue up 2 days worth of writes without a) any reads
 being done or b) not noticing that the filesystem was completely
 unresponsive when a write of associated meta-data never returned...
 (on the first write of meta-data that didn't return, pretty much all
 IO to that filesystem should grind to a halt.  Sorry.. I'm not buying
 the it queued up things for two days... )

I've seem similar on a machine with a filesystem on a raid-1 partition
and mounted with softdeps enabled. From what I remember the scenario
was something like:

* copied 10Gb or so of data to new raid-1 filesystem
* system then left idle for 30mins or so
* being an idiot, pulled the wrong plug out of the wall
* upon reboot, and after raid resync and fsck, most of the copied data
was no longer there

-- ach



Re: APIC

2006-01-03 Thread Andy Hayward
On 1/3/06, martin [EMAIL PROTECTED] wrote:
 Besides doing a dmesg | grep irq, is there another way at seeing the
 assigned interrupts.

# vmstat -i

-- ach



Re: Can install 3.8, but not boot 3.8 (3.7- worked fine)

2005-11-17 Thread Andy Hayward
On 11/17/05, Nick Holland [EMAIL PROTECTED] wrote:
 Gordon Ross wrote:
  We've got several VIA based micro ATX systems here. We've been using
  OpenBSD on them for years now, and never had any problems.
 
  Today, I installed 3.8 (from the official CDs) and this went fine. I
  then rebooted the system off of the HD, and the boot started, but
  stopped at sysbeep0 at pcppi0
 
  I repeated the install on an identical box and got exactly the same
  problem.
 
  Below is a dmesg from one of these machines running 3.7
 
  Suggestions as to where I should go from here ?

 This pretty much means that there is something in the GENERIC kernel
 that is NOT in the install kernel that is causing problems on this
 machine.  If you can find this device and disable it through ukc, you
 should be in business.

 totally wild guess: try disabling ahc.

another totally wild guess: try disabling auvia.

-- ach



Ralink 802.11g PCI wireless cards

2005-11-03 Thread Andy Hayward
In case anyone from .uk is interested, www.scan.co.uk are currently
selling a couple of Ralink RT2560 based 802.11g wireless cards
(supported under OpenBSD by ral(4)):

  Edimax EW-7128G 54Mbps Wireless PCI Card
  (http://www.scan.co.uk/Products/ProductInfo.asp?WebProductID=152539)

  Gigabyte GN WPKG - Wireless PCI Card Ralink 64/128Web Roaming
  (http://www.scan.co.uk/Products/ProductInfo.asp?WebProductID=219714)

The Edimax card is slightly cheaper and has a remote antenna with
about a metre of lead, but otherwise they're identical. :)

ach
--
This message may contain mild peril.



Re: IDE disk problems

2005-10-04 Thread Andy Hayward
On 10/4/05, Nick Holland [EMAIL PROTECTED] wrote:

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


While we're on the subject of IDE cables:

* for the modern 80way cables the length limit is 45cm (18 inches)
* avoid the 'round' cables
* a single drive on a channel should be on the end connector, not the middle
connector

(guess who spent 3 days last month tracking down a problem related to a bad
cable)

-- ach



Re: argus calloc failure on 3.7

2005-08-27 Thread Andy Hayward
On 8/27/05, Russell Fulton [EMAIL PROTECTED] wrote:
 I am having problems running argus www.qosient.com on 3.7.  The server runs
 for a variable amount of time (ususlly 1 - 2 hours) and then dies when a 
 calloc for
 128 bytes fails.  We are fairly sure that this is not because of real memory 
 exhustion
 (watching with top does not show any obvious leakying behaviour) so that 
 points to
 possible bad frees or some other issue.  Argus runs happily on other BSDs 
 (and other
 flavous of UNIX/Linux) and people have used it on older OBSD versions.

What user is argus running as? Have you hit a ulimit?

-- ach



Re: backup filesystem

2005-08-19 Thread Andy Hayward
On 8/18/05, Edd Barrett [EMAIL PROTECTED] wrote:
 I shall be transporting a hard disk between two sites for backup
 purposes. The backup shall be on a RAID-1 mirror in an openbsd server.
 The disk will primarily be used in a sun workstation running solaris.

As others have pointed out, use a tarball on a vfat filesystem. You might want
to doublecheck the capabilities of the various tar utilties, and
perhaps use gtar
(GNU Tar) on both ends.

Otherwise, OpenBSD has r/w support for ext2, and I believe there's a module
for Solaris to support ext2.

Third alternative would be to use a small NAS device or PC
(miniitx/laptop) instead
of a vanilla harddrive and use a network filesystem to r/w the backup.

-- ach



Re: GMT / BST Question

2005-08-17 Thread Andy Hayward
 i've noticed my obsd box hasn't altered it's time (BST).  I'm linked using:
 
 ln -fs /usr/share/zoneinfo/GMT /etc/localtime

Try /usr/share/zoneinfo/GB instead.

-- ach



Re: The Care and Feeding of OpenBSD

2005-08-16 Thread Andy Hayward
On 8/16/05, Will H. Backman [EMAIL PROTECTED] wrote:
 I'm looking for comments on the care and feeding of OpenBSD servers.
 Essentially and best practices document for maintaining OpenBSD
 production servers.  Yes, best is a stupid way to describe anything,
 but I'm hoping that there is some consensus in the community.

0. Whenever you make a change to the system, write it what you did, and *why*.

:)

-- ach



Re: Via EPIA - Std. ATX Case - Doe sit match?

2005-08-11 Thread Andy Hayward
Sebastian,

On 8/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I've just a little question to those who've already a VIA Epia Board.
 THe MINI-ITX-Factor looks very small so I asked myself if I would be able
 to include the board in anormal ATX-Case. Because I need the PCI-Slot
 (Wlan-GW) I wont buy such a board without being sure that I can put it in
 the case.

www.via.com.tw/en/downloads/whitepapers/initiatives/spearhead/ini_mini-itx.pdf

Yes, in particular the relationship between the backplane and the pci
slot is the same. However you will need to check that your case has
the correct holes for the motherboard standoffs. You should be able to
pull the layout of those from the photos in the above document.

It may be worth looking at a dedicated mini-itx case instead. Possible
suppliers:
  www.itx-warehouse.co.uk
  www.mini-itx.com
  www.linitx.co.uk

-- ach



Re: setting DST

2005-08-10 Thread Andy Hayward

Chris wrote:


I use GMT for the system clock for all my openbsd boxes.
I searched to find how I can ajust DST without changing
to London time for example and I didnt found any answer.

date -d dst?

I m very confused or very stupid 
I just want a way to keep GMT but to

have the time automaticly displayed corect every sommer
in GMT
 


# man date
snip
TZ  The timezone to use when displaying dates.  See environ(7) for
more information.  If this variable is not set, the timezone is
determined based on /etc/localtime, which the administrator ad-
justs using the -l option of zic(8).
snip
# zic -l GB

Which I believe is what you're asking for. But I could be wrong.

:)

-- ach



Re: lowering the securelevel?

2005-08-09 Thread Andy Hayward
On 8/10/05, Matt Garman [EMAIL PROTECTED] wrote:
 On Tue, Aug 09, 2005 at 04:00:24PM -0700, Reid Nichol wrote:
  In rc.securelevel there is:
  securelevel=1
  man securelevel

http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/xmbmon/README-OpenBSD_chips.html

:)

-- ach



Re: sniffer

2005-07-19 Thread Andy Hayward
On 7/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi
 
   I need to sniff a network segment and I need to sniff both headers and
 data. Because tcpdump captures only headers its unsuitable for the task.
 I saw that ports has ettercap and sniffit but I didn' get around to
 testing them to see if they will do the job I need. Can anyone recommend
 other tools that will do the work?

tcpdump -s 65535

This patch might also be useful:

  http://www.tcpdump.org/lists/workers/2000/msg00441.html

:)

-- ach



Re: 4port Realtek nic

2005-07-01 Thread Andy Hayward
 More evidence - the description claims it uses the RTL8139D and RTL8305SB
 chipsets. The RTL8139D chipset is obviously the NIC, the RTL8305B chipset is
 a five port switch:
 
 http://www.realtek.com.tw/products/products1-2.aspx?modelid=18

In the end my couriousity won and I acquired one of these. Works out of the box,
appears as a single NIC to OpenBSD:

  rl0 at pci0 dev 10 function 0 Realtek 8139 rev 0x10: irq 10
address 00:e0:4c:09:1f:50
  rlphy0 at rl0 phy 0: RTL internal phy

-- ach



Re: SCSI and disk geometry

2005-06-30 Thread Andy Hayward
 At this point...I'm suspicious you found a nasty bug in the SCSI driver
 for that card, but a (set??) of really bad cables might explain it, too.
 Yes, I have seen piles of parts were every single one was bad in a similar
 way...  Could also be a very bad jumper option on the drives, too.

Check (and double check) the cables, jumpers, scsi ids and termination.

  sd0 at scsibus1 targ 0 lun 0: LSILOGIC, 1030 IM, 1000 SCSI2 0/direct fixed
  sd0: 34715MB, 34715 cyl, 16 head, 128 sec, 512 bytes/sec, 71096320 sec total

Can the target id of the adaptor be modified?

(Bringing in a fresh suppy of goats may also help).

-- ach



Re: 4port Realtek nic

2005-06-16 Thread Andy Hayward
On 6/16/05, Nick Holland [EMAIL PROTECTED] wrote:
 I have a couple similarly marketed, similarly described cards (although,
 with a cheap dc(4) chip), and while they are VERY useful, they are not
 four-port NICs.  What it actually is is a single port NIC with a four
 port switch.  I'm fairly sure this is the exact same thing.  Evidence:
 the picture seems to show two moderately small chips, most quad-port
 NICs have five chips -- four NICs and a PCI-PCI bridge.  COULD it be a
 PCI-PCI bridge and a quad-port NIC chip?  Perhaps, but I'm not aware of
 anyone putting four NICs on one chip.

More evidence - the description claims it uses the RTL8139D and RTL8305SB
chipsets. The RTL8139D chipset is obviously the NIC, the RTL8305B chipset is
a five port switch:

http://www.realtek.com.tw/products/products1-2.aspx?modelid=18

-- ach



Re: howto clean disks ?

2005-06-02 Thread Andy Hayward

Ed White wrote:


Hi,

I'm going to give away some old hard disks and I'm planning to 
delete/overwrite all the data on them. Is there any tool to make this 
automagically ?
 


badblocks -s -v -w device

I usually keep a Knoppix CD around for this purpose, but its also 
available in the e2fsprogs port.


-- ach