Re: Recommended Industrial PCs?

2015-08-27 Thread David Dahlberg
Am Donnerstag, den 27.08.2015, 09:42 +0200 schrieb Martin Haufschild:
 Can you recommend 
 specific models (maybe you had good experience with)? Compact models 
 would be preferred.

NEXCOM NISE 3600E2:
http://www.nexcom.com/Products/industrial-computing-solutions/industrial
-fanless-computer/core-i-performance/fanless-pc-fanless-computer-nise
-3600e2-p2-p2e

This one works quite well for me. I did not try any graphics though, and
getting the serial console work on at least one of the six ports
involved quite some guesswork in the BIOS and trial-and-error
afterwards.

The 4-Port GE and the two port SFP NIC that can be seen in the dmesg
(em2-7) are not part of the factory configuration.

Deltatronic Siletium Professional 1HE:
http://www.deltatronic.de/en/19-rackmount-en/professional-1he

It's a nice small form-factor fan-less server (only 30cm deep). Graphics
are working (although you may see some errors in dmesg) as soon as
you're able to convince it that it better should not use the (non
existant) LVDS as primary display.

A big drawback is the thermal design: While the devices may work well in
air-conditioned offices and server-rooms and moderate climate, you
surely should not give them too much work on a hot summers day.

Shuttle DS437
http://global.shuttle.com/products/productsDetail?productId=1745

Highlights are that it is reasonably priced, comes with two re(4) NICs
and two serial ports. Some people seem to have problems booting it
without display attached ... strangely though, for me it works.

Disclaimer: I have not tested it very throughoutly. I do not know how it
behaves under load, don't know nothing about wifi and graphics. For a
dmesg please consult the mailing list archives.

 NEXCOM NISE 3600E2 

OpenBSD 5.6 (GENERIC.MP) #2: Tue Oct 28 11:13:59 CET 2014
r...@stable-56-amd64.mtier.org:/binpatchng/work-binpatch56
-amd64/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4153286656 (3960MB)
avail mem = 4033941504 (3847MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb800 (78 entries)
bios0: vendor American Megatrends Inc. version 4.6.5 date 09/07/2012
bios0: INTEL Corporation ChiefRiver
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT SSDT SSDT ASF!
acpi0: wakeup devices PS2K(S0) PS2M(S0) P0P1(S0) USB1(S0) USB2(S0)
USB3(S0) USB4(S0) USB5(S0) USB6(S0) USB7(S0) PXSX(S4) RP01(S0) PXSX(S4)
RP02(S0) PXSX(S4) RP03(S0) [...]
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) Core(TM) i3-3120ME CPU @ 2.40GHz, 2392.63 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,x2APIC,POPCNT,D
EADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-3120ME CPU @ 2.40GHz, 2392.23 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,x2APIC,POPCNT,D
EADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 7 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 8 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus 1 (PEG0)
acpiprt11 at acpi0: bus 2 (PEG1)
acpiprt12 at acpi0: bus 6 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 106 degC
acpitz1 at acpi0: critical temperature is 106 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2392 MHz: speeds: 2400, 2300, 2200, 2100, 2000,
1900, 1800, 1700, 

Re: Intel Edison

2015-08-27 Thread Quartz

OpenBSD doesn't support bluetooth on any hardware.


Does that also include usb-bluetooth dongles for wireless keyboards?



Re: Recommended Industrial PCs?

2015-08-27 Thread Martin Haufschild

Am 27.08.2015 um 14:01 schrieb Martin Schröder:

2015-08-27 12:26 GMT+02:00 Martin Haufschild martin.haufsch...@uni-rostock.de:

I forgot to say that we are looking for a fanless IPC.


You forgot to say a lot of things...

E.g. how fast will your communication line be? 1kb or 100gb?

Best
Martin




Around 30 Mbps. So the CPU shouldn't be the problem.



Re: Recommended Industrial PCs?

2015-08-27 Thread Raimo Niskanen
On Wed, Aug 26, 2015 at 09:11:22PM +0200, Martin Haufschild wrote:
 Hello,
 
 can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I 
 would like to have a lot of hardware supported from this IPC by OpenBSD.
 
 Regards
 Martin

Have a look at the PC Engines machines:
  http://pc-engines.ch

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: Recommended Industrial PCs?

2015-08-27 Thread Martin Haufschild

Am 27.08.2015 um 14:33 schrieb David Dahlberg:

Am Donnerstag, den 27.08.2015, 09:42 +0200 schrieb Martin Haufschild:

Can you recommend
specific models (maybe you had good experience with)? Compact models
would be preferred.


NEXCOM NISE 3600E2:
http://www.nexcom.com/Products/industrial-computing-solutions/industrial
-fanless-computer/core-i-performance/fanless-pc-fanless-computer-nise
-3600e2-p2-p2e

This one works quite well for me. I did not try any graphics though, and
getting the serial console work on at least one of the six ports
involved quite some guesswork in the BIOS and trial-and-error
afterwards.

The 4-Port GE and the two port SFP NIC that can be seen in the dmesg
(em2-7) are not part of the factory configuration.

Deltatronic Siletium Professional 1HE:
http://www.deltatronic.de/en/19-rackmount-en/professional-1he

It's a nice small form-factor fan-less server (only 30cm deep). Graphics
are working (although you may see some errors in dmesg) as soon as
you're able to convince it that it better should not use the (non
existant) LVDS as primary display.

A big drawback is the thermal design: While the devices may work well in
air-conditioned offices and server-rooms and moderate climate, you
surely should not give them too much work on a hot summers day.

Shuttle DS437
http://global.shuttle.com/products/productsDetail?productId=1745

Highlights are that it is reasonably priced, comes with two re(4) NICs
and two serial ports. Some people seem to have problems booting it
without display attached ... strangely though, for me it works.

Disclaimer: I have not tested it very throughoutly. I do not know how it
behaves under load, don't know nothing about wifi and graphics. For a
dmesg please consult the mailing list archives.



@David Dahlberg: Thank you very much for the hints. Sounds as if the 
Nexcom 3600E2 should work for us (we wouldn't like to have rackmount). I 
will write it on our short list.

We don't need serial ports. Only the Ethernet ports.

@all:
We are also in contact now with two german manufacturers if their 
devices would support OpenBSD. They will check this the next days. Maybe 
there will be a few problems.

But an advantage would be local support then here in germany.
I will also check the other manufacturers like Shuttle, Portwell, 
Lanner, PC engines, Habbey which were recommended to me. Thank you so 
much for the many answers.


Best regards



Re: Thinkpad spyware

2015-08-27 Thread lists
On 8/27/2015 11:54 AM, Karel Gardas wrote:
 To OP, yes, I still like to purchase thinkpads although they are going
 down quality wise, they are still among the best in this business
 (probably others going down faster?). The problem with alternative
 hardware is price/performance ratio unfortunately. Anyway, if you do
 have your secret option just let it know in this discussion...
 Personally speaking I know only those brands with trackpoints
 provided: lenovo, fujitsu, hp, toshiba. The notebook without
 trackpoint (or equivalent fascility) does not exists for me...
 
Some Dell Latitude's come with trackpoints.



Re: Thinkpad spyware

2015-08-27 Thread Erling Westenvik
On Thu, Aug 27, 2015 at 08:41:13PM +0500, ?? ?? wrote:
 On Thu, Aug 27, 2015 at 06:20:10AM +0300, li...@wrant.com wrote:
   This is happening for a while now in industry,
  
  If you want to react to this, do something about it at the right place
  to complain, where your voice counts.
  
  Also don't forget your position when you vote with your wallet and feet.
 
 This is absolute BS. You brainwashed by western imperialist propaganda
 created by Rockefellers, Rothschilds, B. Gates III and other such people.
 Neither your voice, not your wallet is not worth a damn. Stop to spread 
 this crap.

Of course. The Jews...

Guess we have to live with this until some Russian comes up with a
secure Basic Putin/Putout System...



Re: Thinkpad spyware

2015-08-27 Thread Karel Gardas
On Thu, Aug 27, 2015 at 5:41 PM, Артур Истомин art.is...@yandex.ru wrote:
 On Thu, Aug 27, 2015 at 06:20:10AM +0300, li...@wrant.com wrote:
  This is happening for a while now in industry,

 If you want to react to this, do something about it at the right place
 to complain, where your voice counts.

 Also don't forget your position when you vote with your wallet and feet.

 This is absolute BS. You brainwashed by western imperialist propaganda
 created by Rockefellers, Rothschilds, B. Gates III and other such people.
 Neither your voice, not your wallet is not worth a damn. Stop to spread
 this crap.

And a man from Russia will teach us how to behave as a truly free man
in this world. Sweet!

To OP, yes, I still like to purchase thinkpads although they are going
down quality wise, they are still among the best in this business
(probably others going down faster?). The problem with alternative
hardware is price/performance ratio unfortunately. Anyway, if you do
have your secret option just let it know in this discussion...
Personally speaking I know only those brands with trackpoints
provided: lenovo, fujitsu, hp, toshiba. The notebook without
trackpoint (or equivalent fascility) does not exists for me...



Fw:[Re: gphoto2 (PTP mode camera) no more working in -current]

2015-08-27 Thread Alessandro DE LAURENZIS
- Forwarded message from Kent R. Spillner kspill...@acm.org -

From: Kent R. Spillner kspill...@acm.org
To: Alessandro DE LAURENZIS just22@gmail.com
Date: Thu, 27 Aug 2015 09:57:50 -0500 (CDT)
Subject: Re: gphoto2 (PTP mode camera) no more working in -current

Not to me, to the list.  :P

-Original Message-
From: Alessandro DE LAURENZIS just22@gmail.com
Sent: Thursday, August 27, 2015 08:53
To: Kent R. Spillner kspill...@acm.org
Subject: Re: gphoto2 (PTP mode camera) no more working in -current

Hello Kent,

On Thu 27/08/2015 06:22, Kent R. Spillner wrote:
 dmesg?

See [0].

All the best

[0]
[snip]
OpenBSD 5.8-current (GENERIC.MP) #1267: Mon Aug 24 15:30:23 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2087387136 (1990MB)
avail mem = 2020290560 (1926MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries)
bios0: vendor LENOVO version 7LETD0WW (2.30 ) date 02/27/2012
bios0: LENOVO 7735WX2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT ASF! SSDT SSDT SSDT 
SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) 
EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) 
USB3(S3) USB4(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz, 798.22 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz, 798.00 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: !C3(100@162 mwait.3@0x50), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C3(100@162 mwait.3@0x50), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB4, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T5264 serial  4317 type LION oem Panasonic
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 798 MHz: speeds: 2101, 2100, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x800
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: msi, address 
00:21:86:94:34:8e
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 22
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 82801H HD Audio rev 0x03: msi
azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices 
AD1984
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61: msi, 
MIMO 2T3R, MoW2, address 00:21:5c:75:a7:1d
ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: msi
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 Intel 

Re: Intel Edison

2015-08-27 Thread ludovic coues
2015-08-27 16:16 GMT+02:00 Quartz qua...@sneakertech.com:
 OpenBSD doesn't support bluetooth on any hardware.


 Does that also include usb-bluetooth dongles for wireless keyboards?


Dongle for wireless device doesn't work that way.
The dongle pretend to be the device and take care of all the communication.
From the OS point of view, using a wired usb keyboard or a wireless
keyboard using a dongle is the same thing.

Also, bluetooth keyboard doesn't provide dongle.

-- 

Cordialement, Coues Ludovic
+336 148 743 42



Re: Intel Edison

2015-08-27 Thread Peter Hessler
On 2015 Aug 27 (Thu) at 10:16:31 -0400 (-0400), Quartz wrote:
:OpenBSD doesn't support bluetooth on any hardware.
:
:Does that also include usb-bluetooth dongles for wireless keyboards?
:

That includes all forms of bluetooth where it is presented to the OS.

If it fakes a keyboard, and shows up as a ukbd, then that driver will
be used.



Re: Intel Edison

2015-08-27 Thread Eike Lantzsch
On Thursday 27 August 2015 10:16:31 Quartz wrote:
  OpenBSD doesn't support bluetooth on any hardware.
 
 Does that also include usb-bluetooth dongles for wireless keyboards?

I'm using Logitech K520 wireless keyboard and M310 mouse with OpenBSD, but 
that is not Bluetooth. See Peter Hessler's comment.

Cheers
Eike




Re: Thinkpad spyware

2015-08-27 Thread Артур Истомин
On Thu, Aug 27, 2015 at 06:20:10AM +0300, li...@wrant.com wrote:
  This is happening for a while now in industry,
 
 If you want to react to this, do something about it at the right place
 to complain, where your voice counts.
 
 Also don't forget your position when you vote with your wallet and feet.

This is absolute BS. You brainwashed by western imperialist propaganda
created by Rockefellers, Rothschilds, B. Gates III and other such people.
Neither your voice, not your wallet is not worth a damn. Stop to spread 
this crap.



Re: Thinkpad spyware

2015-08-27 Thread Peter Hessler
Please keep this off list.



Re: Thinkpad spyware

2015-08-27 Thread Артур Истомин
On Thu, Aug 27, 2015 at 06:54:50PM +0200, Karel Gardas wrote:
 On Thu, Aug 27, 2015 at 5:41 PM, Артур Истомин art.is...@yandex.ru wrote:
  On Thu, Aug 27, 2015 at 06:20:10AM +0300, li...@wrant.com wrote:
   This is happening for a while now in industry,
 
  If you want to react to this, do something about it at the right place
  to complain, where your voice counts.
 
  Also don't forget your position when you vote with your wallet and feet.
 
  This is absolute BS. You brainwashed by western imperialist propaganda
  created by Rockefellers, Rothschilds, B. Gates III and other such people.
  Neither your voice, not your wallet is not worth a damn. Stop to spread
  this crap.
 
 And a man from Russia will teach us how to behave as a truly free man
 in this world. Sweet!

Haha, are you serious?! )) What about L.Tolstoy, A.Chekhov. Hey, boy, you
ever really idiot or whatever you know about the Russia - two names - Stalin
and Putin.



Re: Thinkpad spyware

2015-08-27 Thread Артур Истомин
On Thu, Aug 27, 2015 at 07:57:20PM +0200, Erling Westenvik wrote:
 On Thu, Aug 27, 2015 at 08:41:13PM +0500, ?? ?? wrote:
  On Thu, Aug 27, 2015 at 06:20:10AM +0300, li...@wrant.com wrote:
This is happening for a while now in industry,
   
   If you want to react to this, do something about it at the right place
   to complain, where your voice counts.
   
   Also don't forget your position when you vote with your wallet and feet.
  
  This is absolute BS. You brainwashed by western imperialist propaganda
  created by Rockefellers, Rothschilds, B. Gates III and other such people.
  Neither your voice, not your wallet is not worth a damn. Stop to spread 
  this crap.
 
 Of course. The Jews...

From above names only Rothschilds are Jews.. I don't understand your problems
with Jews.

 
 Guess we have to live with this until some Russian comes up with a
 secure Basic Putin/Putout System...



Re: Thinkpad spyware

2015-08-27 Thread Karel Gardas
On Wed, Aug 26, 2015 at 5:59 PM, Shaun Reiger srei...@sprmail.net wrote:
 In light of what Lenovo has been doing to its customers by installing
 spyware like superfish and now installing crapware using Microsoft's
 Windows Platform Binary Table at the BIOS level. Do people still plan on
 purchasing laptops from them going forward. If so whats your reasoning
 behind this. Is anyone moving to other PC manufactures now.

 http://www.theregister.co.uk/2015/08/12/lenovo_firmware_nasty/


Think-branded PCs did not include the LSE, we're told. -- that's on
your URL. I assume this also applies to thinkpads...



Re: Show us your /etc/profile

2015-08-27 Thread Alexander Hall
On August 28, 2015 2:36:38 AM GMT+02:00, T B phreakoci...@gmail.com wrote:
Resurrecting this not-too-old thread.  You might find this one useful
if
you run CARP firewalls which gives you a dynamic prompt telling you the
master/backup/other status.

function fwStatus {
IFCONFIG=`ifconfig -a | grep carp:`
NUMCARPS=`echo $IFCONFIG | wc -l`
BACKUPCARPS=`echo $IFCONFIG | grep 'carp: BACKUP' | wc -l`
MASTERCARPS=`echo $IFCONFIG | grep 'carp: MASTER' | wc -l`

if [[ $MASTERCARPS == $NUMCARPS ]]; then
printf master
elif [[ $BACKUPCARPS == $NUMCARPS ]]; then
printf backup
else
printf other
fi
}

I'm pretty sure this messes up $? at the prompt. Try:

false
echo $?

You could circumvent this by saving $? at the beginning of the function and 
returning it at the end. 

/Alexander 


HOSTNAME=`hostname -s`
PS1='${USER}@${HOSTNAME}:${PWD} ($(fwStatus)) $ '


On Wed, Aug 5, 2015 at 1:43 AM, Sean Kamath kam...@moltingpenguin.com
wrote:

 On Aug 2, 2015, at 8:49 AM, li...@wrant.com wrote:

  never
  thought of using a shell function in .profile till I read this
thread.
 
  ...
 
  Functions has always been impressive once you move past the alias
  shortcomings (can't handle arguments etc), so also worth a read the
  Functions section.


 Functions have been amazingly useful and impressive for a very long
time.
 They are also not limited to ksh.  In fact, my introduction to this
very
 useful aspect of shell programming was from Sun's rcS script, which
has
 this:

 # Simulates cat in sh so it doesn't need to be on the root
filesystem.
 #
 shcat() {
 while [ $# -ge 1 ]; do
 while read i; do
 echo $i
 done  $1
 shift
 done
 }


 There have been times when I've been on systems in single user mode
 without filesystems, and knowing how to do some things we typically
use
 external programs for in the shell can be a lifesaver, like echo *
as a
 poor man's ls.

 If your directory isn't *that* large, 'for i in *;  do echo $i; done
| wc
 -l' works well.  Well, for some definition of 'well'.

 My point is that shell functions allow you to do some fairly complex
 stuff, and if you're careful, you can avoid execs.  There are places
the
 shell forks, however.  It can be a fun exercise to find them with
profiling
 tools. :-)

 Sean



mbuf exhaustion on 5.7 i386

2015-08-27 Thread ah...@anbcs.com
I’m running 5.7 on an alix board as a home gateway and have been
experiencing mbuf exhaustion over the past few weeks.  I can clear the problem
by flushing/reloading pf (pfctl -F all -f /etc/pf.conf) but the problem
re-appears after a few days.  I’ve attached all the possibly relevant
information and would appreciate any tips on further troubleshooting the
issue.

pfctl -sa
https://gist.github.com/leprechau/71f697662cc527a53f60
https://gist.github.com/leprechau/71f697662cc527a53f60

netstat -m, dmesg.boot and a process listing
https://gist.github.com/leprechau/0f4498acb0967c056128
https://gist.github.com/leprechau/0f4498acb0967c056128

— Aaron

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



Re: Recommended Industrial PCs?

2015-08-27 Thread David Coppa
On Wed, Aug 26, 2015 at 9:11 PM, Martin Haufschild
martin.haufsch...@uni-rostock.de wrote:
 Hello,

 can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I would
 like to have a lot of hardware supported from this IPC by OpenBSD.

 Regards
 Martin


This[1] could be what you need...

[1] http://www.mini-box.com/VoomPC-Enclosure

CIAO!
David
-- 
If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will.
-- Stewart Nelson



Re: Recommended Industrial PCs?

2015-08-27 Thread David Coppa
On Thu, Aug 27, 2015 at 11:38 AM, David Coppa dco...@gmail.com wrote:
 On Wed, Aug 26, 2015 at 9:11 PM, Martin Haufschild
 martin.haufsch...@uni-rostock.de wrote:
 Hello,

 can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I would
 like to have a lot of hardware supported from this IPC by OpenBSD.

 Regards
 Martin


 This[1] could be what you need...

 [1] http://www.mini-box.com/VoomPC-Enclosure

 CIAO!
 David
 --
 If you try a few times and give up, you'll never get there. But if
 you keep at it... There's a lot of problems in the world which can
 really be solved by applying two or three times the persistence that
 other people will.
 -- Stewart Nelson

Portwell also has some interesting stuff.
Like this:

http://www.portwell.com/products/detail.php?CUSTCHAR1=WEBS-3560B



Re: Recommended Industrial PCs?

2015-08-27 Thread David Dahlberg
Am Mittwoch, den 26.08.2015, 21:11 +0200 schrieb Martin Haufschild:
 
 can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I 
 
 would like to have a lot of hardware supported from this IPC by 
 OpenBSD.

Could you please explicate a bit? What exactly are you trying to to with
it, what are your requirements?

In the past, I have made good experiences with various Nexcom devices --
and Shuttle if you would consider them IPCs, too.


-- 
David Dahlberg 

Fraunhofer FKIE, Dept. Communication Systems (KOM) | Tel: +49-228-9435-845
Fraunhoferstr. 20, 53343 Wachtberg, Germany| Fax: +49-228-856277



Re: Recommended Industrial PCs?

2015-08-27 Thread Martin Haufschild

Am 27.08.2015 um 09:42 schrieb Martin Haufschild:

Am 27.08.2015 um 09:20 schrieb Martin Haufschild:

Am 27.08.2015 um 08:50 schrieb David Dahlberg:

Am Mittwoch, den 26.08.2015, 21:11 +0200 schrieb Martin Haufschild:


can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I

would like to have a lot of hardware supported from this IPC by
OpenBSD.


Could you please explicate a bit? What exactly are you trying to to with
it, what are your requirements?

In the past, I have made good experiences with various Nexcom devices --
and Shuttle if you would consider them IPCs, too.




I would just like to build up an encrypted communication between them.


They only serve as intermediate PCs for encryption. The CPU can be
Atom-like or better.
Thanks for the suggestions from all until now. Can you recommend
specific models (maybe you had good experience with)? Compact models
would be preferred.



I forgot to say that we are looking for a fanless IPC.



Re: Intel Edison

2015-08-27 Thread Stefan Sperling
On Thu, Aug 27, 2015 at 09:43:44AM +0100, Gareth Nelson wrote:
 Wifi chipset info here:
 http://www.adafruit.com/datasheets/EdisonDatasheet.pdf

wifi is Broadcom BCM43340 which is not supported.
Linux supports it via the brcmfmac driver.

Furthermore, this chip is on an SDIO bus. There is some support
for SDIO but I don't expect it is fit enough for use with wifi.
I believe SDIO was only really used on zaurus devices so far.



Re: Recommended Industrial PCs?

2015-08-27 Thread Dimitris Papastamos
On Thu, Aug 27, 2015 at 09:42:35AM +0200, Martin Haufschild wrote:
 Am 27.08.2015 um 09:20 schrieb Martin Haufschild:
 Am 27.08.2015 um 08:50 schrieb David Dahlberg:
 Am Mittwoch, den 26.08.2015, 21:11 +0200 schrieb Martin Haufschild:
 
 can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I
 
 would like to have a lot of hardware supported from this IPC by
 OpenBSD.
 
 Could you please explicate a bit? What exactly are you trying to to with
 it, what are your requirements?
 
 In the past, I have made good experiences with various Nexcom devices --
 and Shuttle if you would consider them IPCs, too.
 
 
 
 I would just like to build up an encrypted communication between them.
 
 They only serve as intermediate PCs for encryption. The CPU can be Atom-like
 or better.
 Thanks for the suggestions from all until now. Can you recommend specific
 models (maybe you had good experience with)? Compact models would be
 preferred.

I've been using Shuttle XH81V for some time and it works really well with
OpenBSD.  I've only basically been using it as a router so far.  With
the CPU that I have it is really fast for my purposes and never gets too
warm (about 45C under load).

Let me know if you need more information.

OpenBSD 5.8-current (GENERIC.MP) #46: Tue Aug 25 11:57:57 BST 2015
r...@sun.2f30.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7450062848 (7104MB)
avail mem = 7220379648 (6885MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec1e0 (76 entries)
bios0: vendor American Megatrends Inc. version 1.03 date 06/18/2014
bios0: Shuttle Inc. XH81V
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SLIC SSDT SSDT MCFG HPET SSDT SSDT
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) 
PXSX(S4) RP08(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) Core(TM) i3-4360 CPU @ 3.70GHz, 3692.02 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.45 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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.45 MHz
cpu2: 
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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz, 3691.45 MHz
cpu3: 
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,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP03)
acpiprt3 at acpi0: bus 3 (RP04)
acpiprt4 at acpi0: bus -1 (PEG0)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1

Re: Recommended Industrial PCs?

2015-08-27 Thread Marc Peters
Am 08/26/15 um 21:11 schrieb Martin Haufschild:
 Hello,
 
 can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I
 would like to have a lot of hardware supported from this IPC by OpenBSD.
 
 Regards
 Martin
 

Soekris are small in form factor and are reliable devices; pretty
expensive, though.



Re: netstat statistics bridge interface

2015-08-27 Thread Hrvoje Popovski
On 27.8.2015. 2:06, Hrvoje Popovski wrote:
 Hi all,
 
 i have configured bridge interface with em2 and em3. Generator is
 connected on em3 and receiver is connected on em2.
 
 I'm generating 1,48Mpps on em3 and getting around 400kpps on box
 connected to em2 and that is fine but counters in netstat seems doubled
 on total in packets and total out packets.
 When traffic is routed over em2 and em3 counters seems fine.
 
 Could someone please tell why i see lots of errors on em interface but
 when i do same setups over ix inteface i can't see any errors?
 
 OpenBSD is updated today from cvs.
 
 
 pf disabled
 kern.pool_debug=0
 net.inet.ip.forwarding=1
 net.inet.ip.ifq.maxlen=8192
 net.inet.icmp.errppslimit=1000
 
 
 
 # netstat -I bridge0 -w 1
 bridg in  bridg out  total in  total out
  packets  errs  packets  errs colls   packets  errs  packets  errs colls
 4487180457 0 4487181625 0 0  8974402936 28010060078
 8974377616 0 0
   408667 0   408667 0 0817399 1114990   817455 0 0
   414841 0   414841 0 0829686 1090365   829623 0 0
   410705 0   410705 0 0821415 1110769   821471 0 0
   418013 0   418013 0 0835967 1088200   836027 0 0
   410321 0   410321 0 0820706 1110852   820583 0 0
 
 
 # netstat -I em3 -w 1
   em3 inem3 out  total in  total out
  packets  errs  packets  errs colls   packets  errs  packets  errs colls
 4468797033 28013336610 24623020 0 0  8986879126 28027621153
 8986853808 0 0
   407393 10907801 0 0814730 1090780   814727 0 0
   413971 10951471 0 0827946 1095147   827943 0 0
   412976 10942261 0 0825956 1094226   825893 0 0
   412837 1101 0 0825678 110   825735 0 0
   411166 10912281 0 0822335 1091228   822270 0 0
 
 
 # netstat -I em2 -w 1
   em2 inem2 out  total in  total out
  packets  errs  packets  errs colls   packets  errs  packets  errs colls
 24623417 14284543 4473277412 0 0  8995839701 28039662049
 8995814274 0 0
3 0   412959 0 0825805 1110303   825861 0 0
4 0   407495 0 0815053 1093808   814990 0 0
3 0   414865 0 0829737 1090340   829733 0 0
3 0   414132 0 0828152 1112466   828207 0 0
3 0   415979 0 0832084 1108386   832021 0 0
 


dmesg:

OpenBSD 5.8-current (GENERIC.MP) #3: Wed Aug 26 15:49:43 CEST 2015
r...@tst.srce.hr:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
real mem = 34314588160 (32724MB)
avail mem = 33270726656 (31729MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7e67c000 (84 entries)
bios0: vendor IBM version -[D7E140YUS-1.70]- date 06/09/2014
bios0: IBM IBM System x3550 M4 Server -[7914T91]-
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP TCPA ERST HEST HPET APIC MCFG OEM0 OEM1 SLIT
SRAT SLIC SSDT SSDT SSDT SSDT DMAR
acpi0: wakeup devices MRP1(S4) DCC0(S4) MRP3(S4) MRP5(S4) EHC2(S5)
PEX0(S5) PEX7(S5) EHC1(S5) IP2P(S3) MRPB(S4) MRPC(S4) MRPD(S4) MRPF(S4)
MRPG(S4) MRPH(S4) MRPI(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.36 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.00 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.00 MHz
cpu2:

Intel Edison

2015-08-27 Thread Gareth Nelson
Hi all

I'm thinking of building a project (for those curious, it's an implant -
see biohack.me for info on this kind of stuff) on top of the Intel Edison
and was curious if OpenBSD would work on it with full bluetooth+wifi
support.

Failing that, if anyone knows of a similar device that is of similar
physical size and specs i'd appreciate it.



Re: Intel Edison

2015-08-27 Thread Peter Hessler
OpenBSD doesn't support bluetooth on any hardware.


On 2015 Aug 27 (Thu) at 07:59:22 +0100 (+0100), Gareth Nelson wrote:
:Hi all
:
:I'm thinking of building a project (for those curious, it's an implant -
:see biohack.me for info on this kind of stuff) on top of the Intel Edison
:and was curious if OpenBSD would work on it with full bluetooth+wifi
:support.
:
:Failing that, if anyone knows of a similar device that is of similar
:physical size and specs i'd appreciate it.
:



Re: Recommended Industrial PCs?

2015-08-27 Thread Martin Haufschild

Am 27.08.2015 um 08:50 schrieb David Dahlberg:

Am Mittwoch, den 26.08.2015, 21:11 +0200 schrieb Martin Haufschild:


can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I

would like to have a lot of hardware supported from this IPC by
OpenBSD.


Could you please explicate a bit? What exactly are you trying to to with
it, what are your requirements?

In the past, I have made good experiences with various Nexcom devices --
and Shuttle if you would consider them IPCs, too.




I would just like to build up an encrypted communication between them.



Re: Recommended Industrial PCs?

2015-08-27 Thread Martin Haufschild

Am 27.08.2015 um 09:20 schrieb Martin Haufschild:

Am 27.08.2015 um 08:50 schrieb David Dahlberg:

Am Mittwoch, den 26.08.2015, 21:11 +0200 schrieb Martin Haufschild:


can someone recommend me an Industrial PC (IPC) to use with OpenBSD? I

would like to have a lot of hardware supported from this IPC by
OpenBSD.


Could you please explicate a bit? What exactly are you trying to to with
it, what are your requirements?

In the past, I have made good experiences with various Nexcom devices --
and Shuttle if you would consider them IPCs, too.




I would just like to build up an encrypted communication between them.


They only serve as intermediate PCs for encryption. The CPU can be 
Atom-like or better.
Thanks for the suggestions from all until now. Can you recommend 
specific models (maybe you had good experience with)? Compact models 
would be preferred.




Re: Intel Edison

2015-08-27 Thread Gareth Nelson
doh!

I suppose I could add a small serial console via Xbee or something in an
external device.

So the question now becomes the same, but without bluetooth.


On Thu, Aug 27, 2015 at 8:13 AM, Alexander Hall alexan...@beard.se wrote:

 We don't have any Bluetooth support.

 /Alexander

 On August 27, 2015 8:59:22 AM GMT+02:00, Gareth Nelson 
 gar...@garethnelson.com wrote:

 Hi all

 I'm thinking of building a project (for those curious, it's an implant -
 see biohack.me for info on this kind of stuff) on top of the Intel Edison
 and was curious if OpenBSD would work on it with full bluetooth+wifi
 support.

 Failing that, if anyone knows of a similar device that is of similar
 physical size and specs i'd appreciate it.



Re: Intel Edison

2015-08-27 Thread Stefan Sperling
On Thu, Aug 27, 2015 at 08:42:41AM +0100, Gareth Nelson wrote:
 So the question now becomes the same, but without bluetooth.

You don't happen to have any link for us to detailed HW specs?
Or a Linux dmesg?



Re: Intel Edison

2015-08-27 Thread Gareth Nelson
Unfortunately I haven't got the device in hand yet, still researching
alternatives, here's a datasheet:
http://akizukidenshi.com/download/ds/intel/edison-module_HG_331189-002.pdf

On Thu, Aug 27, 2015 at 9:09 AM, Stefan Sperling s...@stsp.name wrote:

 On Thu, Aug 27, 2015 at 08:42:41AM +0100, Gareth Nelson wrote:
  So the question now becomes the same, but without bluetooth.

 You don't happen to have any link for us to detailed HW specs?
 Or a Linux dmesg?



Re: Intel Edison

2015-08-27 Thread Gareth Nelson
Wifi chipset info here:
http://www.adafruit.com/datasheets/EdisonDatasheet.pdf

On Thu, Aug 27, 2015 at 9:34 AM, Gareth Nelson gar...@garethnelson.com
wrote:

 Unfortunately I haven't got the device in hand yet, still researching
 alternatives, here's a datasheet:
 http://akizukidenshi.com/download/ds/intel/edison-module_HG_331189-002.pdf

 On Thu, Aug 27, 2015 at 9:09 AM, Stefan Sperling s...@stsp.name wrote:

 On Thu, Aug 27, 2015 at 08:42:41AM +0100, Gareth Nelson wrote:
  So the question now becomes the same, but without bluetooth.

 You don't happen to have any link for us to detailed HW specs?
 Or a Linux dmesg?



Re: Intel Edison

2015-08-27 Thread Alexander Hall
We don't have any Bluetooth support.

/Alexander 

On August 27, 2015 8:59:22 AM GMT+02:00, Gareth Nelson 
gar...@garethnelson.com wrote:
Hi all

I'm thinking of building a project (for those curious, it's an implant
-
see biohack.me for info on this kind of stuff) on top of the Intel
Edison
and was curious if OpenBSD would work on it with full bluetooth+wifi
support.

Failing that, if anyone knows of a similar device that is of similar
physical size and specs i'd appreciate it.



Re: DHCPv6 server - send_packet6: Network is unreachable

2015-08-27 Thread Ed Hynan
[ I tried sending this Monday morning; I just a DSN for failure --
   so trying again, from different address. ]

On Mon, 24 Aug 2015, Claus Lensbøl wrote:

 On 18-08-2015 21:32, Ed Hynan wrote:

 From: Claus Lensbøl cl...@fab-it.dk
 I am running openbsd 5.6 GENERIC.MP#333 amd64.
 Using isc-dhcp-server 4.3.0.

 I had no route to host w/ ISC DHCP 4.3.0 on OpenBSD 4.9 -- the
 patch at end of message got it working.  Hint was need for
 '%IF' using ping6.

 I applied the patch on OpenBSD 5.5 w/o checking whether
 it's needed -- still works.  I don't know about 5.6 (as he
 ducks his head).

 NOTE: patch applies to ISC tar archive -- I did not start from
 ports, so I don't know if it'll apply to patched ports source.
 Try it if you like.  Good luck.

 -Ed

 # BEGIN PATCH
 diff -u -r dhcp-4.3.0-orig/common/socket.c dhcp-4.3.0/common/socket.c
 --- dhcp-4.3.0-orig/common/socket.cFri Jan 31 14:20:49 2014
 +++ dhcp-4.3.0/common/socket.cTue Aug 18 15:11:42 2015
 @@ -787,9 +787,19 @@
  memcpy(dst, to, sizeof(dst));
  m.msg_name = dst;
  m.msg_namelen = sizeof(dst);
 +/*
 + * For OpenBSD 4.9, needing interface index: this works in
 + * my usage on small LAN; might not be complete or correct
 + * Works w/ OpenBSD 5.5 -- did not check if still needed!
 + * The preprocessor test is added . . .
 + */
 +#if defined(__OpenBSD__)
 +dst.sin6_scope_id = ifindex = if_nametoindex(interface-name);
 +#else  /* ! defined(__OpenBSD__) */
  ifindex = if_nametoindex(interface-name);
  if (no_global_v6_socket)
  dst.sin6_scope_id = ifindex;
 +#endif /* ! defined(__OpenBSD__) */

  /*
   * Set the data buffer we're sending. (Using this wacky
 Hi Ed

 Where is this patch from?

Me.

 And could you give me some building guidelines? I haven't tried building on
 OpenBSD before.

OpenBSD ports(7) -- get ports source, cd to package dir, then
# make patch
then, substituting pkgname suitably
# ( cd /usr/ports/pobj/pkgname/pkgname  patch -p 1  $PATCHFILE )
then, if patch applied cleanly[*]
# make update

[*
else get source from ISC, extract, cd pkgdir,
# patch -p 1  $PATCHFILE
then edit
  bind/bind-9.9.5/lib/isc/random.c
and comment out line
  'arc4random_addrandom((u_char *) seed, sizeof(isc_uint32_t));'
then preferably configure with install --prefix other than /usr/local.
# make  make install
]


 Thank you!
 Claus


You're welcome,
Ed

--
Constantly choosing the lesser of two evils is still
choosing evil.

- Jerry Garcia, Rolling Stone magazine, November 30, 1989



Re: Recommended Industrial PCs?

2015-08-27 Thread Martin Schröder
2015-08-27 12:26 GMT+02:00 Martin Haufschild martin.haufsch...@uni-rostock.de:
 I forgot to say that we are looking for a fanless IPC.

You forgot to say a lot of things...

E.g. how fast will your communication line be? 1kb or 100gb?

Best
   Martin



Re: Thinkpad spyware

2015-08-27 Thread lists
 I can't understand you guys.

Stating your opinion here is, well... your opinion.

As a suggestion, you can write a nice hardware buyer guide for OpenBSD
on your own web space and see how this goes.

Now, consider keeping it up to date, and support feedback to make it
factually correct, for as long as you use the same hardware.

Then see what difference it makes to web sites of actual OpenBSD
developers and electronics engineers.

 This is happening for a while now in industry,

If you want to react to this, do something about it at the right place
to complain, where your voice counts.

Also don't forget your position when you vote with your wallet and feet.



Re: Show us your /etc/profile

2015-08-27 Thread T B
Resurrecting this not-too-old thread.  You might find this one useful if
you run CARP firewalls which gives you a dynamic prompt telling you the
master/backup/other status.

function fwStatus {
IFCONFIG=`ifconfig -a | grep carp:`
NUMCARPS=`echo $IFCONFIG | wc -l`
BACKUPCARPS=`echo $IFCONFIG | grep 'carp: BACKUP' | wc -l`
MASTERCARPS=`echo $IFCONFIG | grep 'carp: MASTER' | wc -l`

if [[ $MASTERCARPS == $NUMCARPS ]]; then
printf master
elif [[ $BACKUPCARPS == $NUMCARPS ]]; then
printf backup
else
printf other
fi
}

HOSTNAME=`hostname -s`
PS1='${USER}@${HOSTNAME}:${PWD} ($(fwStatus)) $ '


On Wed, Aug 5, 2015 at 1:43 AM, Sean Kamath kam...@moltingpenguin.com
wrote:

 On Aug 2, 2015, at 8:49 AM, li...@wrant.com wrote:

  never
  thought of using a shell function in .profile till I read this thread.
 
  ...
 
  Functions has always been impressive once you move past the alias
  shortcomings (can't handle arguments etc), so also worth a read the
  Functions section.


 Functions have been amazingly useful and impressive for a very long time.
 They are also not limited to ksh.  In fact, my introduction to this very
 useful aspect of shell programming was from Sun's rcS script, which has
 this:

 # Simulates cat in sh so it doesn't need to be on the root filesystem.
 #
 shcat() {
 while [ $# -ge 1 ]; do
 while read i; do
 echo $i
 done  $1
 shift
 done
 }


 There have been times when I've been on systems in single user mode
 without filesystems, and knowing how to do some things we typically use
 external programs for in the shell can be a lifesaver, like echo * as a
 poor man's ls.

 If your directory isn't *that* large, 'for i in *;  do echo $i; done | wc
 -l' works well.  Well, for some definition of 'well'.

 My point is that shell functions allow you to do some fairly complex
 stuff, and if you're careful, you can avoid execs.  There are places the
 shell forks, however.  It can be a fun exercise to find them with profiling
 tools. :-)

 Sean