gif tunnel with ipv6 end points

2009-09-02 Thread Thomas Schoeller
hello,

i'm trying to make a ipv4 over ipv6 tunnel, but ifconfig tells me: 

ifconfig: error in parsing address string: temporary failure in name
resolution

when i'm issueing:

ifconfig gif0 tunnel XX:XX:XX:0:0:0:0:1 XX:XX:XX:0:0:0:0:2

best regards

thomas



Re: [ landisk ] - install w/o the serial console

2008-07-22 Thread Thomas Schoeller
hello,

https://tiifp.org/landisk.html

maybe this helps.

thomas

On Thu, Jul 17, 2008 at 03:43:34PM +0200, Joel CARNAT wrote:
 Hello,
 
 I have a serial console on my Plextor PX-EH40L which seems to be broken
 now (no RX available). After quite a few testings of various OSes, the
 disk is now blanked. Until I get a new serial console, I'd like to try
 OpenBSD 4.4 on that disk. I couldn't find the procedure to manually
 install OpenBSD on it. I'm not talking about the disklabel/fdisk/newfs/tar
 part :) I can probably manage that one. I'm more concerned about making
 the installation bootable.
 
 Is the INSTALLBOOT(8) command enough to prepare the disk to boot the system ?
 
 Let's say I boot OpenBSD/i386 on my laptop.
 Prepare and untar /landisk binaries onto /mnt ; the disk being pluggued
 via an IDE/USB adapter and recognised as /dev/sd0.
 Would the following commands make the disk bootable ?
 # cp -p /mnt/usr/mdec/boot /mnt/boot
 # /usr/mdec/installboot -v /mnt/boot /mnt/usr/mdec/biosboot sd0
 
 TIA,
 Jo



can't build ifconfig on landisk

2008-04-21 Thread Thomas Schoeller
hello,
i can't build the ifconfig on landisk.
snapshot is from 2008/04/18 /usr/src is up to date.

see attached logfile.

best regards
thomas
cc -O2 -pipe-DINET6 -c ifconfig.c
ifconfig.c: In function `setifwmm':
ifconfig.c:1422: error: storage size of `wmm' isn't known
ifconfig.c:1426: error: `SIOCS80211WMMPARMS' undeclared (first use in this 
function)
ifconfig.c:1426: error: (Each undeclared identifier is reported only once
ifconfig.c:1426: error: for each function it appears in.)
ifconfig.c: In function `setifwpa':
ifconfig.c:1434: error: storage size of `wpa' isn't known
ifconfig.c:1437: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c:1440: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c: In function `setifwpaprotos':
ifconfig.c:1448: error: storage size of `wpa' isn't known
ifconfig.c:1457: error: `IEEE80211_WPA_PROTO_WPA1' undeclared (first use in 
this function)
ifconfig.c:1459: error: `IEEE80211_WPA_PROTO_WPA2' undeclared (first use in 
this function)
ifconfig.c:1467: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c:1470: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c: In function `setifwpaakms':
ifconfig.c:1478: error: storage size of `wpa' isn't known
ifconfig.c:1487: error: `IEEE80211_WPA_AKM_PSK' undeclared (first use in this 
function)
ifconfig.c:1489: error: `IEEE80211_WPA_AKM_IEEE8021X' undeclared (first use in 
this function)
ifconfig.c:1497: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c:1500: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c: At top level:
ifconfig.c:1508: error: `IEEE80211_WPA_CIPHER_USEGROUP' undeclared here (not in 
a function)
ifconfig.c:1508: error: initializer element is not constant
ifconfig.c:1508: error: (near initialization for `ciphers[0].cipher')
ifconfig.c:1508: error: initializer element is not constant
ifconfig.c:1508: error: (near initialization for `ciphers[0]')
ifconfig.c:1509: error: `IEEE80211_WPA_CIPHER_WEP40' undeclared here (not in a 
function)
ifconfig.c:1509: error: initializer element is not constant
ifconfig.c:1509: error: (near initialization for `ciphers[1].cipher')
ifconfig.c:1509: error: initializer element is not constant
ifconfig.c:1509: error: (near initialization for `ciphers[1]')
ifconfig.c:1510: error: `IEEE80211_WPA_CIPHER_TKIP' undeclared here (not in a 
function)
ifconfig.c:1510: error: initializer element is not constant
ifconfig.c:1510: error: (near initialization for `ciphers[2].cipher')
ifconfig.c:1510: error: initializer element is not constant
ifconfig.c:1510: error: (near initialization for `ciphers[2]')
ifconfig.c:1511: error: `IEEE80211_WPA_CIPHER_CCMP' undeclared here (not in a 
function)
ifconfig.c:1511: error: initializer element is not constant
ifconfig.c:1511: error: (near initialization for `ciphers[3].cipher')
ifconfig.c:1511: error: initializer element is not constant
ifconfig.c:1511: error: (near initialization for `ciphers[3]')
ifconfig.c:1512: error: `IEEE80211_WPA_CIPHER_WEP104' undeclared here (not in a 
function)
ifconfig.c:1512: error: initializer element is not constant
ifconfig.c:1512: error: (near initialization for `ciphers[4].cipher')
ifconfig.c:1512: error: initializer element is not constant
ifconfig.c:1512: error: (near initialization for `ciphers[4]')
ifconfig.c: In function `getwpacipher':
ifconfig.c:1523: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use in 
this function)
ifconfig.c: In function `setifwpaciphers':
ifconfig.c:1530: error: storage size of `wpa' isn't known
ifconfig.c:1539: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use in 
this function)
ifconfig.c:1548: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c:1551: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c: In function `setifwpagroupcipher':
ifconfig.c:1559: error: storage size of `wpa' isn't known
ifconfig.c:1563: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use in 
this function)
ifconfig.c:1567: error: `SIOCG80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c:1570: error: `SIOCS80211WPAPARMS' undeclared (first use in this 
function)
ifconfig.c: In function `setifwpapsk':
ifconfig.c:1577: error: storage size of `psk' isn't known
ifconfig.c:1592: error: `SIOCS80211WPAPSK' undeclared (first use in this 
function)
ifconfig.c: In function `print_cipherset':
ifconfig.c:1720: error: `IEEE80211_WPA_CIPHER_NONE' undeclared (first use in 
this function)
ifconfig.c: In function `ieee80211_status':
ifconfig.c:1739: error: storage size of `psk' isn't known
ifconfig.c:1744: error: storage size of `wmm' isn't known
ifconfig.c:1745: error: storage size of `wpa' isn't known
ifconfig.c:1763: error: `SIOCG80211WPAPSK' undeclared (first use in this 
function)
ifconfig.c:1783: error: `SIOCG80211WMMPARMS' undeclared (first use in this 
function)

Re: Difficult routing problem

2007-10-06 Thread Thomas Schoeller
On Sat, Oct 06, 2007 at 10:37:12AM -0400, Dave Anderson wrote:
 On Sat, 6 Oct 2007, Layne Evans wrote:
 
 Hello all,
 
 
 vendor --vendor router-- Internal LAN Location A --OBSD GW A-- Internet
VPN Between
 Internet --OBSD GW B-- Internal LAN Location B
 
 Some info: (these are representative IPs)
 Vendor's IP block that need to go over their T1: 207.12.0.0/18
 Internal LAN A: 10.74.10.0/24
 Vendor router Internal LAN IP: 10.74.10.245
 OpenBSD A Internal IP: 10.74.10.254
 OpenBSD A External IP: a.b.c.d
 OpenBSD B Internal IP: 10.76.10.254
 OpenBSD B External IP: w.x.y.z
 
 Any pointers will sure be appreciated.
 
 Maybe I'm missing something, but (given that everything else is working
 and assuming that the systems on LAN B have a default route directed to
 GW B) wouldn't a static route on GW B for 207.12.0.0/18 pointing to
 10.74.10.245 do the job?
 

this will not work. ipsec will not encap packets that not belong to a
flow.

you need a second ipsec flow like on GW B:
ike esp from LAN_B/24 to vendor/18 peer OPENBSD_A_External
and on GW A:
ike esp from VENDOR/18 to LAN_B/24 peer OPENBSD_B_External
and then a route on GW A to the vendor network.

i think this will do the trick.
thomas



Re: UPDATE: vpnc - 0.5.1

2007-09-13 Thread Thomas Schoeller
sorry, this should go to ports@
On Fri, Sep 14, 2007 at 01:47:35AM +0200, Thomas Schoeller wrote:
 here is a updated port with all my suggestions included.
 
 
 
 On Thu, Sep 13, 2007 at 04:46:37PM +0200, Thomas Schoeller wrote:
  hello,
  
  runs fine for me on macppc and i386 against a Cisco Systems, Inc./VPN
  3000 Concentrator Version 4.1.7.Q
  
  suggestions:
  - remove .orig files
  - install a sample split tunnel script
  split.sh:
  #!/bin/sh
  # this effectively disables changes to /etc/resolv.conf
  INTERNAL_IP4_DNS=
  
  # This sets up split networking regardless
  # of the concentrators specifications.
  # You can add as many routes as you want,
  # but you must set the counter $CISCO_SPLIT_INC
  # accordingly
  CISCO_SPLIT_INC=1
  CISCO_SPLIT_INC_0_ADDR=10.0.0.0
  CISCO_SPLIT_INC_0_MASK=255.255.0.0
  CISCO_SPLIT_INC_0_MASKLEN=16
  CISCO_SPLIT_INC_0_PROTOCOL=0
  CISCO_SPLIT_INC_0_SPORT=0
  CISCO_SPLIT_INC_0_DPORT=0
  
  . /etc/vpnc/vpnc-script
  
  - patch against vpnc-script that not existing routes get not
removed(prevents error messages in split tunnel mode). but i do
know how to check if a route exists which handle special netmask
because route/netstat shows routes in cidr notation.
  
  tomorrow i will see if dead peer detection and rekeying works.
  
  thomas
  
  On Wed, Sep 12, 2007 at 09:47:08PM -0500, Aaron Hsu wrote:
   The compressed archive of the port is available at
   
   http://www.sacrificumdeo.net/vpnc.tar.gz
   
   
   -- 
   ((name Aaron Hsu)
(email/xmpp [EMAIL PROTECTED])
(phone 703-597-7656)
(site http://www.aaronhsu.com;))
 
 [demime 1.01d removed an attachment of type application/x-tar-gz]



Re: UPDATE: vpnc - 0.5.1

2007-09-13 Thread Thomas Schoeller
here is a updated port with all my suggestions included.



On Thu, Sep 13, 2007 at 04:46:37PM +0200, Thomas Schoeller wrote:
 hello,
 
 runs fine for me on macppc and i386 against a Cisco Systems, Inc./VPN
 3000 Concentrator Version 4.1.7.Q
 
 suggestions:
   - remove .orig files
   - install a sample split tunnel script
 split.sh:
 #!/bin/sh
 # this effectively disables changes to /etc/resolv.conf
 INTERNAL_IP4_DNS=
 
 # This sets up split networking regardless
 # of the concentrators specifications.
 # You can add as many routes as you want,
 # but you must set the counter $CISCO_SPLIT_INC
 # accordingly
 CISCO_SPLIT_INC=1
 CISCO_SPLIT_INC_0_ADDR=10.0.0.0
 CISCO_SPLIT_INC_0_MASK=255.255.0.0
 CISCO_SPLIT_INC_0_MASKLEN=16
 CISCO_SPLIT_INC_0_PROTOCOL=0
 CISCO_SPLIT_INC_0_SPORT=0
 CISCO_SPLIT_INC_0_DPORT=0
 
 . /etc/vpnc/vpnc-script
 
   - patch against vpnc-script that not existing routes get not
 removed(prevents error messages in split tunnel mode). but i do
 know how to check if a route exists which handle special netmask
 because route/netstat shows routes in cidr notation.
 
 tomorrow i will see if dead peer detection and rekeying works.
 
 thomas
 
 On Wed, Sep 12, 2007 at 09:47:08PM -0500, Aaron Hsu wrote:
  The compressed archive of the port is available at
  
  http://www.sacrificumdeo.net/vpnc.tar.gz
  
  
  -- 
  ((name Aaron Hsu)
   (email/xmpp [EMAIL PROTECTED])
   (phone 703-597-7656)
   (site http://www.aaronhsu.com;))

[demime 1.01d removed an attachment of type application/x-tar-gz]



snapshot and umass

2006-12-04 Thread Thomas Schoeller
hello,
seams that some recent changes to the scsi layer has broken the umass
support. i tested with two different usb2.0 harddrive models.

dmesg of working kernel from 3.Nov and broken dmesg with trace and ps
output. if u need further testing please contact me.

best regards
thomas

OpenBSD 4.0-current (GENERIC) #1197: Fri Nov  3 03:49:15 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 548
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 268005376 (261724K)
avail mem = 236683264 (231136K)
using 3302 buffers containing 13524992 bytes (13208K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(72) BIOS, date 08/DS/99, BIOS32 rev. 0 @
0xec700, SMBIOS rev. 2.1 @ 0xf1923 (48 entries)
bios0: Compaq Deskpro EN Series SFF
pcibios0 at bios0: rev 2.1 @ 0xec700/0x3900
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf74c0/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:20:0 (Intel 82371AB PIIX4 ISA
rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x800 0xe/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Rage Pro rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 10 function 0 Intel 8255x rev 0x05, i82558: irq 11,
address 00:50:8b:a4:79:ef
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
ppb1 at pci0 dev 13 function 0 DEC 21154 PCI-PCI rev 0x05
pci2 at ppb1 bus 2
fxp1 at pci2 dev 4 function 0 Intel 8255x rev 0x08, i82559: irq 11,
address 00:02:a5:60:ac:dc
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci2 dev 5 function 0 Intel 8255x rev 0x08, i82559: irq 11,
address 00:02:a5:60:ac:dd
inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
ohci0 at pci0 dev 14 function 0 NEC USB rev 0x43: irq 11, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub0 at usb0
uhub0: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 14 function 1 NEC USB rev 0x43: irq 11, version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 14 function 2 NEC USB rev 0x04: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
pcib0 at pci0 dev 20 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 20 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compati
bility
wd0 at pciide0 channel 0 drive 0: WDC WD100BA
wd0: 16-sector PIO, LBA, 9541MB, 19541088 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: COMPAQ, CD-224E, 9.0B SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 20 function 2 Intel 82371AB USB rev 0x01: irq 11
usb3 at uhci0: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
piixpm0 at pci0 dev 20 function 3 Intel 82371AB Power rev 0x02: SMI
iic0 at piixpm0
maxtmp0 at iic0 addr 0x4c: max6657
isa0 at pcib0
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
sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
midi0 at sb0: SB MIDI UART
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16  
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff45 netmask ff45 ttymask ffc7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support   
umass0 at uhub2 port 2 configuration 1 interface 0
umass0: vendor 0x04b4 product 0x6830, rev 2.00/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets  
sd0 at scsibus1 targ 1 lun 0: ST310212, A,  SCSI0 0/direct fixed
sd0: 9768MB, 9768 cyl, 64 head, 32 sec, 512 bytes/sec, 20005650 sec
total
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a   
rootdev=0x0 rrootdev=0x300 rawdev=0x302


Re: dhcp on vlan interface

2006-11-15 Thread Thomas Schoeller
On Wed, Nov 15, 2006 at 09:28:47AM +0500, Igor Goldenberg wrote:
 Hello,
 
 is it possible to start dhcp on vlan interface using only netstart(8)
 and hostname.if(5)? Or it's need to write custom commands (e.g. in
 rc.local)?
yes, you could write dhcp in a hostname.vlanX file and it will geht an
ip. but you should also configure vlandev and vlanid in this file.
 
 Another question. myname(5) says If any hostname.if(5) files contain
 ``dhcp'' directives, IPv4 entries in /etc/mygate will be ignored. But
 I need to get only IP  mask by DHCP, not gate. I will request
 subnet-mask, broadcast-address; so my default gateway will not be
 changed anyway. So, if I want to use dhcp for some interface and
 static default gw on another one I must use !command syntax in
 hostname.if(5) or rc.local?
i think if you not request gateway then nothing is changed on your
default route.

regards
thomas



re0 realtek 8169 no link

2006-11-13 Thread Thomas Schoeller
hello all,
i got hands on a msi ms-7008 with a onboard re nic. but -stable and
-currents shows no link at all. under windows it is working fine.
any hints?
thomas


OpenBSD 4.0-current (RAMDISK_CD) #113: Fri Nov 10 15:45:50 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz (GenuineIntel 686-class) 2.42
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID
real mem  = 2146988032 (2096668K)
avail mem = 1951854592 (1906108K)
using 4256 buffers containing 107474944 bytes (104956K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 11/26/04, BIOS32 rev. 0 @
0xfdaf0, SMBIOS rev. 2.3 @ 0xf0630 (24 entries)
bios0: MSI MS-7008
apm0 at bios0: Power Management spec V1.2
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7b50/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8237 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xe800 0xe/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA PT880 Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA PT880 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA PT880 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT880 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA PT880 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA PT880 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce4 Ti 4600 rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
re0 at pci0 dev 7 function 0 Realtek 8169 rev 0x10: irq 10, address
00:11:09:c6:86:5d
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
rl0 at pci0 dev 11 function 0 Realtek 8139 rev 0x10: irq 12, address
00:50:22:84:e6:d8
rlphy0 at rl0 phy 0: RTL internal PHY
VIA VT6306 FireWire rev 0x80 at pci0 dev 13 function 0 not configured
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide1 channel 0 drive 0: Maxtor 7Y250P0
wd0: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4163B, A100 SCSI0
5/cdrom removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 VIA VT83C572 USB rev 0x81: irq 5
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 10
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
VIA VT8233 AC97 rev 0x60 at pci0 dev 17 function 5 not configured
isa0 at pcib0
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask efed netmask ffed ttymask ffef
rd0: fixed, 3800 blocks
umass0 at uhub3 port 1 configuration 1 interface 0
umass0: USB DISK Pro, rev 2.00/30.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
uhidev0 at uhub1 port 1 configuration 1 interface 0sd0 at scsibus1 targ
1 lun 0: USB, DISK Pro, 3000 SCSI0 0/direct removable

uhidev0: Logitech USB Mouse, rev 1.10/6.20, addr 2, iclass 3/1
sd0: 123MB, 123 cyl, 64 head, 32 sec, 512 bytes/sec, 252928 sec total
uhid at uhidev0 not configured
wd0: no disk label
dkcsum: wd0 matches BIOS drive 0x80
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02



Re: [PATCH] NTLM/winbind support for squid

2006-10-27 Thread Thomas Schoeller
sorry,
should go to ports@

On Fri, Oct 27, 2006 at 01:07:55PM +0200, Thomas Schoeller wrote:
 i have not tried you patch. but i did something similar to this. and it
 runs fine in production for 6months. PLIST should be updated. i will do
 this when i got some time.
 i would be really happy if this goes into the cvs.
 
 thomas
 
 On Thu, Oct 26, 2006 at 04:30:06PM -0200, Eduardo Alvarenga wrote:
  2006/9/25, Eduardo Alvarenga [EMAIL PROTECTED]:
  2006/9/25, Antoine Jacoutot [EMAIL PROTECTED]:
   On Mon, 25 Sep 2006, Eduardo Alvarenga wrote:
+FLAVORS=   transparent snmp ntlm-winbind
  
   I don't think ntlm-winbind is a correct syntax.
   Either use ntlm or winbind.
  
  Well, It can be ntlm or even ntlmssp.
  But just winbind may confuse people I think.
  
  I'd like to have feedbacks about the patch.
  Since I'm not subscribed to ports@, please be gentle and CC me too.
  
  Did anyone cared about this patch?
  It is really useful. Worth trying.
  
  -- 
  Eduardo Alvarenga



Re: NIC intel pro 10/100 ethernet not recognized on new motherboard

2006-10-17 Thread Thomas Schoeller
On Mon, Oct 16, 2006 at 05:37:22PM -0300, Marcos Laufer wrote:
 Hi,
 
SNIP
 
 I know that if i upgrade to 3.9, or make a 3.9 fresh install that would
 solve the issue.
 But i would really hate doing that just because of this hardware change, as
 i said before, this 3.4 has been running perfectly, never had a single crash
 or problem, so i would really like to find a way to recognize this ethernet
 on
 this 3.4,and other important devices i might need.

maybe you should do it because 3.4 is EOLed long ago. there are no
updates for the ports and base system. and mission critical server
should run patched os and software imho.

ethernet chips are updated from time to time, too.



Re: ipsec.conf and road warriors

2006-09-26 Thread Thomas Schoeller
On Tue, Sep 26, 2006 at 02:01:54AM +0200, viq wrote:
 On 9/24/06, Joachim Schipper [EMAIL PROTECTED] wrote:
 On Sun, Sep 24, 2006 at 07:10:14PM +0200, Thomas Schoeller wrote:
  hello all,
  is it possible with ipsec.conf and ipsecctl in 3.9 to listen for a
  road warrior with dynamic address. or should i wait for 4.0 where i can
  specify a fqdn as peer? is it maybe in 4.0 possible to listen for any
  peer?
 
 I believe you should wait for 4.0.
 
 Sorry for somewhat piggybacking this thread, but how to configure
 that? I am thinking of something like have all traffic from the
 remote box come into network and from there go where it should, is
 that at all possible, or it needs to be specified more carefully? I
 was trying to set up something like that, but failed... (on current)

i have test this a while back. i was happy with:
ike esp from 192.168.0.100 to 0.0.0.0/0 peer 192.168.0.1

in 4.0 also something like that would work
ike exp from my.dyndns.org to any peer vpngate.com (not tested)

 
  on more question...
  when i use fqdn in 4.0 do i have to reload my rule set every time the
  road warrior change ip?
 
 No.
 
 Joachim
 
 
 
 
 -- 
 viq



ipsec.conf and road warriors

2006-09-24 Thread Thomas Schoeller
hello all,
is it possible with ipsec.conf and ipsecctl in 3.9 to listen for a
road warrior with dynamic address. or should i wait for 4.0 where i can
specify a fqdn as peer? is it maybe in 4.0 possible to listen for any
peer?

on more question...
when i use fqdn in 4.0 do i have to reload my rule set every time the
road warrior change ip?

thx in advance
thomas



ral0 hostap Power Save Polling Problem

2006-09-13 Thread Thomas Schoeller
hello,
i have a problem with me wrap board and a gigabyte ral card in hostap
mode. when my ibook or my thinkpad(with windows) is on battery then i 
have packet lost. when the notebooks are connected to power the
connection is fine.
it seem i have this problem:
http://www.intel.com/support/wireless/wlan/sb/cs-006205.htm
but i have not found a workaround for my apple notebook. is this problem
known?

any hints are welcome :)
thx
thomas



Re: ral0 hostap Power Save Polling Problem

2006-09-13 Thread Thomas Schoeller
sorry,
forgot the dmesg.
OpenBSD 4.0 (GENERIC) #1103: Thu Aug 31 19:36:08 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi (Geode by NSC
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133791744 (130656K)
avail mem = 114692096 (112004K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(fa) BIOS, date 05/02/05, BIOS32 rev. 0 @
0xfc5f2
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Cyrix GXm PCI rev 0x00
ral0 at pci0 dev 13 function 0 Ralink RT2560 rev 0x01: irq 12, address
00:0f:ea:84:5a:ae
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
sis0 at pci0 dev 14 function 0 NS DP83815 10/100 rev 0x00, DP83816A:
irq 10, address 00:0d:b9:01:de:38
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 16 function 0 NS DP83815 10/100 rev 0x00, DP83816A:
irq 11, address 00:0d:b9:01:de:39
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
gscpcib0 at pci0 dev 18 function 0 NS SC1100 ISA rev 0x00
gpio0 at gscpcib0: 64 pins
NS SC1100 SMI rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 NS SCx200 IDE rev 0x01: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA THNCF256MPG
wd0: 1-sector PIO, LBA, 244MB, 500736 sectors
wd0(pciide0:0:0): using PIO mode 4
NS SCx200 AUDIO rev 0x00 at pci0 dev 18 function 3 not configured
geodesc0 at pci0 dev 18 function 5 NS SC1100 X-Bus rev 0x00: iid 6
revision 3 wdstatus 0
isa0 at gscpcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
gscsio0 at isa0 port 0x2e/2: SC1100 SIO rev 1: ACB1 ACB2
iic0 at gscsio0
iic1 at gscsio0
lmtemp0 at iic1 addr 0x48: lm77
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
biomask e3ef netmask ffef ttymask ffef
pctr: no performance counters in CPU
nvram: invalid checksum
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
clock: unknown CMOS layout


On Wed, Sep 13, 2006 at 01:25:18PM +0200, Thomas Schoeller wrote:
 hello,
 i have a problem with me wrap board and a gigabyte ral card in hostap
 mode. when my ibook or my thinkpad(with windows) is on battery then i 
 have packet lost. when the notebooks are connected to power the
 connection is fine.
 it seem i have this problem:
 http://www.intel.com/support/wireless/wlan/sb/cs-006205.htm
 but i have not found a workaround for my apple notebook. is this problem
 known?
 
 any hints are welcome :)
 thx
 thomas



build samba with kerberos support

2006-06-06 Thread Thomas Schoeller
hi list,
i try to build the samba ldap port with kerberos support. i have added
the --with-ads --with-krb5 options to the Makefile. but the configure
script reported:
checking whether LDAP support is used... yes
checking for Active Directory and krb5 support... no

maybe the missing krb5-config program is the problem. but i do not know
how to build the krb5-config binary which is not in the source tree.

i like to build a samba member server so i could use the ntlm helper
script from squid to auth my users. has somebody got this working?
any comments on this?

regards
thomas



Re: build samba with kerberos support

2006-06-06 Thread Thomas Schoeller
i got it :)
i build a patch based on this post:
http://marc.theaimsgroup.com/?l=openbsd-portsm=110659454524366w=2
if somebody is interested. it is here:
https://tiifp.org/samba_with_ads.patch
maybe it got into the tree.

regards
thomas


On Tue, Jun 06, 2006 at 05:06:54PM +0200, Thomas Schoeller wrote:
 hi list,
 i try to build the samba ldap port with kerberos support. i have added
 the --with-ads --with-krb5 options to the Makefile. but the configure
 script reported:
 checking whether LDAP support is used... yes
 checking for Active Directory and krb5 support... no
 
 maybe the missing krb5-config program is the problem. but i do not know
 how to build the krb5-config binary which is not in the source tree.
 
 i like to build a samba member server so i could use the ntlm helper
 script from squid to auth my users. has somebody got this working?
 any comments on this?
 
 regards
 thomas



issue with mtu/mss and in-kernel pppoe

2006-01-07 Thread Thomas Schoeller
hi misc,
i have installed a new firewall with my new WRAP board. and have tried the
new
in-kernel pppoe. and i had a problem with the mtu/mss. i have set the pf.conf
entry scrub out on pppoe0 max-mss 1440. and also have put the mtu on the
internal nic to 1492. but no success.
after some googling i found http://www.pro-bono-publico.de/openbsd/pppoe/.
i put scrub in all max-mss 1452 in my pf.conf and it works.

have i forgot something or is the pppoe(4) manpage wrong/notcomplete?

cheers
thomas

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