Re: OpenBSD users.

2010-07-23 Thread Andre Naehring
Am Thu, 22 Jul 2010 12:00:20 -0500
schrieb George Cagle george.ca...@gmail.com:

 United States -- Huntsville/Madison, Alabama.
 

this is alive... i am forced to reply.

Paderborn, Germany.


-- 
  andre



Re: R: Authenticate squid in Active Directory

2008-02-06 Thread Andre Naehring

On Wed, 6 Feb 2008, Luca Dell'Oca wrote:


http://www.mail-archive.com/misc@openbsd.org/msg30134.html

right now I had not so much time to test it, the modifications to the makefile
worked and squid compiled correctly. One of the interesting part of this
solution is not having to install samba stuff in openbsd, you only need squid.
Next week I'm gonna test it against AD and see if it works.


Oh, it's still working. Never tried to use winbind on OpenBSD for this.


---

andre



Re: : booting openbsd on eee without cd-rom

2008-02-01 Thread Andre Naehring

On Thu, 31 Jan 2008, Richard Daemon wrote:


If you do test with standard release, please let me know the results,
especially if it's on a standard PC - I'm out of systems to test with... :-(


Here it comes, the following dmesg is again from eee, installed an
original 4.2 from cd on the usb stick. 
While trying to use the ethernet, it didn't work, I was unable to see

the interface. According to the manual of the lii, this driver will be
new in 4.3, so it's nice that the driver in the snapshot is already
working.

The wireless is identified as ath0 again but setting it up freezes the
eee. This didn't happen with the snapshot, but there I was unable to set
it, too (hardware reset...).

Short description for you, I booted the 4.2 install cd i386 in a vmware
workstation and chose sd1 as install destination. Created the same as
with the snapshot and rebooted again. Mount the stick an changed again
in /etc/fstab from sd1a to sd0a an the 4.2 booted on the eee.

So if you want to use OpenBSD on the eee, you should take the actual
snapshot, maybe there will be some changes according to the wireless
driver. If someone needs tests with changed drivers or anything, I can
take a snapshot each week an try again if the wireless starts working.

Oh yes, the dmesg... (original 4.2 CD-release)


OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 631 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 502427648 (479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/04/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06c0 (37 entries)
bios0: vendor American Megatrends Inc. version 0703date 01/04/2008
bios0: ASUSTeK Computer INC. 701
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76b0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xf800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM/PM/GMS Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM/GMS Video rev 0x04: aperture at 
0xd000, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82915GM/GMS Video rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: irq 5
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek/0x0662 (rev. 1.1), HDA version 1.0
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04
pci2 at ppb1 bus 3
vendor Attansic Technology, unknown product 0x2048 (class network subclass 
ethernet, rev 0xa0) at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04
pci3 at ppb2 bus 1
ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: irq 10
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:75:d9:e0
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 3
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 7
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: irq 3
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04: irq 7
iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 

Re: : booting openbsd on eee without cd-rom

2008-01-31 Thread Andre Naehring

On Wed, 30 Jan 2008, Stuart Henderson wrote:


On 2008/01/30 15:26, Dennis Davis wrote:


wireless driver reports an error and does not work is short on
detail.  It might just be that non-free firmware needs installing
(eg the firmware for the iwi driver) to get it to work.


people with Eee PC need to test -current snapshots, the wd/wdc
changes which are in them (not yet committed) will affect you
(hopefully to your advantage, there should be much lower cpu
use during disk activity).


So, installed current from Jan 28 on an usb stick and booted. Ethernet
works fine on the eee, but the wireless always reports

ath0: unable to reset hardware; hal status 4096

when I want to set something.

according to the manpage, this should not happen.

dmesg follows...

OpenBSD 4.2-current (GENERIC) #652: Mon Jan 28 14:04:36 MST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel
686-class) 631 MHz
cpu0:

FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 502153216 (478MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/04/08, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.5 @ 0xf06c0 (37 entries)
bios0: vendor American Megatrends Inc. version 0703 date
01/04/2008
bios0: ASUSTeK Computer INC. 701
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76b0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev
0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xf800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
agp0 at pchb0: aperture at 0xd000, size 0x1000
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not
configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04:
irq 5
azalia0: codec[s]: Realtek/0x0662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: irq 5
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: irq 11
pci2 at ppb1 bus 3
lii0 at pci2 dev 0 function 0 Attansic Technology L2 rev 0xa0: irq
11, address 00:1e:8c:b9:38:d8
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2:
OUI 0x001374, model 0x0002
ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04: irq 10
pci3 at ppb2 bus 1
ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: irq 10
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:75:d9:e0
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 3
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 7
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5
ehci0 at pci0 dev 29 function 7 Intel 82801FB USB rev 0x04: irq 3
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM
disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04:
DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 Intel 82801FB SMBus rev 0x04:
irq 7
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5
SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using 

Re: : booting openbsd on eee without cd-rom

2008-01-31 Thread Andre Naehring

On Thu, 31 Jan 2008, Richard Daemon wrote:


Did you have to do boot boot -a to get it to boot properly off of sd0a,
recompile kernel or something else?

When I try, I never get it to see root on sd0a swap on sd0b dump on sd0b
by itself, at least without boot -a or a kernel recompile...

By chance, have you tried the same with non -current - just wondering if it
boots and detects ok with root on sd0a?



Okay, this is what I did. Got the snapshot from ftp2.de.openbsd.org and
booted a pc with the iso image mounted. I used the complete stick for
OpenBSD, creating 827mb for / and 128m for swap (a  b).
Installed the whole set (except game*) on my 1gb usb stick (which was sd1 
during install) and rebooted
the pc. After that I mounted the stick and edited fstab and changed sd1a
to sd0a.

Took the stick, told the eee to boot from usb and the snapshot was up
and running. Tried to access web and ssh via the integrated lii0
ethernet, it worked. Starting up X, using startx with no config file, it
came up and runs. Nice.

So, there was no need to recompile the kernel in the snapshot from the
ftp mentioned above.

If you are interested, I can take an original 4.2 and install it on the
stick tomorrow and can than post the dmesg.

--

andre



Re: squid ldap auth on OpenBSD

2006-10-06 Thread Andre Naehring
Hello Alexandre!

This is how I did it the last time.

 Hello,
 
 I try to configure squid with a ldap authentification on a OpenBSD 3.9.
 I wanted to use squid_ldap_auth but I can not find on my server.
 Nothing is availabIe on the system about squid and ldap configuration.

cd /usr/ports/www/squid

edit the Makefile and change the line -enable-basic-auth-helpers to

--enable-basic-auth-helpers=bNCSA YP LDAPb

write and quit.

make

The process will die with an error. Change dir to

./w-squid-2.5.STABLE12/build-i386/helpers/basic_auth/LDAP

Edit the Makefile there and add the following to the Line
DEFAULT_INCLUDE:

-I/usr/local/include

and add the following to LDADD

/usr/local/lib/libldap-2.2.so.7.20 -L/usr/local/lib


Now go back to /usr/ports/www/squid and run once again make. At last
run make install.

The last thing you have to do is to copy the file squid_ldap_auth from
/usr/ports/squid/w-squid-2.5.STABLE12/build-i386/helpers/basic_auth/LDAP to 
/usr/local/libexec

Then configure your squid config. 

This way is not optimal, I know. But for me it was the only way to get
it up and running. I am authenticating versus an Windows 2000 Active
Directory. Yo need the ldap client package, I think. Some time ago. :)

-- 
Andre Naehring



Re: squid ldap auth on OpenBSD

2006-10-06 Thread Andre Naehring
Salute Alexandre, 

is this an error when you cannot run make successfully? Or only the
warning? 

For me, it seems to be a compiler warning, nothing to care for you at
the moment when make completes successfully.

But I think this is a squid related warning. So, the squid authors
should correct it. 

If you can compile the squid port without the modifications and without
this warning, the warning is generated by your (my) modifications. If
this is the case it's going to deep for me :)



Am Freitag, den 06.10.2006, 11:49 +0200 schrieb Alexandre ADAM:
 thanx Andre !
 
 I've done modifications.
 
 But when I launch make again, there is the following error message :
 warning: strcpy() is almost always misused, please use strlcpy()
 
 Do you know what means this message ?
 

Greetings,

Andre Naehring



Re: certification of firewall product / mess in my head

2005-09-13 Thread Andre Naehring
Hello there.

qstreb schrieb:
 I want to apologise if this is a bit of topic
 but as it goes about replacing nice configured OpenBSD Firewalls (5 pieces)
 i am asking here
 (it really hurts, as i put a lot of effort to have something stable,
 simple, secure and ... )
 
 Yesterday i got surprised, it looks that in Germany (and some other
 countries)
 there are some lows/requirenments/obligations that in case a firewall
 (appliance) is owned
 by third parties and they produce any damages to others
 for the damage are responsible even the chiefs,
 but if this appliance is certified these people dont have such trouble.
 
 Sounds funny, as we all know that certification and security doesnt walk

 Does anybody knows something about this topic in Germany (EU),
 are any OpenBSD based firewalls around with such certification
 http://www.bsi.de/zertifiz/index.htm ?

I think OpenBSD itself is not certified but if you have a closer look on
.genua.de the products there seem to be bsi certified. Don't know
which OpenBSD Version they use. But it may be a good starting point for
you. I remember there was a small article in one of the last
ix-magazines but I didn't store them because of moving myself.

Hope this is a hint for you.

-- 

Andre Naehring



Re: OpenBSD 3.7 on VM Workstation 5

2005-07-27 Thread Andre Naehring
Johan P. Lindstrvm schrieb:
 Just finished installing OpenBSD 3.7 from CD onto VM Ware Workstation
 5 build 13124 with Windows XP sp2 as host OS.
 
 As Client OS I chose FreeBSD, VM Ware tools not installed, virtual
 terminals CTRL+ALT+Fn does not work since CTRL+ALT releases control
 from the VM Ware application.
 

You can reconfigure VMWare to use another hotkey for releasing control.
Then you can use the terminals.


-- 

Sauerland Spielgerdte GmbH
Andri Ndhring