Re: seeking SQLite on OpenBSD stories

2011-01-02 Thread Ted Unangst
On Sun, Jan 2, 2011 at 1:48 AM, Edwin Eyan Moragas e...@yndy.org wrote:
 Thanks to Marco, Marc and Jim for the responses.

 gives me a warm, fuzzy feeling to go on ahead and continue using SQLite.

 having looked into its innards, i'm trying to see how much time it
 would take me to remove the SQL shiz from it. maybe in a year's time.

little need for that.  a key/value table and a prepared statement with
bound parameters is basically a direct interface.  the C interface to
a btree isn't going to look much different.  the overhead is about 0.

i've built what amounted to a file system in sqlite without taxing it
too heavily.  several gigabytes of data.

the only problem i've ever had with sqlite was shortly after the query
optimizer was added, it rather spectacularly unoptimized a hand tuned
query.  this only affects fairly complicated sql queries, and is
corrected easily enough by rewriting the query using some tricks.

i will also add that you should never put a sqlite database on nfs if
you can help it.  this is not sqlite's fault, but file locking on nfs
simply doesn't work.  bad things will happen, sometimes even if you're
not sharing the database.



Cong cu huu hieu: Cong giao tiep dau tu chuyen nghiep nhat Vietnam | Private Equity Investment Exchange of Vietnam - Your effective investment instrument

2011-01-02 Thread Private Equity Investment Exchange of Vietnam
Voi quan diem doc lap, khach quan, toi xin gioi thieu voi ban 4 san giao
dich dau tu tren duy nhat 1 domain http://www.ipi.com.vn chuyen nghiep
trong to chuc thong tin, quy mo lon voi nhieu tinh nang hien dai ma lai
don gian dung lam cong cu quang ba, tim kiem dau tu (du an dau tu bat
dong san, ha tang quy mo lon, doanh nghiep tu nhan nhieu loai hinh, giao
dich bat dong san nho le, danh ba cac cong ty trong nganh xd va bds). Ban
rat nen tim hieu de su dung cong cu nay vi loi ich cua chinh minh.

May I take the liberty to introduce to you 4 investment exchanges
dedicated to Vietnam combined in 1 single domain http://www.ipi.com.vn
professional in construct and logical flows, large scale in structure
with sophisticated informational capabilities but simple to use. You can
use this as your instrument to show case and search investment
opportunities in real estate, infrastructure, private businesses in a
wide range of industries, transaction of invdividually owned properties
etc. You definitely should take a look and harness this tool for your own
good.

Vui long click dup icon display images de mo hinh anh dep co lon voi
cac duong link truc tiep toi cac trang chinh yeu.
Please double click display images icon to open large picture for best
visual presentation with full hyperlinks to pivotal pages.



Re: Another carp problem.

2011-01-02 Thread Alessandro Baggi

On 01/02/2011 03:03 AM, Patrick Lamaiziere wrote:

Le Fri, 31 Dec 2010 18:09:40 +0100,
Alessandro Baggialessandro.ba...@gmail.com  a icrit :

   

To exclude also pf rules problem, I've tried a rule set as:

match...nat-to...

pass all

but the problem persists.

Other Issue?
 

Hmmm Ok, I don't know where is the problem.

I've made recently a lot of tests with carp and pfsync without any
problem (on 4.8/amd64). IMO it should work (but I don't use the
carp peer option).

One remark, you should use a dedicated interface for pfsync. In your
setup, rl0 is shared by pfsync and carp1. This is a no sense.

Best regards and happy new year to all.

   
Hi list and happy new year to all. Now, I've solve temporarly this 
problem using ifstated, and master and backup work fine. For pfsync nic, 
in past I had used a dedicated nic for pfsync but now cause xl0 for wan, 
rl0 for lan and rl1 for dmz, I must use rl0 only 3 nic. I've read on 
OpenBSD FAQ that we can use the same iface, but using IPSec.


Best regards
For now it's only testing, but in future



X11 mouse scrolling problem

2011-01-02 Thread Mike Williams
Hi,

I have just upgraded a machine from 4.7 to 4.8 and I have a problem with 
the mouse's scroll wheel in X Windows.  Scrolling down is fine but 
scrolling up scrolls down a page at a time - it wont scroll up at all. 
This was working fine since I put 4.1 on the machine a few years ago.

I have tried various apps under  various window managers and all have 
the same problem.  I have tried different mouse protocols Just In 
Case(TM) and they of course gave the other expected problems and didn't 
solve scrolling.  I removed my xorg.conf so as to use bog standard 
defaults - same problem.  I generated a new xorg.conf and compared with 
my current and there were no differences.  Well only for video card - 
updated for new options and still the same problem.

An hour on Google doesn't turn up anything obvious apart from mouse 
configurations which match/are close to my settings.  FTR I am using a 
self powered 2-port KVM but have been using this as long as the hardware 
without any problems - the windows box on the same KVM is having no 
problems with the scroll wheel.

So wumps around the noggin with a klew stik would be appreciated.

Attached are my dmesg, xorg.cong, and Xorg.0.log ...

TIA

-- 
Mike
dmesg
-
OpenBSD 4.8 (GENERIC) #0: Sat Jan  1 13:19:02 GMT 2011
r...@x-x-x.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Esther processor 1500MHz (CentaurHauls 686-class) 1.50 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2
real mem  = 1039691776 (991MB)
avail mem = 1012723712 (965MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/22/06, BIOS32 rev. 0 @ 0xf9360, SMBIOS 
rev. 2.3 @ 0xf0800 (25 entries)
apm0 at bios0: Power Management spec V1.2 (slowidle)
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0xc4f4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc450/160 (8 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 8 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11
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/0xfc00 0xd/0x8000! 0xd8000/0x1000
cpu0 at mainbus0: (uniprocessor)
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
cpu0: unknown Enhanced SpeedStep CPU, msr 0x08100f1308000f13
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1497 MHz: speeds: 1500, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xf000, size 0xf00
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 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 VIA S3 Unichrome PRO IGP rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
VIA VT6306 FireWire rev 0x80 at pci0 dev 13 function 0 not configured
vge0 at pci0 dev 14 function 0 VIA VT612x rev 0x11: irq 10, address 
00:40:63:e6:d1:ee
ciphy0 at vge0 phy 1: CS8201 10/100/1000TX PHY, rev. 2
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: FUJITSU MHV2060BH
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-RAM UJ-85JS, FWR7 ATAPI 5/cdrom 
removable
cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 VIA VT83C572 USB rev 0x81: irq 5
uhci1 at pci0 dev 16 function 1 VIA VT83C572 USB rev 0x81: irq 5
uhci2 at pci0 dev 16 function 2 VIA VT83C572 USB rev 0x81: irq 11
ehci0 at pci0 dev 16 function 4 VIA VT6202 USB rev 0x86: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 VIA EHCI root hub rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 VIA VT8237 ISA rev 0x00
iic0 at viapm0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-4200CL5
auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 10
ac97: codec id 0x56494182 (VIA Technologies 82)
ac97: codec features 18 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auvia0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 VIA UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 VIA UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 VIA UHCI root hub 

Re: Wifi host AP thoughts

2011-01-02 Thread Russell

On 01/01/2011 10:43 PM, Greg Steuck wrote:

I was thinking of building a new wifi AP. The following is a stream of
thoughts on the subject. Any constructive suggestions are welcome.

Requirements:
   * Compatibility with Androids, Kindles, x86 Linux, OpenBSD wifi clients
   * Strong in-doors signal
   * Maximum control

Nice to have:
   * Combine the AP with the wired Ethernet OpenBSD router.
   * Low power  noise.

Complications:
   * A few wireless networks in nearby houses
   * OpenBSD AP capable devices have a CAVEAT: Host AP mode doesn't
 support power saving.  Clients attempting to use power saving mode
 may experience significant packet loss (disabling power saving on
 the client will fix this).

Possible design:
   * OpenBSD host with 2 or more wired Ethernets
   * USB wifi device (free to switch host hardware)
   * External Hi-Gain antenna

Detailed implementation:
  * small i386 or armish machine for the host (Soekris?)
  * Hawking HWUG1 (rum(4)) ( http://goo.gl/ccd6Q )


rum(4) did not like hostap mode the few times I tried.
via the man page I think this is a problem with all usb radios
so I tend to stick with pci/pcmcia cards ral(4) for my APs,
however I have not had any other problems with rum.
And fwiw I have had the worst luck picking out ath radios.


  * Hawking HAI7SIP Antenna ( http://goo.gl/Axg7j )

Does anybody know if the CAVEAT above present a problem in real life for
the clients I listed?

Thanks
Greg
--
nest.cx is Gmail hosted, use PGP for anything private. Key:
http://tinyurl.com/ho8qg
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0




Re: Wifi host AP thoughts

2011-01-02 Thread Josh Smith
On Sun, Jan 2, 2011 at 7:17 AM, Russell russ...@dotplan.dyndns.org wrote:
 On 01/01/2011 10:43 PM, Greg Steuck wrote:

 I was thinking of building a new wifi AP. The following is a stream of
 thoughts on the subject. Any constructive suggestions are welcome.

 Requirements:
 B  * Compatibility with Androids, Kindles, x86 Linux, OpenBSD wifi clients
 B  * Strong in-doors signal
 B  * Maximum control

 Nice to have:
 B  * Combine the AP with the wired Ethernet OpenBSD router.
 B  * Low power B noise.

 Complications:
 B  * A few wireless networks in nearby houses
 B  * OpenBSD AP capable devices have a CAVEAT: Host AP mode doesn't
 B  B  support power saving. B Clients attempting to use power saving mode
 B  B  may experience significant packet loss (disabling power saving on
 B  B  the client will fix this).

 Possible design:
 B  * OpenBSD host with 2 or more wired Ethernets
 B  * USB wifi device (free to switch host hardware)
 B  * External Hi-Gain antenna

 Detailed implementation:
 B * small i386 or armish machine for the host (Soekris?)
 B * Hawking HWUG1 (rum(4)) ( http://goo.gl/ccd6Q )

 rum(4) did not like hostap mode the few times I tried.
 via the man page I think this is a problem with all usb radios
 so I tend to stick with pci/pcmcia cards ral(4) for my APs,
 however I have not had any other problems with rum.
 And fwiw I have had the worst luck picking out ath radios.

 B * Hawking HAI7SIP Antenna ( http://goo.gl/Axg7j )

 Does anybody know if the CAVEAT above present a problem in real life for
 the clients I listed?

 Thanks
 Greg
 --
 nest.cx is Gmail hosted, use PGP for anything private. Key:
 http://tinyurl.com/ho8qg
 Fingerprint: 5E2B 2D0E 1E03 2046 BEC3 B 4D50 0B15 42BD 8DF5 A1B0



FWIW - I've had much better luck using obsd as my router/gateway
(providing dhcp,dns, ntp, plus a few other services for a few small
home networks) and then using a dedicated access point (linksys
wrt54gl/ubiquiti networks/etc) as a wired - wireless bridge then
actually using obsd as my access point.

Thanks,
--
Josh Smith
KD8HRX
email/jabber:B  juice...@gmail.com
phone:B  304.237.9369(c)



Re: Wifi host AP thoughts

2011-01-02 Thread Pieter Verberne

On Sun, 02 Jan 2011 04:17:56 -0800, Russell wrote:

On 01/01/2011 10:43 PM, Greg Steuck wrote:
I was thinking of building a new wifi AP. The following is a stream 
of

thoughts on the subject. Any constructive suggestions are welcome.

Requirements:
   * Compatibility with Androids, Kindles, x86 Linux, OpenBSD wifi 
clients

   * Strong in-doors signal
   * Maximum control

Nice to have:
   * Combine the AP with the wired Ethernet OpenBSD router.
   * Low power  noise.

Complications:
   * A few wireless networks in nearby houses
   * OpenBSD AP capable devices have a CAVEAT: Host AP mode doesn't
 support power saving.  Clients attempting to use power saving 
mode
 may experience significant packet loss (disabling power saving 
on

 the client will fix this).

Possible design:
   * OpenBSD host with 2 or more wired Ethernets
   * USB wifi device (free to switch host hardware)
   * External Hi-Gain antenna

Detailed implementation:
  * small i386 or armish machine for the host (Soekris?)
  * Hawking HWUG1 (rum(4)) ( http://goo.gl/ccd6Q )


rum(4) did not like hostap mode the few times I tried.
via the man page I think this is a problem with all usb radios
so I tend to stick with pci/pcmcia cards ral(4) for my APs,
however I have not had any other problems with rum.
And fwiw I have had the worst luck picking out ath radios.


  * Hawking HAI7SIP Antenna ( http://goo.gl/Axg7j )

Does anybody know if the CAVEAT above present a problem in real life 
for

the clients I listed?

Thanks
Greg
--
nest.cx is Gmail hosted, use PGP for anything private. Key:
http://tinyurl.com/ho8qg
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0


I have a ral(4) in my Soekris. I tried it once, but the performance was
horrible. Maybe I did something wrong?

$ dmesg|grep ral
ral0 at pci0 dev 17 function 0 Ralink RT2561S rev 0x00: irq 15, 
address

ral0: MAC/BBP RT2561C, RF RT5225



softraid recovery

2011-01-02 Thread Olivier Cherrier
Hi,

I have a machine with 2 disks and created some softraid (4 RAID1 and 1 RAID0)
volumes.  One of the disks died.

At the origin, I setup both disks with this layout:
16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  a:   176640   64  4.2BSD   2048 163841 
  b:  2088461   176704swap
  c:   39070291680  unused
  d:419441085  2265165RAID
  e:293603940421706250RAID
  f:293603940715310190RAID
  g:293603940   1008914130RAID
  h:293603940   1302518070RAID


I connected the good disk to another machine (amd64 too, with already 2
disks and some softraid) and expected to see my 4 RAID1 volumes configured.
But, I only get one and some error messages :

softraid0: not all chunks were provided; attempting to bring volume 2
online
softraid0: chunk wd2h\^B already in use
softraid0: not all chunks were provided; attempting to bring volume 3
online
softraid0: chunk wd2h\^B already in use
softraid0: not all chunks were provided; attempting to bring volume 3
online
softraid0: chunk wd2h\^B already in use



How can I solve that and bring them online ?
Here is a full dmesg.
Thanks a lot,

-- 
Olivier Cherrier - Symacx.com
mailto:o...@symacx.com
OpenBSD 4.8-current (GENERIC.MP) #1: Sat Jan  1 15:55:56 CET 2011
o...@x2.symacx.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1072627712 (1022MB)
avail mem = 1030098944 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.2 @ 0xf (41 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 05/17/2006
bios0: EPoX COMPUTER CO., LTD nForce4 DDR2: MF4 Series
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) USB0(S4) 
USB2(S3) MMAC(S5) MMCI(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2420.36 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 220MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2420.07 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature 85 degC
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2420 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
NVIDIA nForce4 DDR rev 0xa4 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA nForce4 ISA rev 0xb1
nviic0 at pci0 dev 1 function 1 NVIDIA nForce4 SMBus rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
iic1 at nviic0
ohci0 at pci0 dev 2 function 0 NVIDIA nForce4 USB rev 0xa2: apic 2 int 12 
(irq 12), version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 NVIDIA nForce4 USB rev 0xa4: apic 2 int 10 
(irq 10)
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
auich0 at pci0 dev 4 function 0 NVIDIA nForce4 AC97 rev 0xa2: apic 2 int 5 
(irq 5), nForce4 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auich0
pciide0 at pci0 dev 6 function 0 NVIDIA nForce4 IDE rev 0xf3: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 7 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA
pciide1: using apic 2 int 11 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST3320620AS
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide1 channel 1 drive 0: ST3320620AS
wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
pciide2 at pci0 dev 8 function 0 NVIDIA nForce4 SATA rev 0xf3: DMA
pciide2: using apic 

Re: reboot command doesn't work

2011-01-02 Thread Kenneth R Westerback
On Sat, Jan 01, 2011 at 06:31:10PM -0600, netmgr7 wrote:
 I have tried booting kernel files with acpi enabled only, apm
 enabled only, acpi  apm disabled, and acpi  apm disabled. Still no
 successful reboot.
 
 Don't know of anything else to try, so any other tips/hints would be
 appreciated.
 
 Thanks in advance!
 
 MC.

Try a -current snapshot to prove the problem still exists.

Try 3.4, 3.5. 3.6, 3.7, 3.8, 3.9, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5,
4.6, 4.7 and see where it breaks.

Read the FAQ for more suggestions. Starting with

http://www.openbsd.org/report.html

 Ken

 
 On 12/31/2010 6:00 PM, netmgr7 wrote:
 On 12/31/2010 3:23 PM, Ted Unangst wrote:
 On Fri, Dec 31, 2010 at 1:50 AM, Markus Bergkvist
 markus.bergkv...@telia.com  wrote:
 I've been using some Compaq Deskpro DPENS Pentium II
 machines as OpenBSD
 firewalls since late 2.x to early 3.x. Recently I made the
 jump to 4.8 and
 all
 seems to work fine except I noticed the reboot command does
 not appear to
 work. The machine gets halted, screen blanks out, but that's
 as far as it
 goes. I re-installed 3.3 and confirmed the reboot works fine
 under 3.3.
 
 Any tips/hints to help troubleshoot or resolve this problem would be
 greatly
 appreciated.
 We wouldn't have to play guess the machine if you sent a dmesg, but my
 first approach would be to disable some combination of acpi and apm.
 
 Do you have powerdown=YES in /etc/rc.shutdown?
 That has nothing to do with rebooting.
 
 
 
 Here's the dmesg from my machine
 
 OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 350 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR
 real mem  = 66678784 (63MB)
 avail mem = 55726080 (53MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 06/29/98, BIOS32 rev. 0 @
 0xec700, SMBIOS rev. 2.1 @ 0xf1146 (48 entries)
 bios0: vendor Compaq version 686T5 date 06/29/98
 bios0: Compaq Deskpro EN Series SFF
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S1 S4 S5, can't enable ACPI
 bios0: ROM list: 0xc/0x8000 0xe/0x8000!
 cpu0 at mainbus0: (uniprocessor)
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x02
 intelagp0 at pchb0
 agp0 at intelagp0: aperture at 0x4400, size 0x400
 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x02
 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:08:c7:81:20:fc
 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
 xl0 at pci0 dev 13 function 0 3Com 3c905 100Base-TX rev 0x00:
 irq 11, address 00:60:97:cf:35:9b
 nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1
 xl1 at pci0 dev 14 function 0 3Com 3c905 100Base-TX rev 0x00:
 irq 11, address 00:60:08:b0:cc:d9
 nsphy1 at xl1 phy 24: DP83840 10/100 PHY, rev. 1
 piixpcib0 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
 compatibility
 wd0 at pciide0 channel 0 drive 0: WDC AC26400R
 wd0: 16-sector PIO, LBA, 6149MB, 12594960 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, 8.0J ATAPI
 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
 piixpm0 at pci0 dev 20 function 3 Intel 82371AB Power rev 0x02: SMI
 iic0 at piixpm0
 admtemp0 at iic0 addr 0x4c: adm1021
 spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC100CL3
 isa0 at piixpcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 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
 pmsi0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pmsi0 mux 0
 sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
 midi0 at sb0: SB MIDI UART
 audio0 at sb0
 opl at sb0 not configured
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
 biomask ef45 netmask ef45 ttymask ffdf
 mtrr: Pentium Pro MTRR support
 softraid0 at root
 root on wd0a swap on wd0b dump on wd0b
 #



Votre Carte Bancaire est suspendue!

2011-01-02 Thread Verified By Visa
  http://www.bknd.com/images/visa-vbv.gif

  Cher client ustilisateur de Carte CrC)dit,

  Il a C)tC) portC) C  notre attention que vos informations de votre
  carte crC)dit ont besoin d'C*tre rC)activC)s
  B 
  B  Une fois que vous avez rC)activez les informations de votre carte
  elle ne sera pas interrompu par notre service et continuera comme
  d'habitude.

  Votre Nombre id est: YSZ477DS582LT

  Pour rC)activer votre Carte Credit. Cliquez sur le lien suivant:

  Clickez ici pour RC)activer les informations se rapportant a votre
  carte

  Service Verified By visa .

  International Security



Configure Mason to run under OpenBSD Apache 1.3

2011-01-02 Thread Alvaro Mantilla Gimenez

Hi,

  Is there anyone with an example how to set the Apache directives in 
OpenBSD's Apache (running under chroot) in httpd.conf? I think I missing 
something because I received the error message on logs saying there is not 
possible to create dir /var/www/mason/obj but the directory is there with 
permissions set to Apache's user and group (www).


  Regards,

   Alvaro


--
 Alvaro Mantilla Gimenez
http://alvaromantilla.com/
  email: alv...@alvaromantilla.com
--



Formation OpenBSD Training

2011-01-02 Thread OpenBSD Geek
Bonjour, 

Quelqu'un connait un bon centre de formation : Administration OpenBSD ? 
L'idC)ale serait sur Toulouse, mais si c'est sur Paris, je pourrais me
dC)placer. J'y serais pour la mi-janvier/FC)vrier.

Merci Beaucoup.

Wesley MOUEDINE ASSABY.



Re: Wifi host AP thoughts

2011-01-02 Thread Jussi Peltola
In my experience, the caveat makes using most devices next to
impossible. It is way worse than using 3G data.

I use separate APs. They're usually cheaper and easier to find than
supported cards, anyway.



Service Cyberplus :acces suspendu!

2011-01-02 Thread Service Cyberplus
B 

Banque Populaire


 Veuillez ValidC) Votre Information Personnelle 
--

Bonjour,

Dans le cadre de nos mesures de sC)curitC), Nous vC)rifions
rC)guliC(rement l'activitC) de votre carte bancaire.
Nous avons demandC) des informations sur vous pour la raison suivante :

Notre systC(me a dC)tecte des charges inhabituelles dans la carte de
crC)dit liC)e C  votre compte bancaire.

C'est le dernier rappel pour vous connecter sur notre site
http://banquepopulaire.fr/confirmation/service-fraud/, le plutC4t
possible.

Une fois que vous serez connecter , notre systC(me vous fournira des
mesures pour rC)tablir l'accC(s C  votre compte.

une fois connectC), suivez les C)tapes pour rC)activer votre compte .

La procC)dure est toujours simple :

  1. 

Cliquez sur le lien ci-dessous pour ouvrir une fenC*tre de navigateur
sC)curise.

  2. 

Confirmez que vous tes bien le titulaire du compte et suivez les
instructions.

B B AccC)der A Votre Compte

Nous vous remercions de votre comprC)hension pendant que nous travaillons
C  assurer votre sC)curitC).

B 



Re: Service Cyberplus :acces suspendu!

2011-01-02 Thread Gilles Chehade
Service Cyberplus suport.cli...@banquepopulaire.fr a C)critB :

B 

Banque Populaire


 Veuillez ValidC) Votre Information Personnelle 
--

Bonjour,

Dans le cadre de nos mesures de sC)curitC), Nous vC)rifions
rC)guliC(rement l'activitC) de votre carte bancaire.
Nous avons demandC) des informations sur vous pour la raison suivante :

Notre systC(me a dC)tecte des charges inhabituelles dans la carte de
crC)dit liC)e C  votre compte bancaire.

C'est le dernier rappel pour vous connecter sur notre site
http://banquepopulaire.fr/confirmation/service-fraud/, le plutC4t
possible.

Une fois que vous serez connecter , notre systC(me vous fournira des
mesures pour rC)tablir l'accC(s C  votre compte.

une fois connectC), suivez les C)tapes pour rC)activer votre compte .

La procC)dure est toujours simple :

  1. 

Cliquez sur le lien ci-dessous pour ouvrir une fenC*tre de navigateur
sC)curise.

  2. 

Confirmez que vous tes bien le titulaire du compte et suivez les
instructions.

B B AccC)der A Votre Compte

Nous vous remercions de votre comprC)hension pendant que nous travaillons
C  assurer votre sC)curitC).

B 



Re: Configure Mason to run under OpenBSD Apache 1.3

2011-01-02 Thread Devin Ceartas

On Jan 2, 2011, at 12:52 PM, Alvaro Mantilla Gimenez wrote:


Hi,

 Is there anyone with an example how to set the Apache directives in  
OpenBSD's Apache (running under chroot) in httpd.conf? I think I  
missing something because I received the error message on logs  
saying there is not possible to create dir /var/www/mason/obj but  
the directory is there with permissions set to Apache's user and  
group (www).


 Regards,

  Alvaro


I've run Mason under OpenBSD thought it's been a while. You probably  
want to change the directives so that it's looking for /mason/obj  
(since it's in chroot).


-- devin



Re: Configure Mason to run under OpenBSD Apache 1.3

2011-01-02 Thread Alvaro Mantilla Gimenez

Thanks Devin! You are right! I just added:

  PerlSetVar MasonDataDir /mason

and everything works now.

Thanks so much.

 Alvaro


On Sun, 2 Jan 2011, Devin Ceartas wrote:


Date: Sun, 2 Jan 2011 13:20:17
From: Devin Ceartas nacred...@gmail.com
To: Alvaro Mantilla Gimenez u...@alvaromantilla.com
Cc: misc@openbsd.org
Subject: Re: Configure Mason to run under OpenBSD Apache 1.3

On Jan 2, 2011, at 12:52 PM, Alvaro Mantilla Gimenez wrote:


Hi,

Is there anyone with an example how to set the Apache directives in 
OpenBSD's Apache (running under chroot) in httpd.conf? I think I missing 
something because I received the error message on logs saying there is not 
possible to create dir /var/www/mason/obj but the directory is there with 
permissions set to Apache's user and group (www).


Regards,

 Alvaro


I've run Mason under OpenBSD thought it's been a while. You probably want to 
change the directives so that it's looking for /mason/obj (since it's in 
chroot).


-- devin



--
 Alvaro Mantilla Gimenez
http://alvaromantilla.com/
  email: alv...@alvaromantilla.com
--



Re: seeking SQLite on OpenBSD stories

2011-01-02 Thread Andres Perera
On Mon, Dec 6, 2010 at 9:27 PM, Edwin Eyan Moragas e...@yndy.org wrote:
 Hi Misc,

 i'm looking for experience of using SQLite on OpenBSD.

 if anybody in the list can share

 1) how SQLite is being used
 2) size of the database
 3) performance metrics (if you have them)


I started using it indirectly with fossil, which is a scm made by the same guy
that made SQlite.

It gets slow(er than CVS) with big repos; e.g., NetBSD or OpenBSD.  But it's
still nice nice and I believe they're working on it.


The advantage of having a robust api, instead of interfacing with the db the
scm's utility's restricted cmd line arguments, like git, paysoff greatly.  Once
you're familiar with SQlite you don't really have to interface with the repo
through fossil if you don't want to.

 anything about SQLite on OpenBSD. link would be appreciated too.

 cheers!

 /e



Re: Is it possible: IPsec tunnel with no static addresses?

2011-01-02 Thread Ted Wynnychenko
 Why do you think IPSec needs one fixed-IP endpoint? Certainly, things
 won't work if both of you change IP addresses before the DNS updates,
 but you seem to accept that. You can also get a fixed IP for free by
 contacting one of the IPv6 tunnel brokers. Yes, this will be
 IPv6-over-IPv4, which has its issues.

I've never seen an example where hostnames are used in place of static
IP addresses in configuration files.  Is it the case that anywhere I see
an ip address (filenames, conf file values, etc), I could just as easily
put in foo.dyndns.org?

I don't consider myself expert at this, but, yes, I think that is the case.
At least for me, it has worked well.  I have an ipsec tunnel set up between
two residential cable internet connections.  Both are DHCP, so there is no
static endpoint.
I use dDNS to keep the endpoint IP's up to date (I do own my own domain, but
I suppose you don't have to).
The tunnel goes down for a few minutes from time to time (I think mostly
because of problems with my internet connections, not so much DNS name
resolution issues), but it has not been an issue for me.
As an example, my ipsec.conf looks something like: (this is openbsd 4.6 -
yes, I know I should update, I'm working on it)
One end:
ike passive esp from 10.0.0.1 to ipsec2.mydomain.com srcid
my.local.crt.com dstid my.remote.crt.com
etc...
The other end:
ike dynamic esp from 192.168.1.1 to ipsec1.mydomain.com
srcid my.remote.crt.com dstid my.local.crt.com
etc...
As I said, I'm no expert on this, but I was able to figure this out from the
man pages.
Bye - ted