Re: Macbook on Openbsd

2007-07-28 Thread Darrin Chandler
On Sat, Jul 28, 2007 at 12:50:40AM -0500, Aaron Hsu wrote:
 On 2007-07-25 01:13:41 -0500, Karl Sjvdahl - dunceor 
 [EMAIL PROTECTED] said:
 
 I'm being hold a bit back when it says I can't even use the keyboard
 on it on OpenBSD, that really sucks.
 
 Have you seen my report on my experiences on using the Macbook Pro with 
 OpenBSD?
 
 http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html

I can vouch for an acpi enabled kernel working. I took some shortcuts,
but Aaron's instructions are good.

-- 
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: Macbook on Openbsd

2007-07-28 Thread Karl Sjödahl - dunceor
On 7/28/07, Aaron Hsu [EMAIL PROTECTED] wrote:
 On 2007-07-25 01:13:41 -0500, Karl Sjvdahl - dunceor
 [EMAIL PROTECTED] said:

  I'm being hold a bit back when it says I can't even use the keyboard
  on it on OpenBSD, that really sucks.

 Have you seen my report on my experiences on using the Macbook Pro with
 OpenBSD?

 http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html
 --
 Aaron Hsu [EMAIL PROTECTED]

 No one could make a greater mistake than he who did nothing because he
 could do only a little. - Edmund Burke



Hello.
Yes I have seen your article about if. That one is about Core Duo and
a Macbook Pro but I have a Core 2 Duo (that means 64-bit and not
32-bit as the Core Duo is) and a Macbook.

I have found some great information on the net and there has happend
some on both FreeBSD and NetBSD that has gotten most of the things to
work.

I haven't got a USB-keyboard but I will probobly get one later today
so then I will do a try to install OpenBSD on it (about time because
I'm getting nuts on the crappy Mac OS X).

Thanks for the point though.

br
dunceor



Re: About encryption

2007-07-28 Thread Alexey Vatchenko
Hi!

On 2007-07-25, Brian Hansen [EMAIL PROTECTED] wrote:
 I have no prior experience in encryption but wants to figure out how to - as
 safe as possible - encrypt some files on my computer. I have been looking at
 both GNUPG and Mcrypt. I am not interested in the KEY part of GNUPG but only
 encrypting files.

 Which - if any - would you recommend for the task and using what algorithms?

The coolest way is to use vnconfig(8).
It allows you to create container for your secret files. You can mount it and
work with your files as if they were unencrypted (on-fly encryption).

Refer to vnconfig(8) or mount_vnd(8) in -current.

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



Re: amd64 snapshot 4.1 - 4.2 issues

2007-07-28 Thread Adriaan
On 7/27/07, Bob Beck [EMAIL PROTECTED] wrote:

 This has been corrected and new snaps are being
 built.

 -Bob

 * Adriaan [EMAIL PROTECTED] [2007-07-26 20:39]:
  The MD5 file of the latest amd64 snapshot contains md5 fingerprints
  for 4.1 as well as 4.2 versions:

[snip

  MD5 (comp41.tgz) = 68eeb7c497ca46abe79884345ffc841a
  MD5 (comp42.tgz) = 76f893abf942d7f7cfb66dc611452669
  MD5 (etc41.tgz) = e27e0fab14860c1ff85e9a1577fe556c
  MD5 (etc42.tgz) = 079a6570ac546bab5e0764637fcfe2d4
  MD5 (floppy41.fs) = edf9344e54c76825e359b2ea7451da82
  MD5 (floppy42.fs) = 4b77ea4557b1948731d8daecad8c60e1

[snip]

  An install using the floppy42.fs image, where the sets are have to be
  retrieved from a local ftp server fails to see the *42.tgz install
  file sets

[snip]

Thanks, the new snapshot installs fine now

OpenBSD 4.2-beta (GENERIC) #1148: Fri Jul 27 10:40:10 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC

=Adriaan=



Re: Unstable PPPoE

2007-07-28 Thread Dorian Büttner

Timothy Wilson wrote:


/etc/hostname.pppoe:

inet 0.0.0.0 255.255.255.255 NONE pppoedev url0 authproto auto
authname 'user' authkey 'pass' up
dest 0.0.0.1
!/sbin/route/ add default -ifp pppoe0 0.0.0.1

echo up  /etc/hostname.url0

Please feel free to give suggetions to my pf.conf etc!
  



Hi Timothy,

I'm recently setting up my box to do pppoe as well, and I found your 
hostname.pppoe not working at all, unless I changed authproto to pap.

auto isn't even supposed to work.

Here's what man ifconfig says:
authproto proto
Set the PPP authentication protocol on the specified interface
acting as a client.  The protocol name can be either `chap',
`pap', or `none'.  In the latter case, authentication will be
turned off.


I'm wondering why your box goes online at all?
Regards,
Dorian



Re: disklabel != /dev content [SOVLED]

2007-07-28 Thread hyjial
Thank you all for your answers.
As some of you suggested, I used newfs(8) on wd0h
since my wd0{h,i} partitions did not contain anything
interesting. It updated the partition layout from the
disklabel and all works fine now.
Thanks again. 


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 



Seeking info for RAID 1 on OpenBSD

2007-07-28 Thread Lars Noodén
I have two spare SATA drives on an OpenBSD 4.1 box and would like to set
up RAID level 1.

Tips on documentation, HOWTOs or notes of any kind would be great since
the search engines are rather useless for technical documentation.  Some
pages have even disappeared, others are quite old.

I found one for 3.7:
http://www.eclectica.ca/howto/openbsd-software-raid-howto.php

What's the latest documentation?

-Lars



Re: Alpha onboard PCI VGA console color issue.

2007-07-28 Thread Matthieu Herrb
On 7/25/07, Sean Kennedy [EMAIL PROTECTED] wrote:
 Hello 'alpha' / 'misc'

 Alpha console color question.

 I got a DS20E 833 uniprocessor Alpha with onboard PCI VGA
 ( vga0 at pci0 dev 7 function 0 3D Labs Oxygen GVX1 rev 0x01 )

 Running 4.1-GENERIC and have seen this since oBSD 3.8 when I began running
 oBSD on the unit.
 (nearly 2 years ago, wow!)

 OK my question is:

 Is there any one else running OpenBSD on an alpha in VGA console mode with
 wscons,
 and have when in multi-user mode, the console running with a blue
 background?
 The Blue background is present in all wscons displays.

 From MacPPC, and i386, Kernel Messages show up with Blue Background
 highlighting, and the background is black with nominal grey test.
 But on alpha, the background is always Blue, and may be triggered to black
 when running some utilities like vi.

 However even with the black background, the blue returns. and other
 highlights (bold text) do not appear.

 I would like to know in what direction I can look for the background color
 settings when wscons sets up the displays. There may be an update for the
 color palette that can be tested.

 Any pointers would help.


This is a known bug in wscons on alpha with VGA cards that has not
been identified yet.



Re: Xorg issues with PowerBook G4 and OpenBSD 4.1

2007-07-28 Thread Matthieu Herrb
On 7/28/07, Amit [EMAIL PROTECTED] wrote:
 Hey all,

 First post in this mailing list and I would like to take the
 opportunity to thank all the OpenBSD developers for a wonderful OS.

 I have recently switched over to running OpenBSD full time on my
 PowerBook G4 500MHz. OpenBSD has been running great! It seems like all
 the hardware has ben detected automatically. However, I had some
 issues with xorg.conf. After some tweaking, I was finally able to get
 hardware acceleration as well as native resolution. But now, whenever
 I exit FVWM, X doesn't seem to properly quit. I get flashing white
 lines and I can't see anything. I am however still able to type 'sudo
 reboot' so I can get back to my system without hard powering it off.

 Any one has any ideas or familiarity with this issue? Another
 Powerbook user out there that has a working xorg.conf? Thanks.

 **xorg.conf*
 Section ServerLayout
 Identifier  Sample Config
 Screen  0   Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection

 Section Files
 RgbPath  /usr/X11R6/lib/X11/rgb
 FontPath /usr/X11R6/lib/X11/fonts/misc/
 FontPath /usr/X11R6/lib/X11/fonts/Type1/
 FontPath /usr/X11R6/lib/X11/fonts/CID/
 FontPath /usr/X11R6/lib/X11/fonts/75dpi/
 EndSection

 Section Module
 Loadfreetype
 Loadglx
 Loadextmod
 EndSection

 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  Protocolstandard
 Option  XkbRulesxorg
 Option  XkbModelmacintosh
 Option  XkbLayout   us
 EndSection

 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol wsmouse
 Option  Device   /dev/wsmouse
 Option  ZAxisMapping 4 5
 EndSection

 Section Monitor
 Identifier   Monitor
 VendorName   Generic
 ModelNameTwentyOneInches
 # Adjust those to your monitor before using another device than wsfb
 # or you can destroy it !!
 #HorizSync30.0-160.0
 #   VertRefresh  50.0-160.0
 HorizSync31.5-60
 VertRefresh  50-70
 Modeline 1152x768 78.741 1152 1173 1269 1440  768 769 772 800 
 +HSync +VSync
 #   Modeline 1152x768 64.995 1152 1213 1349 1472 768 771 777 806 +HSync 
 +VSync
 EndSection

 Section Device
 Identifier  Card0
 Driver  r128
 VendorName  ATI
 BusID   PCI:0:16:0
 Option  PanelWidth 1152
 Option  PanelHeight 768
 EndSection

 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor
 DefaultDepth 24
 SubSection Display
 Depth 8
 Modes   1152x768
 EndSubSection
 SubSection Display
 Depth 16
 Modes   1152x768
 EndSubSection
 SubSection Display
 Depth 24
 Modes   1152x768
 EndSubSection
 EndSection
 ***end xorg.conf



Known problem, for which I don't have a solution. The r128 driver
relies on values found in the BIOS to restore the text mode on exit.
The cards found in Macs have OpenFirmware but no BIOS, so the driver
has to guess timing values (or find them in OF) and this was never
done right afaict.



X11 install packages?

2007-07-28 Thread Subcommander l0r3zz
Noticed that the X11 install packages are no longer being built for i386 on
a daily basis.
Is there another tree that might have these or shold I just use the built
ones from 4.1 ?

Cheers.



Re: 3ware 9650SE support

2007-07-28 Thread mickey
On Fri, Jul 27, 2007 at 11:32:36AM -0700, [EMAIL PROTECTED] wrote:
 Are there plans to support 3ware's 9650SE SATA RAID controller? If so, will
 it be far off?

9000 controllers require a totally new driver w/ a huge firmware
image also that has to be loaded pretty early. meaning it has to
be in the kernel which most likely excludes this driver from any
ramdisk image thus makes it kinda useless...
another example of brilliant hardware engineering.
so use something else.
cu
-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: Macbook on Openbsd

2007-07-28 Thread yakov . zaytsev
I wonder what crap may someone find in mac osx.. besides that all
hardware work and it is based on good old mach+freebsd open source
codes

I personally own powerbook and yes there is info on internet that new
mac laptops is crap (talking bout hw).. though definitely mac osx is
great piece of software

and hey, there're many many featuters that will not be implemented in
openbsd in near future (which from the other side live inside mac osx
for ages already)..

so please don't throw words just to show that you are competent enogh
(questionable indeed) and can judge something like crap

indeed, openbsd seems to be much more crappy nowadays...

don't miss thepoint, im not oposite you guys, just i like to have
clear understanding of things

On 7/28/07, Karl Sjvdahl - dunceor [EMAIL PROTECTED] wrote:
 On 7/28/07, Aaron Hsu [EMAIL PROTECTED] wrote:
  On 2007-07-25 01:13:41 -0500, Karl Sjvdahl - dunceor
  [EMAIL PROTECTED] said:
 
   I'm being hold a bit back when it says I can't even use the keyboard
   on it on OpenBSD, that really sucks.
 
  Have you seen my report on my experiences on using the Macbook Pro with
  OpenBSD?
 
  http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html
  --
  Aaron Hsu [EMAIL PROTECTED]
 
  No one could make a greater mistake than he who did nothing because he
  could do only a little. - Edmund Burke
 
 

 Hello.
 Yes I have seen your article about if. That one is about Core Duo and
 a Macbook Pro but I have a Core 2 Duo (that means 64-bit and not
 32-bit as the Core Duo is) and a Macbook.

 I have found some great information on the net and there has happend
 some on both FreeBSD and NetBSD that has gotten most of the things to
 work.

 I haven't got a USB-keyboard but I will probobly get one later today
 so then I will do a try to install OpenBSD on it (about time because
 I'm getting nuts on the crappy Mac OS X).

 Thanks for the point though.

 br
 dunceor



Re: Macbook on Openbsd

2007-07-28 Thread Karl Sjödahl - dunceor
If you want an OS-war, go and play on some other maillist, I do not
like it and I do not want to have it on my laptop. Easy as that.

On 7/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I wonder what crap may someone find in mac osx.. besides that all
 hardware work and it is based on good old mach+freebsd open source
 codes

 I personally own powerbook and yes there is info on internet that new
 mac laptops is crap (talking bout hw).. though definitely mac osx is
 great piece of software

 and hey, there're many many featuters that will not be implemented in
 openbsd in near future (which from the other side live inside mac osx
 for ages already)..

 so please don't throw words just to show that you are competent enogh
 (questionable indeed) and can judge something like crap

 indeed, openbsd seems to be much more crappy nowadays...

 don't miss thepoint, im not oposite you guys, just i like to have
 clear understanding of things

 On 7/28/07, Karl SjC6dahl - dunceor [EMAIL PROTECTED] wrote:
  On 7/28/07, Aaron Hsu [EMAIL PROTECTED] wrote:
   On 2007-07-25 01:13:41 -0500, Karl Sjvdahl - dunceor
   [EMAIL PROTECTED] said:
  
I'm being hold a bit back when it says I can't even use the keyboard
on it on OpenBSD, that really sucks.
  
   Have you seen my report on my experiences on using the Macbook Pro with
   OpenBSD?
  
   http://www.aaronhsu.com/AaronHsu.com/OpenBSD%20-%20Macbook%20Pro.html
   --
   Aaron Hsu [EMAIL PROTECTED]
  
   No one could make a greater mistake than he who did nothing because he
   could do only a little. - Edmund Burke
  
  
 
  Hello.
  Yes I have seen your article about if. That one is about Core Duo and
  a Macbook Pro but I have a Core 2 Duo (that means 64-bit and not
  32-bit as the Core Duo is) and a Macbook.
 
  I have found some great information on the net and there has happend
  some on both FreeBSD and NetBSD that has gotten most of the things to
  work.
 
  I haven't got a USB-keyboard but I will probobly get one later today
  so then I will do a try to install OpenBSD on it (about time because
  I'm getting nuts on the crappy Mac OS X).
 
  Thanks for the point though.
 
  br
  dunceor



Re: Macbook on Openbsd

2007-07-28 Thread Greg Thomas
On 7/28/07, Karl Sjvdahl - dunceor [EMAIL PROTECTED] wrote:
 If you want an OS-war, go and play on some other maillist, I do not
 like it and I do not want to have it on my laptop. Easy as that.


If you mean that you don't want to run OS X then why didn't you get a
Thinkpad?  Why did you get a Mac if you want to run only OpenBSD on
it?

Greg

--
http://ticketmastersucks.org/tracker.html

Dethink to survive - Mclusky



Re: Macbook on Openbsd

2007-07-28 Thread Karl Sjödahl - dunceor
Because I like the design? And I liked the challenge that everything
didn't work 100%?

On 7/28/07, Greg Thomas [EMAIL PROTECTED] wrote:
 On 7/28/07, Karl Sjvdahl - dunceor [EMAIL PROTECTED] wrote:
  If you want an OS-war, go and play on some other maillist, I do not
  like it and I do not want to have it on my laptop. Easy as that.
 

 If you mean that you don't want to run OS X then why didn't you get a
 Thinkpad?  Why did you get a Mac if you want to run only OpenBSD on
 it?

 Greg

 --
 http://ticketmastersucks.org/tracker.html

 Dethink to survive - Mclusky



Re: Macbook on Openbsd

2007-07-28 Thread Timo Schoeler

thus Karl SjC6dahl - dunceor spake:

Because I like the design? And I liked the challenge that everything
didn't work 100%?


That's a standard feature of Apple hardware (at least since Mr. Jobs 
returned; this said by an ex-ACSE)...



On 7/28/07, Greg Thomas [EMAIL PROTECTED] wrote:

On 7/28/07, Karl Sjvdahl - dunceor [EMAIL PROTECTED] wrote:

If you want an OS-war, go and play on some other maillist, I do not
like it and I do not want to have it on my laptop. Easy as that.


If you mean that you don't want to run OS X then why didn't you get a
Thinkpad?  Why did you get a Mac if you want to run only OpenBSD on
it?

Greg




Strange dmesg and internal compiler error

2007-07-28 Thread Nazadus Voldure
I recently purchased 3x 1U rack servers and all of them seem to give
me an internal compiler error when compiling (almost anything, but
sometimes I can get lucky). I've ran a memtest86 overnight without any
problems, so I assume memory is ok. I ran a benchmark program
(lmbench) to see if anything funky would happen, and no go.
This is a dual processer but I've tried bsd.mp and regular bsd to see
if that had anything to do with it, same result on both. Seemingly
everything works but compiling, but I really doubt that -- I think
I've just been lucky thus far.
Does anyone have any ideas on what I should try next?

Quick and dirty general info:
1U RACK MOUNT SERVER DUAL 2x800MHz 1GB 1x160GB IDE
TYAN ThunderLE (S2510) Dual(2)Socket 370 Motherboard
1GB (2x512) Reg PC100 SDram Memory

dmesg:
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 798 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 1073311744 (1048156K)
avail mem = 971960320 (949180K)
using 4278 buffers containing 53788672 bytes (52528K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 10/31/00, BIOS32 rev. 0 @
0xfdba0, SMBIOS rev. 2.3 @ 0xf0640 (54 entries)
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf5200/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20LE Host rev 0x06
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x06
pci1 at pchb1 bus 1
vga1 at pci0 dev 1 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 4 function 0 Intel 8255x rev 0x08, i82559: irq 11,
address 00:e0:81:01:80:e6
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci0 dev 5 function 0 Intel 8255x rev 0x08, i82559: irq 9,
address 00:e0:81:01:80:e7
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x50: polling
iic0 at piixpm0
mtp008 at iic0 addr 0x2c not configured
iic0: addr 0x2c 00=2c 01=ac 02=ac 03=ac 04=ac 05=ac 06=ac 07=ac 08=ac
09=ac 0a=ac 0b=ac 0c=ac 0d=ac 0e=ac 0f=ac 10=ac 11=ac 12=ac 13=ac
14=ac 15=ac 16=2c 17=ac 18=ac 19=ac 1a=ac 1b=ac 1c=ac 1d=ac 1e=ac
1f=ac 20=16 22=67 23=b2 24=df 25=32 26=e8 27=20 28=78 29=9a 2a=9e
2b=fd 2c=14 2d=6b 2e=5d 2f=d6 30=2e 31=c2 32=ba 33=ae 34=5f 35=b3
36=e1 37=2b 38=99 39=d5 3a=8f 3b=51 3c=05 3d=8e 3e=92 3f=15 40=08
47=57 48=2c 49=01 4a=2c 4b=01 4c=01 4d=01 4e=92 4f=2c 52=80 56=50
58=ac a0=16 a2=67 a3=b2 a4=df a5=32 a6=e8 a7=20 a8=78 a9=9a aa=9e
ab=fd ac=14 ad=6b ae=5d af=d6 b0=2e b1=c2 b2=ba b3=ae b4=5f b5=b3
b6=e1 b7=2b b8=99 b9=d5 ba=8f bb=51 bc=05 bd=8e be=92 bf=15 c0=08
c7=57 c8=2c c9=01 ca=01 cb=01 cc=01 cd=01 ce=01 cf=01 d2=80 d6=50
d8=ac d9=ac da=ac db=ac dc=ac dd=ac de=ac df=ac e0=ac e1=ac e2=ac
e3=ac e4=ac e5=ac e6=ac e7=ac e8=ac e9=ac ea=ac eb=ac ec=ac ed=ac
ee=ac ef=ac f0=ac f1=ac f2=ac f3=ac f4=ac f5=ac f6=ac f7=ac f8=ac
f9=ac fa=ac fb=ac fc=ac fd=ac fe=92 ff=ac: mtp008
mtp008 at iic0 addr 0x2e not configured
iic0: addr 0x2e 00=2e 01=ac 02=ac 03=ac 04=2e 05=ac 06=ac 07=ac 08=ac
09=ac 0a=ac 0b=ac 0c=ac 0d=ac 0e=ac 0f=ac 10=ac 11=ac 12=ac 13=ac
14=ac 15=ac 16=2e 17=ac 18=ac 19=ac 1a=ac 1b=ac 1c=ac 1d=ac 1e=ac
1f=ac 20=4e 21=fb 22=75 23=a1 24=1c 25=19 26=8f 27=47 28=74 29=5a
2a=1f 2b=1c 2c=5b 2d=4e 2e=12 2f=05 30=11 31=11 32=b3 33=ea 34=90
35=31 36=4b 37=f5 38=cf 39=4e 3a=a7 3b=3e 3c=1e 3d=d4 3e=97 3f=5c
40=08 47=57 48=2e 49=01 4a=2e 4b=01 4c=01 4d=01 4e=97 4f=2e 52=80
56=50 58=ac a0=4e a1=fb a2=75 a3=a1 a4=1c a5=19 a6=8f a7=47 a8=74
a9=5a aa=1f ab=1c ac=5b ad=4e ae=12 af=05 b0=11 b1=11 b2=b3 b3=ea
b4=90 b5=31 b6=4b b7=f5 b8=cf b9=4e ba=a7 bb=3e bc=1e bd=d4 be=97
bf=5c c0=08 c7=57 c8=2e c9=01 ca=01 cb=01 cc=01 cd=01 ce=01 cf=01
d2=80 d6=50 d8=ac d9=ac da=ac db=ac dc=ac dd=ac de=ac df=ac e0=ac
e1=ac e2=ac e3=ac e4=ac e5=ac e6=ac e7=ac e8=ac e9=ac ea=ac eb=ac
ec=ac ed=ac ee=ac ef=ac f0=ac f1=ac f2=ac f3=ac f4=ac f5=ac f6=ac
f7=ac f8=ac f9=ac fa=ac fb=ac fc=ac fd=ac fe=97 ff=ac: mtp008
pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: LITEON, CD-ROM LTN486S, YUS6 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0 at pciide0 channel 1 drive 0: SAMSUNG SP1604N
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x04:
irq 10, version 1.0, legacy support
usb0 at ohci0: USB 

how to confirm i am gaining advantage from floating state-policy

2007-07-28 Thread Imre Oolberg
Hallo!

I am in the middle of re-reading firewall's pf rules and trying to set
them up more like OpenBSD's way but it seems that i cant figure out on
my own the meaning of state-policy though i read serveral times manual
and searched also list archive.

In a test environment i have following setup of three boxes, OpenBSD in
the middle as router

10.0.99.2  10.0.99.1 (nfe0) PF 192.168.1.102 (rl0) 
192.168.1.254

First, lets start with if-bound state-policy, pf.conf goes like this

set state-policy if-bound
block all
pass in quick on rl0
pass out quick on nfe0

i verified i can connect successfully from right to left ie

192.168.1.254# ssh [EMAIL PROTECTED]

and at the same time appear two state entries which existance i can
cofirm from pfctl -ss's output

rl0 tcp 10.0.99.2:22 - 192.168.1.254:37848 ESTABLISHED:ESTABLISHED
nfe0 tcp 192.168.1.254:37848 - 10.0.99.2:22 ESTABLISHED:ESTABLISHED

# pfctl -sa | grep -i current entries says
current entries 2

Secondly, leaving the set policy line out ie setting it effectively on
floating i see these two states

all tcp 10.0.99.2:22 - 192.168.1.254:22290 ESTABLISHED:ESTABLISHED
all tcp 192.168.1.254:22290 - 10.0.99.2:22 ESTABLISHED:ESTABLISHED

pftop -a -b also shows on both cases two lines, similar to this

tcp I 192.168.1.254:3203 10.0.99.2:22 4:4 1 86399 5 311
tcp O 192.168.1.254:3203 10.0.99.2:22 4:4 1 86399 5 311

and lastly i tried to leave last pass out line out using floating
state-policy and cant connect any more.

Manual says about these two policies

* if-bound - states are bound to the interface they're created on.
  If traffic matches a state table entry but is not crossing the
  interface recorded in that state entry, the match is rejected. The
  packet must then match a filter rule or will be dropped/rejected
  altogether.
* floating - states can match packets on any interface. As long as
  the packet matches a state entry and is passing in the same
  direction as it was on the interface when the state was created,
  it does not matter what interface it's crossing, it will pass.

Obviously i must be using the floating state-policy feature incorrectly
since in both cases i have the same number of rules and states but from
the manual i have an impression that using floating policy pf ruleset
gets simplified.

I would be most thankful if somebody could give me an example in the
light (or should i say darkness) of my tests how using different
state-policies makes difference in arranging rules and also of having
the number of states.

And also, is it correct to think of states as associated with specific
interface or to kernel in general?


Best regars,

Imre Oolberg



Re: X11 install packages?

2007-07-28 Thread Adriaan
On 7/28/07, Subcommander l0r3zz [EMAIL PROTECTED] wrote:
 Noticed that the X11 install packages are no longer being built for i386 on
 a daily basis.

I noticed the binary snapshot X installation file sets are absent from
the snapshots during the last few days. Do you mean those?
But X snapshot file sets were not being built daily.

There have been some minor issues with the transition from 4.1-current
to 4.2-beta. Maybe the i386 X snapshot file sets suffer the same fate
;)

[snip]

=Adriaan=



netboot vs pxeboot

2007-07-28 Thread Jacob Yocom-Piatt
am working through a netboot install onto a sparc64 machine and noticed 
that netboot != pxeboot and want to determine the minimum requirements 
for netbooting.


so with netbooting it requires rarpd, tftp and NFS? not used to the NFS 
requirement when pxebooting and usually just have dhcpd running. not 
much of a stretch to add the NFS stuff but am surprised that bsd.rd 
isn't sufficient to get the system going.


clues appreciated.

cheers,
jake

--



arp and dhcp 4.1

2007-07-28 Thread J.D. Bronson

I recently moved my PPPoE over and onto my 4100 modem.

It is capable of passing my public IP into the openbsd box
and then when I reboot, since the modem keeps my connection alive I 
dont change IPs as often...This works very well...but, however, this 
has caused a new twist:


My modem appears to be at IP 192.168.0.1

My openbsd box has 2 NICs in it:

WAN = DHCP (connected to the 4100 modem)
LAN = 10.0.0.1

When the openbsd box boots, it asks for a DHCP address and the modem 
hands it a public one...207.227.122.7 for example.


This works well...with one exception:

Each so many seconds or so, my dmesg is filled with tons of these:
arplookup: unable to enter address for 192.168.0.1
arplookup: unable to enter address for 192.168.0.1
arplookup: unable to enter address for 192.168.0.1
arplookup: unable to enter address for 192.168.0.1
arplookup: unable to enter address for 192.168.0.1
arplookup: unable to enter address for 192.168.0.1
arplookup: unable to enter address for 192.168.0.1
arplookup: unable to enter address for 192.168.0.1

Now I certainly know why, but cant seem to solve this.
If I try to add an alias IP on the WAN NIC (after DHCP) this works 
but seems to kill off dhclient so once it gets a public IP it never 
asks/updates again.


I am looking for a solution either in a NIC or route command...

If I can add an alias to the DHCP nic so that it has and maintains a 
DHCP IP and a static 192.168.x.x IP, it would work excellent.


OTOH:
I could tell the modem to hand me a private IP but I would prefer to 
have the openbsd box use a public.


Any thoughts?






--
J.D. Bronson
Information Services
Aurora West Allis Memorial Hospital
Office: 414.978.8282 Fax: 414.977.5299
http://www.myspace.com/wrqz