Re: Any T410/T420 with suspend/resume fully working in 5.1 or current?

2012-10-15 Thread Peter Hessler
On 2012 Oct 14 (Sun) at 23:01:11 -0400 (-0400), STeve Andre' wrote:
:The situation with the t430s has gotten a little better.
:
:I installed OpenBSD on one, and found that it was almost usable.
:
:Once in X (and KDE) there is no escape, other than a reboot.
:That was a nice surprise, but I could ssh into it just fine.
:
:Suspend seemed to work, but it never woke up so who knows.
:
:Audio worked, and the em0 interface worked.  USB worked too
:I think, though I did not write that down.
:
:This is certainly a frustrating time for wanting to get a new
:thinkpad.  This W500 is still doing well after 3.8 years but a LED
:lit screen would be great.
:
:--STeve Andre'
:
:(dmesg from the t430s test)
:
:OpenBSD 5.2-current (GENERIC.MP) #0: Tue Oct  2 21:03:20 EDT 2012
:r...@foo.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP


Update to -current.  jsg@ committed some patches that make X work
better, and allows for suspend/resume to work.

Btw, USB does work fine.


-- 
When you don't know what you are doing, do it neatly.



Re: ZTE USB MF636

2012-10-15 Thread David Coppa
On Mon, Oct 15, 2012 at 7:26 AM, Aaron Mason simplersolut...@gmail.com wrote:
 On Mon, Oct 15, 2012 at 2:35 PM, Aaron Mason simplersolut...@gmail.com 
 wrote:
 On Sun, Oct 14, 2012 at 4:12 AM, Mihai Popescu mih...@gmail.com wrote:
 Maybe you should post the entire conf file here and what you did, for
 the posterity ...


 I would, but I wasn't able to figure out how to disable the PIN using
 AT commands, so I plugged it into a Winders machine and did it that
 way.  If I figure it out I'll post it here.


 Got it:
 # echo AT+CPIN=  /dev/cuaU2
 (then wait 10 seconds before connecting)

 Only thing is I can't get the thing to connect afterwards.  If I try a
 SIM that doesn't need a PIN, it connects first go.  Any cluesticks?

I usually put the sim in a cellphone and disable the pin request entirely...



Re: nasm problem

2012-10-15 Thread Sylvestre Gallon
On Mon, Oct 15, 2012 at 1:41 AM, Chris Bennett
ch...@bennettconstruction.us wrote:
 On Sat, Oct 13, 2012 at 02:29:49PM -0500, Chris Bennett wrote:
 I am getting errors with nasm.

 # nasm -f aoutb hello.asm
 # ld -e _start -o hello hello.o
 ld: warning: cannot find entry symbol _start; defaulting to 1c000114
 # ./hello
 ./hello[1]: syntax error: `(' unexpected

 or

 # nasm -f aout  hello.asm
 # ld -s -o hello hello.o
 hello.o: file not recognized: File format not recognized

 or

 # nasm -f elf  hello.asm
 # ld -s -o hello hello.o
 ld: warning: cannot find entry symbol _start; defaulting to 1c000120
 # ./hello
 ./hello[1]: syntax error: `(' unexpected

 I have never had a problem previously.
 This is the latest version of nasm-2.10.04

 I am running:

 OpenBSD 5.2-current (GENERIC) #22: Mon Sep 24 18:31:52 MDT 2012
 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) III Mobile CPU 1000MHz (GenuineIntel 686-class) 
 1 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE


 I have updated to latest -current and problem persists.


 OpenBSD 5.2-current (GENERIC) #28: Tue Oct  9 21:29:23 MDT 2012
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) III Mobile CPU 1000MHz (GenuineIntel 686-class) 1 
 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE


Hi,

can you give us the source of hello.asm?

Cheers,

-- 
Sylvestre Gallon



Re: nasm problem - Probably not.

2012-10-15 Thread Remco
Chris Bennett wrote:

 I went and tried files I had produced many months ago and I get same
 error!
 
 ./cat[1]: syntax error: `(' unexpected
 
 I don't think the problem is with nasm, but something else?
 
 Chris Bennett

Is it possible you somehow mixed up i386/amd64 libraries/binaries ?

I'd use file to get an impression what arch your files were created for:
e.g.:
$ file ./cat
$ file /usr/lib/libc.so.*



-current X not working, hangs up.

2012-10-15 Thread Gregory Edigarov
Hi,

After some changes I have X hanging my pc at start.
dmesg for the pc was posted here some time ago, sorry, cannot get it
right now.
For some time, I was able to run it with vesa (it has intel onboard card
currently unsupported)  driver without  any problem. Now I can't.

--
With best regards,
  Gregory Edigarov



Re: -current X not working, hangs up.

2012-10-15 Thread Otto Moerbeek
On Mon, Oct 15, 2012 at 12:32:57PM +0300, Gregory Edigarov wrote:

 Hi,
 
 After some changes I have X hanging my pc at start.
 dmesg for the pc was posted here some time ago, sorry, cannot get it
 right now.
 For some time, I was able to run it with vesa (it has intel onboard card
 currently unsupported)  driver without  any problem. Now I can't.
 
 --
 With best regards,
   Gregory Edigarov

So you want us to go hunting for a dmesg? Beter retrieve it yousrself
from the mailing list archives.

-Otto



Re: -current X not working, hangs up +dmesg

2012-10-15 Thread Gregory Edigarov
On 10/15/2012 12:32 PM, Gregory Edigarov wrote:
 Hi,

 After some changes I have X hanging my pc at start.
 dmesg for the pc was posted here some time ago, sorry, cannot get it
 right now.
 For some time, I was able to run it with vesa (it has intel onboard card
 currently unsupported)  driver without  any problem. Now I can't.

OpenBSD 5.2-current (GENERIC.MP) #378: Mon Aug 20 12:55:12 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1852436480 (1766MB)
avail mem = 1780690944 (1698MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe9450 (91 entries)
bios0: vendor American Megatrends Inc. version 0701 date 07/04/2012
bios0: ASUSTeK COMPUTER INC. P8H61-M2 USB3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG HPET
acpi0: wakeup devices PS2K(S4) PS2M(S4) BR20(S3) EUSB(S4) USBE(S4) PEX0(S4) 
PEX1(S4) \
PEX3(S4) PEX5(S4) PEX6(S4) PEX7(S4) P0P1(S4) P0P2(S4) P0P3(S4) P0P4(S4) 
acpitimer0 at \
acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) CPU G530 @ 2.40GHz, 2394.92 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D
 \
S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16
 \
,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU G530 @ 2.40GHz, 2394.56 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D
 \
S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16
 \
,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,XSAVE,NXE,LONG,LAHF
cpu1: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PEX0)
acpiprt2 at acpi0: bus 3 (PEX1)
acpiprt3 at acpi0: bus 4 (PEX3)
acpiprt4 at acpi0: bus 5 (PEX5)
acpiprt5 at acpi0: bus -1 (PEX6)
acpiprt6 at acpi0: bus -1 (PEX7)
acpiprt7 at acpi0: bus 1 (P0P1)
acpiprt8 at acpi0: bus -1 (P0P2)
acpiprt9 at acpi0: bus -1 (P0P3)
acpiprt10 at acpi0: bus -1 (P0P4)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2400, 2300, 2200, 2100, 2000, 1900, 
1800, \
1700, 1600 MHz pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
ppb0 at pci0 dev 1 function 0 Intel Core 2G PCIE rev 0x09: msi
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 Intel HD Graphics 2000 rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1: apic 0 int 16
drm0 at inteldrm0
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x05: apic 0 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 6 Series HD Audio rev 0x05: msi
azalia0: codecs: VIA/0x0397, Intel/0x2805, using VIA/0x0397
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb5: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb5: msi
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 Intel 6 Series PCIE rev 0xb5: msi
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL 
(0x2c80), \
apic 0 int 19, address c8:60:00:6e:5f:31 rgephy0 at re0 phy 7: RTL8169S/8110S 
PHY, \
rev. 5 ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb5: msi
pci5 at ppb4 bus 5
ASMedia ASM1042 xHCI rev 0x00 at pci5 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x05: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel H61 LPC rev 0x05
pciide0 at pci0 dev 31 function 2 Intel 6 Series SATA rev 0x05: DMA, channel 
0 \
configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 0 int 20 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: SAMSUNG HD503HI
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 Intel 6 Series SMBus rev 0x05: apic 0 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
pciide1 at pci0 dev 31 function 5 Intel 6 Series SATA rev 0x05: DMA, channel 
0 \
wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 0 int 20 for native-PCI 

softraid crypto error

2012-10-15 Thread Luis P. Mendes
Hi all,


This problem has been recurrent. Last time I could get eitheen days of
uptime until I had to hard reboot and then check and correct the filesystem.

The message displayed is:

gahcio: stopping the port, softreset slot 31 was still active.
ahcio: failed to reset port during time out handling, disabling it.
softraid0: i/o error on block 970965744 and 970965872.


I'm using OpenBSD 5.2 snapshots from the 16th of September.
Disk is a Samsung SATA 3.5'' SATA:
sd0 at scsibus0 targ 0 lun 0: ATA, SAMSUNG HD103UJ, 1AA0 SCSI3
0/direct fixed naa.5f0007064242
sd0: 953868MB, 512 bytes/sector, 1953523055 sectors

and the encrypted partition:
sd1 at scsibus2 targ 1 lun 0: OPENBSD, SR CRYPTO, 005 SCSI2 0/direct
fixed
sd1: 922747MB, 512 bytes/sector, 1889787792 sectors


What can I do to correct this once and for all?




-- 


Luis P. Mendes



Re: Heimdal 1.4 Patch

2012-10-15 Thread Stuart Henderson
On 2012-10-15, Brian Empson brian_emp...@yahoo.com wrote:
 Apologies,

 I'll just paste the patch file here:

That didn't work too well either


 diff -rupN
 heimdal-1.4/lib/otp/version-script.map
 heimdal-1.4-patched/lib/otp/version-script.map
 +++
 heimdal-1.4-patched/lib/otp/version-script.map� Sun Oct 14 22:43:25 2012
 @@ -0,0 +1,25 @@
 +HEIMDAL_OTP_1.0 {
 +�� global:
 +��
 otp_challenge;
 +�� otp_checksum;
 +�� otp_db_close;

..etc..

BTW there is some prior work on 1.4, see
http://marc.info/?l=openbsd-miscm=130493184825622w=2



Re: OpenBSD-5.1 hangs on Supermicro X9DR3-F

2012-10-15 Thread Илья Шипицин
Yahoo!!

3 days without single hang when running apmd -H


2012/10/12 Peter Hessler phess...@theapt.org

 I have seen some hangs when apmd -C changes cpu speed in very specific
 situations.  For testing purposes, switch to -L or -H.


 On 2012 Oct 12 (Fri) at 16:44:14 +0600 (+0600), éÌØÑ ûÉÐÉÃÉÎ wrote:
 :... and I'm running apmd -C if that matters.
 :could it cause problems ?
 :
 :2012/10/12 Christiano F. Haesbaert haesba...@haesbaert.org
 :
 : On 11 October 2012 08:30,  ??? chipits...@gmail.com wrote:
 :  Hello!
 : 
 :  we recently installed OpenBSD/amd64 on Supermicro X9DR3-F, it hangs
 : about 1
 :  times a day.
 :  5.1 does not understand i350 chip, so we put external Intel PRO/1000
 MT
 :  (82574L) nic.
 : 
 :  we have ddb.panic=1, but no ddb appears on screen on hang.
 :  also, it says savecore: no core dump during boot.
 : 
 :  we tested RAM with memtest, so we do not suspect it for memory related
 :  issue.
 : 
 : 
 :  how can we diagnose those hangs ?
 :  is it ok to run 5.1 on X9DR3-F ?
 : 
 :  do I need to provide dmesg output ? any other kind of diagnostics ?
 : 
 :  Cheers,
 :  Ilya Shipitsin
 : 
 :
 : If you can provide the dmesg I can help you, we have these at work:
 : hw.product=X9DRH-7TF/7F/iTF/iF
 :
 : Which should be similar, do you by any chance have a mfii(4) ?
 : Our machine had interrupt routing issues, maybe you're experiencing the
 : same.
 : Please provide a dmesg, even a picture should do and we can try
 something.
 :

 --
 There's no trick to being a humorist when you have the whole government
 working for you.
 -- Will Rodgers



Re: nasm problem

2012-10-15 Thread Stuart Henderson
On 2012-10-13, Chris Bennett ch...@bennettconstruction.us wrote:
 I am getting errors with nasm.

 # nasm -f aoutb hello.asm   
 # ld -e _start -o hello hello.o 
 ld: warning: cannot find entry symbol _start; defaulting to 1c000114
 # ./hello   
 ./hello[1]: syntax error: `(' unexpected

 or 

 # nasm -f aout  hello.asm   
 # ld -s -o hello hello.o 
 hello.o: file not recognized: File format not recognized

 or

 # nasm -f elf  hello.asm 
 # ld -s -o hello hello.o 
 ld: warning: cannot find entry symbol _start; defaulting to 1c000120
 # ./hello
 ./hello[1]: syntax error: `(' unexpected

 I have never had a problem previously.
 This is the latest version of nasm-2.10.04

 I am running:

 OpenBSD 5.2-current (GENERIC) #22: Mon Sep 24 18:31:52 MDT 2012
 t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) III Mobile CPU 1000MHz (GenuineIntel 686-class) 1 
 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE



As of sys/kern/exec_elf.c r1.88 OpenBSD requires the binary to be
tagged as being for OpenBSD - add a .note.openbsd.ident elf(5) note
section, see http://www.exploit-db.com/papers/13219/ for more info.
(note that the method described later in the file in We can execute
bin's without the use of the .note section if we brand the file
using olf2elf is no longer possible).

Specifically, if file(1) does not say for OpenBSD then the file
can not be executed.



Stable releases: KDE-way

2012-10-15 Thread Vadim Zhukov
It's too bad - I'm OpenBSD user.

It's too bad - I understand some words literally.

Say, the word stable. Using OpenBSD I've got accustomed to
understand it as... you know, stable. And not as, say: let's tweak
some system headers in OPENBSD_5_0 branch because ANSI published new
standard.

And, of course, KDE got it right: adding -fno-exceptions by default
for each and every KDE project is a nice idea, isn't it? It's so cool
to force packagers to patch CMakeLists.txt files here and there in
stable release (between 4.9.0 and 4.9.2).

IMHO, OpenBSD should go this way too. It's so funny. And the coding
should be fun, shouldn't it?

... back to WIP ports tree...
--
  WBR,
  Vadim Zhukov



Skype.

2012-10-15 Thread Jay Patel
Hello All,

May i know how can i use Skype in OpenBSD 5.1 and 64 bit dell inspiron
15R ? current wm is e17 and gnome along side. if its possible to use
skype protocol or something using pidgin or empathy.

Thanks,

Jay.



Re: nasm problem - Probably not.

2012-10-15 Thread Joel Sing
On Mon, 15 Oct 2012, Chris Bennett wrote:
 I went and tried files I had produced many months ago and I get same error!

 ./cat[1]: syntax error: `(' unexpected

 I don't think the problem is with nasm, but something else?

For some reason the kernel does not think it is a valid executable - can you 
provide `objdump -h` output for one of the binaries?
-- 

Reason is not automatic. Those who deny it cannot be conquered by it.
 Do not count on them. Leave them alone. -- Ayn Rand



Re: Skype.

2012-10-15 Thread David Coppa
On Mon, Oct 15, 2012 at 2:49 PM, Jay Patel rockworl...@gmail.com wrote:
 Hello All,

 May i know how can i use Skype in OpenBSD 5.1 and 64 bit dell inspiron
 15R ? current wm is e17 and gnome along side. if its possible to use
 skype protocol or something using pidgin or empathy.

 Thanks,

 Jay.

No way. Maybe on i386



Re: Skype.

2012-10-15 Thread David Coppa
On Mon, Oct 15, 2012 at 2:57 PM, David Coppa dco...@gmail.com wrote:
 On Mon, Oct 15, 2012 at 2:49 PM, Jay Patel rockworl...@gmail.com wrote:
 Hello All,

 May i know how can i use Skype in OpenBSD 5.1 and 64 bit dell inspiron
 15R ? current wm is e17 and gnome along side. if its possible to use
 skype protocol or something using pidgin or empathy.

 Thanks,

 Jay.

 No way. Maybe on i386

Let me clarify this:

*maybe* Skype can be made to work using compat_linux(8) on OpenBSD/i386 ...

Ciao,
David



Re: -current X not working, hangs up +dmesg

2012-10-15 Thread Gregory Edigarov
On 10/15/2012 12:45 PM, Gregory Edigarov wrote:
 On 10/15/2012 12:32 PM, Gregory Edigarov wrote:
 Hi,

 After some changes I have X hanging my pc at start.
 dmesg for the pc was posted here some time ago, sorry, cannot get it
 right now.
 For some time, I was able to run it with vesa (it has intel onboard card
 currently unsupported)  driver without  any problem. Now I can't. 
Just in case it helps, I'll post a dmesg from an updated  kernel.

# dmesg
OpenBSD 5.2-current (GENERIC.MP) #0: Sun Oct 14 07:00:55 MDT 2012
r...@noname.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1852436480 (1766MB)
avail mem = 1780633600 (1698MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe9450 (91 entries)
bios0: vendor American Megatrends Inc. version 0701 date 07/04/2012
bios0: ASUSTeK COMPUTER INC. P8H61-M2 USB3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG HPET
acpi0: wakeup devices PS2K(S4) PS2M(S4) BR20(S3) EUSB(S4) USBE(S4)
PEX0(S4) PEX1(S4) PEX3(S4) PEX5(S4) PEX6(S4) PEX7(S4) P0P1(S4) P0P2(S4)
P0P3(S4) P0P4(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) CPU G530 @ 2.40GHz, 2394.87 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU G530 @ 2.40GHz, 2394.56 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,NXE,LONG,LAHF
cpu1: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PEX0)
acpiprt2 at acpi0: bus 3 (PEX1)
acpiprt3 at acpi0: bus 4 (PEX3)
acpiprt4 at acpi0: bus 5 (PEX5)
acpiprt5 at acpi0: bus -1 (PEX6)
acpiprt6 at acpi0: bus -1 (PEX7)
acpiprt7 at acpi0: bus 1 (P0P1)
acpiprt8 at acpi0: bus -1 (P0P2)
acpiprt9 at acpi0: bus -1 (P0P3)
acpiprt10 at acpi0: bus -1 (P0P4)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2400, 2300, 2200, 2100, 2000,
1900, 1800, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
ppb0 at pci0 dev 1 function 0 Intel Core 2G PCIE rev 0x09: msi
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 Intel HD Graphics 2000 rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1: apic 0 int 16
drm0 at inteldrm0
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x05: apic 0 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 6 Series HD Audio rev 0x05: msi
azalia0: codecs: VIA/0x0397, Intel/0x2805, using VIA/0x0397
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb5: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb5: msi
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 Intel 6 Series PCIE rev 0xb5: msi
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 Realtek 8168 rev 0x06: RTL8168E/8111E-VL
(0x2c80), apic 0 int 19, address c8:60:00:6e:5f:31
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ppb4 at pci0 dev 28 function 5 Intel 6 Series PCIE rev 0xb5: msi
pci5 at ppb4 bus 5
ASMedia ASM1042 xHCI rev 0x00 at pci5 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 Intel 6 Series USB rev 0x05: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel H61 LPC rev 0x05
pciide0 at pci0 dev 31 function 2 Intel 6 Series SATA rev 0x05: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 0 int 20 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST3160812AS
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 Intel 6 Series SMBus rev 0x05: apic
0 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
pciide1 at pci0 dev 31 function 5 Intel 6 Series SATA rev 0x05: 

Re: Skype.

2012-10-15 Thread Jay Patel
Hello David,

Ok.. so it can be done in i386.. i will install i386.. let me know if
there's a way to do it. cause most of the clients uses Skype so i need
to use it.

Thanks,
Jay.



Re: Skype.

2012-10-15 Thread David Coppa
On Mon, Oct 15, 2012 at 4:03 PM, Jay Patel rockworl...@gmail.com wrote:
 Hello David,

 Ok.. so it can be done in i386.. i will install i386.. let me know if
 there's a way to do it. cause most of the clients uses Skype so i need
 to use it.

 Thanks,
 Jay.

Install fedora_base from packages and try...
Of course, it will be without audio support. Text-based chat should work.



Re: Skype.

2012-10-15 Thread Jay Patel
Thanks David. I will try that.

On Mon, Oct 15, 2012 at 7:38 PM, David Coppa dco...@gmail.com wrote:
 On Mon, Oct 15, 2012 at 4:03 PM, Jay Patel rockworl...@gmail.com wrote:
 Hello David,

 Ok.. so it can be done in i386.. i will install i386.. let me know if
 there's a way to do it. cause most of the clients uses Skype so i need
 to use it.

 Thanks,
 Jay.

 Install fedora_base from packages and try...
 Of course, it will be without audio support. Text-based chat should work.



Re: nasm problem

2012-10-15 Thread Chris Bennett
On Mon, Oct 15, 2012 at 11:44:17AM +, Stuart Henderson wrote:
 On 2012-10-13, Chris Bennett ch...@bennettconstruction.us wrote:
  I am getting errors with nasm.
 
  # nasm -f aoutb hello.asm   
  # ld -e _start -o hello hello.o 
  ld: warning: cannot find entry symbol _start; defaulting to 1c000114
  # ./hello   
  ./hello[1]: syntax error: `(' unexpected
 
  or 
 
  # nasm -f aout  hello.asm   
  # ld -s -o hello hello.o 
  hello.o: file not recognized: File format not recognized
 
  or
 
  # nasm -f elf  hello.asm 
  # ld -s -o hello hello.o 
  ld: warning: cannot find entry symbol _start; defaulting to 1c000120
  # ./hello
  ./hello[1]: syntax error: `(' unexpected
 
  I have never had a problem previously.
  This is the latest version of nasm-2.10.04
 
  I am running:
 
  OpenBSD 5.2-current (GENERIC) #22: Mon Sep 24 18:31:52 MDT 2012
  t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: Intel(R) Pentium(R) III Mobile CPU 1000MHz (GenuineIntel 686-class) 
  1 GHz
  cpu0: 
  FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE
 
 
 
 As of sys/kern/exec_elf.c r1.88 OpenBSD requires the binary to be
 tagged as being for OpenBSD - add a .note.openbsd.ident elf(5) note
 section, see http://www.exploit-db.com/papers/13219/ for more info.
 (note that the method described later in the file in We can execute
 bin's without the use of the .note section if we brand the file
 using olf2elf is no longer possible).
 
 Specifically, if file(1) does not say for OpenBSD then the file
 can not be executed.
 


I get for a simpler asm file:

freedom$ file ./sfhello
./sfhello: ELF 32-bit LSB executable, Intel 80386, version 1, statically 
linked, stripped
freedom$ file /usr/lib/libc.so.*
/usr/lib/libc.so.65.0: ELF 32-bit LSB shared object, Intel 80386, version 1, 
for OpenBSD, dynamically linked, not stripped
/usr/lib/libc.so.66.0: ELF 32-bit LSB shared object, Intel 80386, version 1, 
for OpenBSD, dynamically linked, not stripped
freedom$ objdump -h sfhello

sfhello: file format elf32-i386

Sections:
Idx Name  Size  VMA   LMA   File off  Algn
  0 .text 0028  1c000118  1c000118  0118  2**3
  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .data 0010  3c00  3c00  1000  2**3
  CONTENTS, ALLOC, LOAD, DATA
  2 .gotpad0    3c001010  3c001010  1010  2**0
  CONTENTS
  3 .gotpad1    3c001010  3c001010  1010  2**0
  CONTENTS
  4 .bss    3c002010  3c002010  1010  2**3
  ALLOC

cat sfhello.asm
section .text
global _start   ;must be declared for linker (ld)

_syscall:
int 0x80;system call
ret

_start: ;tell linker entry point

pushdword len   ;message length
pushdword msg   ;message to write
pushdword 1 ;file descriptor (stdout)
mov eax,0x4 ;system call number (sys_write)
call_syscall;call kernel

;the alternate way to call kernel:
;push   eax
;call   7:0

add esp,12  ;clean stack (3 arguments * 4)

pushdword 0 ;exit code
mov eax,0x1 ;system call number (sys_exit)
call_syscall;call kernel

;we do not return from sys_exit,
;there's no need to clean stack
section .data

msg db  Hello, world!,0xa ;our dear string
len equ $ - msg ;length of our dear string


I am having some trouble translating the note section to NASM sysntax.
I am also asking the same question in http://forum.nasm.us/



Re: nasm problem

2012-10-15 Thread Chris Bennett
I have added this:

section .note.openbsd.ident
 align 2
 dd 8
 dd 4
 dd 1
 db 'OpenBSD',0
 dd 0
 align 2
 
But get error:

sfhello.asm:1: error: segment name `.note.openbsd.ident' not recognized



Re: nasm problem - SOLVED

2012-10-15 Thread Chris Bennett
On Mon, Oct 15, 2012 at 09:31:34AM -0500, Chris Bennett wrote:
 I have added this:
 
 section .note.openbsd.ident
  align 2
  dd 8
  dd 4
  dd 1
  db 'OpenBSD',0
  dd 0
  align 2
  
 But get error:
 
 sfhello.asm:1: error: segment name `.note.openbsd.ident' not recognized
 

This does work fine if I do this:
add note section then compile like this:

nasm -f elf32 -o sfhello.o sfhello.asm
ld -m elf_i386_obsd -o sfhello sfhello.o
./sfhello
Hello, world!

Anything wrong with this method?

Chris Bennett



Re: ethernet adapter: TrendNet TU2-ETG

2012-10-15 Thread Shawn K. Quinn
On Mon, Oct 15, 2012, at 12:32 AM, Wesley wrote:
 Hi,
 
 I use OpenBSD 5.1, i have this connected : TU2-ETG
  From dmesg :
 
 axe0 at uhub2 port 2 configuration 1 interface 0 ASIX Electronics 
 AX88178 rev 2.00/0.01 addr 2
 axe0: AX88178, address 00:50:b6:4e:5a:c9
 
 Dhcp, static address doesn't work.
 
 'ifconfig axe0 media' give me :
 axe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  lladdr 00:50:b6:4e:5a:c9
  priority: 0
  media: Ethernet none (none)
  supported media:
  media none
  inet 192.168.0.56 netmask 0xff00 broadcast 192.168.0.255
 
 man axe : AX88178 seems to be support, but this model : TU2-ETG, not...
 Is it possible to have it working for example the new release 5.2 ?
 
 I can't test snapshots, i386\install52.iso or cd52.iso, broken...still 
 10 oct 12
 
 (Don't worry, i know it is a second posts about this problem, perhaps 
 since 4.9 there's news, or it can be solved
 i.e http://comments.gmane.org/gmane.os.openbsd.misc/191903)

Looks like some kind of issue with the MII because of media none.
Driver needs updating, perhaps?

-- 
  Shawn K. Quinn
  skqu...@rushpost.com



Re: nasm problem - SOLVED

2012-10-15 Thread John Long
On Mon, Oct 15, 2012 at 09:48:57AM -0500, Chris Bennett wrote:
 On Mon, Oct 15, 2012 at 09:31:34AM -0500, Chris Bennett wrote:
  I have added this:
  
  section .note.openbsd.ident
   align 2
   dd 8
   dd 4
   dd 1
   db 'OpenBSD',0
   dd 0
   align 2
   
  But get error:
  
  sfhello.asm:1: error: segment name `.note.openbsd.ident' not recognized
  
 
 This does work fine if I do this:
 add note section then compile like this:
 
 nasm -f elf32 -o sfhello.o sfhello.asm
 ld -m elf_i386_obsd -o sfhello sfhello.o
 ./sfhello
 Hello, world!
 
 Anything wrong with this method?

No, but it is often easier to let gcc invoke the linker. 

instead of

ld -m elf_i386_obsd -o sfhello sfhello.o

you could do

gcc -o sfhello sfhello.o

/jl

-- 
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
 against HTML e-mail   X  Loongson MIPS and OpenBSD
   and proprietary/ \http://www.mutt.org
 attachmentsCode Blue or Go Home!



Re: Stable releases: KDE-way

2012-10-15 Thread Tomas Bodzar
On Mon, Oct 15, 2012 at 2:12 PM, Vadim Zhukov persg...@gmail.com wrote:
 It's too bad - I'm OpenBSD user.

 It's too bad - I understand some words literally.

 Say, the word stable. Using OpenBSD I've got accustomed to
 understand it as... you know, stable. And not as, say: let's tweak
 some system headers in OPENBSD_5_0 branch because ANSI published new
 standard.

 And, of course, KDE got it right: adding -fno-exceptions by default
 for each and every KDE project is a nice idea, isn't it? It's so cool
 to force packagers to patch CMakeLists.txt files here and there in
 stable release (between 4.9.0 and 4.9.2).

 IMHO, OpenBSD should go this way too. It's so funny. And the coding
 should be fun, shouldn't it?

Like http://www.openbsd.org/lyrics.html#52 ?


 ... back to WIP ports tree...
 --
   WBR,
   Vadim Zhukov



Re: Skype.

2012-10-15 Thread Tomas Bodzar
On Mon, Oct 15, 2012 at 4:10 PM, Jay Patel rockworl...@gmail.com wrote:
 Thanks David. I will try that.

Quite old, but you get idea and can try the same
http://permalink.gmane.org/gmane.os.bsd.india/352


 On Mon, Oct 15, 2012 at 7:38 PM, David Coppa dco...@gmail.com wrote:
 On Mon, Oct 15, 2012 at 4:03 PM, Jay Patel rockworl...@gmail.com wrote:
 Hello David,

 Ok.. so it can be done in i386.. i will install i386.. let me know if
 there's a way to do it. cause most of the clients uses Skype so i need
 to use it.

 Thanks,
 Jay.

 Install fedora_base from packages and try...
 Of course, it will be without audio support. Text-based chat should work.



Re: kvm (Proxmox) and Openbsd 5.1

2012-10-15 Thread Tobias Crefeld
Am Sat, 21 Jul 2012 12:50:55 +0200
schrieb Holger Glaess gla...@glaessixs.de:

 i run 2 guests with 5.1 on proxmox 2.1 distribution .
 
 i don't know what the version of kvm is behind of proxmox.
 
 but openbsd 5.1 run as expected normal ;)

I tried several OpenBSD versions between 4.8 and 5.1, both i386 and
amd64, on PROXMOX 1.8 and 2.1. 
Some of them are listed in KVM's guest support status list
( http://www.linux-kvm.org/page/Guest_Support_Status#OpenBSD ) as being
able to run with SMP, others aren't. 
I always had to copy bsd.mp manually but OpenBSD still recognized only
one CPU.

It turned out that it depends on the way you add virtual CPUs in the
hardware configuration tab of PROXMOX - sockets vs. cores. Added
cores aren't recognized by OpenBSD as additional CPUs but adding
sockets works.


RU,
 Tobias.



Re: Heimdal 1.4 Patch

2012-10-15 Thread Patrik Lundin
On Mon, Oct 15, 2012 at 11:31:34AM +, Stuart Henderson wrote:
 
 BTW there is some prior work on 1.4, see
 http://marc.info/?l=openbsd-miscm=130493184825622w=2
 

Maby I'm sidetracking the the topic a bit, but in the essence of sharing
prior work I looked at compiling Heimdal 1.5.2 on what was then
5.1-current.

I got it to build eventually but there are some problems where I just
didn't know what direction was desirable to go in. I hoped someone from
the heimdal camp would shed some light on the issues but sadly it has
recieved no answers.

The message can be read here:
http://old.nabble.com/Problems-building-1.5.2-on-OpenBSD-5.1-current-td33566242.html

Regards,
Patrik Lundin



Re: nasm problem - SOLVED

2012-10-15 Thread Andres Perera
On Mon, Oct 15, 2012 at 10:41 AM, John Long codeb...@inbox.lv wrote:
 On Mon, Oct 15, 2012 at 09:48:57AM -0500, Chris Bennett wrote:
 On Mon, Oct 15, 2012 at 09:31:34AM -0500, Chris Bennett wrote:
  I have added this:
 
  section .note.openbsd.ident
   align 2
   dd 8
   dd 4
   dd 1
   db 'OpenBSD',0
   dd 0
   align 2
 
  But get error:
 
  sfhello.asm:1: error: segment name `.note.openbsd.ident' not recognized
 

 This does work fine if I do this:
 add note section then compile like this:

 nasm -f elf32 -o sfhello.o sfhello.asm
 ld -m elf_i386_obsd -o sfhello sfhello.o
 ./sfhello
 Hello, world!

 Anything wrong with this method?

 No, but it is often easier to let gcc invoke the linker.

 instead of

 ld -m elf_i386_obsd -o sfhello sfhello.o

 you could do

 gcc -o sfhello sfhello.o


that fails to link because _start would be defined in crt, and passing
-nostdlib isn't enough because some pie thing needs atexit. the final
command line with -nopie ends up being more complicated than calling
ld



Re: Skype.

2012-10-15 Thread Predrag Punosevac
On Mon, Oct 15, 2012 at 2:49 PM, Jay Patel rockworl...@gmail.com wrote:
 Hello All,

 May i know how can i use Skype in OpenBSD 5.1 and 64 bit dell inspiron
 15R ? current wm is e17 and gnome along side. if its possible to use
 skype protocol or something using pidgin or empathy.

 Thanks,

 Jay.

This 

http://www.daemonforums.org/showthread.php?t=2616highlight=Skype

was the state of art couple of years ago when I played the last time
with it. I think they removed the screen shoot of me running Skype on
OpenBSD 4.4. I have never been able to get audio to work properly even
with Skype 1.2 OSS with static libraries. I was able to hear the
greeting and the splash but not to have conversation.

There has been some recent commits in compat_linux recently by Paul
Irofti. I would talk to him before waist my time with Skype. For the
record compat_linux was dying 2-3 years ago before Paul got interested.
Then he made some quick progress and gave a conference talk where he
mentioned possibility of Skype, Opera (latest version), and even MATLAB
working. Then the progress stall due to the work on rthreads which you
will see in 5.2 release. I have no idea what are his plans. If somebody
wants to work on compat_linux probably now is the time to do. To be
frank with you I would be the most interested in MATLAB of the three but
even updating FreeMAT port to current release 4.1 (our version is 4.0)
is non-trivial. I am guessing that it would have to be a paid job...

VoIP on OpenBSD works great as long as you use SIP protocol. I use pjsua
client for the record and iptel proxy server.

http://serweb.iptel.org/user/

Ekiga proxy server also works fine with pjsua but if you must use Skype
then that is not conforting. 

Best,
Predrag

P.S. Has anybody played with Google Talk? 



Re: CARP - Active/Active question

2012-10-15 Thread mxb
Tried to play a bit with this setup?
Like, shutting down fw1 and see what happens?
Ping from client-side and tcpdump on both machines???

NO?! You should.

//mxb
On 15 okt 2012, at 11:33, Indunil Jayasooriya induni...@gmail.com wrote:

 Hi list,


 I configured CARP - Active/Active. ( Things work )

 I have an question, When Both are Active/Active, Both should work
 simultaneously by balancing traffic.

 Am I right ?


 But, ifconfig  on fw1 says, *status: master  * and  ifconfig  on fw2 says,
  *status: backup


 Pls see the output of both fw1 and fw2
 *

 *on fw1*

 carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 01:00:5e:00:01:01
priority: 0
carp: carpdev em0 advbase 1 balancing ip
   * state MASTER vhid 1 advskew 0
state BACKUP vhid 2 advskew 100*
groups: carp
   * status: master*
inet6 fe80::a00:27ff:fe05:3294%carp1 prefixlen 64 scopeid 0x7
inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255


 *on fw2
 *
 carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 01:00:5e:00:01:01
priority: 0
carp: carpdev em0 advbase 1 balancing ip
*state BACKUP vhid 1 advskew 100
state MASTER vhid 2 advskew 0*
groups: carp
*status: backup*
inet6 fe80::a00:27ff:fe14:3690%carp1 prefixlen 64 scopeid 0x7
inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255


 Why is that?


 When* status is master and backup* , Do these 2 nodes ( fw1 and fw2 ) work
 simultaneously by balancing traffic? and one node goes down, all 100%
 traffic go via running node?

 That's What I want to achieve.


 Pls let me know.


 Here's the HOW TO, I performed.


 CARP - Active/Active configuration ( CARP, pfsync, PF and relayd )



  --   --
  | fw1 |-em1--em1-| fw2 |
  +-+  +-+
  em0||em0
 ||
  ---+---Shared LAN---+---




 fw1

 em0 - 192.168.0.10

 em1 - 192.168.9.67 ( for pfsync )

 fw2

 em0 - 192.168.0.11

 em1 - 192.168.9.68 ( for pfsync )


 carp1 - LAN shared IP: 192.168.0.100



 on fw1


 #
 hostname

 fw1.example.com

 # cat /etc/hostname.em0
 inet 192.168.0.10 255.255.255.0

 # cat /etc/hostname.em1
 inet 192.168.9.67 255.255.255.0


 on fw2

 #
 hostname

 fw2.example.com

 # cat /etc/hostname.em0
 inet 192.168.0.11 255.255.255.0

 # cat /etc/hostname.em1
 inet 192.168.9.68 255.255.255.0



 net.inet.ip.forwarding=1  in /etc/sysctl.conf on both fw1 and fw2 with
 below command

 sysctl -w net.inet.ip.forwarding=1


 Edit net.inet.ip.forwarding=1 in /etc/sysctl.conf file in this way

 #  less /etc/sysctl.conf |grep net.inet.ip.forwarding=1
 net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4
 packets



 Configure fw1:

 ! enable preemption and group interface failover
 # sysctl -w net.inet.carp.preempt=1


 Uncomment net.inet.carp.preempt=1 in /etc/sysctl.conf in this way

 # less /etc/sysctl.conf |grep net.inet.carp.preempt=1
 net.inet.carp.preempt=1 # 1=Enable carp(4) preemption



 ! configure pfsync
 # ifconfig em1 192.168.9.67 netmask 255.255.255.0
 # ifconfig pfsync0 syncdev em1
 # ifconfig pfsync0 up

 ! configure CARP on the LAN side
 # ifconfig carp1 create
 # ifconfig carp1 192.168.0.100/24 carpnodes 1:0,2:100 balancing ip \
pass lanpasswd


 vi /etc/hostname.carp1

 inet 192.168.0.100 255.255.255.0 192.168.0.255 carpnodes 1:0,2:100
 balancing ip pass lanpasswd


 vi /etc/hostname.pfsync0

 up syncdev em1




 Configure fw2:

 ! enable preemption and group interface failover
 # sysctl -w net.inet.carp.preempt=1


 Uncomment net.inet.carp.preempt=1 in /etc/sysctl.conf in this way

 #  less /etc/sysctl.conf |grep net.inet.carp.preempt=1
 net.inet.carp.preempt=1 # 1=Enable carp(4) preemption


 ! configure pfsync
 # ifconfig em1 192.168.9.68 netmask 255.255.255.0
 # ifconfig pfsync0 syncdev em1
 # ifconfig pfsync0 up

 ! configure CARP on the LAN side
 # ifconfig carp1 create
 # ifconfig carp1 192.168.0.100/24 carpnodes 1:100,2:0 balancing ip \
pass lanpasswd


 vi /etc/hostname.carp1

 inet 192.168.0.100 255.255.255.0 192.168.0.255 carpnodes 1:100,2:0
 balancing ip pass lanpasswd


 vi /etc/hostname.pfsync0

 up syncdev em1



 Scp pf.conf and relayd.conf files to fw2 from fw1


 #
 hostname

 fw1.example.com

 # cd /etc/

 # scp pf.conf relayd.conf root@192.168.0.11:/etc/
 root@192.168.0.11's password:
 pf.conf
 100% 1584 1.6KB/s   00:00
 relayd.conf


 Pls run below command on both nodes ( fw1 and fw2 )


 # pfctl -f /etc/pf.conf

 # relayd


 # pfctl -sr
 anchor relayd/* all
 pass on em1 proto pfsync all
 pass on em1 proto carp all
 pass on em0 proto carp all
 pass log all flags S/SA


 # relayctl show summary
 Id  TypeNameAvlblty Status
 1   relay   www 

Re: ZTE USB MF636

2012-10-15 Thread Aaron Mason
On Mon, Oct 15, 2012 at 5:55 PM, David Coppa dco...@gmail.com wrote:
 On Mon, Oct 15, 2012 at 7:26 AM, Aaron Mason simplersolut...@gmail.com 
 wrote:
 On Mon, Oct 15, 2012 at 2:35 PM, Aaron Mason simplersolut...@gmail.com 
 wrote:
 On Sun, Oct 14, 2012 at 4:12 AM, Mihai Popescu mih...@gmail.com wrote:
 Maybe you should post the entire conf file here and what you did, for
 the posterity ...


 I would, but I wasn't able to figure out how to disable the PIN using
 AT commands, so I plugged it into a Winders machine and did it that
 way.  If I figure it out I'll post it here.


 Got it:
 # echo AT+CPIN=  /dev/cuaU2
 (then wait 10 seconds before connecting)

 Only thing is I can't get the thing to connect afterwards.  If I try a
 SIM that doesn't need a PIN, it connects first go.  Any cluesticks?

 I usually put the sim in a cellphone and disable the pin request entirely...

Yeah that works fine, but I'd rather not have to do that if keeping
the PIN is the preferred option.  Might just install a USB snooper on
a Winders machine and see what magic the Telstra utility does (no
option for logging - grr).

-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



AsiaBSDCon 2013 in the next March

2012-10-15 Thread Hiroki Sato
Hello,

 I would like to announce AsiaBSDCon in the next year, 14-17 March
 2013 in Tokyo.  You can find the details at:

  http://2013.asiabsdcon.org

 and the CFP can be found at:

  http://2013.asiabsdcon.org/cfp.html

 Papers, videos, and photos of the past AsiaBSDCon can also be found
 there (2012's ones are not ready yet but will be added soon).  The
 venue of AsiaBSDCon 2013 will be the same as 2012.

 The paper submission deadline is December 20, 2012.  Please spread
 this to your friends in BSD communities and encourage them to attend
 (and write a paper).  Thank you!

-- Hiroki

[demime 1.01d removed an attachment of type application/pgp-signature]



=?windows-1252?Q?=BFComprende_los_Estados_Financieros_de_su_Empresa?_Finanzas_para_NO_Financieros?=

2012-10-15 Thread Ing. Sandra Santos
291928

[IMAGE]
Taller de Finanzas para NO Financieros
Única Presentación, 29 de Octubre, Cd. de México.
¡Evento con Garantía de Satisfacción! Cupo Limitado a 10 participantes.
Este taller tiene como objetivo formar profesionales que dominen el
lenguaje financiero, capaces de tomar
decisiones estratégicas y trascedentes para su organización.
Tome las riendas de sus finanzas HOY con herramientas que lo apoyen.
¡Reciba la información completa del taller!
Por favor responda este e-mail con la palabra MÁS INFO o bien apóyenos
enviando los datos siguientes.
Empresa, Nombre, Teléfono, Email y Número de Interesados.
En breve recibirá temario, reseña de expositor y tarifas Preferenciales.
¡Inscríbase y Capacítese! Este mes un 10% de descuento adicional.
Consulte descuentos especiales con un ejecutivo.
Más Información, comentarios o dudas comuníquese a los teléfonos donde
con gusto uno de nuestros ejecutivos le atenderá.
Teléfonos: (0133) 8851-2365, (0133) 8851-2741 con más de 10 líneas.
Creciendo Juntos, Ganamos Todos!
Sigo a sus órdenes y muchas gracias por su atención.
Santiago Rodríguez
Pms Capacitación Efectiva de México es una empresa especializada en
Capacitación Registrada ante la STPS. DB D-U-N-S Registered™ DB
D-U-N-S® Number 816637714
Tip del día: Planea, Evita los problemas de “vivir al momento” y crear
estrategias de último momento. Planea tus objetivos, elige un rumbo y
mantente. Anticipa posibles causales de emergencia y diseña planes de
contingencia previos que permitan conocer rutas a seguir. Esto ayudará a
crear metas en su compañía, compartirlas con su equipo y anticipar
obstáculos.
Frase del día: “Si te quedas esperando el momento ideal, nunca saldrás de
tu lugar” P. Coelho
Copyright (C) 2011, PMS Capacitación Efectiva de México S.C. Derechos
Reservados.
E-Mail MARKETING SERVICE POWERED BY MEDIAMKTOOLS.
Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
México o bien un usuario le refirió para recibir este boletín.
Como usuario de Pms de México, en este acto autoriza de manera expresa
que Pms de México le puede contactar vía correo electrónico u otros
medios.
ALTO, si en esta ocasión la información recibida no fue de su interés
pero desea recibir información personalizada en relación a otros temas
favor de indicarlo.
Si usted ha recibido este mensaje por error, haga caso omiso de el y de
antemano una sincera disculpa por la molestia, reporte su cuenta
respondiendo este correo con el subject BAJAFINANCIERO
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJAFINANCIERO
Tenga en cuenta que la gestión de nuestras bases de datos es de suma
importancia para nosotros y no es intención de la empresa la
inconformidad del receptor, nuestra intención es promover herramientas de
utilidad para el

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
image002.jpg]



Bitcoin client for OpenBSD?

2012-10-15 Thread Anonymous
Is there a bitcoin client for OpenBSD or is anyone porting one? Seems like
OpenBSD would be a good OS to host a client considering there are viruses
and exploits of that well known *cough* OS *cough* that too many people use.



Re: Bitcoin client for OpenBSD?

2012-10-15 Thread Anthony J. Bentley
Anonymous writes:
 Is there a bitcoin client for OpenBSD or is anyone porting one?

pstumpf@ posted one to ports@ a few months back:

http://marc.info/?l=openbsd-portsm=133804045927036w=2

Haven't heard of any updates since then.



Re: Bitcoin client for OpenBSD?

2012-10-15 Thread Gregor Best
On Mon, Oct 15, 2012 at 07:12:35PM +, Anonymous wrote:
 Is there a bitcoin client for OpenBSD or is anyone porting one? Seems like
 OpenBSD would be a good OS to host a client considering there are viruses
 and exploits of that well known *cough* OS *cough* that too many people use.
 

The regular bitcoind compiles relatively cleanly. I have a few patches
lying around, but it mostly boils down to adding

|| __OpenBSD__

in the places gcc complains. I'll try to get the patches into a port
ASAP, but I'm kinda swamped right now, so don't hold your breath (and
maybe ports@ won't even accept the port :) If you want, I can send the
diff to you off-list though.

-- 
Gregor Best



Re: Bitcoin client for OpenBSD?

2012-10-15 Thread Anonymous Remailer (austria)
You wrote:

 Anonymous writes:
  Is there a bitcoin client for OpenBSD or is anyone porting one?
 
 pstumpf@ posted one to ports@ a few months back:
 
 http://marc.info/?l=openbsd-portsm=133804045927036w=2
 
 Haven't heard of any updates since then.

Thanks I'll have a look.



Re: Bitcoin client for OpenBSD?

2012-10-15 Thread markwhite
 Thanks I'll have a look.

It's quite interesting to see a bitcoin post on @misc. Regardless of what
people think, it's a really cool design.



Re: CARP - Active/Active question

2012-10-15 Thread Илья Шипицин
the tricky thing here is MAC-address.

it is 01:00:5e, which mimics Microsoft NLB in multicast IGMP mode.
first octet, 01, means it is multicast, which is very rare case
(comparing to unicast and broadcast).

most switches treat multicast in the same way as broadcast, i.e. delivering
packets to all ports.
also, there could be side effects in using multicast in routing mode.

be careful with multicast things :-)

2012/10/15 Indunil Jayasooriya induni...@gmail.com

 Hi list,


 I configured CARP - Active/Active. ( Things work )

 I have an question, When Both are Active/Active, Both should work
 simultaneously by balancing traffic.

 Am I right ?


 But, ifconfig  on fw1 says, *status: master  * and  ifconfig  on fw2 says,
   *status: backup


 Pls see the output of both fw1 and fw2
 *

 *on fw1*

 carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 01:00:5e:00:01:01
 priority: 0
 carp: carpdev em0 advbase 1 balancing ip
* state MASTER vhid 1 advskew 0
 state BACKUP vhid 2 advskew 100*
 groups: carp
* status: master*
 inet6 fe80::a00:27ff:fe05:3294%carp1 prefixlen 64 scopeid 0x7
 inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255


 *on fw2
 *
 carp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 01:00:5e:00:01:01
 priority: 0
 carp: carpdev em0 advbase 1 balancing ip
 *state BACKUP vhid 1 advskew 100
 state MASTER vhid 2 advskew 0*
 groups: carp
 *status: backup*
 inet6 fe80::a00:27ff:fe14:3690%carp1 prefixlen 64 scopeid 0x7
 inet 192.168.0.100 netmask 0xff00 broadcast 192.168.0.255


 Why is that?


 When* status is master and backup* , Do these 2 nodes ( fw1 and fw2 ) work
 simultaneously by balancing traffic? and one node goes down, all 100%
 traffic go via running node?

 That's What I want to achieve.


 Pls let me know.


 Here's the HOW TO, I performed.


 CARP - Active/Active configuration ( CARP, pfsync, PF and relayd )



   --   --
   | fw1 |-em1--em1-| fw2 |
   +-+  +-+
   em0||em0
  ||
   ---+---Shared LAN---+---




 fw1

 em0 - 192.168.0.10

 em1 - 192.168.9.67 ( for pfsync )

 fw2

 em0 - 192.168.0.11

 em1 - 192.168.9.68 ( for pfsync )


 carp1 - LAN shared IP: 192.168.0.100



 on fw1


 #
 hostname

 fw1.example.com

 # cat /etc/hostname.em0
 inet 192.168.0.10 255.255.255.0

 # cat /etc/hostname.em1
 inet 192.168.9.67 255.255.255.0


 on fw2

 #
 hostname

 fw2.example.com

 # cat /etc/hostname.em0
 inet 192.168.0.11 255.255.255.0

 # cat /etc/hostname.em1
 inet 192.168.9.68 255.255.255.0



 net.inet.ip.forwarding=1  in /etc/sysctl.conf on both fw1 and fw2 with
 below command

 sysctl -w net.inet.ip.forwarding=1


 Edit net.inet.ip.forwarding=1 in /etc/sysctl.conf file in this way

 #  less /etc/sysctl.conf |grep net.inet.ip.forwarding=1
 net.inet.ip.forwarding=1# 1=Permit forwarding (routing) of IPv4
 packets



 Configure fw1:

 ! enable preemption and group interface failover
 # sysctl -w net.inet.carp.preempt=1


 Uncomment net.inet.carp.preempt=1 in /etc/sysctl.conf in this way

 # less /etc/sysctl.conf |grep net.inet.carp.preempt=1
 net.inet.carp.preempt=1 # 1=Enable carp(4) preemption



 ! configure pfsync
 # ifconfig em1 192.168.9.67 netmask 255.255.255.0
 # ifconfig pfsync0 syncdev em1
 # ifconfig pfsync0 up

 ! configure CARP on the LAN side
 # ifconfig carp1 create
 # ifconfig carp1 192.168.0.100/24 carpnodes 1:0,2:100 balancing ip \
 pass lanpasswd


 vi /etc/hostname.carp1

 inet 192.168.0.100 255.255.255.0 192.168.0.255 carpnodes 1:0,2:100
 balancing ip pass lanpasswd


 vi /etc/hostname.pfsync0

 up syncdev em1




 Configure fw2:

 ! enable preemption and group interface failover
 # sysctl -w net.inet.carp.preempt=1


 Uncomment net.inet.carp.preempt=1 in /etc/sysctl.conf in this way

 #  less /etc/sysctl.conf |grep net.inet.carp.preempt=1
 net.inet.carp.preempt=1 # 1=Enable carp(4) preemption


 ! configure pfsync
 # ifconfig em1 192.168.9.68 netmask 255.255.255.0
 # ifconfig pfsync0 syncdev em1
 # ifconfig pfsync0 up

 ! configure CARP on the LAN side
 # ifconfig carp1 create
 # ifconfig carp1 192.168.0.100/24 carpnodes 1:100,2:0 balancing ip \
 pass lanpasswd


 vi /etc/hostname.carp1

 inet 192.168.0.100 255.255.255.0 192.168.0.255 carpnodes 1:100,2:0
 balancing ip pass lanpasswd


 vi /etc/hostname.pfsync0

 up syncdev em1



 Scp pf.conf and relayd.conf files to fw2 from fw1


 #
 hostname

 fw1.example.com

 # cd /etc/

 # scp pf.conf relayd.conf root@192.168.0.11:/etc/
 root@192.168.0.11's password:
 pf.conf
 100% 1584 1.6KB/s   00:00
 relayd.conf


 Pls run below command on both nodes ( fw1 and fw2 )


 # pfctl -f /etc/pf.conf

 # relayd


 # pfctl -sr
 anchor 

ddb error

2012-10-15 Thread Indunil Jayasooriya
Hi List,


I have 2 Redhat KVM Servers. On each server, an OpenBSD 5.1 ( 64 bit ) is
running.

( i.e - Since I have  2 Redhat KVM Servers, 2 OpenBSD 5.1 ( 64 bit ) are
running )


These 2 OpenBSD servers sometimes come in to ddb mode and stuck. Then, I
have to force off and start them again,


I am sending 2 attachments for you guys to see and let me know what
actually happens?

Services running on  these 2 Open BSD Servers are carp , pf and relayd

Any comments?










-- 
Thank you
Indunil Jayasooriya

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
ddb1.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
ddb2.jpg]



Re: Skype.

2012-10-15 Thread Jay Patel
Thanks Predrag Punosevac ... i am trying to get skype in pidgin .. if
it works i will let you know. .also heard that someone working on
compat_linux rh6 from FreeBSD hope to see it work..



Re: Bitcoin client for OpenBSD?

2012-10-15 Thread Dave U. Random
If you can post the diff here I'll pick it up that way. Thank you.


 On Mon, Oct 15, 2012 at 07:12:35PM +, Anonymous wrote:
  Is there a bitcoin client for OpenBSD or is anyone porting one? Seems
 like OpenBSD would be a good OS to host a client considering there are
 viruses and exploits of that well known *cough* OS *cough* that too many
 people use. 
  
 
 The regular bitcoind compiles relatively cleanly. I have a few patches
 lying around, but it mostly boils down to adding
 
   || __OpenBSD__
 
 in the places gcc complains. I'll try to get the patches into a port
 ASAP, but I'm kinda swamped right now, so don't hold your breath (and
 maybe ports@ won't even accept the port :) If you want, I can send the
 diff to you off-list though.
 
 -- 
 Gregor Best



Re: ddb error

2012-10-15 Thread Tomas Bodzar
On Tue, Oct 16, 2012 at 5:11 AM, Indunil Jayasooriya
induni...@gmail.com wrote:
 Hi List,


 I have 2 Redhat KVM Servers. On each server, an OpenBSD 5.1 ( 64 bit ) is
 running.

 ( i.e - Since I have  2 Redhat KVM Servers, 2 OpenBSD 5.1 ( 64 bit ) are
 running )


missing dmesg from both


 These 2 OpenBSD servers sometimes come in to ddb mode and stuck. Then, I
 have to force off and start them again,


http://www.openbsd.org/faq/faq2.html#Bugs


 I am sending 2 attachments for you guys to see and let me know what
 actually happens?

attachments doesn't allowed here http://www.openbsd.org/mail.html


 Services running on  these 2 Open BSD Servers are carp , pf and relayd

 Any comments?

I will not do that. You can play on old HW or eg. try to utilize
rdomains in OpenBSD, but for virtualization VMware stuff is supported
quite fine or plain Qemu.











 --
 Thank you
 Indunil Jayasooriya

 [demime 1.01d removed an attachment of type image/jpeg which had a name of 
 ddb1.jpg]

 [demime 1.01d removed an attachment of type image/jpeg which had a name of 
 ddb2.jpg]