Re: I am not a geek ;)

2008-11-03 Thread Darek Stojek
I think, You need samba client installed on OpenBSD to be able to
authenticate and browse the network drive

Il giorno lun, 03/11/2008 alle 12.07 -0800, Jeff1981 ha scritto:
> Hello,
> 
> Yes this is Samba on the server.
> 
> As suggested by Kevin I am using OpenBSD 4.4. I try to connect via the
> assistant of network drive :
> - distant location connection assistant
> - add a network drive
> - Microsoft network drive
> then after filling data (server name etc ...) I get an eeror.
> 
> The connection was possible using same tool on a Linux distro and even from
> the other computer running Xp this works.
> 
> 2 points :
> - connection requires password but here it breaks before asking me password
> - is the reason why it does not work the fact that it's a NTFS file system
> on the NAS (I don't think so as the protocol only is seen on BSD, not the
> file system used on the local NAS server itself).
> 
> Thanks for help
> 
> Jean-FranC'ois
> --
> View this message in context:
> http://www.nabble.com/Cannot-connect-a-network-drive.-I-am-not-a-geek--%29-tp
> 20308280p20309770.html
> Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: QEMU crashes

2008-11-03 Thread Todd T. Fries
Just out of curiosity, humor me, run qemu as root with the following added
options:

-net nic,vlan=0 -net tap,vlan=0

I've observed that at some point user mode networking has started segv'ed on
amd64 when running any qemu guest, and am sorry to report I have not yet
tracked down the source of the issue..

Please let me know if you have other experiences.

Thanks,
-- 
Todd Fries .. [EMAIL PROTECTED]

 _
| \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \  250797 (FWD)
| \
 \\
 
  37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt

Penned by Frank Bax on 20081103 21:07.44, we have:
> I've been using qemu to run a Win98 guest on i386 host for about a year.  
>  On Aug.2, I installed an i386 snapshot that was a few days old.  Since  
> then, I've been running a Win98 guest on qemu-0.9.1p3 with no issues.
>
> Sometime over the past 12 months I realised I could be running amd64 on  
> my Core2Duo processor; so (using purchased cdrom's) I made the switch to  
> 8.4 amd64 release over the weekend.  Not sure if I did it correctly; but  
> I did it as an upgrade, then deleted and added all packages.  Seems to  
> be working fine so far; except for some problems with qemu.
>
> I notice that both -no-kqemu and -kernel-kqemu result in "invalid option".
>
> Am I allowed to run a guest like Win98 on host running amd64?  It seems  
> to work ok when running a couple of apps (win & dos); as long as there  
> is no network access.
>
> The Win98 guest system crashes (segmentation fault, core dumped) when I  
> access internet from the guest.  This can be either accessing a website  
> with IE or running pscp (an scp program for windows, from makers of  
> PuTTY).  Ping does not cause guest to crash.
>
> Ping to 10.0.2.2 (host) works (time is 1ms).  Ping to internet ip  
> address results in "Request timed out".  Ping to name does manage dns  
> lookup; but still gets "Request timed out".
>
> When the Win98 guest crashes; my mouse pointer goes with it.  I'm using  
> icewm.  I manage to shutdown other apps with keyboard shortcuts; then  
> restart X.  Is there a way to get mouse pointer back?
>
> kqemu is not installed.
>
> I don't know what other information about this issue to include here.
>
> I'm not sure if a dmesg is appropriate; but here it is:
>
> OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008
> [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3206639616 (3058MB)
> avail mem = 3109740544 (2965MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
> bios0: vendor LENOVO version "7IET30WW (1.11 )" date 07/13/2007
> bios0: LENOVO 8744J2U
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
> SSDT SSDT SSDT
> acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
> EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3)
> HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.62 MHz
> cpu0:
> FPU,VME,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,xTPR,LONG
> cpu0: 4MB 64b/line 16-way L2 cache
> cpu0: apic clock running at 166MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.34 MHz
> cpu1:
> FPU,VME,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,xTPR,LONG
> cpu1: 4MB 64b/line 16-way L2 cache
> ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
> ioapic0: misconfigured as apic 2, remapped to apid 1
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (AGP_)
> acpiprt2 at acpi0: bus 2 (EXP0)
> acpiprt3 at acpi0: bus 3 (EXP1)
> acpiprt4 at acpi0: bus 4 (EXP2)
> acpiprt5 at acpi0: bus 12 (EXP3)
> acpiprt6 at acpi0: bus 21 (PCI1)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2
> acpicpu1 at acpi0: C3, C2
> acpitz0 at acpi0: critical temperature 127 degC
> acpitz

Re: QEMU crashes

2008-11-03 Thread Ted Unangst
On Mon, Nov 3, 2008 at 9:07 PM, Frank Bax <[EMAIL PROTECTED]> wrote:
> I've been using qemu to run a Win98 guest on i386 host for about a year.  On
> Aug.2, I installed an i386 snapshot that was a few days old.  Since then,
> I've been running a Win98 guest on qemu-0.9.1p3 with no issues.
>
> Sometime over the past 12 months I realised I could be running amd64 on my
> Core2Duo processor; so (using purchased cdrom's) I made the switch to 8.4
> amd64 release over the weekend.  Not sure if I did it correctly; but I did
> it as an upgrade, then deleted and added all packages.  Seems to be working
> fine so far; except for some problems with qemu.

That is not the right way to do it, but probably didn't hurt too much.
 amd64 is not an upgrade, you should have done a clean install.

> Am I allowed to run a guest like Win98 on host running amd64?  It seems to
> work ok when running a couple of apps (win & dos); as long as there is no
> network access.

I don't know.  I've been running qemu on amd64 for a long time without
issues.  guests are openbsd (i386 and amd64) and freedos.



Re: PROPOSAL

2008-11-03 Thread STeve Andre'
On Monday 03 November 2008 18:10:54 John Mensah wrote:
> I have a new email address!You can now email me at: [EMAIL PROTECTED]
>
> Dear Sir/Madam,
>
> I'm an investor. I have $12,000,000.00USD for investment.
>
> John Mensah
>
> - John Mensah

Might I suggest 285,000 copies of OpenBSD 4.4?



QEMU crashes

2008-11-03 Thread Frank Bax
I've been using qemu to run a Win98 guest on i386 host for about a year. 
 On Aug.2, I installed an i386 snapshot that was a few days old.  Since 
then, I've been running a Win98 guest on qemu-0.9.1p3 with no issues.


Sometime over the past 12 months I realised I could be running amd64 on 
my Core2Duo processor; so (using purchased cdrom's) I made the switch to 
8.4 amd64 release over the weekend.  Not sure if I did it correctly; but 
I did it as an upgrade, then deleted and added all packages.  Seems to 
be working fine so far; except for some problems with qemu.


I notice that both -no-kqemu and -kernel-kqemu result in "invalid option".

Am I allowed to run a guest like Win98 on host running amd64?  It seems 
to work ok when running a couple of apps (win & dos); as long as there 
is no network access.


The Win98 guest system crashes (segmentation fault, core dumped) when I 
access internet from the guest.  This can be either accessing a website 
with IE or running pscp (an scp program for windows, from makers of 
PuTTY).  Ping does not cause guest to crash.


Ping to 10.0.2.2 (host) works (time is 1ms).  Ping to internet ip 
address results in "Request timed out".  Ping to name does manage dns 
lookup; but still gets "Request timed out".


When the Win98 guest crashes; my mouse pointer goes with it.  I'm using 
icewm.  I manage to shutdown other apps with keyboard shortcuts; then 
restart X.  Is there a way to get mouse pointer back?


kqemu is not installed.

I don't know what other information about this issue to include here.

I'm not sure if a dmesg is appropriate; but here it is:

OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3206639616 (3058MB)
avail mem = 3109740544 (2965MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version "7IET30WW (1.11 )" date 07/13/2007
bios0: LENOVO 8744J2U
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3)
HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.62 MHz
cpu0:
FPU,VME,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,xTPR,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.34 MHz
cpu1:
FPU,VME,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,xTPR,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2806000c28
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1340 mV): speeds: 2000, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int
16 (irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility FireGL V5250" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
drm at vga1 unsupported
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
apic 1 int 17 (irq 11)
azalia0: codec[s]: Analog Devices/0x1981, Conexant/0x2bfa, using Analog
Devices/0x1981
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int
20 (irq 11)
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic
1 int 16 (irq 11), address 00:1a:6b:6b:20:6c
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int
21 (irq 11)
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
a

Re: Problems booting OpenBSD

2008-11-03 Thread Rafael Cunha de Almeida
On Mon, 3 Nov 2008 03:24:00 -0200
Rafael Cunha de Almeida <[EMAIL PROTECTED]> wrote:

> On Sun, 02 Nov 2008 21:55:19 -0500
> Nick Holland <[EMAIL PROTECTED]> wrote:
> 
> > Rafael Cunha de Almeida wrote:
> > > Hello,
> > > 
> > > I'm having trouble booting my new opebsd installation. I was able to
> > > boot usihg the CD and I tried to use installboot to record the
> > > biosboot to the PBR. I booted with -s option, so I'd start in single
> > > user mode and I mounted /usr to /mnt/.
> > > 
> > > Then I did:
> > >   % /mnt/mdec/installboot /boot /mnt/mdec/biosboot sd0
> > >   ...
> > >   installboot: broken MBR
> > 
> > What you describe is not clear.
> > Why you are trying to do what you are trying to do is also unclear.
> > 
> > IF you booted from the CD, you were running bsd.rd, so /boot
> > would be on the ramdisk, and you were trying to put hooks to the
> > ramdisk's /boot into sd0's PBR.  Hopefully, it's clear why that
> > won't work, though if that is your only problem, the error message
> > is a bit cryptic.
> >
> > 
> > IF you used the CD to boot the OS off the disk, don't know why you
> > mounted /usr to a strange location, or booted single user mode, etc.
> 
> I booted to the OS of the disk, I used:
>   boot> boot hd0a:/bsd.mp -s
> At first I tried without -s, but installboot complained about the
> partition being mounted. Reading the documentation I found out that I
> had to boot in single user mode or in insecure kernel mode in order to
> be able to do the changes. So that's what I did.
> 
> I mounted /usr to /mnt because when I logged as a single user nothing
> was mounted, so I just mounted the /usr partition there out of habit
> of always using /mnt together with mount. Sorry if that made it
> confusing :-(.
>  
> > (and if you did boot bsd.rd off the CD, not sure why you wanted to
> > go "single user".  Probably doesn't change much, since bsd.rd isn't
> > really multi-user, anyway)
> > 
> > hm. also interesting: that prompt you show.  Something is fishy.
> > 
> > > I also tried:
> > >   % /mnt/mdec/installboot /boot /mnt/mdec/biosboot sd0a
> > >   installboot: superblock: devread: lseek: invalid argument
> > 
> > same problem, plus an additional one, sd0a is not right.
> 
> Yeah, I thought maybe, if I don't want to mess with MBR, I could
> overwrite only PBR using that command. Seems like I was wrong, though.
> 
> > > I have grub currently installed on MBR. OpenBSD is on
> > > linux's /dev/sda2. Does anyone know what could be wrong? Of course, I'd
> > > like it better if I don't have to destroy in order to get this
> > > working :-).
> > 
> > 1) you are using the commands wrong.
> > 2) I don't know why you are even trying to use those commands.
> > 
> > What is prompting you to try to install your own boot loader?
> > Obviously, you think there is a problem, but I don't know why,
> > and why this problem occurred in the first place needs to be
> > investigated.  The boot loader is normally installed by the
> > installation process, if something went wrong there, we really
> > should look at what and why.
> 
> I have linux installed on this machine and I use grub to boot it. I
> installed OpenBSD on a new partition. The installation went well as far
> as I could tell. So I edited the grub menu to include OpenBSD's
> partition. I used this (on linux, OpenBSD's partition is at /dev/sda2):
> 
>   rootnoverify (hd0,1)
>   makeactive
>   chainloader +1
> 
> Then grub gave me error 13:
>   Invalid or unsupported executable format
> 
> So I thought something went wrong during OpenBSD's installation. I was
> able to boot to the OpenBSD system using the CD (boot hd0a:/bsd.mp), so
> I thought the problem could only be on the bootloader.
> 
> Now, looking back on other e-mails on the list, I see that Michael had
> a related problem. Seems like things worked out when he used the
> installboot from openbsd 4.3. I could check out if that solves my
> problem, then we could be looking at a regression here.

I tried using the installboot from OpenBSD 4.3 installer CD and it
worked. I think we may be looking into a regression here. I'm using a
lenovo R61i and I created the primary partition OpenBSD is on using
linux's cfdisk.



Re: USB CD-ROM support

2008-11-03 Thread David Schulz
My Laptop Thinkpad X61 (the one where halt -p doesnt work) , can only be 
installed via USB CDROM. It worked fine, just selected to boot off of 
USB Devices in the BIOS, and that was it.


regards,
David

Liviu Daia wrote:

On 3 November 2008, Bob Hope <[EMAIL PROTECTED]> wrote:
[...]
  

DHCPD server setup:
CentOS 5.2
dhcpd configured to point to file 'pxeboot'
tftpd with server root at /tftpdroot and all files (pxeboot, bsd,
bsd.rd etc) placed in here

When I try booting the machine that I want OpenBSD on, it loads the
pxeboot file (I see this in the logs) but it keeps timing out looking
for the kernel file bsd (there aren't any log messages that tell me
anything here). It's my understanding that all the files needed to
boot using PXE should be placed in the root of the tftp server.


[...]

Create a file etc/boot.conf in your TFTP root directory, with the
contents

boot tftp:/bsd.rd

If that still doesn't help, enable logging to see what the TFTP
server is trying to do and where it's looking the files, and move bsd.rd
accordingly.

Regards,

Liviu Daia




Re: how to install the xfce4 desktop ?

2008-11-03 Thread guilherme m. schroeder
Just look at:

http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/xfce4/xfce4-session/files/README.OpenBSD?rev=1.2

It says how to install all xfce4 things.


On Mon, 2008-11-03 at 16:04 -0800, Allie Daneman wrote:
> Pick one..it'll automagically install the dependencies.
> 
> On Tue, 4 Nov 2008 00:37:43 +0100
> "elflord woods" <[EMAIL PROTECTED]> wrote:
> 
> > hi all
> > which package shall i install to automatically install all the
> > dependencies ?
> > thanks



Re: Recommend hardware for video surveillance system?

2008-11-03 Thread Noah Pugsley
I have a bktr 4 port card and 1 composite camera I could try tomorrow. 
Been meaning to try it anyway.

Unless you are rolling your own the software might be an issue. Systems 
like zoneminder (zoneminder.com) require video4linux among others.

Also, the wireless cameras are easily snooped on. If you decide to use 
them be careful where you point em!

Cheers,

Noah

Alex Popov wrote:
> On 11/3/2008 10:17, Duncan Patton a Campbell wrote:
>
>   
>>> look at the Axis cameras.
>>>
>>>   
>> Yes, this
>>
>> http://www.axis.com/products/cam_207w/index.htm
>>
>> is the sort of thing I was talking about.
>>
>> 
>
> I used Axis web cameras about 3 years ago to monitor a parking lot and had
> lots of quality issues. They could have improved since then, but I would
> recommend evaluating any camera thoroughly before buying it.
>
> I used the camera to upload frames to the OpenBSD FTP server every 10 seconds
> or so, and then used ffmpeg to convert them into avi movie, and presented the
> archived movies via httpd. Camera would stop the upload for no reason every
> other day, and I couldn't get it to work. Company's support was not very
> helpfull either. In the end, I wrote a expect script that would reset the
> camera every day, which seem to help somewhat, but the issue still remained.
>
> Also, make sure that the picture quality is adequate for what you are trying
> to accomplish:
>
> - how does it perform in different lighting conditions
> (day/night/rain/fog/etc.):  e.g. can you read the license plate of the vehicle
> if you monitoring the parking lot, or can you reliably identify a person based
> on the camera image. That sort of things are often overlooked :)
>
> - how many cameras do you need to cover a particular area: while the field of
> view may be sufficient to cover the monitored area, resolution/focus is
> sufficient only in a part of the whole field of view.
>
> - consider a camera which could be integrated with a motion sensor, door
> switch, etc, so it only records when event is triggered. Its not fun skimming
> through hours of video trying to catch 3 frames when a particular event 
> happened.
>
> - cabling (Ethernet/power) and environments housing are also interesting
> subjects that should be considered up front, before you settle on the desired
> zoom/resolution/sensitivity
>
> Good luck,
>
> Alex



Re: how to install the xfce4 desktop ?

2008-11-03 Thread Allie Daneman
Pick one..it'll automagically install the dependencies.

On Tue, 4 Nov 2008 00:37:43 +0100
"elflord woods" <[EMAIL PROTECTED]> wrote:

> hi all
> which package shall i install to automatically install all the
> dependencies ?
> thanks



Re: VPN between Linux and OpenBSD with RSA

2008-11-03 Thread John Jackson
If you're using Debian you may have better luck just running OpenBSD's
isakmpd on the Debian host.  Just read the docs, 'apt-get install
isakmpd' and proceed as normal.  The standard Debian kernels have the
necessary modules enabled by default.  I've had success with that
approach to a Debian<->OpenBSD IPSec vpn.

John


On Mon, Nov 03, 2008 at 08:00:21PM -0200, Pedro David Netto Silveira wrote:
> Hi!
> I'm basically trying to setup a VPN between a linux box (debian) and an
> OpenBSD one.
> I'd like to use a RSA for that VPN.
> 
> With PSK, I can make the VPN, but looks so hard build a tunnel with RSA
> keying.
> 
> I try this:
> 
> Linux Box:
> 
> ##file: /etc/ipsec.conf
> 
> config setup
> interfaces=%defaultroute
> plutodebug="all"
> nat_traversal=yes
> plutowait=yes
> nhelpers=0
> uniqueids=yes
> conn OpenBSD
> type=tunnel
> left=172.20.82.65
> leftrsasigkey=0sAQPKKAz...
> right=172.20.82.57
> rightsubnet=192.168.1.0/24
> rightrsasigkey=0sAQPF5ZXJfL...
> keyexchange=ike
> esp=aes128-sha1
> ike=aes128-sha1-modp1024
> auto=route
> auth=esp
> authby=rsasig
> pfs=yes
> keyingtries=%forever
> rekeymargin=4m
> disablearrivalcheck=no
> rekey=yes
> aggrmode=no
> 
> ##file: /etc/ipsec.secrets
> 
> :RSA{
> # RSA 1024 bits   ncdres09   Thu Oct 30 10:56:33 2008
> # for signatures only, UNSAFE FOR ENCRYPTION
> #pubkey=0sAQPKKAz...
>  .
>  .
>  .
>  .
> }
> --
> OBSD box:
> 
> ##file: /etc/ipsec.conf
> 
> ipv4_linux = "172.20.82.65"
> ipv4_addr = "172.20.82.57"
> ipv4_addr_subnet = "192.168.1.0/24"
> ike esp from $ipv4_addr to $ipv4_linux quick auth hmac-sha1 enc aes group
> modp1024
> ike esp from $ipv4_addr_subnet to $ipv4_linux quick auth hmac-sha1 enc aes
> group modp1024
> 
> ##file: /etc/isakmpd/local.pub
> 
> -BEGIN PUBLIC KEY-
> 0sAQPF5ZXJfL...
> -END PUBLIC KEY-
> 
> ##file: /etc/isakmpd/pubkeys/ipv4/172.20.82.65
> 
> 0sAQPKKAz...
> 
> --
> 
> OBS: these IP's are fake.
> 
> Someone know if that would work?
> Have some hint for me?
> Thank you!
> 
> Pedro David



how to install the xfce4 desktop ?

2008-11-03 Thread elflord woods
hi all
which package shall i install to automatically install all the dependencies
?
thanks



PROPOSAL

2008-11-03 Thread John Mensah
I have a new email address!You can now email me at: [EMAIL PROTECTED]

Dear Sir/Madam,

I'm an investor. I have $12,000,000.00USD for investment.  

John Mensah

- John Mensah



Bad network card?

2008-11-03 Thread Ben Franklan
Dear list

I have 2 amd64 4.3 boxes with identical hardware. On host 1, one of
the interfaces (em1) on trunk0 only connects at 100M,  I have tried
different cables, different switch ports, different switches, ...

# ifconfig em1 media 1000BaseT mediaopt full-duplex
em1: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:21:7f
trunk: trunkdev trunk0
media: Ethernet 1000baseT full-duplex (none)
status: no carrier
inet6 fe80::2a0:d1ff:fee7:217f%em1 prefixlen 64 scopeid 0x2
# ifconfig em1 media autoselect
---connection hangs - (it comes back if I wait a minute)
# ifconfig em1
em1: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:21:7f
trunk: trunkdev trunk0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::2a0:d1ff:fee7:217f%em1 prefixlen 64 scopeid 0x2

Host 1
# cat /etc/hostname.trunk0
trunkproto loadbalance trunkport em1 trunkport em4 10.0.0.2 netmask
255.255.255.0 up
# cat /etc/hostname.em1
up
# ifconfig em1; ifconfig em4; ifconfig trunk0
em1: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:21:7f
trunk: trunkdev trunk0
media: Ethernet 1000baseT full-duplex (none)
status: no carrier
inet6 fe80::2a0:d1ff:fee7:217f%em1 prefixlen 64 scopeid 0x2
em4: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:21:7f
trunk: trunkdev trunk0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::215:17ff:fe4b:7135%em4 prefixlen 64 scopeid 0x5
trunk0: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:21:7f
trunk: trunkproto loadbalance
trunkport em4 active
trunkport em1 master,active
groups: trunk
media: Ethernet autoselect
status: active
inet6 fe80::2a0:d1ff:fee7:217f%trunk0 prefixlen 64 scopeid 0x8
inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255

Host 2
# cat /etc/hostname.trunk0
trunkproto loadbalance trunkport em1 trunkport em4 10.0.0.3 netmask
255.255.255.0 up
# cat /etc/hostname.em1
up
# ifconfig em1; ifconfig em4; ifconfig trunk0
em1: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:20:0f
trunk: trunkdev trunk0
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
inet6 fe80::2a0:d1ff:fee7:200f%em1 prefixlen 64 scopeid 0x2
em4: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:20:0f
trunk: trunkdev trunk0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet6 fe80::215:17ff:fe3d:c7e3%em4 prefixlen 64 scopeid 0x5
trunk0: flags=8943 mtu 1500
lladdr 00:a0:d1:e7:20:0f
trunk: trunkproto loadbalance
trunkport em4 active
trunkport em1 master,active
groups: trunk
media: Ethernet autoselect
status: active
inet6 fe80::2a0:d1ff:fee7:200f%trunk0 prefixlen 64 scopeid 0x9
inet 10.0.0.3 netmask 0xff00 broadcast 10.0.0.255


Is it just a bad network card? Anything else I can try?

-
B. Franklan



Re: netinet6/in6.c fix for 4.4?

2008-11-03 Thread Ted Unangst
On Sat, Nov 1, 2008 at 3:32 AM, Maurice Janssen <[EMAIL PROTECTED]> wrote:
> About a month ago, there was a security fix for -current, 4.2-stable and
> 4.3-stable.  I expected to see the same fix for 4.4-stable just before
> the release date, but I haven't seen it in cvs yet.
>
> Will there be a fix for 4.4-stable or not?

Should be there now.  Sometimes it takes a bit for the wheels to start turning.



VPN between Linux and OpenBSD with RSA

2008-11-03 Thread Pedro David Netto Silveira
Hi!
I'm basically trying to setup a VPN between a linux box (debian) and an
OpenBSD one.
I'd like to use a RSA for that VPN.

With PSK, I can make the VPN, but looks so hard build a tunnel with RSA
keying.

I try this:

Linux Box:

##file: /etc/ipsec.conf

config setup
interfaces=%defaultroute
plutodebug="all"
nat_traversal=yes
plutowait=yes
nhelpers=0
uniqueids=yes
conn OpenBSD
type=tunnel
left=172.20.82.65
leftrsasigkey=0sAQPKKAz...
right=172.20.82.57
rightsubnet=192.168.1.0/24
rightrsasigkey=0sAQPF5ZXJfL...
keyexchange=ike
esp=aes128-sha1
ike=aes128-sha1-modp1024
auto=route
auth=esp
authby=rsasig
pfs=yes
keyingtries=%forever
rekeymargin=4m
disablearrivalcheck=no
rekey=yes
aggrmode=no

##file: /etc/ipsec.secrets

:RSA{
# RSA 1024 bits   ncdres09   Thu Oct 30 10:56:33 2008
# for signatures only, UNSAFE FOR ENCRYPTION
#pubkey=0sAQPKKAz...
 .
 .
 .
 .
}
--
OBSD box:

##file: /etc/ipsec.conf

ipv4_linux = "172.20.82.65"
ipv4_addr = "172.20.82.57"
ipv4_addr_subnet = "192.168.1.0/24"
ike esp from $ipv4_addr to $ipv4_linux quick auth hmac-sha1 enc aes group
modp1024
ike esp from $ipv4_addr_subnet to $ipv4_linux quick auth hmac-sha1 enc aes
group modp1024

##file: /etc/isakmpd/local.pub

-BEGIN PUBLIC KEY-
0sAQPF5ZXJfL...
-END PUBLIC KEY-

##file: /etc/isakmpd/pubkeys/ipv4/172.20.82.65

0sAQPKKAz...

--

OBS: these IP's are fake.

Someone know if that would work?
Have some hint for me?
Thank you!

Pedro David



lenovo thinkcentre m57 hangs while booting bsd.rd 4.4

2008-11-03 Thread Stephan Andreas
Thinkcentre M57 SFF, 6072-BGG
Chipset Intel Q35
Intel GMA 3100 Onboard Graphics

1. I want install 4.4/i386 via cd
it hangs after rd0 is initialized
(I have tested to disable/enable apm/acpi )

2. I install 4.2/i386 it runs but some hardware is not supported.

3. I load a bsd.rd current snapshot/amd64, while I'm booting that there is an 
error with uhci

I have no idea.
p.s. How can I record the dmesg output, when the machine hangs while booting.



Re: Recommend hardware for video surveillance system?

2008-11-03 Thread Alex Popov
On 11/3/2008 10:17, Duncan Patton a Campbell wrote:

>> look at the Axis cameras.
>> 
> 
> Yes, this
> 
> http://www.axis.com/products/cam_207w/index.htm
> 
> is the sort of thing I was talking about.
> 

I used Axis web cameras about 3 years ago to monitor a parking lot and had
lots of quality issues. They could have improved since then, but I would
recommend evaluating any camera thoroughly before buying it.

I used the camera to upload frames to the OpenBSD FTP server every 10 seconds
or so, and then used ffmpeg to convert them into avi movie, and presented the
archived movies via httpd. Camera would stop the upload for no reason every
other day, and I couldn't get it to work. Company's support was not very
helpfull either. In the end, I wrote a expect script that would reset the
camera every day, which seem to help somewhat, but the issue still remained.

Also, make sure that the picture quality is adequate for what you are trying
to accomplish:

- how does it perform in different lighting conditions
(day/night/rain/fog/etc.):  e.g. can you read the license plate of the vehicle
if you monitoring the parking lot, or can you reliably identify a person based
on the camera image. That sort of things are often overlooked :)

- how many cameras do you need to cover a particular area: while the field of
view may be sufficient to cover the monitored area, resolution/focus is
sufficient only in a part of the whole field of view.

- consider a camera which could be integrated with a motion sensor, door
switch, etc, so it only records when event is triggered. Its not fun skimming
through hours of video trying to catch 3 frames when a particular event 
happened.

- cabling (Ethernet/power) and environments housing are also interesting
subjects that should be considered up front, before you settle on the desired
zoom/resolution/sensitivity

Good luck,

Alex



Re: 4.4 sshd didn't start

2008-11-03 Thread Rogier Krieger
On Mon, Nov 3, 2008 at 21:08, Bryan Irvine <[EMAIL PROTECTED]> wrote:
> Should be in rc.conf.local?

If I'm not mistaken [1], you will only see a change in
/etc/rc.conf.local if you select 'no' for starting sshd by default.


To the OP:

> On Mon, Nov 3, 2008 at 11:28 AM, elflord woods <[EMAIL PROTECTED]> wrote:
>> and then i add enable_sshd=YES in /etc/rc.local

The flag name should probably be sshd_flags and not enable_sshd. When
in doubt: look at /etc/rc.conf, but be sure to save changes to
/etc/rc.conf.local to survive upgrades, etc.

If you do not see sshd(8) starting upon reboot yet have selected
'yes', you would do best to check your logs and see where the problem
is. Did you change any files relating to sshd?


>> but then it complains that it could not load host key

What message are you getting w.r.t. the host keys? Report what errors
you see instead of letting others guess. If e.g. you are trying to
write to a read-only location, the (logs of the) boot up sequence may
give useful clues.

Regards,

Rogier


References:
1. OpenBSD CVSweb - src/distrib/miniroot/install.sub - r1.436
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/miniroot/install.sub?rev=1.436

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



Re: 4.4 sshd didn't start

2008-11-03 Thread johan beisser

On Nov 3, 2008, at 11:28 AM, elflord woods wrote:


hello
i've just installed 4.4 and answered yes during installation for the  
default

start of sshd

yet the sshd didn't start after reboot

and then i add enable_sshd=YES in /etc/rc.local
but then it complains that it could not load host key


Add 'sshd_flags=""' to /etc/rc.conf.local.

The host keys are generated on first run by ssh-keygen(1), called  
from  rc(8) if /etc/ssh/ssh_hos_{rsa,dsa}_key doesn't exist. You can  
create them manually, if you want to, just dig through /etc/rc until  
you see ssh_keygen called to find out how.




Re: I am not a geek ;)

2008-11-03 Thread Kevin Wilcox
2008/11/3 Jeff1981 <[EMAIL PROTECTED]>:

> I actually am starting the use of OpenBSD thanks to production team.
> Please can you help me to pass this error message when I try to connect my
> NAS an external drive (a network drive). This works on my other computer but
> not from the one on BSD, I have an access error message however the ping to
> the NAS server works and so does the FTP via internal IP, so does the SSH
> connection.
>
> Only the network drive cannot be connected. Any suggest ?

Hi Jeff.

For anyone to be able to help you they need, at the minimum, the
version of OpenBSD, how you're attempting to 'connect the network
drive' and the error message you're getting. I'm sure if anyone needs
additional information they'll ask for it.

kmw

-- 
Far better is it to dare mighty things, to win glorious triumphs, even
if checkered by failure, than to take rank with those poor spirits who
neither enjoy much nor suffer much, because they live in the gray
twilight that knows not victory or defeat.



Re: 4.4 sshd didn't start

2008-11-03 Thread Bryan Irvine
On Mon, Nov 3, 2008 at 11:28 AM, elflord woods <[EMAIL PROTECTED]> wrote:
> hello
> i've just installed 4.4 and answered yes during installation for the default
> start of sshd
>
> yet the sshd didn't start after reboot
>
> and then i add enable_sshd=YES in /etc/rc.local
> but then it complains that it could not load host key

Should be in rc.conf.local?

-B



Re: I am not a geek ;)

2008-11-03 Thread Jeff1981
Hello,

Yes this is Samba on the server.

As suggested by Kevin I am using OpenBSD 4.4. I try to connect via the
assistant of network drive :
- distant location connection assistant
- add a network drive
- Microsoft network drive
then after filling data (server name etc ...) I get an eeror.

The connection was possible using same tool on a Linux distro and even from
the other computer running Xp this works.

2 points :
- connection requires password but here it breaks before asking me password
- is the reason why it does not work the fact that it's a NTFS file system
on the NAS (I don't think so as the protocol only is seen on BSD, not the
file system used on the local NAS server itself).

Thanks for help

Jean-FranC'ois
--
View this message in context:
http://www.nabble.com/Cannot-connect-a-network-drive.-I-am-not-a-geek--%29-tp
20308280p20309770.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: 4.4 sshd didn't start

2008-11-03 Thread Lars Noodén
elflord woods wrote:
> but then it complains that it could not load host key

There's your clue.

> i couldn't find documents on how to start the sshd service

http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd

> what [else] can i do ?

Check your logs.

Regards
-Lars



Re: 4.4 sshd didn't start

2008-11-03 Thread soko.tica
On 11/3/08, elflord woods <[EMAIL PROTECTED]> wrote:

> and then i add enable_sshd=YES in /etc/rc.local

You should enable it in /etc/rc.conf , not in /etc/rc.local



Re: I am not a geek ;)

2008-11-03 Thread Duncan Patton a Campbell
On Mon, 3 Nov 2008 10:48:46 -0800 (PST)
Jeff1981 <[EMAIL PROTECTED]> wrote:

> Hello
> 
> I actually am starting the use of OpenBSD thanks to production team.
> Please can you help me to pass this error message when I try to connect my
> NAS an external drive (a network drive). This works on my other computer but
> not from the one on BSD, I have an access error message however the ping to
> the NAS server works and so does the FTP via internal IP, so does the SSH
> connection.
> 
> Only the network drive cannot be connected. Any suggest ?
> 

The network drive is probably an SMB service.  
Look at SMB/Samba Clients to access these.

Dhu


> Thanks and bye
> Yrs
> Jeff
> -- 
> View this message in context: 
> http://www.nabble.com/I-am-not-a-geek--%29-tp20308280p20308280.html
> Sent from the openbsd user - misc mailing list archive at Nabble.com.



4.4 sshd didn't start

2008-11-03 Thread elflord woods
hello
i've just installed 4.4 and answered yes during installation for the default
start of sshd

yet the sshd didn't start after reboot

and then i add enable_sshd=YES in /etc/rc.local
but then it complains that it could not load host key

i couldn't find documents on how to start the sshd service

what can i do ?

thanks



Re: incorrect MD5 file on mirror

2008-11-03 Thread Mihai Popescu B.S.
My mistake was not to include the files. The confusing thing was that
_BOTH_ md5 files had the same size and the one from uni-erlangen.de
was one day delay like it should be (aprox) . I include here the file
content and maybe someone can pinpoint more accurately:

MD5 - ftp.openbsd.org
--
MD5 (INSTALL.i386) = d63689d0e6c63150c9f3173eff5237fb
MD5 (INSTALL.linux) = 9dc22b93082baed2745f75b97510cda7
MD5 (base44.tgz) = bb8db9c8ca3c66dbd9d2a1174899236a
MD5 (bsd) = 6e42fe01151f8eacbfabb7f6043541d1
MD5 (bsd.mp) = fe533d2aec39f88b85696e16dd2fbe3c
MD5 (bsd.rd) = f171e6429cc1600b04ae35cf6149514f
MD5 (cd44.iso) = 903642d08fb324b500eadeb7eada7ded
MD5 (cdboot) = 7afc36a12cdf562bf24b60029001572a
MD5 (cdbr) = f609db1eeaf4dc7dc6a280a6c99eea0f
MD5 (cdemu44.iso) = 729351932f3e4f8f967a4ee3366ba513
MD5 (comp44.tgz) = 84f640db395a2b76d733e44d8c9f4900
MD5 (etc44.tgz) = 2b8c769b254b4e8305c1b293e592a21e
MD5 (floppy44.fs) = f2a8cb4e05d6593c4fcd9271a7052c87
MD5 (floppyB44.fs) = 89887f2fb23930654a9a6c151804122a
MD5 (floppyC44.fs) = 2576628b4ab9c9e28d342d0234fbc8a0
MD5 (game44.tgz) = 81021ef9c53838b0e8e6560bde3ac991
MD5 (install44.iso) = 61e25017f70ca4e2671070dc44ef2a58
MD5 (man44.tgz) = 435d5b8e5b59207c5795a66bce43ffa8
MD5 (misc44.tgz) = 724c23bef1ddf89a9bafc28d9e616e9a
MD5 (pxeboot) = 6d24b0694bc23b642db9230fc02726b6

MD5 - openbsd.informatik.uni-erlangen.de
---
MD5 (INSTALL.i386) = d63689d0e6c63150c9f3173eff5237fb
MD5 (INSTALL.linux) = 9dc22b93082baed2745f75b97510cda7
MD5 (base44.tgz) = 773abe1dafee4b277a9a943688339d0e
MD5 (bsd) = 5a1d4258494abd7f23ca0e86deb54e03
MD5 (bsd.mp) = 48d669bf3dbac3908c9e892f956d4040
MD5 (bsd.rd) = af51c311685805fd59002cbad4e80b63
MD5 (cd44.iso) = 3a2949fbe1eeaf77d882e5b40a595133
MD5 (cdboot) = 7afc36a12cdf562bf24b60029001572a
MD5 (cdbr) = f609db1eeaf4dc7dc6a280a6c99eea0f
MD5 (cdemu44.iso) = d9244f2ab37ea38423836c0304c3bb0f
MD5 (comp44.tgz) = e482262f9492f88554a8f81aeb077ed8
MD5 (etc44.tgz) = 58e72b230ba7f8816e6ca08180c8
MD5 (floppy44.fs) = 00575aa07c49afd2bdfb154efcdaea89
MD5 (floppyB44.fs) = abe3344304f848b05d2b754f8f4fb08a
MD5 (floppyC44.fs) = 648b2d17e8a69e057c9ed312de780d9f
MD5 (game44.tgz) = 7e119c1a600dd36cef4ff0502c3c9142
MD5 (install44.iso) = 29c5424f39674b2180570dbaaa3ba038
MD5 (man44.tgz) = a49d6bb97980975230fd0b39ba60ced9
MD5 (misc44.tgz) = c4c6b3c0b9ac04424354ae10ccab6f6f
MD5 (pxeboot) = 6d24b0694bc23b642db9230fc02726b6



I am not a geek ;)

2008-11-03 Thread Jeff1981
Hello

I actually am starting the use of OpenBSD thanks to production team.
Please can you help me to pass this error message when I try to connect my
NAS an external drive (a network drive). This works on my other computer but
not from the one on BSD, I have an access error message however the ping to
the NAS server works and so does the FTP via internal IP, so does the SSH
connection.

Only the network drive cannot be connected. Any suggest ?

Thanks and bye
Yrs
Jeff
-- 
View this message in context: 
http://www.nabble.com/I-am-not-a-geek--%29-tp20308280p20308280.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Dell e4300 decent pentest laptop?

2008-11-03 Thread John Bartoszewski
I'm looking to get a laptop for pentesting, and I need one with dual
gig network. The Dell Latitude e4300 is the only reasonably portable
with gig on board and an Expresscard slot that I can find.

Does anyone have experience getting OBSD working on a e4300
or the Mobile Intel GS45 Express Chipset?

Any recommendations on Expresscard gig network cards?

Any recommendations on OBSD compatiable dial gig network laptops?

Thanks.



Re: Recommend hardware for video surveillance system?

2008-11-03 Thread Duncan Patton a Campbell
On Sun, 2 Nov 2008 14:52:58 + (UTC)
Stuart Henderson <[EMAIL PROTECTED]> wrote:

> On 2008-11-02, Brian Keefer <[EMAIL PROTECTED]> wrote:
> > On Nov 1, 2008, at 10:21 PM, Duncan Patton a Campbell wrote:
> >
> >> On Fri, 31 Oct 2008 20:28:34 -0700
> >> Brian Keefer <[EMAIL PROTECTED]> wrote:
> >>
> >>> I'm finally getting around to starting my project to build a home-
> >>> monitoring system.  I'm going to need multiple capture devices inside
> >>> the home, and at least one outside as well.  I'm looking for
> >>> recommendations on a video capture card, and wireless video cameras.
> >>> I don't mind spending > $100 US per cam if it's worth it.
> >>>
> >>
> >> Unless you have a good reason not to, use "WebCams" that implement
> >> an http(s) server on camera.
> >>
> >> The use of a standard protocol makes life much easier.
> >>
> >> Dhu
> >
> > I was under the impression that the quality would be bad and/or they  
> > would require a proprietary client application that only runs on  
> > Windows, etc... Am I mistaken?  If the cam has it's own webserver, is  
> > it simply serving static frames ever x seconds, or streams video as  
> > well?
> 
> look at the Axis cameras.
> 

Yes, this

http://www.axis.com/products/cam_207w/index.htm

is the sort of thing I was talking about.

Dhu


> > Sorry for the basic questions, but I hadn't even considered that
> > approach.  I was planning on using bktr(4) with capture cards and
> > cameras with coax/rca/s-video out.
> 
> that may also be possible, but afaik it's mostly used for watching
> tv, at least the manual page doesn't talk about the multi-input
> cards you'd probably want to use.



Re: incorrect MD5 file on mirror

2008-11-03 Thread Nick Holland

Nick Holland wrote:

Mihai Popescu B.S. wrote:

Hello,

I got the install44.iso and MD5 from snapshots from
openbsd.informatik.uni-erlangen.de and the MD5 file failed the test.

I got the MD5 from ftp.openbsd.org and run it against the
install44.iso from openbsd.informatik[...] and it reports OK.

Comparing the two MD5 files, there are major differences, looks like
the MD5 from informatik is wrong.


Not sure if it is still true, but the installXX.iso files were
made in a separate step from the rest of the snapshot, so the
MD5 numbers for it may not always be accurate


I've been corrected, the MD5 numbers SHOULD be accurate for installXX.iso.

You probably got a mid-upload file.
(or a file that changed before/after the MD5 file.
 or a file that got corrupted along the way
 or ...)


Nick.



Re: DLZ support in BIND

2008-11-03 Thread floss

Hello again,

I got DLZ support run in OpenBSDs BIND version,
but there are some things to do for the maintainer.

First a config.dlz.in or better all contrib/dlz files from a stanard
BIND version are
needed.

Even if a config.dlz.in exists it won't work. I had to rebuild the
configure script with
autoconf. (It seems configure.in was correctly patched but without
running autoconf after
it.)

I also had to remove the lcrypt compiler switches. They aren't needed
on OpenBSD.

At least I had to search lcg.h in OpenBSD 4.2 (it was removed in 4.3).
The lcg.h functionallity should be replaced by the new 4.3 by someone.

After this steps I was able to recompile BIND with DLZ support.

I tested it and it works normally so far but I classify the above
steps as bugs.

Quoting [EMAIL PROTECTED]:


Hello,

I'm going to recompile openBSDs BIND Version to enable DLZ support.
It's: http://bind-dlz.sourceforge.net/

I know DLZ is built in and in general should be enabled by using
compiler flag --with-dlz-xxx or refering to the changelog by using
--with-dlz-xxx=yes.

Both doesn't work what means I get a "checking for DLZ...no" output at
configure. In configure and configure.in a config.dlz.in file is
called but I don't know anything about the file or the format. It's
not documented in the net or in local docs. How can I find out more
about the file, are there docs?

Internal the first problem is USE_DLZ is set to an empty value (I got
this from the config.log). Referring to the configure script
config.dlz.in is used to enable USE_DLZ, but how?

I could set USE_DLZ myself to a non empty value but that shouldn't be
the standard way.

# src/usr.sbin/bind/configure
#
# Configure any DLZ drivers.
#
# If config.dlz.in selects one or more DLZ drivers, it will set
# USE_DLZ to a non-empty value, which will be our clue to
# enable the DLZ core functions.
#
# This section has to come after the libtool stuff because it needs to
# know how to name the driver object files.
#

USE_DLZ=""
DLZ_DRIVER_INCLUDES=""
DLZ_DRIVER_LIBS=""
DLZ_DRIVER_SRCS=""
DLZ_DRIVER_OBJS=""



{ echo "$as_me:$LINENO: checking for DLZ" >&5
echo $ECHO_N "checking for DLZ... $ECHO_C" >&6; }

if test -n "$USE_DLZ"
then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
USE_DLZ="-DDLZ $USE_DLZ"
DLZ_DRIVER_RULES=contrib/dlz/drivers/rules
ac_config_files="$ac_config_files $DLZ_DRIVER_RULES"

else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
DLZ_DRIVER_RULES=/dev/null
fi

#

# src/usr.sbin/bind/configure.in
#
# Configure any DLZ drivers.
#
# If config.dlz.in selects one or more DLZ drivers, it will set
# USE_DLZ to a non-empty value, which will be our clue to
# enable the DLZ core functions.
#
# This section has to come after the libtool stuff because it needs to
# know how to name the driver object files.
#

USE_DLZ=""
DLZ_DRIVER_INCLUDES=""
DLZ_DRIVER_LIBS=""
DLZ_DRIVER_SRCS=""
DLZ_DRIVER_OBJS=""

sinclude(contrib/dlz/config.dlz.in)

AC_MSG_CHECKING(for DLZ)

if test -n "$USE_DLZ"
then
AC_MSG_RESULT(yes)
USE_DLZ="-DDLZ $USE_DLZ"
DLZ_DRIVER_RULES=contrib/dlz/drivers/rules
AC_CONFIG_FILES([$DLZ_DRIVER_RULES])
else
AC_MSG_RESULT(no)
DLZ_DRIVER_RULES=/dev/null
fi

AC_SUBST(USE_DLZ)
AC_SUBST(DLZ_DRIVER_INCLUDES)
AC_SUBST(DLZ_DRIVER_LIBS)
AC_SUBST(DLZ_DRIVER_SRCS)
AC_SUBST(DLZ_DRIVER_OBJS)
AC_SUBST_FILE(DLZ_DRIVER_RULES)

#

# more config.log | grep -A 1 -B 1  DLZ
configure:29638: result: yes
configure:29724: checking for DLZ
configure:29736: result: no
--
DEFS='-DHAVE_CONFIG_H'
DLZ_DRIVER_INCLUDES=''
DLZ_DRIVER_LIBS=''
DLZ_DRIVER_OBJS=''
DLZ_DRIVER_SRCS=''
DNS_CRYPTO_LIBS=' -lcrypto '
--
STRIP=''
USE_DLZ=''
USE_GSSAPI=''
--
BIND9_MAKE_RULES='/root/bind/bind/make/rules'
DLZ_DRIVER_RULES='/dev/null'
LIBBIND9_API='./lib/bind9/api'

Thanks !




Re: incorrect MD5 file on mirror

2008-11-03 Thread soko.tica
On 11/2/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On 11/2/08, Lars Noodin <[EMAIL PROTECTED]> wrote:
>
>> Are you using anything other than /bin/md5 ?
>
> You mean, apart from /local/bin/md5 in some OSes?

Lars, forgive me if I offended you by the above message. Please.

I assumed everybody else knew what I used to know while struggling to
recollect it, but didn't want to share it with me.

BTW, the command

$md5 -c MD5

instead of

$md5sum -c MD5

didn't spoil the signatures of some old packages that I tested today.



Re: Longest Uptime?

2008-11-03 Thread new_guy
Lori Barfield wrote:
> 
> SunOS 2.6 was released in 1999.  if someone can really run a 9-yr-old
> release of *anything* exposed to the internet without "doing much to it,"
> and still avoid compromise, that would be a pretty good trick.
> 
> ...lori
> 
Yes, I agree. But I have seen systems that old online in the year 2008. The
latest one was running on 15 year old Sun hardware. SunOS 2.6. It had been
hacked. I found it because it was infected with stacheldracht... remember
that? One of the first DDOS tools. And it was phoning home to a handler
(they did not refer to them as 'controllers' back in 1999). You'd be
surprised... especially in higher-ed IT environments. Research professors
with Nobel Peace prizes in science have dusty, old research labs full of
systems like this... and yes, they are online :)

-- 
View this message in context: 
http://www.nabble.com/Longest-Uptime--tp20219082p20306106.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: USB CD-ROM support

2008-11-03 Thread Liviu Daia
On 3 November 2008, Bob Hope <[EMAIL PROTECTED]> wrote:
[...]
> DHCPD server setup:
> CentOS 5.2
> dhcpd configured to point to file 'pxeboot'
> tftpd with server root at /tftpdroot and all files (pxeboot, bsd,
> bsd.rd etc) placed in here
> 
> When I try booting the machine that I want OpenBSD on, it loads the
> pxeboot file (I see this in the logs) but it keeps timing out looking
> for the kernel file bsd (there aren't any log messages that tell me
> anything here). It's my understanding that all the files needed to
> boot using PXE should be placed in the root of the tftp server.
[...]

Create a file etc/boot.conf in your TFTP root directory, with the
contents

boot tftp:/bsd.rd

If that still doesn't help, enable logging to see what the TFTP
server is trying to do and where it's looking the files, and move bsd.rd
accordingly.

Regards,

Liviu Daia

-- 
Dr. Liviu Daia  http://www.imar.ro/~daia



Re: Longest Uptime?

2008-11-03 Thread Lori Barfield
On Tue, Oct 28, 2008 at 4:54 PM, new_guy <[EMAIL PROTECTED]> wrote:
> I know. Longest uptime is silly, macho, pointless stuff... but I ran across
> an old SunOS 2.6 box that had been up for 387 days. It had been hacked. The
> only reason it was not an open mail relay is that /var was full. So, I
> thought to myself, "I bet I could run an OpenBSD box for that amount of time
> or longer without getting hacked and without doing much to it." Just
> wondering what's the longest OpenBSD uptime some folks on misc have seen?

SunOS 2.6 was released in 1999.  if someone can really run a 9-yr-old
release of *anything* exposed to the internet without "doing much to it,"
and still avoid compromise, that would be a pretty good trick.

...lori



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread João Salvatti
Thanks for all.

On Mon, Nov 3, 2008 at 11:34 AM, Stuart Henderson <[EMAIL PROTECTED]> wrote:
> On 2008-11-03, Joco Salvatti <[EMAIL PROTECTED]> wrote:
>> Hi misc,
>>
>> I have already installed OpenBSD current on my laptop, but the
>> ifconfig command doesn't support -M option. Knowing this, how can I
>> scan the wireless networks on current?
>>
>> Thanks in advance.
>>
>>
>
> If you follow -current, you need to keep an eye on
> www.openbsd.org/faq/current.html.



Re: USB CD-ROM support

2008-11-03 Thread L. V. Lammert
On Mon, 3 Nov 2008, Bob Hope wrote:

> When (if ever) will support for installing OpenBSD with a USB CD-ROM
> be added? I have a few
> servers I'd like to use OpenBSD on, but they are Blade units and the
> only method of installing
> the operating system is through USB CD-ROM.
>
> Thanks,
> Tom
>
The install has nothing to do with media, actually, .. all you have to do
is boot the install kernel (from whatever means your h/w supports). For
example, we use a lot of pIII servers that have nothing installed other
than a floppy & HD. Other systems can be booted from flash media.

Lee

==
 Leland V. Lammert[EMAIL PROTECTED]
  Chief ScientistOmnitec Corporation
 Network/Internet Consultants www.omnitec.net
==



Re: installboot: broken mbr on 4.4

2008-11-03 Thread Michael
On Mon, Nov 03, 2008 at 07:20:54AM -0500, Greg Jones wrote:
> Michael wrote:
>> On Sun, Nov 02, 2008 at 07:06:04AM -0700, Michael wrote:
>>   
>>> On Sun, Nov 02, 2008 at 07:39:20AM -0500, Josh Grosse wrote:
>>> 
 On Sun, Nov 02, 2008 at 04:28:54AM -0700, Michael wrote:
   
> On Sun, Nov 02, 2008 at 07:40:12AM +0530, Girish Venkatachalam wrote:
> 
 ...
   
>> cd /mnt
>>
>> # /usr/mdec/installboot -v boot /mnt/biosboot wd0
>>
>> It should not be /usr/mdec/biosboot. Definitely not.
>>   
 ...
   
> Thanks for your answer. If 4.4 doesn't install completely 
> (without the installboot error) on a 120 gig hd, I'll try the 
> command the way you posted it and see if it works vs what Josh 
> sent me.
> 
 The biosboot file (found in /usr/mdec/biosboot of either the ramdisk kernel
 or a default install) is the PBR which is placed in the first 
 sector of the partition.  The boot file (found in 
 /usr/mdec/biosboot of either the
 ramdisk kernel or a default install, or in /boot in a default install) is
 the second stage bootloader program.  

 As far as I know, there is no "/biosboot" file in a standard install, so
 the "/mnt/biosboot" will not work.

   
>>> Thanks again Josh :)
>>>
>>> 
>>
>> Well, I tried installing 4.4 on my Acer Aspire 3000 with 60 gig hd and 
>> got the same problem with installboot. Again, I used the above commands 
>> that Josh sent me with my 4.3 cd and the installboot ran fine and now 
>> I'm using 4.4 on the Acer. Info on this hd:
>> 117210240 sectors
>> OpenBSD starts at 32788665 with a size of 25270245
>> "a" partition starts at 32788665 with a size of 102400 sectors.
>>
>> Mike 
>>
>>   
> Did you generate and use a new PBR file as discussed in section 4.8 of  
> the FAQ?
>
> Once I did, Vista's boot loader works.
>
> Regards,
>
> Regards

I don't use ntldr for any multi-system bootloader. 



Re: USB CD-ROM support

2008-11-03 Thread Bob Hope
It's been a couple weeks actually since I tried this, so the details
are a little fuzzy in my mind. I'll repeat the process and post more
details as soon as I can; hopefully in the next couple days.

On Mon, Nov 3, 2008 at 9:36 AM, Damian Gerow <[EMAIL PROTECTED]> wrote:
> Bob Hope wrote:
> : I've tried USB booting, while my BIOS supports it (the boot process
> : starts) the installation hangs at the OpenBSD prompt. It just sits
> : there indefinitely if I leave it.
>
> Works For Me.^TM  It's how I installed a -current snapshot a few weeks back,
> and again a week later.
>
> I haven't been following this thread, so my apologies if I'm repeating
> questions...
>
> Have you tried updating to the latest BIOS?  Is your USB CD-ROM relatively
> recent?  Which USB ports are you using: ones connected via headers on the
> motherboard, or hard-wired USB ports (or an expansion card)?
>
> How far along do you get in the boot process?



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Owain Ainsworth
On Mon, Nov 03, 2008 at 10:14:12AM -0300, Jo?o Salvatti wrote:
> Hi misc,
> 
> I have already installed OpenBSD current on my laptop, but the
> ifconfig command doesn't support -M option. Knowing this, how can I
> scan the wireless networks on current?

man ifconfig would help you here. specifically:

ifconfig $INTERFACE chan

-0-
-- 
Minnie Mouse is a slow maze learner.



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Andreas Kahari
Read the ifconfig(8) manual.


Andreas


2008/11/3 Joco Salvatti <[EMAIL PROTECTED]>:
> Hi misc,
>
> I have already installed OpenBSD current on my laptop, but the
> ifconfig command doesn't support -M option. Knowing this, how can I
> scan the wireless networks on current?
>
> Thanks in advance.
>
>



--
Andreas Kahari
Somewhere in the general Cambridge area, UK



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Maxime DERCHE
That topic has just been discussed here like ten days ago :
http://www.mail-archive.com/misc@openbsd.org/msg67839.html


On Mon, 3 Nov 2008 10:14:12 -0300
"Joco Salvatti" <[EMAIL PROTECTED]> wrote:

> Hi misc,
>
> I have already installed OpenBSD current on my laptop, but the
> ifconfig command doesn't support -M option. Knowing this, how can I
> scan the wireless networks on current?
>
> Thanks in advance.
>


--
Maxime DERCHE : maxime /at/ mouet-mouet.net | maxime.derche /at/ free.fr
http://www.mouet-mouet.net/maxime/blog/index.php



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Stuart Henderson
On 2008-11-03, Joco Salvatti <[EMAIL PROTECTED]> wrote:
> Hi misc,
>
> I have already installed OpenBSD current on my laptop, but the
> ifconfig command doesn't support -M option. Knowing this, how can I
> scan the wireless networks on current?
>
> Thanks in advance.
>
>

If you follow -current, you need to keep an eye on
www.openbsd.org/faq/current.html.



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Chess Griffin
Joco Salvatti wrote:
> Hi misc,
> 
> I have already installed OpenBSD current on my laptop, but the
> ifconfig command doesn't support -M option. Knowing this, how can I
> scan the wireless networks on current?
> 
> Thanks in advance.
> 

See the first entry on this page:

http://openbsd.org/faq/current.html

It's also mentioned in the ifconfig(8) man page.

-- 
Chess Griffin
GPG Key:  0x0C7558C3
http://www.chessgriffin.com



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Paul Irofti
On Mon, Nov 03, 2008 at 10:14:12AM -0300, Jo?o Salvatti wrote:
> Hi misc,
> 
> I have already installed OpenBSD current on my laptop, but the
> ifconfig command doesn't support -M option. Knowing this, how can I
> scan the wireless networks on current?
> 
> Thanks in advance.
> 

RTFA and RTFM.
-- 
Everything is simple, we're stupid.
gopher://sdf.lonestar.org/1/users/bulibuta



Re: ifconfig -M on OpenBSD current.

2008-11-03 Thread Thomas Pfaff
On Mon, 3 Nov 2008 10:14:12 -0300
"Joco Salvatti" <[EMAIL PROTECTED]> wrote:

> Hi misc,
>
> I have already installed OpenBSD current on my laptop, but the
> ifconfig command doesn't support -M option. Knowing this, how can I
> scan the wireless networks on current?

This was recently changed.  From ifconfig(8):

chan [n]

With no channel specified, show the results of an access point
scan.  In Host AP mode, this will dump the list of known nodes
without scanning.



Re: USB CD-ROM support

2008-11-03 Thread Bob Hope
I've tried USB booting, while my BIOS supports it (the boot process
starts) the installation hangs at the OpenBSD prompt. It just sits
there indefinitely if I leave it.

I've also tried PXE booting with VERY limited success. I get it to
pull the pxeboot file over tftp, but after that it just can't find the
kernel file (bsd.rd or just bsd as I recall). I've read countless
articles/howtos/faqs and still haven't been able to get the pxebooting
working. This would be a good option, perhaps someone can point out
what I was doing wrong?

DHCPD server setup:
CentOS 5.2
dhcpd configured to point to file 'pxeboot'
tftpd with server root at /tftpdroot and all files (pxeboot, bsd,
bsd.rd etc) placed in here

When I try booting the machine that I want OpenBSD on, it loads the
pxeboot file (I see this in the logs) but it keeps timing out looking
for the kernel file bsd (there aren't any log messages that tell me
anything here). It's my understanding that all the files needed to
boot using PXE should be placed in the root of the tftp server.

Any advice would be greatly appreciated.
Tom

On Mon, Nov 3, 2008 at 7:47 AM, Paul de Weerd <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 03, 2008 at 07:20:08AM -0500, Bob Hope wrote:
> | When (if ever) will support for installing OpenBSD with a USB CD-ROM
> | be added? I have a few
> | servers I'd like to use OpenBSD on, but they are Blade units and the
> | only method of installing
> | the operating system is through USB CD-ROM.
>
> What you need is BIOS support (I'm assuming i386/amd64 here). If the
> BIOS can boot from it, you can generally install OpenBSD from it. If
> the only option is to install through USB CD-ROM, then I would assume
> the BIOS supports it and you can "Just Do It (tm)".
>
> Can you not use pxeboot to install via network btw ? Sounds like a
> more convenient option to me (having heard the noise these blade
> systems can produce .. the less time you spend in their presence, the
> better IMO). Read the pxeboot(8) manpage for more details.
>
> Cheers,
>
> Paul 'WEiRD' de Weerd
>
> --
>>[<++>-]<+++.>+++[<-->-]<.>+++[<+
> +++>-]<.>++[<>-]<+.--.[-]
> http://www.weirdnet.nl/



ifconfig -M on OpenBSD current.

2008-11-03 Thread João Salvatti
Hi misc,

I have already installed OpenBSD current on my laptop, but the
ifconfig command doesn't support -M option. Knowing this, how can I
scan the wireless networks on current?

Thanks in advance.



Re: USB CD-ROM support

2008-11-03 Thread Jacob Yocom-Piatt

Marco Peereboom wrote:

I use one every day.

You want to use PXE on blades.
  



i had no problem booting an enclosure full of dell 1855 blades using an 
external usb cdrom. installed an amd64 snapshot on em.


not sure what your problem is... booting PXE is pretty easy so you 
should try that if the usb cdrom doesn't work.




On Mon, Nov 03, 2008 at 07:20:08AM -0500, Bob Hope wrote:
  

When (if ever) will support for installing OpenBSD with a USB CD-ROM
be added? I have a few
servers I'd like to use OpenBSD on, but they are Blade units and the
only method of installing
the operating system is through USB CD-ROM.

Thanks,
Tom




Re: USB CD-ROM support

2008-11-03 Thread James Shupe
I know it's not a direct answer to your question, but OpenBSD's PXE
installation is extremely easy to implement. It is probably the best
option you have at the moment.

On Mon, 2008-11-03 at 07:20 -0500, Bob Hope wrote:
> When (if ever) will support for installing OpenBSD with a USB CD-ROM
> be added? I have a few
> servers I'd like to use OpenBSD on, but they are Blade units and the
> only method of installing
> the operating system is through USB CD-ROM.
>
> Thanks,
> Tom
>

--
James Maurice Shupe   | HermeTek Network Solutions
[EMAIL PROTECTED]   | *NIX Consulting and Hosting
GPG signed mail preferred | http://www.hermetek.com
Plain text mail preferred | 1.866.325.6207

Key fingerprint: D484 EACC 9D0F A2A5 5277 C4A8 5704 1987 A938 DF3A

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



Re: OpenBSD 4.4 released, Nov 1. Enjoy!

2008-11-03 Thread Tor Houghton
> o The umsm(4) driver now supports Option GlobeTrotter 3G+, Huawei E220
>   and more HSDPA MSM devices.

Does this mean that also the Option Globetrotter GT Max "7.2 Ready" is
supported (aka Option GX0201)? (I received the 4.4 box a week or so ago, but
have not had a chance to try.)

Tor



Re: USB CD-ROM support

2008-11-03 Thread Paul de Weerd
On Mon, Nov 03, 2008 at 07:20:08AM -0500, Bob Hope wrote:
| When (if ever) will support for installing OpenBSD with a USB CD-ROM
| be added? I have a few
| servers I'd like to use OpenBSD on, but they are Blade units and the
| only method of installing
| the operating system is through USB CD-ROM.

What you need is BIOS support (I'm assuming i386/amd64 here). If the
BIOS can boot from it, you can generally install OpenBSD from it. If
the only option is to install through USB CD-ROM, then I would assume
the BIOS supports it and you can "Just Do It (tm)".

Can you not use pxeboot to install via network btw ? Sounds like a
more convenient option to me (having heard the noise these blade
systems can produce .. the less time you spend in their presence, the
better IMO). Read the pxeboot(8) manpage for more details.

Cheers,

Paul 'WEiRD' de Weerd

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



Re: USB CD-ROM support

2008-11-03 Thread Marco Peereboom
I use one every day.

You want to use PXE on blades.

On Mon, Nov 03, 2008 at 07:20:08AM -0500, Bob Hope wrote:
> When (if ever) will support for installing OpenBSD with a USB CD-ROM
> be added? I have a few
> servers I'd like to use OpenBSD on, but they are Blade units and the
> only method of installing
> the operating system is through USB CD-ROM.
> 
> Thanks,
> Tom



Re: USB CD-ROM support

2008-11-03 Thread Peter N. M. Hansteen
"Bob Hope" <[EMAIL PROTECTED]> writes:

> When (if ever) will support for installing OpenBSD with a USB CD-ROM
> be added? 

I was considering getting a usb cd unit for installation purposes
myself, thinking that if the box can be persuaded to boot from a USB
device, there would be no further obstacles.  What happens when you
try booting from USB CD on those units?

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ 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: installboot: broken mbr on 4.4

2008-11-03 Thread Greg Jones

Michael wrote:

On Sun, Nov 02, 2008 at 07:06:04AM -0700, Michael wrote:
  

On Sun, Nov 02, 2008 at 07:39:20AM -0500, Josh Grosse wrote:


On Sun, Nov 02, 2008 at 04:28:54AM -0700, Michael wrote:
  

On Sun, Nov 02, 2008 at 07:40:12AM +0530, Girish Venkatachalam wrote:


...
  

cd /mnt

# /usr/mdec/installboot -v boot /mnt/biosboot wd0

It should not be /usr/mdec/biosboot. Definitely not.
  

...
  
Thanks for your answer. If 4.4 doesn't install completely (without the 
installboot error) on a 120 gig hd, I'll try the command the way you 
posted it and see if it works vs what Josh sent me.


The biosboot file (found in /usr/mdec/biosboot of either the ramdisk kernel
or a default install) is the PBR which is placed in the first sector of the 
partition.  The boot file (found in /usr/mdec/biosboot of either the

ramdisk kernel or a default install, or in /boot in a default install) is
the second stage bootloader program.  


As far as I know, there is no "/biosboot" file in a standard install, so
the "/mnt/biosboot" will not work.

  

Thanks again Josh :)




Well, I tried installing 4.4 on my Acer Aspire 3000 with 60 gig hd and got the same problem with installboot. 
Again, I used the above commands that Josh sent me with my 4.3 cd and the installboot ran fine and now I'm using 4.4 on the Acer. 
Info on this hd:

117210240 sectors
OpenBSD starts at 32788665 with a size of 25270245
"a" partition starts at 32788665 with a size of 102400 sectors.

Mike 

  
Did you generate and use a new PBR file as discussed in section 4.8 of 
the FAQ?


Once I did, Vista's boot loader works.

Regards,

Regards



USB CD-ROM support

2008-11-03 Thread Bob Hope
When (if ever) will support for installing OpenBSD with a USB CD-ROM
be added? I have a few
servers I'd like to use OpenBSD on, but they are Blade units and the
only method of installing
the operating system is through USB CD-ROM.

Thanks,
Tom



Re: incorrect MD5 file on mirror

2008-11-03 Thread Nick Holland
Mihai Popescu B.S. wrote:
> Hello,
> 
> I got the install44.iso and MD5 from snapshots from
> openbsd.informatik.uni-erlangen.de and the MD5 file failed the test.
> 
> I got the MD5 from ftp.openbsd.org and run it against the
> install44.iso from openbsd.informatik[...] and it reports OK.
> 
> Comparing the two MD5 files, there are major differences, looks like
> the MD5 from informatik is wrong.

Not sure if it is still true, but the installXX.iso files were
made in a separate step from the rest of the snapshot, so the
MD5 numbers for it may not always be accurate

The snapshot distribution process is also very time consuming,
when you look at the size of the individual snapshots, they take
a while to get to the master distribution site and from there, a
while to get to the mirrors.  That's especially true of the
installXX.iso file, since they are particularly large, so it is
very possible the file will change mid-transfer.  It's one of
those things I never thought much about until I started helping
run a mirror...it takes a really long time to "fill" a mirror!

In short: if you are paranoid, use the *.tgz files, not the
installXX.iso, and THEN look at the MD5 files.  If you see some
that match and some that don't, you probably got a mid-transfer
change, go back and try again an hour or two later.

Nick.



Re: OpenBGPd kickstart

2008-11-03 Thread Stuart Henderson
On 2008-11-02, Rod Whitworth <[EMAIL PROTECTED]> wrote:
> There is an IPv4 /21 transit and an IPv6 /32 transit at the moment. No
> BGP.
> Enter a peering service which is to provide peering for those netblocks
> over a pretty fat single link. (I don't know the bandwidth but I am
> assured it is "big enough")
>
> I have ASNs for the peering outfit (PO) and the hosting service (HS).
> The assumption conveyed to me was that the only BGP would be between
> those two but I have my doubts that that is the right thing to do.

It would be usual to announce your networks over BGP sessions with
both the peering outfit and the transit provider.

> The PO has also requested that replies to traffic incoming via the PO
> would return on the same path. I don't know if we can do that with bgpd
> or to use pf.

It took me a couple of days to work out what they mean here, but
I think they just mean you should use a higher localpref on the
peering routes than transit routes (but then you'd probably want
to do that anyway).

btw: asymmetric routing is totally normal on the internet.

> At the moment the IPv6 traffic is pretty light and interruptions are
> likely to be tolerated if short so I think I can use it to test how the
> whole deal will work and just add IPv4 later to the config.
>
> I have also figured out all of the internal routing changes needed to
> be able to cut over in seconds and fall back if needed on both v4 and
> v6.

I think starting with v6 only and later adding v4 complicates things.

Where does the address space come from? is it an independent block
or part of a larger allocation from one of the providers? is it
announced as part of the transit provider's AS at present?

> There, I have displayed my status as an absolute bgpd virgin: Where do
> I go from here?
> Everthing else I have done (mail, web, IPsec, OpenVPN etc) has been
> able to be tested with some old PCs so that I could try stuff and it
> didn't matter if it "broke", it was all isolated from the 'net. 
>
> This one is different.

yep, welcome to BGP routing ;-) you can test some things, but
there's a point you just have to be reasonably sure that either
the intended configuration or your backout plan are going to work
and bite the bullet..



Re: incorrect MD5 file on mirror

2008-11-03 Thread Mihai Popescu B.S.
I used md5 -c MD5 to check.
Could someone give me a hint with this checksum file, should I rely on
it or not anymore ?

Thanks



Re: OpenBGPd: Neighbor rejects prefix - bgpd don't announce it any more, to no one?!

2008-11-03 Thread Stuart Henderson
On 2008-11-02, Falk Brockerhoff <[EMAIL PROTECTED]> wrote:
> Except for the not really wanted not-accepting of /24 prefixes this  
> should not have any other consequences. BUT both of my routers stopped  
> announcing the rejected prefixes to _any_ of their neighbors. It seems  
> that the openbsd bgpd process takes the information notice, that the  
> prefixes are rejected by one neighbor, as a command.

Does "bgpctl sh nexthop" indicate any problems?



mos(4) driver for Moschip MCS7x30 USB 2.0 Ethernet devices

2008-11-03 Thread Johann Christian Rode
Hi,

I recently picked up a Delock 61147 network adapter and it lacked
support in -current, so I've written a driver mos(4) and sent a patch
which got committed fairly quickly to my surprise.
I'm using the adapter on my x86 box for roughly a week and it's working
fine for me so far:
# netstat -I mos0
NameMtu   Network Address  Ipkts IerrsOpkts 
Oerrs Colls
mos0150000:13:3b:05:01:38   862560 0  1457479 
0 0
mos01500  10.1.1/24   10.1.1.1862560 0  1457479 
0 0
mos01500  fe80::%mos0 fe80::213:3bff:fe   862560 0  1457479 
0 0

The relevant bits of dmesg are:
mos0 at uhub0 port 2 configuration 1 interface 0 "Moschip Semiconductor 
USB-MAC Controller" rev 2.00/1.00 addr 3
mos0: MCS7830, address 00:13:3b:05:01:38
ukphy0 at mos0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 
0x00, model 0x

In addition to the vendor/device ID of the reference design, the driver
attaches to the IDs for the Sitecom LN030 device. 

By now, the driver should be in the snapshots for all the major
architectures, so please test it and give me some feedback if you have
any issues.

Thanks,

--jc



Re: Problems booting OpenBSD

2008-11-03 Thread Girish Venkatachalam
On 20:34:44 Nov 02, Rafael Cunha de Almeida wrote:
> Hello,
> 
> I'm having trouble booting my new opebsd installation. I was able to
> boot usihg the CD and I tried to use installboot to record the
> biosboot to the PBR. I booted with -s option, so I'd start in single
> user mode and I mounted /usr to /mnt/.
> 
> Then I did:
>   % /mnt/mdec/installboot /boot /mnt/mdec/biosboot sd0
>   ...
>   installboot: broken MBR
> 

This almost always means that your following step did not succeed. Look
below.

> I also tried:
>   % /mnt/mdec/installboot /boot /mnt/mdec/biosboot sd0a
>   installboot: superblock: devread: lseek: invalid argument

This is wrong.

You should mount /dev/sd0a on a directory , then copy the two boot
files, the /usr/mdec/boot and /usr/mdec/biosboot to the root like this.

# mount /dev/sd0a /mnt
# cp /usr/mdec/b* /mnt

And then you should run installboot like this.

# ./usr/mdec/installboot boot /mnt/biosboot sd0

Try this. It might work. ;)

Best of luck!
 
> I have grub currently installed on MBR. OpenBSD is on
> linux's /dev/sda2. Does anyone know what could be wrong? Of course, I'd
> like it better if I don't have to destroy in order to get this
> working :-).

I don't like grub anymore. ;)

-Girish



Re: what does ${RELEASEPATH} mean in the upgrade FAQ?

2008-11-03 Thread Cristiano Deana
On Mon, Nov 3, 2008 at 9:26 AM, Siju George <[EMAIL PROTECTED]> wrote:

> I plan to upgrade from 4.3 to 4.4 using bsd.rd.
>  I read the upgrade FAQ and came across this variable
> ${RELEASEPATH}

> What does this mean?

It's well commented in the faq:
export RELEASEPATH=/usr/rel   # where you put the files


-- 
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/



what does ${RELEASEPATH} mean in the upgrade FAQ?

2008-11-03 Thread Siju George
Hi ,

I plan to upgrade from 4.3 to 4.4 using bsd.rd.
 I read the upgrade FAQ and came across this variable

${RELEASEPATH}

What does this mean?


thanks

--Siju