Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Craig Skinner

Douglas A. Tutty wrote:

Basically, your problem is that you need a smarter bootloader.


http://linux.simple.be/tools/sbm (& maybe a usb floppy/pen drive)



Locale

2007-10-11 Thread Toine Boven, van
Hi there,
Is there any chance that OpenBSD gets Locale support?
I've seen some hacks using Linux-compatablity support, but it would be a lot
nicer if it would be available in the standard install.
Is there anybody out there that can fix this?
I would like to have OpenBSD run my little secure webserver, but because of
the lack of Locale support, I can only serve english webpages using a CMS
because of the displaying of dates.
So now I'm forced to use FreeBSD, and I'm not likeing it!
Can someone help?

gr
Toine
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



IPSec Roadwarriors

2007-10-11 Thread me

Hello,
i want to include the functionality of our old Linksys BEFVP41 into  
our new OpenBSD Router.

First step: PSK
One line like
ike passive esp tunnel from any to  main ... quick ... psk 
in ipsec.conf works.
If I put in a second line with another PSK, only the second one works.
How do I put in multiple PSK into ipsec.conf?

Thank you in advance

Arnim



Re: Which remvable drive is connected to which USB port

2007-10-11 Thread Nick Guenther
On 10/11/07, Edwards, David  (JTS) <[EMAIL PROTECTED]> wrote:
> Hi again.
>
> Just a wrap up to this thread.
> -
>
> Disk naming seems to be consistent after you first plug the device in.
>
> So:
> The first disk plugged into a port (say "addr 2") gets sd1 (if your SATA
> disk is sd0)
> The second disk plugged into another port (say "addr 3") gets sd2, etc
>
> If you unplug the first and the second and then plug the second in again
> first (to the same port of course "addr 3" :-) it still seems to get
> sd2.  But I doubt you can rely on this.  Also at boot time, it's unclear
> which disk device will be allocated to which physical port.
>
> I'm not happy with the fact that the script uses dmesg output.  dmesg
> uses a ring buffer and that can fill very quickly (say if you unplug a
> usb disk while something is writing to it) which will break the above
> script totally.  However, currently I don't have the time (or probably
> the expertise) to go through the source to work out a better way to do
> it.

everything in dmesg is also dumped to /var/log/messages.
disk naming *is* consistent in OpenBSD. devices are all named in a
deterministic manner, so that they won't change on you without you
realizing it / adding an extra layer of naming indirection.

What are you actually trying to do here? boot from a USB disk?

-Nick



Need some help on netstat interpretation

2007-10-11 Thread Claude Brassel
Hello all,

I have just a little question about some netstat output ..
If I do :

# netstat -rn -f encap
Routing tables

Encap:
Source Port  DestinationPort  Proto
SA(Address/Proto/Type/Direction)
192.168.0/24   0 192.168.50/24  0 0
zz.zz.zz.zz/esp/use/in
192.168.50/24  0 192.168.0/24   0 0
zz.zz.zz.zz/esp/require/out
172.16/16  0 192.168.50/24  0 0
xx.xx.xx.xx/esp/use/in
192.168.50/24  0 172.16/16  0 0
xx.xx.xx.xx/esp/require/out
192.168.5/24   62465 192.168.50/24  62465 0
yy.yy.yy.yy/esp/use/in
192.168.50/24  62465 192.168.5/24   62465 0
yy.yy.yy.yy/esp/require/out

What is the meaning of the "Port" column ? 

Because I have 3 VPN that are connected to this 4.1 box, 2 of this are
working fine (X and Z) but I have routing trouble with the last VPN
(zz.zz.zz.zz gw) and I don't understand the meaning of the Port =62465

Any body have I great Idea ?

Regard's
-- 
View this message in context: 
http://www.nabble.com/Need-some-help-on-netstat-interpretation-tf4606502.html#a13153514
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
Steve Shockley ha scritto:
> Christopher Bianchi wrote:
>> Thanks for the attention Nick, but 1) i can't boot from pxe ( damn Sharp
>> ) and 2) i wish an elegance solution without pull out the hard disk. 
>> Thanks
>
> What would you do if you had to reload Windows 2000?  I've never seen
> a PC that could only boot from the hard drive.
>
>
The situation is this: this notebook can boot from cdrom and floppy,
yes..but from docking station ! i haven't docking station ! Desperate :-(



Re: When loading a home-made module, linker says : undefined reference to `read'

2007-10-11 Thread João Salvatti
that's what i was looking for!

Thanks.



On 10/10/07, Gilles Chehade <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 10, 2007 at 10:28:22PM -0300, Jo?o Salvatti wrote:
> > Hi all,
> >
> > I wrote a kernel module for my 4.1 OpenBSD kernel. It compiles
> > normally, but when I try to load it, the modload says:
> >
> > : undefined reference to `read'
> >
> > But the read syscall header is declared within my module. Has anyone
> > ever faced this problem before? Could anyone provide me with some tip
> > in order to tackle this issue?
> >
> > Thanks in advance for the time dedicated to this e-mail.
> >
>
> could it be that its sys_read() you are after ?
>
> Gilles
>
> --
> SCHNEIER FACT #40:
>   A vigenere cipher with the Key "BRUCESCHNEIER" is in fact
> unbreakable.
> (source: http://geekz.co.uk/schneierfacts/ )
>


--
Joco Salvatti
Undergraduating in Computer Science
Federal University of Para - UFPA
web: http://www.openbsd-pa.org
e-mail: [EMAIL PROTECTED]



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Craig Skinner

Christopher Bianchi wrote:

The situation is this: this notebook can boot from cdrom and floppy,
yes..but from docking station ! i haven't docking station ! Desperate :-(


Can it boot from a USB floppy?



Server just freeze with no reason

2007-10-11 Thread Dmitry Slobodchikov
Hello all,

My server freezed periodically like a log.
I can't understand why. There are no any special software and non
standard core, only packages from the same release.

Server got router role and many people depend on it.

Just freeze...


Please ask me additional information more than I send now-)





~->>dmesg
OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz ("GenuineIntel" 686-class) 1.87 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16
cpu0: unknown Core FSB_FREQ value 0 (0x41c8)
cpu0: EST: unknown system bus clock
real mem  = 2128408576 (2078524K)
avail mem = 1933398016 (1888084K)
using 4256 buffers containing 106524672 bytes (104028K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/16/06, SMBIOS rev. 2.4 @ 0xe4390 
(35 entries)
bios0: Intel Corporation DG965WH
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 0%
apm0: AC off, battery charge unknown, estimated 0:00 hours
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xee00!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x29a0 rev 0x02
ppb0 at pci0 dev 1 function 0 vendor "Intel", unknown product 0x29a1 rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "Intel", unknown product 0x29a4 (class communications subclass 
miscellaneous, rev 0x02) at pci0 dev 3 function 0 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: irq 9
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
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: irq 10
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x8384 (rev. 2.1), HDA version 1.0
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02
pci3 at ppb2 bus 3
pciide0 at pci3 dev 0 function 0 vendor "Marvell", unknown product 0x6101 rev 
0xb1: DMA (unsupported), channel 0 configured to native-PCI, channel 1 
configured to native-PCI
pciide0: using irq 9 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom 
removable
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ppb3 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x02
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02
pci5 at ppb4 bus 5
ppb5 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02
pci6 at ppb5 bus 6
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: irq 10
usb3 at uhci2: 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
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: irq 11
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: irq 10
usb5 at uhci4: USB revision 1.0
uhub5 at usb5
uhub5: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: irq 10
usb6 at ehci1: USB revision 2.0
uhub6 at usb6
uhub6: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
ppb6 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xf2
pci7 at ppb6 bus 7
em0 at pci7 dev 1 function 0 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 11, 
address 00:04:23:c0:83:f4
em1 at pci7 dev 1 function 1 "Intel PRO/1000MT (82546GB)" rev 0x03: irq 9, 
address 00:04:23:c0:83:f5
"TI TSB43AB22 FireWire" rev 0x00 at pci7 dev 3 function 0 not configured
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x2812 rev 0x02
pciide1 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 11 for 

Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
ropers ha scritto:
> On 10/10/2007, Christopher Bianchi <[EMAIL PROTECTED]> wrote:
>   
>> Nick Guenther ha scritto:
>> 
>>> On 10/10/07, Christopher Bianchi <[EMAIL PROTECTED]> wrote:
>>>
>>>   
 Hello everyone. My situation is this:
 i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
 cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
 from USB.
 So i've thinked to boot the bsd.rd , but how ? The faq explain the
 procedure from an older OpenBSD operating system... i've Windows 2000 on 
 it.

 Is it possible ? and if is possible, in which way ? Where i must put the
 bsd.rd and in which way i can boot from him ?

 I've tried google, but nothing :-(

 Thanks for the attention

 
>>> Can your BIOS boot from the network (PXE)? If you can set up a PXE
>>> server with "pxeboot" as the boot image then you can boot that way.
>>>
>>> Alternatively you can pull out the hard drive, plug it into a
>>> different computer or a USB-to-IDE converter, install there, and then
>>> put it back.
>>>
>>> -Nick
>>>
>>>
>>>   
>> Thanks for the attention Nick, but 1) i can't boot from pxe ( damn Sharp
>> ) and 2) i wish an elegance solution without pull out the hard disk.  Thanks
>> 
>
> DISCLAIMER: I'm talking out my arse here, and I don't know if what
> you're hoping to do is even possible. That said, here are my thoughts
> on the matter:
>
> (1) The only way to hand off control from one operating system to
> another operating system is to make a program run exclusively (not
> preemptively multitasked (
> http://en.wikipedia.org/wiki/Preemption_%28computing%29#Pre-emptive_multitasking
> )) and with full access to the entire computer, including all of the
> memory (ie. outside of memory protection (
> http://en.wikipedia.org/wiki/Memory_protection )).
>
> (a) To use unix terminology, you would need to start the system in
> single user mode ( http://en.wikipedia.org/wiki/Single_user_mode ),
> and then you would need a program that can load the OpenBSD kernel and
> hand off control to it. In some very rare cases, programs like this do
> exist. I remember (unsuccessfully) trying to install NetBSD on an old
> Apple PowerBook 145B many moons ago. Because the firmware (ie. the
> "BIOS") of this Motorola 68K based laptop did not support loading a
> non-Apple OS, the solution there was to load Mac OS 6 or 7.whatever,
> and then run a Mac OS program that would seize control of the entire
> machine and load NetBSD. (This would have worked, except that my
> machine had too little RAM and HDD space.) The old Mac OS was not a
> proper preemtive multitasking OS w/ memory-protection; and writing a
> program to load another OS from it was only possible because of these
> limitations. Windows 2000 however is built on NT (OS/2) technology and
> has memory protection and preemtive multitasking. No a program like
> that old NetBSD boot loader cannot exist for Windows. However, a kind
> of single user mode does exist for Windows 2000, it's called the
> recovery console ( http://support.microsoft.com/kb/229716 ). However,
> the recovery console is sadly not installed by default; you can either
> boot it from the Windows 2000 install CDs (which you say you can't
> boot), or it can be installed by running "winnt32.exe /cmdcons".
> However, if the recovery console isn't already installed, then the
> Windows 2000 installation files probably aren't on your HDD either,
> and you'd then need to run "winnt32.exe /cmdcons" from the Windows
> 2000 install CD (which, again, you say you can't access). Even if you
> have the recovery console installed, I have no clue how to get custom
> programs installed into it. This might be extra hard to do, because,
> to quote Wikipedia: "[The Recovery Console] is independent of the
> (...) operating system." And, to quote Annoyances.org: "The Recovery
> Console looks like DOS, but it isn't DOS." I don't know if even a
> single non-MS program for the recovery console exists. That probably
> means that a BSD loader program that you could run from the recovery
> console is a (big fat opium-) pipe dream at best.
>
> (b) However, Windows OSes have a reputation of being not the most
> secure of operating systems. Hypothetically speaking, if you knew a
> kernel exploit and or virus/trojan that would allow you to insert
> arbitrary code for exclusive execution deep into the windows kernel,
> then you could theoretically use that type of vulnerability to write a
> BSD loader. Your best bet there may be to insert your boot loader
> early in the NT boot process by somehow patching either Ntdetect.com,
> NTLDR, or ntoskrnl.exe. (Cf. http://en.wikipedia.org/wiki/Ntoskrnl.exe
> , http://en.wikipedia.org/wiki/NTLDR , and
> http://en.wikipedia.org/wiki/Ntdetect.com .) This would of course
> quite possibly also wreck your Windows 2000 installation, except if
> the inserted code somehow presented the user a boot m

Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
Craig Skinner ha scritto:
> Christopher Bianchi wrote:
>> The situation is this: this notebook can boot from cdrom and floppy,
>> yes..but from docking station ! i haven't docking station ! Desperate
>> :-(
>
> Can it boot from a USB floppy?
>
>
in the bios there aren't any voices for boot from usb... so i assume
that this notebook can't boot in this way :-(



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Peter N. M. Hansteen
Craig Skinner <[EMAIL PROTECTED]> writes:

> Can it boot from a USB floppy?

That idea isn't quite as crazy as it sounds.  

A little while back I encountered some weirdness with machines I was
testing that came without floppies but the manufacturer for reasons
which never became quite clear decided firmware upgrades were to be
had as floppy images only.  As it turned out, with a USB 3.5" floppy
drive attached, the formerly floppyless systems tried the searching
the floppy drive first for boot code.

Kind of weird, but it could just work. They're not terribly expensive
either. Mine came to something like 45 USD.

When I mentioned this at a conference about six months ago, the first
question I got was, "do they come in five and a quarter inch versions
as well?"  - yes, really.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Peter N. M. Hansteen
Christopher Bianchi <[EMAIL PROTECTED]> writes:

> Mmm i've tried qemu, but i wish install really OpenBSD on it. I've a
> pcmcia but this notebook can't boot from it. 

As Craig pointed out, if the machine has a USB port it's likely it can
boot from USB floppy.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: 4.2 on H8SSL-I2: acpi at mainbus0 not configured

2007-10-11 Thread knitti
Hi,

after some sleep and coffee I am embarrassed to realize I made two mistakes:
- I didn't provide a GENERIC(.MP) dmesg
- I booted off the non-acpi-enabled kernel
Sorry for that. Below you can see two GENERIC.MP dmesgs (i386/amd64)
which clearly show that acpi is enabled and detected. However, one Problem
remains: The interrupt load is very high on GENERIC/amd64 (with and without
MP, with and without acpi) - about 70% of one cpu core on the idle machine.
Different is GENERIC.MP/i386, which has low (normal) interrupt load.

Shall I ditch amd64 and run i386 on the machine, or is there anything I can try?

OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ ("AuthenticAMD"
686-class, 1024KB L2 cache) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
real mem  = 3220729856 (3071MB)
avail mem = 3121356800 (2976MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/01/07, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.4 @ 0xfbcf0 (50 entries)
bios0: vendor American Megatrends Inc. version "080011 " date 03/01/2007
bios0: Supermicro H8SSL-I2
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4d40/176 (9 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0205
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xb000 0xcb000/0x2000!
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP APIC OEMB
acpitimer at acpi0 not configured
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ ("AuthenticAMD"
686-class, 1024KB L2 cache) 3 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (P1P2)
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpibtn at acpi0 not configured
acpibtn at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
ppb0 at pci0 dev 1 function 0 "ServerWorks HT-1000 PCI" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 13 function 0 "ServerWorks HT-1000 PCIX" rev 0xb2
pci2 at ppb1 bus 2
bge0 at pci2 dev 3 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): apic 3 int 8 (irq 9), address 00:30:48:5e:6d:f6
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci2 dev 3 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): apic 3 int 9 (irq 5), address 00:30:48:5e:6d:f7
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
pciide0 at pci1 dev 14 function 0 "ServerWorks HT-1000 SATA" rev 0x00: DMA
pciide0: using apic 2 int 11 (irq 11) for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: port 1: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 1 drive 0: 
wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: port 2: PHY offline
pciide0: port 3: PHY offline
pciide1 at pci1 dev 14 function 1 "ServerWorks HT-1000 SATA" rev 0x00
piixpm0 at pci0 dev 2 function 0 "ServerWorks HT-1000" rev 0x00: polling
iic0 at piixpm0
iic0: addr 0x2f 00=80 05=a8 06=ff 07=a8 08=ff 09=64 0a=64 0b=5e 0c=73
0d=5c 0e=7b 0f=12 10=b0 11=2e 13=ff 14=22 15=6f 16=d0 17=7b 18=d0
19=d0 1a=bf 1b=0f 1c=1f 1d=9c 1e=80 1f=80 20=1d 21=51 22=03 23=0f
25=0f 27=0f 29=0f 2b=0f 3b=ff 3c=ff 3d=ff 3e=ff 3f=ff 40=09 44=40
46=f7 47=ff 48=ff 49=7f 4a=3f 4b=02 4d=7c 50=1e 51=02 52=01 58=80
59=01 5c=03 5e=55 5f=03 60=ca 61=87 62=ca 63=87 64=ff 66=ff 67=ff
68=3f 6a=2b 6b=18 6c=7c 6d=65 6e=e3 6f=b9 70=8a 71=70 72=e5 73=bb
74=e5 75=bb 76=e3 77=b9 78=48 79=43 7a=48 7b=43 7c=48 7d=5f 7e=55
7f=50 80=64 81=5f 82=55 83=50 84=64 85=5f 86=55 87=50 88=46 89=41
8a=55 8b=50 8c=64 8d=5f 8e=55 8f=50 90=07 91=68 92=07 93=68 94=07
95=68 96=07 97=68 98=07 99=68 9a=07 9b=68 9c=07 9d=68 9e=ff 9f=ff
a0=ff a1=ff a2=ff a3=ff a4=ff a5=ff a6=ff a7=ff a8=f5 ae=ff af=ff
b1=04 b2=30 b3=30 b4=30 b5=30 b6=30 b7=30 b8=30 b9=30 ba=30 bb=89
bc=89 bd=89 be=89 bf=89 c0=89 c1=89 c2=89 c3=01 c4=01 c5=7f c6=ff
c9=ff ca=ff cb=ff cc=ff cd=ff ce=ff cf=ff d1=46 d2=46 d3=46 d4=46
d6=f0 d7=ff d8=80 d9=01 da=80 db=01 dc=80 dd=01 de=80 df=01 e0=bb
e1=c0 e2=82 e3=ff e4=80 e5=06 e6=fe e7=12 e8=12 e9=12 ea=c8 eb=60
ec=ff ed=ff ee=ff ef=ff f6=60 f7=80 f8=1b fa=ff fd=10
piixpm0: exec: op 1, addr 0x4b, cmdlen 1, len 1, flags 0x

Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Christopher Bianchi
Peter N. M. Hansteen ha scritto:
> Christopher Bianchi <[EMAIL PROTECTED]> writes:
>
>   
>> Mmm i've tried qemu, but i wish install really OpenBSD on it. I've a
>> pcmcia but this notebook can't boot from it. 
>> 
>
> As Craig pointed out, if the machine has a USB port it's likely it can
> boot from USB floppy.
>
>   
really ?  but in the bios i not see any voices about it...anyway i'll try.



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Gerald Thornberry
How about an external CDROM drive connected to a parallel port?  Micro
Solutions used to make one (called BackPack) that could connect via
USB, PCCard, and Parallel Port.  Once you loaded the drivers under
Windows I'm pretty sure you could boot from it.

On 10/11/07, Christopher Bianchi <[EMAIL PROTECTED]> wrote:
> Peter N. M. Hansteen ha scritto:
> > Christopher Bianchi <[EMAIL PROTECTED]> writes:
> >
> >
> >> Mmm i've tried qemu, but i wish install really OpenBSD on it. I've a
> >> pcmcia but this notebook can't boot from it.
> >>
> >
> > As Craig pointed out, if the machine has a USB port it's likely it can
> > boot from USB floppy.
> >
> >
> really ?  but in the bios i not see any voices about it...anyway i'll try.



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Marcus Andree
That's the best answer so far But, personally, I believe it can be done
without programming and hacking OpenBSD installation program to work
in the same way as Ubuntu install.exe

Here's how I thing it _might_ work. The point is to use a bootable linux
partition to bridge from !OpenBSD to OpenBSD++. :)

1) get some grub-bootable disk space by either repartitioning your HD
or using an external disk

2) Repartition the extra disk space in three different partitions. You may need
to install a 4th or 5th, depending on your virtual memory needs. Let's call
these partitions "part1", "part2" and "part3" hereafter.

3) install a small/minimal Linux distro on partition "part1" that can be done
from within windows. Ubuntu install.exe is a valid choice. The real
limit is your
available disk space.

3a) That Linux distro must install a decent boot loader, capable of
booting Linux
and Windows so far

4) Start Linux. Remember that empty partition called "part2"? Use a disk setup
program (maybe fdisk), from Linux to do the following:

4a) Set "part2" to be a valid OpenBSD partition, by changing the
partition code number

4b) Set "part3" to be a valid OpenBSD/Linux data exchanging partition. Maybe
a FAT32 will do the job. Can't remember if Linux is able to read/write
to ffs partitions

5) Copy OpenBSD installation set to "part3"

6) Hack grub or the decent boot loader to point to a valid bsd.rd
image located on
"part3". Can't say if this will work...

7) Reboot the computer. Chose grub to fire up bsd.rd

8) If you can start bsd.rd, follow the install procedure by using the
install files on
"part3".


At the end, you'll have a completely bootable OpenBSD partition and can reslice
your drive to claim unused disk space (the Linux partition, for instance), maybe
using some space to add a decent swap area to OpenBSD.

If you can't attach an external drive, can't say how you could
repartition your main
hard drive...

Finally, despite presenting us a good technical problem waiting for
some clever solution, you really should not rely on a portable that
can't boot to anything if the main
drive is busted.

On 10/10/07, ropers <[EMAIL PROTECTED]> wrote:
> On 10/10/2007, Christopher Bianchi <[EMAIL PROTECTED]> wrote:
> > Nick Guenther ha scritto:
> > > On 10/10/07, Christopher Bianchi <[EMAIL PROTECTED]> wrote:
> > >
> > >> Hello everyone. My situation is this:
> > >> i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
> > >> cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
> > >> from USB.
> > >> So i've thinked to boot the bsd.rd , but how ? The faq explain the
> > >> procedure from an older OpenBSD operating system... i've Windows 2000 on 
> > >> it.
> > >>
> > >> Is it possible ? and if is possible, in which way ? Where i must put the
> > >> bsd.rd and in which way i can boot from him ?
> > >>
> > >> I've tried google, but nothing :-(
> > >>
> > >> Thanks for the attention
> > >>
> > >
> > > Can your BIOS boot from the network (PXE)? If you can set up a PXE
> > > server with "pxeboot" as the boot image then you can boot that way.
> > >
> > > Alternatively you can pull out the hard drive, plug it into a
> > > different computer or a USB-to-IDE converter, install there, and then
> > > put it back.
> > >
> > > -Nick
> > >
> > >
> >
> > Thanks for the attention Nick, but 1) i can't boot from pxe ( damn Sharp
> > ) and 2) i wish an elegance solution without pull out the hard disk.  Thanks
>
> DISCLAIMER: I'm talking out my arse here, and I don't know if what
> you're hoping to do is even possible. That said, here are my thoughts
> on the matter:
>
> (1) The only way to hand off control from one operating system to
> another operating system is to make a program run exclusively (not
> preemptively multitasked (
> http://en.wikipedia.org/wiki/Preemption_%28computing%29#Pre-emptive_multitasking
> )) and with full access to the entire computer, including all of the
> memory (ie. outside of memory protection (
> http://en.wikipedia.org/wiki/Memory_protection )).
>
> (a) To use unix terminology, you would need to start the system in
> single user mode ( http://en.wikipedia.org/wiki/Single_user_mode ),
> and then you would need a program that can load the OpenBSD kernel and
> hand off control to it. In some very rare cases, programs like this do
> exist. I remember (unsuccessfully) trying to install NetBSD on an old
> Apple PowerBook 145B many moons ago. Because the firmware (ie. the
> "BIOS") of this Motorola 68K based laptop did not support loading a
> non-Apple OS, the solution there was to load Mac OS 6 or 7.whatever,
> and then run a Mac OS program that would seize control of the entire
> machine and load NetBSD. (This would have worked, except that my
> machine had too little RAM and HDD space.) The old Mac OS was not a
> proper preemtive multitasking OS w/ memory-protection; and writing a
> program to load another OS from it was only possible because of these
> limitations. Windows 2000 ho

Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Mathias Schmocker

Christopher Bianchi a icrit :


Thanks for the attention Nick, but 1) i can't boot from pxe ( damn Sharp
) and 2) i wish an elegance solution without pull out the hard disk.  Thanks


http://www.winimage.com/bootpart.htm maybe ?

and http://gparted.sourceforge.net/ for partition editing before.

Use at your own risk.

It worked for me on a WinXP laptop (with a CD for running gparted).
--
Mathias



Re: Server just freeze with no reason

2007-10-11 Thread Nick Guenther
On 10/11/07, Dmitry Slobodchikov <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> My server freezed periodically like a log.
> I can't understand why. There are no any special software and non
> standard core, only packages from the same release.
>
> Server got router role and many people depend on it.
>
> Just freeze...
>
>
> Please ask me additional information more than I send now-)
>

When it freezes, what's running? (ps aux/top will give you an idea).
When it freezes, who is it talking to? What do you run on this system?
Have you checked /var/logs for anything relevant? If it's a server, is
it maybe getting overloaded? Maybe your hardware is flakey (a dmesg
from just before the crash would be nice.. try rebooting and getting
the dmesg early on (single user?) before the previous one it gets
cleared and looking for errors.

-Nick



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Guido Tschakert
Gerald Thornberry schrieb:
> How about an external CDROM drive connected to a parallel port?  Micro
> Solutions used to make one (called BackPack) that could connect via
> USB, PCCard, and Parallel Port.  Once you loaded the drivers under
> Windows I'm pretty sure you could boot from it.
> 

Hmm,
what does the windows driver has to do with the ability of the bios  to
boot from a device?

Wasn't there, in the last century, a tool for windows to boot a linux
kernel (yeah, I know this is OpenBSD) from windows, but I guess that was
with win-"dos".

guido

> On 10/11/07, Christopher Bianchi <[EMAIL PROTECTED]> wrote:
>> Peter N. M. Hansteen ha scritto:
>>> Christopher Bianchi <[EMAIL PROTECTED]> writes:
>>>
>>>
 Mmm i've tried qemu, but i wish install really OpenBSD on it. I've a
 pcmcia but this notebook can't boot from it.

>>> As Craig pointed out, if the machine has a USB port it's likely it can
>>> boot from USB floppy.
>>>
>>>
>> really ?  but in the bios i not see any voices about it...anyway i'll try.



Typo on http://www.openbsd.org/errata41.html

2007-10-11 Thread Guido Tschakert
Hello Webmasters :-)

Theres is a Typo on http://www.openbsd.org/errata41.html :

Me thinks it should read 011:SECURITY FIX: October 10,2007

and not: 018:SECURITY FIX: October 10,2007

guido



OpenCon Travel from UK

2007-10-11 Thread Edd Barrett
Hi there,

I was wondering if anyone else is coming from the UK to go to OpenCon.
The best quote I have got via gatwick's airport's web-page is B#208.35,
which is ridiculous. I can't afford that on student budget. Has anyone
else got a better quote?

-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



Re: Multi booting OpenBSD and OpenBSD and

2007-10-11 Thread ropers
On 11/10/2007, Steve Shockley <[EMAIL PROTECTED]> wrote:
> Douglas A. Tutty wrote:
> > So, there are some web sites that I need to access that use flash.
> > Mostly, online product catalogues.  Does this mean that I have to use
> > Debian on my main box to do this since OpenBSD doesn't?  Is that more
> > secure?
>
> At that point, why not just run Windows?  The vendor is unlikely to
> support you using their Flash catalog under Linux anyway.  Or, try to
> make Flirt or Gnash work for your catalogs.  Or ask the vendor for a
> version that's not in Flash, or find a vendor that doesn't try to "hide"
> their catalog/pricing in a SWF file.
>
> The point you've missed is that the developers aren't interested in the
> effort to make a binary blob work.  I guess someone did want to make
> some effort, that's why there's Opera and Opera-Flashplugin for i386,
> but It appears Opera doesn't make an amd64 Linux or FreeBSD version.
> Shame, if you had the source you could probably just compile the amd64
> version yourself.

I see Gnash is in packages. ( http://en.wikipedia.org/wiki/Gnash )

Do Strong Bad emails ( http://en.wikipedia.org/wiki/Strong_bad_emails
) run in the newest Gnash? Has anyone tried it?

IMHO sbemals are the #1 reason to put up with Flash.

(YouTube/Google Video aren't really valid reasons, because if Google
had any sense, they'd switch to Theora, (
http://en.wikipedia.org/wiki/Theora ) or at least make that an option
selecable in the Google Video preferences.)



Re: Typo on http://www.openbsd.org/errata41.html

2007-10-11 Thread Antti Harri

On Thu, 11 Oct 2007, Guido Tschakert wrote:


Theres is a Typo on http://www.openbsd.org/errata41.html :

Me thinks it should read 011:SECURITY FIX: October 10,2007

and not: 018:SECURITY FIX: October 10,2007


The same patch has incorrect number on errata40.html also:
018: SECURITY FIX: October 10, 2007   All architectures
016: SECURITY FIX: October 8, 2007   All architectures

--
Antti Harri



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Nick Guenther
On 10/11/07, Guido Tschakert <[EMAIL PROTECTED]> wrote:
> Gerald Thornberry schrieb:
> > How about an external CDROM drive connected to a parallel port?  Micro
> > Solutions used to make one (called BackPack) that could connect via
> > USB, PCCard, and Parallel Port.  Once you loaded the drivers under
> > Windows I'm pretty sure you could boot from it.
> >
>
> Hmm,
> what does the windows driver has to do with the ability of the bios  to
> boot from a device?
>
> Wasn't there, in the last century, a tool for windows to boot a linux
> kernel (yeah, I know this is OpenBSD) from windows, but I guess that was
> with win-"dos".

Googling the machine shows that the specs include an external floppy
drive. If the OP could source one of those he could use floppy?.fs
That costs the monies, though. Finding a USB-to-IDE converter is
probably simpler and cheaper.

-Nick



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Marcus Andree
Once upon a time there was a program called "loadlin"...

I've used it a couple times. It was quite annoying when, by mistake, double
clicked somewhere and, without further warning, a Linux distro was booting
right in front of me.



> Wasn't there, in the last century, a tool for windows to boot a linux
> kernel (yeah, I know this is OpenBSD) from windows, but I guess that was
> with win-"dos".
>





Compile error nmap-4.22SOC7 on OpenBSD

2007-10-11 Thread Vijay Sankar
Unfortunately, I am not able to compile nmap on OpenBSD 4.1 or 4.2 (release) 
or 4.2-current. gmake dies at tcpip.o. 

Earlier on (while I was having errors with SOC6 code), I did get a message 
from Eddie Bell, author of portreasons.h, who was planning to look at his 
portreasons.h., so that may resolve this but I am wondering if I am making 
some other mistake or if there is something else that is wrong. If you have 
any thoughts on how I could compile this properly, please let me know.

Thanks very much,

Vijay

./configure --with-libpcap=/usr --with-openssl=/usr --with-libpcre=/usr/local 
--with-libdnet=/usr/local --prefix=/usr/local --sysconfdir=/etc 
--mandir=/usr/local/man --infodir=/usr/local/info

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++... AVAILABLE
checking whether the compiler is gcc 4 or greater... yes
checking for __func__... yes
checking build system type... i386-unknown-openbsd4.1
checking host system type... i386-unknown-openbsd4.1
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for library containing setsockopt... none required
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_datalink in -lpcap... yes
checking if libpcap version is recent enough... no
checking lua.h usability... no
checking lua.h presence... no
checking for lua.h... no
checking lua/lua.h usability... no
checking lua/lua.h presence... no
checking for lua/lua.h... no
checking for lua version >= 501... no
checking if sockaddr{} has sa_len member... yes
checking whether byte ordering is bigendian... no
checking if struct in_addr is a wacky huge structure (some Sun boxes)... no
checking if struct icmp exists... yes
checking if struct ip exists... yes
checking if struct ip has ip_sum member... yes
checking for strerror... yes
checking for type of 6th argument to recvfrom()... socklen_t
checking for pkg-config... /usr/bin/pkg-config
checking If you have GTK+ installed... 2.8.20
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in nselib
configure: 
running /bin/sh './configure' --prefix=/usr/local  '--with-libpcap=/usr' 
'--with-openssl=/usr' '--with-libpcre=/usr/local' '--with-libdnet=/usr/local' 
'--prefix=/usr/local' '--sysconfdir=/etc' '--mandir=/usr/local/man' 
'--infodir=/usr/local/info' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... i386-unknown-openbsd4.1
checking host system type... i386-unknown-openbsd4.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... 
match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C

Re: OpenCon Travel from UK

2007-10-11 Thread Stuart Henderson
On 2007/10/11 15:53, Edd Barrett wrote:
> I was wondering if anyone else is coming from the UK to go to OpenCon.

Unlikely (partly because actually getting to the airport is so
expensive in .uk)... but,

> The best quote I have got via gatwick's airport's web-page is B#208.35,
> which is ridiculous.

try easyjet, it's a lot cheaper.



Re: Server just freeze with no reason

2007-10-11 Thread Stuart Henderson
On 2007/10/11 17:39, Dmitry Slobodchikov wrote:
> My server freezed periodically like a log.

Sounds similar to what can happen with amd64-on-i386 before the
changes for PAE were reverted just before 4.1.

Try 4.1 or newer.



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Rodrigo V. Raimundo
Em Qua, 2007-10-10 C s 21:49 +0200, Christopher Bianchi escreveu:
> Hello everyone. My situation is this:
> i've a laptop, a Sharp pc-ax10 with Windows 2000 preinstalled , without
> cdrom, floppy. I wish install OpenBSD on it. Naturally bios can't boot
> from USB.
> So i've thinked to boot the bsd.rd , but how ? The faq explain the
> procedure from an older OpenBSD operating system... i've Windows 2000 on it.
> 
> Is it possible ? and if is possible, in which way ? Where i must put the
> bsd.rd and in which way i can boot from him ?
> 
> I've tried google, but nothing :-(
> 
> Thanks for the attention
> 
> Christopher Bianchi
> 

1 - Use some free tool to create a new partition on your hard-disk, if
you lose Win 2k bye-bye

2 - Install grub on Windows (*) and attach it's stage1 file to
boot.ini(**)

3 - Add an entry to grub's menu.lst so it can boot bsd.rd from virtualy
anywhere on your hd. (***)

See: http://www.geocities.com/lode_leroy/grubinstall/

(***) menu.lst example:

title OpenBSD Installer
# Windows on the first partition of the first drive
root (hd0,0) 
# Grub will found the file if compiled with fat/ntfs support
kernel /boot/bsd.rd 
boot

--

(**) boot.ini example:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows 200
Professional"
c:\boot\stage1="Grub"

-

(*) grubinstall command line example:

Run cmd.exe, them:
c:\> grubinstall -d (hd0,0) -1 C:\boot\stage1 -2 C:\boot\stage2



Re: IPSec Roadwarriors

2007-10-11 Thread Stuart Henderson
On 2007/10/11 10:18, [EMAIL PROTECTED] wrote:
> i want to include the functionality of our old Linksys BEFVP41 into our new 
> OpenBSD Router.
> First step: PSK
> One line like
> ike passive esp tunnel from any to  main ... quick ... psk 
> 
> in ipsec.conf works.
> If I put in a second line with another PSK, only the second one works.
> How do I put in multiple PSK into ipsec.conf?

With main mode, you need to list IP addresses, but that won't
help you for dynamic IP.

It might be possible with aggressive mode, but aggressive+psk is
a poor combination.

You should just setup public-key instead.



Re: Server just freeze with no reason

2007-10-11 Thread Stephan Andre'
On Thursday 11 October 2007 07:39:44 Dmitry Slobodchikov wrote:
> Hello all,
>
> My server freezed periodically like a log.
> I can't understand why. There are no any special software and non
> standard core, only packages from the same release.
>
> Server got router role and many people depend on it.
>
> Just freeze...
>
>
> Please ask me additional information more than I send now-)
[snip]

Hello Dmitry,

You just want to ask on misc@, not [EMAIL PROTECTED]

If this system worked and is now freezing, I think the first thing I'd
do is get the memory tester at memtest86.com and run that for 24
hours.

--STeve Andre'



Re: File permissions question

2007-10-11 Thread Stuart Henderson
On 2007/10/10 15:40, Predrag Punosevac wrote:
> Normally in FreeBSD I would do that  either by chmod for /dev/lpt0 device 
> node or by editing /etc/devfs.conf with the line perm /dev/lpt0 0666.
>
> In OpenBSD I did it with a chmod command but I have not noticed that there 
> is anything equivalent to /etc/devfs.conf file in FreeBSD. Is there are 
> equivalent an equivalent file or the things are just different?

OpenBSD doesn't use devfs (a filesystem dynamically created from
the devices on the system), it just uses device nodes in a normal FFS
partition created by the MAKEDEV script.

> Also I noticed that TeXLive is listed (there is an unofficial port list) but 
> not in packages? Could somebody tell me if it is going to be included in 
> 4.2.

TeXLive is post-4.2, there are a bunch of packages depending on TeX
and it was too close to release to change them over and test properly.
It's in -current now, though.



Re: IPSec Roadwarriors

2007-10-11 Thread Arnim Sommer
Stuart Henderson schrieb:
> On 2007/10/11 10:18, [EMAIL PROTECTED] wrote:
>> i want to include the functionality of our old Linksys BEFVP41 into our new 
>> OpenBSD Router.
>> First step: PSK
>> One line like
>> ike passive esp tunnel from any to  main ... quick ... psk 
>> 
>> in ipsec.conf works.
>> If I put in a second line with another PSK, only the second one works.
>> How do I put in multiple PSK into ipsec.conf?
> 
> With main mode, you need to list IP addresses, but that won't
> help you for dynamic IP.
> 
> It might be possible with aggressive mode, but aggressive+psk is
> a poor combination.
> 
> You should just setup public-key instead.
> 
Ok, thank you.
Any hints for trapdoors to avoid?

Arnim



Problem with X11 on Oct7 snapshot

2007-10-11 Thread Dusty
Howdy

$ dmesg |head
OpenBSD 4.2-current (GENERIC) #419: Sun Oct  7 15:21:06 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

$ X -version

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: OpenBSD 4.2 i386
Current Operating System: OpenBSD cozait.cozait.co.za 4.2 GENERIC#419 i386
Build Date: 06 October 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
$

parsing
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/dillo-0.8.6p0.tgz
Dependencies for dillo-0.8.6p0 resolve to: png-1.2.18, jpeg-6bp3, gtk+-
1.2.10p6
(todo: gtk+-1.2.10p6)
dillo-0.8.6p0:parsing gtk+-1.2.10p6
Dependencies for gtk+-1.2.10p6 resolve to: gettext-0.16.1, libiconv-1.9.2p4,
glib-1.2.10p1
Dependencies for gtk+-1.2.10p6 resolve to: gettext-0.16.1, libiconv-1.9.2p4,
glib-1.2.10p1
Full dependency tree is gettext-0.16.1,libiconv-1.9.2p4,glib-1.2.10p1
X11.10.0: partial match in /usr/X11R6/lib: major=11, minor=0 (bad major)
found libspec Xau.9.0 in /usr/X11R6/lib
found libspec Xdmcp.9.0 in /usr/X11R6/lib
found libspec Xext.10.0 in /usr/X11R6/lib
found libspec Xi.10.0 in /usr/X11R6/lib
found libspec glib.1.2 in package glib-1.2.10p1
found libspec gmodule.1.2 in package glib-1.2.10p1
found libspec iconv.4.0 in package libiconv-1.9.2p4
found libspec intl.4.0 in package gettext-0.16.1
found libspec m.2.3 in /usr/lib
Can't install dillo-0.8.6p0: can't resolve gtk+-1.2.10p6
$

Happens no matter what x-dependent application i try install.
Any ides?

--Dusty



[OpenVPN] MULTI: bad source address from client [131.215.9.207]

2007-10-11 Thread Tony Bruguier
Hello,

First, sorry for posting here but the OpenVPN forum is full of spam/porn.

I would like to use OpenVPN to secure a wireless connection when I am on the
road and using an non-encrypted link.

Here's the setup. The server has a fixed IP address and runs on OpenBSD 4.1.
The client is a Windows XP SP2 Home. Thus, I want to reroute all the traffic
from the laptop through the VPN network.

The problem that I have is that I see this in the log:
Thu Oct 11 11:00:52 2007 qlabobsd.caltech.edu/131.215.9.207:2208 MULTI: bad
source address from client [131.215.9.207], packed dropped

I believe the problem comes from the fact that my windows machine sends a
return address as 131.215.9.207 instead of the (good) 10.8.0.6. How do I fix
that?

Also, does OpenVPN do the NAT by itself or do I need to set it myself? If I
need to set it myself, any pointer? (I'm using OpenBSD).

I've tried to google the problem quite a bit, bit I could not find anything
relevant. I have been using this site:
http://blog.innerewut.de/2005/07/04/openvpn-2-0-on-openbsd

Which describes what I want to do, except that they have OpenBSD on the
laptop. I also use the following site to troubleshoot, without much avail:
http://openvpn.net/howto.html

For your information, here's the config files:
--client--
client
dev tun0
dev-node OpenVPN
proto udp
remote qlabobsd.dyndns.org 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client_antoine.crt
key client_antoine.key
ns-cert-type server
comp-lzo
verb 3

--server--
port 1194
proto udp
dev tun0
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
push "dhcp-option WINS 10.8.0.1"
keepalive 10 120
comp-lzo
max-clients 3
user _openvpn
group _openvpn
persist-key
persist-tun
status openvpn-status.log
verb 3
-- 
View this message in context: 
http://www.nabble.com/-OpenVPN--MULTI%3A-bad-source-address-from-client--131.215.9.207--tf4609149.html#a13161860
Sent from the openbsd user - misc mailing list archive at Nabble.com.



systrace/stsh policies

2007-10-11 Thread Xavier Mertens
Hi *,

I'm busy with a systrace/stsh implementation but there is a lack of standard
policies (IMHO). Any idea where I can find some ready-to-use policies?

I must be missing some important ones, when the user logs in, he got immediately
the following error:

systrace: getcwd: Permission denied

Xavier
--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: Problem with X11 on Oct7 snapshot

2007-10-11 Thread Stuart Henderson
On 2007/10/11 20:28, Dusty wrote:
> X11.10.0: partial match in /usr/X11R6/lib: major=11, minor=0 (bad major)
> Happens no matter what x-dependent application i try install.

package snaps and X are out of sync; rebuild from ports, or wait
for new snaps.



Re: Problem with X11 on Oct7 snapshot

2007-10-11 Thread Theo de Raadt
Of course this won't work.  You've installed a snapshot, but the
packages are for 4.2.  Meanwhile, the library revisions have
increased.  As you can see clearly in the messages.

This is nothing new, and should not surprise anyone by now.

Noone made any promises that snapshots/packages will track the actual
snapshots; the building of all of them takes that long.


> $ dmesg |head
> OpenBSD 4.2-current (GENERIC) #419: Sun Oct  7 15:21:06 MDT 2007
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> 
> $ X -version
> 
> X Window System Version 7.2.0
> Release Date: 22 January 2007
> X Protocol Version 11, Revision 0, Release 7.2
> Build Operating System: OpenBSD 4.2 i386
> Current Operating System: OpenBSD cozait.cozait.co.za 4.2 GENERIC#419 i386
> Build Date: 06 October 2007
> Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> Module Loader present
> $
> 
> parsing
> ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/dillo-0.8.6p0.tgz
> Dependencies for dillo-0.8.6p0 resolve to: png-1.2.18, jpeg-6bp3, gtk+-
> 1.2.10p6
> (todo: gtk+-1.2.10p6)
> dillo-0.8.6p0:parsing gtk+-1.2.10p6
> Dependencies for gtk+-1.2.10p6 resolve to: gettext-0.16.1, libiconv-1.9.2p4,
> glib-1.2.10p1
> Dependencies for gtk+-1.2.10p6 resolve to: gettext-0.16.1, libiconv-1.9.2p4,
> glib-1.2.10p1
> Full dependency tree is gettext-0.16.1,libiconv-1.9.2p4,glib-1.2.10p1
> X11.10.0: partial match in /usr/X11R6/lib: major=11, minor=0 (bad major)
> found libspec Xau.9.0 in /usr/X11R6/lib
> found libspec Xdmcp.9.0 in /usr/X11R6/lib
> found libspec Xext.10.0 in /usr/X11R6/lib
> found libspec Xi.10.0 in /usr/X11R6/lib
> found libspec glib.1.2 in package glib-1.2.10p1
> found libspec gmodule.1.2 in package glib-1.2.10p1
> found libspec iconv.4.0 in package libiconv-1.9.2p4
> found libspec intl.4.0 in package gettext-0.16.1
> found libspec m.2.3 in /usr/lib
> Can't install dillo-0.8.6p0: can't resolve gtk+-1.2.10p6
> $
> 
> Happens no matter what x-dependent application i try install.
> Any ides?
> 
> --Dusty



Re: Wasting our Freedom

2007-10-11 Thread Toni Mueller
On Thu, 13.09.2007 at 23:09:51 -0400, Jason Dixon <[EMAIL PROTECTED]> wrote:
> It boggles my mind that we can lie around complacently, arguing about  
> installer menus and taking the bait from trolls, while our freedoms  
> are quickly eroding away.  The rights and recognition of one of our  
> own developers (reyk@) have been molested, and all we've done as a  
> community is to participate in useless flames and blog postings.   
> Theo has thrown himself, once again, against the spears of the Linux  
> community and their legal vultures in order to protect our software  
> freedoms.  How many of us can say we've done our part to defend truly  
> Free Software?
> 
> You don't have to be a lawyer or OpenBSD developer to make a  
> difference.  Email the SFLC and FSF and remind them that Free  
> Software consists of more than the almighty penguin.  OpenBSD is  
> arguably the most Free and Open operating system available anywhere.   
> The SFLC and FSF need to remember that they were created to protect  
> victims, not thieves.
> 
> Your donations are important for keeping the servers running, but  
> your voice is necessary for keeping our freedom alive.

Just today, I was reading about a bug in OpenBSD's dhcpd. Nothing much
wrong with that, anyone can make a mistake. A short while later I came
across the message that some VMware thingy also had the same problem,
because they derived their dhcpd from OpenBSD's code base (or probably
just included it, I didn't check nor care).

I'd like to summarize:

 * OpenBSD publishes some pieces of software under the BSD license.

   case 1: Linux takes some of it and publishes it under the GPL:
   Big war ahead!

   case 2: Company XY takes some of it and publishes it under their own
   license (binary only etc.): Everyone's happy... no?

Maybe some of you can explain why attribution (the only thing the BSD
license really demands) is not enough in the first of these two cases,
or what the problem really is. It's imho a very easy question to tell
which one out of ("Company X", "GPL") protects my freedoms better...
And I also dimly remember that some popular Linux project clamoured for
the removal of (undocumented) binary-only stuff from their release even
earlier than OpenBSD 3.9 came out.

This kind of proceedings is generally wrong-headed and a bane for the
OpenBSD project in general. Unless you start going after all commercial
users of OpenBSD, like eg. VMware, you are simply destroying that
credibility and respect you have worked to earn over the years.



Best,
--Toni++



OpenVPN performance problem

2007-10-11 Thread David Brohall
Hi

I've got a strange problem on my openvpn 2.0.6 (bridged) running on openbsd
4.1. When I'm pinging my lan (10.0.0.0/24) everything works fine but not when
I ping the openvpn server (10.0.0.1). It is no difference if I have disabled
PF or not. If I use the same configuration on another server (still openbsd
4.1 and same configuration of PF) it works as it should. Have you seen this
problem before? Where shall I start to troubleshoot?

server:
Reply from 10.0.0.1: bytes=32 time=2578ms TTL=255
Reply from 10.0.0.1: bytes=32 time=367ms TTL=255
Reply from 10.0.0.1: bytes=32 time=554ms TTL=255
Reply from 10.0.0.1: bytes=32 time=1713ms TTL=255

lan:
Reply from 10.0.0.2: bytes=32 time=21ms TTL=255
Reply from 10.0.0.2: bytes=32 time=20ms TTL=255

Reply from 10.0.0.3: bytes=32 time=21ms TTL=255
Reply from 10.0.0.3: bytes=32 time=21ms TTL=255


Thanks,

David



Re: Wasting our Freedom

2007-10-11 Thread knitti
On 10/11/07, Toni Mueller <[EMAIL PROTECTED]> wrote:
[...]
> I'd like to summarize:
>
>  * OpenBSD publishes some pieces of software under the BSD license.
>
>case 1: Linux takes some of it and publishes it under the GPL:
>Big war ahead!
>
>case 2: Company XY takes some of it and publishes it under their own
>license (binary only etc.): Everyone's happy... no?

[...]

> This kind of proceedings is generally wrong-headed and a bane for the
> OpenBSD project in general. Unless you start going after all commercial
> users of OpenBSD, like eg. VMware, you are simply destroying that
> credibility and respect you have worked to earn over the years.

shut up, troll. This exact argument has been reiterated over and over on
lkml, slashdot and also here. It has been refuted and _any one_ who can
read and type three words into a web search can find the discussions for
years to come. If you have read these, and you still post this then no
answer in the world will make you change your mind.

So, you made you statement, you got your attention, now go back playing.

--knitti



Re: IPSec Roadwarriors

2007-10-11 Thread Joachim Schipper
On Thu, Oct 11, 2007 at 07:50:50PM +0200, Arnim Sommer wrote:
> Stuart Henderson schrieb:
> > On 2007/10/11 10:18, [EMAIL PROTECTED] wrote:
> >> i want to include the functionality of our old Linksys BEFVP41 into our 
> >> new 
> >> OpenBSD Router.
> >> First step: PSK
> >> One line like
> >> ike passive esp tunnel from any to  main ... quick ... psk 
> >> 
> >> in ipsec.conf works.
> >> If I put in a second line with another PSK, only the second one works.
> >> How do I put in multiple PSK into ipsec.conf?
> > 
> > With main mode, you need to list IP addresses, but that won't
> > help you for dynamic IP.
> > 
> > It might be possible with aggressive mode, but aggressive+psk is
> > a poor combination.
> > 
> > You should just setup public-key instead.
> 
> Ok, thank you.
> Any hints for trapdoors to avoid?

No, but if things don't work immediately, Google is more likely to be
able to make sense of isakmpd's debug output than you (it's not terribly
readable, but the archives are full of good hints).

Joachim

-- 
TFMotD: zic (8) - time zone compiler



Re: systrace/stsh policies

2007-10-11 Thread Joachim Schipper
On Thu, Oct 11, 2007 at 08:54:42PM +0200, Xavier Mertens wrote:
> Hi *,
> 
> I'm busy with a systrace/stsh implementation but there is a lack of standard
> policies (IMHO). Any idea where I can find some ready-to-use policies?
> 
> I must be missing some important ones, when the user logs in, he got 
> immediately
> the following error:
> 
> systrace: getcwd: Permission denied

You should probably do a Google search on systrace before continuing
further down this road. In particular, I believe the issue highlighted
by Robert Watson has not been fixed yet (although I could be wrong, and
would be happy to be wrong in this case).

Otherwise, I seem to recall a repository of configurations called 'hairy
eyeball'. And the interactive policy generators (xsystrace for instance)
can be pretty useful, too.

Joachim

-- 
TFMotD: eqn (1) - format equations for troff



Re: Which remvable drive is connected to which USB port

2007-10-11 Thread Edwards, David (JTS)
> -Original Message-
> From: Nick Guenther [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 11 October 2007 8:01 PM
> To: Edwards, David (JTS)
> Cc: misc@openbsd.org
> Subject: Re: Which remvable drive is connected to which USB port
>
> On 10/11/07, Edwards, David  (JTS)
> <[EMAIL PROTECTED]> wrote:
> > Hi again.
> >
> > Just a wrap up to this thread.
> > -
[snip]

>> I'm not happy with the fact that the script uses dmesg output.
>> dmesg uses a ring buffer and that can fill very quickly
>> (say if you unplug a usb disk while something is writing
>> to it) which will break the above script totally.  However,
>> currently I don't have the time (or probably the expertise)
>> to go through the source to work out a better way to do
>> it.

> everything in dmesg is also dumped to /var/log/messages.
> disk naming *is* consistent in OpenBSD. devices are all named in a
> deterministic manner, so that they won't change on you without you
> realizing it / adding an extra layer of naming indirection.
>
> What are you actually trying to do here? boot from a USB disk?

Hi, thanks for responding.

I'm using USB disks for backups.

The problem I have is that there are multiple backup sets that
I need to keep for different purposes so I need to know which
physical USB port a disk device is attached to.

I've got three USB cables labelled with the names of the backup
sets (set 1, set 2...) and when I swap a disk on one of the
cables, I need to know the disk device to mount so that I can
dump the right set onto it..

It seems that the disk devices are named (sd1, sd2 etc) based
on which one is plugged in first (unrelated to the physical
port).  My testing shows that the disk device names are retained
as long as the box is not rebooted, but if it reboots, then
I can no longer be sure that the right disk is plugged into
the right port and my backup sets would get mixed up.

So, basically I need a tool where I can start with a physical port
description (seems /dev/usb# "addr #" works) and end with a disk
device (sd#).

The script I put together works fine, but it relies on dmesg (or
as you suggested /var/log/messages) which grates on my sense of
neatness (or maybe I'm being too precious :-)

I'll take the time to have a look at the sources one day.  I'm
sure it would be possible to write a tool that would be able to
work this out in a better way.  Would you have any pointers as
to where to start looking?

ciao
dave
---
Dave Edwards



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread ropers
On 11/10/2007, Marcus Andree <[EMAIL PROTECTED]> wrote:
> Once upon a time there was a program called "loadlin"...

Relevancy link: http://en.wikipedia.org/wiki/Loadlin



Re: OpenCon Travel from UK

2007-10-11 Thread Danny Cautaert
On 2007-10-11, Edd Barrett <[EMAIL PROTECTED]> wrote:
>
> I was wondering if anyone else is coming from the UK to go to OpenCon.
> The best quote I have got via gatwick's airport's web-page is B#208.35,
> which is ridiculous. I can't afford that on student budget. Has anyone
> else got a better quote?
>

Why do you want to fly?

http://www.seat61.com/Italy.htm#Venice

Cheaper, better for the environment, more fun and without security circus.

-- 
Greetings from Oostende (BE) -*- Danny Cautaert (DaCa) 
Write me in Dutch, French or English * GnuPG: 10731977
Meet me at OpenCon on 1-2 December 2007 in Venice (IT)
Linux/Unix Gebruikers West-Vlaanderen: http://lugwv.be



Re: How can i boot a bsd.rd from windows 2000 ?

2007-10-11 Thread Marcus Andree
Cool. Didn't noticed a version of grub that runs on windows.


>
> See: http://www.geocities.com/lode_leroy/grubinstall/
>





OpenBSD replacement for GnuPG

2007-10-11 Thread Sean Darby
Hi,

Is there an alternative PGP or OpenPGP-like program available other than PGP or 
GnuPG/GPG?

Is there something along lines of a "BSD-PG"-type program (using BSD 
licensing/copyright and basically non-GNU)?

Given the excellency OpenBSD has in the world of security, it would seem like 
the perfect thing to implement a *BSD* "Privacy Guard", and the best place for 
it to come from would be the OpenBSD developers' community.

I used to use PGP... have moved to GPG... would like to use a BSD-based 
encryption/decryption and signing/verifying application that has the same or 
similar functions (just not GNU-based).

Thanks.

Sean

-- 
Public Key:
http://mpec.net/gsd.asc



Re: OpenBSD replacement for GnuPG

2007-10-11 Thread Sean Darby
I should add... there seems to be a NetBSD variant, "BPG", though I am not sure 
of the reliability of that (does anyone here use it?).

If there might be an OpenBSD-based program of this general type, I would much 
prefer using that over NetBSD's or any other.

Thanks!

On Thu, Oct 11, 2007 at 06:31:53PM -0500, Sean Darby wrote:
> Hi,
> 
> Is there an alternative PGP or OpenPGP-like program available other than PGP 
> or GnuPG/GPG?
> 
> Is there something along lines of a "BSD-PG"-type program (using BSD 
> licensing/copyright and basically non-GNU)?
> 
> Given the excellency OpenBSD has in the world of security, it would seem like 
> the perfect thing to implement a *BSD* "Privacy Guard", and the best place 
> for it to come from would be the OpenBSD developers' community.
> 
> I used to use PGP... have moved to GPG... would like to use a BSD-based 
> encryption/decryption and signing/verifying application that has the same or 
> similar functions (just not GNU-based).
> 
> Thanks.
> 
> Sean
> 
> -- 
> Public Key:
> http://mpec.net/gsd.asc

-- 
Gabriel Sean Darby
Phone: 217.766.1312
Email: [EMAIL PROTECTED]
PGP/GnuPG Public Key:
http://mpec.net/gsd.asc



expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Douglas A. Tutty
I've been evaluating OpenBSD as a desktop system while learning about it
on my lesser (older) hardware.  I've learned a lot and will continue to
learn about OpenBSD but I don't think it will work as my primary
desktop.  

Based on what I've learned here on Misc, I'd like to start a discussion
about extending the answer to the OpenBSD FAQ # 1.10: "Can I use OpenBSD
as a Desktop System?"  While of course every potential new user has to
evaluate OpenBSD for themselves, we could and I believe we should point
out some of the more common tripping points found by people who end up
not choosing OpenBSD for their desktop.

As it exists right now it reads:

# >8--

This question is often asked in exactly this manner -- with no 
explanation of what the asker means by "desktop".  The only person who
can answer that question is you, as it depends on what your needs and
expectations are.

While OpenBSD has a great reputation as a "server" operating system, 
it can be and is used on the desktop.  Many "desktop" applications are 
available through packages and ports.  As with all operating systems
decisions, the question is:  can it do the job you desire in the way 
you wish?  You must answer this question for yourself.

It might be worth noting that a large amount of OpenBSD development is
done on laptops.

# >8--


I think the following paragraphs would enhance the FAQ to provide
the person new to the OpenBSD focus a heads up on some of the
difficulties.

# >8--
However, it is also worth noting that some desktop needs and uses are
incompatible with the focus of OBSD.  There are currently no video cards
that provide full specs to create open drivers for all hardware
function, most notibly 3D accelleration.  While more than adequate for
most uses of the X-Window system, performance while watching movies,
playing games, or graphic design, may be suboptimal or not possible
depending on your hardware and expectations.  The use of binary "blob"
drivers would introduce the potential for unknown security breaches and
is not going to be supported on OpenBSD.  The work is ongoing in the
larger open-source community to both create open-source drivers that can
access the full hardware potential of the video cards that are
available, and there is some work to create new video cards that will be
fully open and high performance.  It just doesn't exist yet.

Similarily, flash plugins in browsers cause untested code to run on the
computer and introduce the potential for unknown security breaches, and
are therefore not supported, other than as it already exists for the Opera
browser.

It depends therefor on what is meant by "desktop".  System
administrators will likely be thrilled with OpenBSD on their desktop.
However, a home user wanting an entertainment centre, a movie editor, a
graphic designer, or a user requiring a multi-headed Computer Aided
Drafting and Design system may find the tradeoffs made for security are
too steep to use OpenBSD as their operating system on such computers and
may choose to use a less secure operating system.


# >8--

Does this seem like a fair addition?

Doug.



Re: OpenBSD replacement for GnuPG

2007-10-11 Thread Damien Miller
On Thu, 11 Oct 2007, Sean Darby wrote:

> Hi,
>
> Is there an alternative PGP or OpenPGP-like program available other
> than PGP or GnuPG/GPG?
>
> Is there something along lines of a "BSD-PG"-type program (using BSD
> licensing/copyright and basically non-GNU)?

There is this:

http://openpgp.nominet.org.uk/cgi-bin/trac.cgi

but it doesn't seem finished yet.

-d



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Kevin Stam
Aside from some typos, I'll have to dispute the inclusion of movie watching
and movie editing. Very much, actually. I've never had noticeably poorer
movie watching/viewing performance on OpenBSD as opposed to other
distributions. (Gentoo is my other, and neither work better then the other
for movie watching.)

Now, if we're talking about things that involve "3d acceleration", like 3d
games or 3d animation, then I'd agree with your statement. But pretending
that OpenBSD can't even play a decent movie or two is just FUD.

On 10/11/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
>
> I've been evaluating OpenBSD as a desktop system while learning about it
> on my lesser (older) hardware.  I've learned a lot and will continue to
> learn about OpenBSD but I don't think it will work as my primary
> desktop.
>
> Based on what I've learned here on Misc, I'd like to start a discussion
> about extending the answer to the OpenBSD FAQ # 1.10: "Can I use OpenBSD
> as a Desktop System?"  While of course every potential new user has to
> evaluate OpenBSD for themselves, we could and I believe we should point
> out some of the more common tripping points found by people who end up
> not choosing OpenBSD for their desktop.
>
> As it exists right now it reads:
>
> # >8--
>
> This question is often asked in exactly this manner -- with no
> explanation of what the asker means by "desktop".  The only person who
> can answer that question is you, as it depends on what your needs and
> expectations are.
>
> While OpenBSD has a great reputation as a "server" operating system,
> it can be and is used on the desktop.  Many "desktop" applications are
> available through packages and ports.  As with all operating systems
> decisions, the question is:  can it do the job you desire in the way
> you wish?  You must answer this question for yourself.
>
> It might be worth noting that a large amount of OpenBSD development is
> done on laptops.
>
> # >8--
>
>
> I think the following paragraphs would enhance the FAQ to provide
> the person new to the OpenBSD focus a heads up on some of the
> difficulties.
>
> # >8--
> However, it is also worth noting that some desktop needs and uses are
> incompatible with the focus of OBSD.  There are currently no video cards
> that provide full specs to create open drivers for all hardware
> function, most notibly 3D accelleration.  While more than adequate for
> most uses of the X-Window system, performance while watching movies,
> playing games, or graphic design, may be suboptimal or not possible
> depending on your hardware and expectations.  The use of binary "blob"
> drivers would introduce the potential for unknown security breaches and
> is not going to be supported on OpenBSD.  The work is ongoing in the
> larger open-source community to both create open-source drivers that can
> access the full hardware potential of the video cards that are
> available, and there is some work to create new video cards that will be
> fully open and high performance.  It just doesn't exist yet.
>
> Similarily, flash plugins in browsers cause untested code to run on the
> computer and introduce the potential for unknown security breaches, and
> are therefore not supported, other than as it already exists for the Opera
> browser.
>
> It depends therefor on what is meant by "desktop".  System
> administrators will likely be thrilled with OpenBSD on their desktop.
> However, a home user wanting an entertainment centre, a movie editor, a
> graphic designer, or a user requiring a multi-headed Computer Aided
> Drafting and Design system may find the tradeoffs made for security are
> too steep to use OpenBSD as their operating system on such computers and
> may choose to use a less secure operating system.
>
>
> # >8--
>
> Does this seem like a fair addition?
>
> Doug.



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Deanna Phillips
Douglas A. Tutty writes:

> I think the following paragraphs would enhance the FAQ to
> provide the person new to the OpenBSD focus a heads up on some
> of the difficulties.

You are making some weird assumptions about what "the desktop"
is.  My desktop is nothing like the one you describe, and
OpenBSD works perfectly for everything I need, including Flash
and playing movies.

It's good enough for grandparents -

http://www.undeadly.org/cgi?action=article&sid=20071009100145

It's good enough for children -

http://www.undeadly.org/cgi?action=article&sid=20061114191150

It's even good enough for girls.  ;)



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Douglas A. Tutty
On Thu, Oct 11, 2007 at 09:00:39PM -0400, Kevin Stam wrote:
> Aside from some typos, I'll have to dispute the inclusion of movie watching
> and movie editing. Very much, actually. I've never had noticeably poorer
> movie watching/viewing performance on OpenBSD as opposed to other
> distributions. (Gentoo is my other, and neither work better then the other
> for movie watching.)
> 
> Now, if we're talking about things that involve "3d acceleration", like 3d
> games or 3d animation, then I'd agree with your statement. But pretending
> that OpenBSD can't even play a decent movie or two is just FUD.
> 

I did say "may be suboptimal" which was my experience comparing the open
nv driver with the closed nVidia driver.

Well, I haven't pulled Debian off my amd64 box with a nVidia EN7300GT
card to put OpenBSD on it.  One reason for that is that I'm on dial's
and a reinstall of everything takes a few days.  For that card, my
choice of drivers seems to be the xorg nv driver or the binary blob
nVidia driver as compiled by Debian in its non-free repository.  I do
know that I get a much better image quality when watching DVDs with the
nVidia driver than with the nv driver.  As I understand it, it is
because the nv driver doesn't use the hardware to do (some?) of the
conversion (mpeg, scaling, deinterlacing, whatever) when watching it
full screen at 1600 x 1200 @ 85Hz on a 21" CRT Intergraph, with VLC.

So, if you've had great movie experiences with OpenBSD, what video card
do you use, what driver, at what resolution, full screen, deinterlaced
(blend)?



> On 10/11/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> >
> > I've been evaluating OpenBSD as a desktop system while learning about it
> > on my lesser (older) hardware.  I've learned a lot and will continue to
> > learn about OpenBSD but I don't think it will work as my primary
> > desktop.
> >
> > Based on what I've learned here on Misc, I'd like to start a discussion
> > about extending the answer to the OpenBSD FAQ # 1.10: "Can I use OpenBSD
> > as a Desktop System?"  While of course every potential new user has to
> > evaluate OpenBSD for themselves, we could and I believe we should point
> > out some of the more common tripping points found by people who end up
> > not choosing OpenBSD for their desktop.
> >
> > As it exists right now it reads:
> >
> > # >8--
> >
> > This question is often asked in exactly this manner -- with no
> > explanation of what the asker means by "desktop".  The only person who
> > can answer that question is you, as it depends on what your needs and
> > expectations are.
> >
> > While OpenBSD has a great reputation as a "server" operating system,
> > it can be and is used on the desktop.  Many "desktop" applications are
> > available through packages and ports.  As with all operating systems
> > decisions, the question is:  can it do the job you desire in the way
> > you wish?  You must answer this question for yourself.
> >
> > It might be worth noting that a large amount of OpenBSD development is
> > done on laptops.
> >
> > # >8--
> >
> >
> > I think the following paragraphs would enhance the FAQ to provide
> > the person new to the OpenBSD focus a heads up on some of the
> > difficulties.
> >
> > # >8--
> > However, it is also worth noting that some desktop needs and uses are
> > incompatible with the focus of OBSD.  There are currently no video cards
> > that provide full specs to create open drivers for all hardware
> > function, most notably 3D acceleration.  While more than adequate for
> > most uses of the X-Window system, performance while watching movies,
> > playing games, or graphic design, may be suboptimal or not possible
> > depending on your hardware and expectations.  The use of binary "blob"
> > drivers would introduce the potential for unknown security breaches and
> > is not going to be supported on OpenBSD.  The work is ongoing in the
> > larger open-source community to both create open-source drivers that can
> > access the full hardware potential of the video cards that are
> > available, and there is some work to create new video cards that will be
> > fully open and high performance.  It just doesn't exist yet.
> >
> > Similarly, flash plug-ins in browsers cause untested code to run on the
> > computer and introduce the potential for unknown security breaches, and
> > are therefore not supported, other than as it already exists for the Opera
> > browser.
> >
> > It depends therefor on what is meant by "desktop".  System
> > administrators will likely be thrilled with OpenBSD on their desktop.
> > However, a home user wanting an entertainment centre, a movie editor, a
> > graphic designer, or a user requiring a multi-headed Computer Aided
> > Drafting and Design system may find the trade-offs made for security are
> > too steep to use OpenBSD as their operating system on such computers and
> > may choose to use a less secure operating system.
> >
> >
> > # >8--
> >
> > Does this seem like a fair addition?
> >

cvs disk space error

2007-10-11 Thread Aaron
I just did a clean install of OpenBSD 4.1 x86 an athlon XP 2400 machine 
with 512 megs ram and 120Gb hdd. 
After the install, before i rebooted, I did some tweaking, rebooted, 
downloaded the src and ports per the faq. 
Everything fine so far.  After this i tried to update the src with cvs 
and it sits there for a long time, no messages

(console or /var/log/messages) and then returns the error:

? share/man/mantest
unable to write, file adduser.8
No space left on device

and returns me to the #.

There is plenty of disk space.

I searched google for this and found a couple instances, one with no 
replies and one advising that it might
be not a space problem but an inode issue. 
Any help/suggestions would be greatly appreciated. 

Dmesg, df, top and ps  output below.  If any other information needed, 
please let me know.


Thanks in advance,

Aaron

dmesg:
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2400+ ("AuthenticAMD" 686-class, 256KB L2 cache) 
2.01 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real mem  = 536375296 (523804K)
avail mem = 481710080 (470420K)
using 4278 buffers containing 26943488 bytes (26312K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 08/10/04, BIOS32 rev. 0 @ 0xfa020, 
SMBIOS rev. 2.3 @ 0xf0120 (37 entries)

bios0: Gigabyte Technology Co., Ltd. GA-7VAXP
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/0xcde4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcd10/208 (11 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x9800
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8235 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 10
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 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 7
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
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 5
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
maxtmp0 at iic0 addr 0x4c: lm90
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, 
channel 0 configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
rl0 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 11, address 
00:20:ed:64:a2:77

rlphy0 at rl0 phy 0: RTL internal PHY
isa0 at mainbus0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: reported by CPUID; 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 efe5 netmask efe5 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



df -hk :
# df -hk
Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/wd0a 2063190 30026   1930006 2%/
/dev/wd0k 5159638   1022820   387883821%/altps
/dev/wd0j 515963816   4901642 0%/home
/dev/wd0i 1030550 2979022 0%/tmp
/dev/wd0d 4126462   1006698   291344226%/usr
/dev/wd0e 4126462  3210   3916930 0%/var
/dev/wd0f 4126462   126   3920014 0%/var/log
/dev/wd0g 2063222  

Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Graeme Neilson
I use OpenBSD as a desktop everyday and I have an 'entertainment center'
that delivers music, movies and arcade games which also runs OpenBSD.

OpenBSD is very well suited to being a media center due
to the lean default install and excellent package system.


On 10/12/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
>
> I've been evaluating OpenBSD as a desktop system while learning about it
> on my lesser (older) hardware.  I've learned a lot and will continue to
> learn about OpenBSD but I don't think it will work as my primary
> desktop.
>
> Based on what I've learned here on Misc, I'd like to start a discussion
> about extending the answer to the OpenBSD FAQ # 1.10: "Can I use OpenBSD
> as a Desktop System?"  While of course every potential new user has to
> evaluate OpenBSD for themselves, we could and I believe we should point
> out some of the more common tripping points found by people who end up
> not choosing OpenBSD for their desktop.
>
> As it exists right now it reads:
>
> # >8--
>
> This question is often asked in exactly this manner -- with no
> explanation of what the asker means by "desktop".  The only person who
> can answer that question is you, as it depends on what your needs and
> expectations are.
>
> While OpenBSD has a great reputation as a "server" operating system,
> it can be and is used on the desktop.  Many "desktop" applications are
> available through packages and ports.  As with all operating systems
> decisions, the question is:  can it do the job you desire in the way
> you wish?  You must answer this question for yourself.
>
> It might be worth noting that a large amount of OpenBSD development is
> done on laptops.
>
> # >8--
>
>
> I think the following paragraphs would enhance the FAQ to provide
> the person new to the OpenBSD focus a heads up on some of the
> difficulties.
>
> # >8--
> However, it is also worth noting that some desktop needs and uses are
> incompatible with the focus of OBSD.  There are currently no video cards
> that provide full specs to create open drivers for all hardware
> function, most notibly 3D accelleration.  While more than adequate for
> most uses of the X-Window system, performance while watching movies,
> playing games, or graphic design, may be suboptimal or not possible
> depending on your hardware and expectations.  The use of binary "blob"
> drivers would introduce the potential for unknown security breaches and
> is not going to be supported on OpenBSD.  The work is ongoing in the
> larger open-source community to both create open-source drivers that can
> access the full hardware potential of the video cards that are
> available, and there is some work to create new video cards that will be
> fully open and high performance.  It just doesn't exist yet.
>
> Similarily, flash plugins in browsers cause untested code to run on the
> computer and introduce the potential for unknown security breaches, and
> are therefore not supported, other than as it already exists for the Opera
> browser.
>
> It depends therefor on what is meant by "desktop".  System
> administrators will likely be thrilled with OpenBSD on their desktop.
> However, a home user wanting an entertainment centre, a movie editor, a
> graphic designer, or a user requiring a multi-headed Computer Aided
> Drafting and Design system may find the tradeoffs made for security are
> too steep to use OpenBSD as their operating system on such computers and
> may choose to use a less secure operating system.
>
>
> # >8--
>
> Does this seem like a fair addition?
>
> Doug.



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Nick Holland
Douglas A. Tutty wrote:
> I've been evaluating OpenBSD as a desktop system while learning about it
> on my lesser (older) hardware.  I've learned a lot and will continue to
> learn about OpenBSD but I don't think it will work as my primary
> desktop.  
>
> Based on what I've learned here on Misc, I'd like to start a discussion
> about extending the answer to the OpenBSD FAQ # 1.10: "Can I use OpenBSD
> as a Desktop System?"  While of course every potential new user has to
> evaluate OpenBSD for themselves, we could and I believe we should point
> out some of the more common tripping points found by people who end up
> not choosing OpenBSD for their desktop.

1) We don't do "discussions".
2) See rule #1 :)

...
> I think the following paragraphs would enhance the FAQ to provide
> the person new to the OpenBSD focus a heads up on some of the
> difficulties.
> 
> # >8--
> However, it is also worth noting that some desktop needs and uses are
> incompatible with the focus of OBSD.  There are currently no video cards
> that provide full specs to create open drivers for all hardware
> function, most notibly 3D accelleration.  While more than adequate for
> most uses of the X-Window system, performance while watching movies,
> playing games, or graphic design, may be suboptimal or not possible
> depending on your hardware and expectations.

Wow, you determined a lot from your experience with your 486...

Never found a use for "3D acceleration" myself.  Seems to be mostly
for games and, well, games.

> The use of binary "blob"
> drivers would introduce the potential for unknown security breaches and
> is not going to be supported on OpenBSD.  The work is ongoing in the
> larger open-source community to both create open-source drivers that can
> access the full hardware potential of the video cards that are
> available, and there is some work to create new video cards that will be
> fully open and high performance.  It just doesn't exist yet.

and no point talking about things that don't exist.

> Similarily, flash plugins in browsers cause untested code to run on the
> computer and introduce the potential for unknown security breaches, and
> are therefore not supported, other than as it already exists for the Opera
> browser.
> 
> It depends therefor on what is meant by "desktop".  System
> administrators will likely be thrilled with OpenBSD on their desktop.
> However, a home user wanting an entertainment centre, a movie editor, a
> graphic designer, or a user requiring a multi-headed Computer Aided
> Drafting and Design system may find the tradeoffs made for security are
> too steep to use OpenBSD as their operating system on such computers and
> may choose to use a less secure operating system.

I should introduce you to fluffy, my multi-headed computer.  Two 1280x1024
LCD panels, one 1600x1200 CRT.  Why do I have three monitors?  Because my
table isn't big enough for #4 (there are at least two empty PCI slots
in the thing. :)

> 
> 
> # >8--
> 
> Does this seem like a fair addition?

no, I don't like this.
And, I get to make those decisions. :)


I obviously don't share your definition of "desktop".
To me, you don't describe a desktop computer, you are describing an
entertainment system.  I do work with my computer...both for money and
fun, but it is a tool to accomplish what I wish to do, not the goal of
my work.  It is a tool on my desk, like my the phone, the calculator,
the screwdriver and other tools.

I watch movies in a theater or on a TV.  It's good to step away from
the computer once in a while, and interact with people.

How about mentioning the fact that it doesn't run Microsoft Office?  That
is a lot of people's definition of a desktop computer.  They don't want
OpenOffice, they want MS Word, Excel, and Powerpoint.
How about Autocad?
Outlook?
Visual Basic?
Halo3?
Nero?
Weblogic Workbench?
That silly but addictive game my mother plays on her laptop?

How dare you call it a desktop without these apps??

Personally, I absolutely LOVE the fact that OpenBSD doesn't support
flash natively.  I think that's a great selling point for using it
on a desktop.  Oh, but you not only like flash, but demand it.
That's ok, that's your measure of "desktop", it's my measure of
annoying.  Are there some places I can't go?  Yep.  I rather suspect
they lose more by not having me than I do by not having them.  There
is no shortage of flash-free or non-flash-dependent websites for me
to waste my time on.  Based on the saying, "What is the most
commonly clicked on link on the Internet?  'skip intro'", I really
don't think I'm alone here.

It sounds like your definition of "desktop" is "Windows", but you
don't like Windows.  Ok, whatever.  Use whatever Windows-emulating
system you like best.  OpenBSD is not spending its time emulating
Windows, not in look-and-feel, not in application count, not in
design, not in security.  There were desktop computers before
Windows, there are desktop computers OTHER than those based on the

Re: cvs disk space error

2007-10-11 Thread Jeremy C. Reed
On Thu, 11 Oct 2007, Aaron wrote:

> ? share/man/mantest
> unable to write, file adduser.8
> No space left on device
> 
> and returns me to the #.
> 
> There is plenty of disk space.

Try a different cvs server:
http://openbsd.org/anoncvs.html#CVSROOT

  Jeremy C. Reed



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Kevin Stam
Intel integrated graphics card. Standard cheaper one found in laptops.
Usually watch in mplayer, default settings. Occasionally, VLC, default
settings. Of course, the intel cards don't have the same blob problems that
the more expensive ones tend to. I don't know about your experiences
comparing the watching of a movie changing between the nv and nvidia driver.
Is this some videophile thing? Something that "certainly seemed" better, but
wasn't actually much better if you didn't know which driver had played the
movie?

Or perhaps you're being quite legitimate here. I just haven't heard of that
problem before, it's always been about 3d acceleration.

Either way, even if true, a minor case like that does not mean that OpenBSD
is "suboptimal" at playing movies. Nonsense, bullshit and whathaveyou. I
doubt the blobs play video better then their free brethren.

Anyways, I see this degenerating into a videophile argument, which I really
don't plan to take part in. Besides, people don't seem to care much about HD
video at all, despite it being so superior to DVDs.

As it's been repeated here, requirements for desktop systems vary. That, and
watched video varies. For me, it's usually cartoons anime, and I'm sure the
difference between Trigun on a blob and Trigun on a proper driver isn't
going to be that impressively different, even if it were better for
non-cartoons.

On 10/11/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
>
> On Thu, Oct 11, 2007 at 09:00:39PM -0400, Kevin Stam wrote:
> > Aside from some typos, I'll have to dispute the inclusion of movie
> watching
> > and movie editing. Very much, actually. I've never had noticeably poorer
>
> > movie watching/viewing performance on OpenBSD as opposed to other
> > distributions. (Gentoo is my other, and neither work better then the
> other
> > for movie watching.)
> >
> > Now, if we're talking about things that involve "3d acceleration", like
> 3d
> > games or 3d animation, then I'd agree with your statement. But
> pretending
> > that OpenBSD can't even play a decent movie or two is just FUD.
> >
>
> I did say "may be suboptimal" which was my experience comparing the open
> nv driver with the closed nVidia driver.
>
> Well, I haven't pulled Debian off my amd64 box with a nVidia EN7300GT
> card to put OpenBSD on it.  One reason for that is that I'm on dial's
> and a reinstall of everything takes a few days.  For that card, my
> choice of drivers seems to be the xorg nv driver or the binary blob
> nVidia driver as compiled by Debian in its non-free repository.  I do
> know that I get a much better image quality when watching DVDs with the
> nVidia driver than with the nv driver.  As I understand it, it is
> because the nv driver doesn't use the hardware to do (some?) of the
> conversion (mpeg, scaling, deinterlacing, whatever) when watching it
> full screen at 1600 x 1200 @ 85Hz on a 21" CRT Intergraph, with VLC.
>
> So, if you've had great movie experiences with OpenBSD, what video card
> do you use, what driver, at what resolution, full screen, deinterlaced
> (blend)?
>
>
>
> > On 10/11/07, Douglas A. Tutty < [EMAIL PROTECTED]> wrote:
> > >
> > > I've been evaluating OpenBSD as a desktop system while learning about
> it
> > > on my lesser (older) hardware.  I've learned a lot and will continue
> to
> > > learn about OpenBSD but I don't think it will work as my primary
> > > desktop.
> > >
> > > Based on what I've learned here on Misc, I'd like to start a
> discussion
> > > about extending the answer to the OpenBSD FAQ # 1.10: "Can I use
> OpenBSD
> > > as a Desktop System?"  While of course every potential new user has to
> > > evaluate OpenBSD for themselves, we could and I believe we should
> point
> > > out some of the more common tripping points found by people who end up
>
> > > not choosing OpenBSD for their desktop.
> > >
> > > As it exists right now it reads:
> > >
> > > # >8--
> > >
> > > This question is often asked in exactly this manner -- with no
> > > explanation of what the asker means by "desktop".  The only person who
> > > can answer that question is you, as it depends on what your needs and
> > > expectations are.
> > >
> > > While OpenBSD has a great reputation as a "server" operating system,
> > > it can be and is used on the desktop.  Many "desktop" applications are
> > > available through packages and ports.  As with all operating systems
> > > decisions, the question is:  can it do the job you desire in the way
> > > you wish?  You must answer this question for yourself.
> > >
> > > It might be worth noting that a large amount of OpenBSD development is
>
> > > done on laptops.
> > >
> > > # >8--
> > >
> > >
> > > I think the following paragraphs would enhance the FAQ to provide
> > > the person new to the OpenBSD focus a heads up on some of the
> > > difficulties.
> > >
> > > # >8--
> > > However, it is also worth noting that some desktop needs and uses are
> > > incompatible with the focus of OBSD.  There are currently no video
> cards
> 

Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Brett Lymn
On Thu, Oct 11, 2007 at 10:56:38PM -0400, Kevin Stam wrote:
> 
> Or perhaps you're being quite legitimate here. I just haven't heard of that
> problem before, it's always been about 3d acceleration.
> 

http://en.wikipedia.org/wiki/X_video_extension

It makes a big difference.

-- 
Brett Lymn
"Warning:
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer."



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Kevin Stam
However, it is also worth noting that some typical desktop needs and uses
are incompatible with the focus of OpenBSD.  There are currently no video
cards that provide the necessary specifications to create open drivers for
all hardware function, most notably 3D acceleration. While more than
adequate for most uses of the X-Window system, in some cases performance
while watching movies, playing games, or graphic design, may be suboptimal
or not possible depending on your hardware and expectations. The use of
binary "blob" drivers would introduce the potential for unknown security
breaches and is not going to be supported on OpenBSD.  The work is ongoing
in the larger open-source community to both create open-source drivers that
can access the full hardware potential of the available video cards. If this
is something you care about, please contact your video card manufacturer.

Similarily, flash plugins in browsers cause untested code to run on the
computer and introduce the potential for unknown security breaches, and are
therefore not supported, other than as it already exists for the Opera
browser.

Therefore, it on what is meant by "desktop".  System administrators will
likely be thrilled with OpenBSD on their desktop. However, a home user
wanting an entertainment centre, a movie editor, a graphic designer, or a
user requiring a multi-headed Computer Aided Drafting and Design system may
find the trade offs made for security are too steep to use OpenBSD as their
operating system on such computers and may choose to use a less secure
operating system.



Fixed up a tiny bit, now that I've gotten a good whack with the old
cluestick. No opinion either positive or negative on it's inclusion. That,
and it has nothing to do with me.

I agree with what's being said, I think...but people's definition of a
desktop differ, and as an aside, it's perhaps a little excessive? I mean,
how many users are going to really notice video differences, or attempt to
play 3d games in OpenBSD? (Do we even have many in ports?)

On 10/11/07, Kevin Stam <[EMAIL PROTECTED]> wrote:
>
> Ah, thanks for the information. My bad. I'll have to take back the video
> comments now. :) Learn something new every day...
>
> On 10/11/07, Brett Lymn < [EMAIL PROTECTED]> wrote:
> >
> > On Thu, Oct 11, 2007 at 10:56:38PM -0400, Kevin Stam wrote:
> > >
> > > Or perhaps you're being quite legitimate here. I just haven't heard of
> > that
> > > problem before, it's always been about 3d acceleration.
> > >
> >
> > http://en.wikipedia.org/wiki/X_video_extension
> >
> > It makes a big difference.
> >
> > --
> > Brett Lymn
> > "Warning:
> > The information contained in this email and any attached files is
> > confidential to BAE Systems Australia. If you are not the intended
> > recipient, any use, disclosure or copying of this email or any
> > attachments is expressly prohibited.  If you have received this email
> > in error, please notify us immediately. VIRUS: Every care has been
> > taken to ensure this email and its attachments are virus free,
> > however, any loss or damage incurred in using this email is not the
> > sender's responsibility.  It is your responsibility to ensure virus
> > checks are completed before installing any data sent in this email to
> > your computer."



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Darrin Chandler
On Thu, Oct 11, 2007 at 11:57:18PM -0400, Kevin Stam wrote:
> However, it is also worth noting that some typical desktop needs and uses
> are incompatible with the focus of OpenBSD.  There are currently no video
> cards that provide the necessary specifications to create open drivers for
> all hardware function, most notably 3D acceleration.

I have a problem with the way this is stated. It's not the focus of
OpenBSD that's causing the problem here. It's the lack of vendors giving
you, the customer, the option to use the hardware with your choice of
software (including OS). You can't buy hardware from a company that
restricts your use, and then blame the makers of software for not
providing full functionality. It's completely backward.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



Re: expansion of FAQ# 1.10 re OpenBSD as a desktop system

2007-10-11 Thread Owain Ainsworth
On Thu, Oct 11, 2007 at 10:36:27PM -0400, Nick Holland wrote:
> Douglas A. Tutty wrote:
> > I've been evaluating OpenBSD as a desktop system while learning about it
> > on my lesser (older) hardware.  I've learned a lot and will continue to
> > learn about OpenBSD but I don't think it will work as my primary
> > desktop.  
> >
> > Based on what I've learned here on Misc, I'd like to start a discussion
> > about extending the answer to the OpenBSD FAQ # 1.10: "Can I use OpenBSD
> > as a Desktop System?"  While of course every potential new user has to
> > evaluate OpenBSD for themselves, we could and I believe we should point
> > out some of the more common tripping points found by people who end up
> > not choosing OpenBSD for their desktop.
> 
> 1) We don't do "discussions".
> 2) See rule #1 :)
> 
> ...
> > I think the following paragraphs would enhance the FAQ to provide
> > the person new to the OpenBSD focus a heads up on some of the
> > difficulties.
> > 
> > # >8--
> > However, it is also worth noting that some desktop needs and uses are
> > incompatible with the focus of OBSD.  There are currently no video cards
> > that provide full specs to create open drivers for all hardware
> > function, most notibly 3D accelleration.  While more than adequate for
> > most uses of the X-Window system, performance while watching movies,
> > playing games, or graphic design, may be suboptimal or not possible
> > depending on your hardware and expectations.
> 
> Wow, you determined a lot from your experience with your 486...
> 
> Never found a use for "3D acceleration" myself.  Seems to be mostly
> for games and, well, games.
> 

There are other uses. Like the silly 3D accelerated window managers (as
a cwm user it's obvious I see no need for that). There's also other
uses. For example last year for my final year university project I wrote
a visualisation app. using vtk[1], I wrote it on OpenBSD. Of course I'd
have liked acceleration then, it would have run faster (software GL
isn't very fast).

Then again I'm currently attempting to port the DRM (direct rendering
manager) to OpenBSD, so I'm not whinging about it.

Regards,

-0-

[1] http://vtk.org
-- 
Workers of the world, arise!  You have nothing to lose but your
chairs.



Re: Wasting our Freedom

2007-10-11 Thread Karl Sjodahl - dunceor
On 10/11/07, Toni Mueller <[EMAIL PROTECTED]> wrote:
> On Thu, 13.09.2007 at 23:09:51 -0400, Jason Dixon <[EMAIL PROTECTED]> wrote:
> > It boggles my mind that we can lie around complacently, arguing about
> > installer menus and taking the bait from trolls, while our freedoms
> > are quickly eroding away.  The rights and recognition of one of our
> > own developers (reyk@) have been molested, and all we've done as a
> > community is to participate in useless flames and blog postings.
> > Theo has thrown himself, once again, against the spears of the Linux
> > community and their legal vultures in order to protect our software
> > freedoms.  How many of us can say we've done our part to defend truly
> > Free Software?
> >
> > You don't have to be a lawyer or OpenBSD developer to make a
> > difference.  Email the SFLC and FSF and remind them that Free
> > Software consists of more than the almighty penguin.  OpenBSD is
> > arguably the most Free and Open operating system available anywhere.
> > The SFLC and FSF need to remember that they were created to protect
> > victims, not thieves.
> >
> > Your donations are important for keeping the servers running, but
> > your voice is necessary for keeping our freedom alive.
>
> Just today, I was reading about a bug in OpenBSD's dhcpd. Nothing much
> wrong with that, anyone can make a mistake. A short while later I came
> across the message that some VMware thingy also had the same problem,
> because they derived their dhcpd from OpenBSD's code base (or probably
> just included it, I didn't check nor care).
>
> I'd like to summarize:
>
>  * OpenBSD publishes some pieces of software under the BSD license.
>
>case 1: Linux takes some of it and publishes it under the GPL:
>Big war ahead!
>
>case 2: Company XY takes some of it and publishes it under their own
>license (binary only etc.): Everyone's happy... no?
>
> Maybe some of you can explain why attribution (the only thing the BSD
> license really demands) is not enough in the first of these two cases,
> or what the problem really is. It's imho a very easy question to tell
> which one out of ("Company X", "GPL") protects my freedoms better...
> And I also dimly remember that some popular Linux project clamoured for
> the removal of (undocumented) binary-only stuff from their release even
> earlier than OpenBSD 3.9 came out.
>
> This kind of proceedings is generally wrong-headed and a bane for the
> OpenBSD project in general. Unless you start going after all commercial
> users of OpenBSD, like eg. VMware, you are simply destroying that
> credibility and respect you have worked to earn over the years.
>
>
>
> Best,
> --Toni++
>
>

This has allready been discussed.
VMWare are not allowed to put it under any new licence as you said,
they are allowed to provide a binary only with the licence intact. The
Linux people _CHANGED_ the licence and now they changed it back and
they can use it.
Stop the old trolling about commercial companies just stealing, in
several cases they do give back!

BR
dunceor



redirect network traffic - netfwd project

2007-10-11 Thread Alexey Vatchenko
Hi!
I wrote a little utility and want to share it with you. It allows to
redirect incoming connections to remote (and also local) host. For
example, it listens for incoming TCP connections, accepts them and
creates connection with remote host.

But it works not only with TCP. One can easily redirect the following:
 - TCP
 - UDP
 - UNIX socket (SOCK_STREAM)
 - UNIX socket (SOCK_DGRAM)
 - serial port (actually, tty device).

And it doesn't matter what into what you redirect :)

For example, you can give your chrooted web server access to MySQL not
enabling networking in MySQL:

# netfwd unix stream /chroot/.../mysql.sock unix stream /.../mysql.sock

Any connects are welcome!

-- 
Alexey Vatchenko
http://www.bsdua.org
E-mail: [EMAIL PROTECTED]
JID: [EMAIL PROTECTED]



Re: redirect network traffic - netfwd project

2007-10-11 Thread Karl Sjodahl - dunceor
On 10/12/07, Alexey Vatchenko <[EMAIL PROTECTED]> wrote:
> Hi!
> I wrote a little utility and want to share it with you. It allows to
> redirect incoming connections to remote (and also local) host. For
> example, it listens for incoming TCP connections, accepts them and
> creates connection with remote host.
>
> But it works not only with TCP. One can easily redirect the following:
>  - TCP
>  - UDP
>  - UNIX socket (SOCK_STREAM)
>  - UNIX socket (SOCK_DGRAM)
>  - serial port (actually, tty device).
>
> And it doesn't matter what into what you redirect :)
>
> For example, you can give your chrooted web server access to MySQL not
> enabling networking in MySQL:
>
> # netfwd unix stream /chroot/.../mysql.sock unix stream 
> /.../mysql.sock
>
> Any connects are welcome!
>
> --
> Alexey Vatchenko
> http://www.bsdua.org
> E-mail: [EMAIL PROTECTED]
> JID: [EMAIL PROTECTED]
>
>

If you want it to be widely used by OpenBSD users just make a port of
it and I bet it will get wider use.

BR
dunceor