Hannover BSD meetup

2015-01-22 Thread Reyk Floeter
Hi,

we figured out that there are more BSD people in the Hannover area,
Germany, which seems to be a good reason to meet and get beer.

We're not quite a user group, but let's give it a try.  We're a few
developers and users, mostly from OpenBSD but the other ones are
welcome.

We don't have a mailing list; just contact me directly or poke me on
twitter (@reykfloeter).

Save the date: Thursday, February 19th, 19:30 at GiG Linden.

Thanks,
Reyk



Re: What are the disadvantages of soft updates?

2015-01-22 Thread Reyk Floeter
On Thu, Jan 22, 2015 at 09:02:51AM -0500, Steve Shockley wrote:
 On 1/21/2015 5:50 AM, frantisek holop wrote:
 but in my experience it is not that hard to get a
 corrupted filesystem with softupdates and i had to stop
 using it.  but i seem to attract panics and
 page faults.
 
 I've personally had problems with OpenBSD panics with softupdates when
 running under ESXi when the back-end storage becomes high-latency
 (aggressive SAN backups, not enough spindles).  I haven't tried recently (it
 was difficult to repro on demand) but I didn't really consider it an OpenBSD
 issue.  Presumably softupdate has shorter timeouts.
 

What release and what virtualized SCSI controller where you using?

Reyk



Re: What are the disadvantages of soft updates?

2015-01-22 Thread Steve Shockley

On 1/21/2015 5:50 AM, frantisek holop wrote:

but in my experience it is not that hard to get a
corrupted filesystem with softupdates and i had to stop
using it.  but i seem to attract panics and
page faults.


I've personally had problems with OpenBSD panics with softupdates when 
running under ESXi when the back-end storage becomes high-latency 
(aggressive SAN backups, not enough spindles).  I haven't tried recently 
(it was difficult to repro on demand) but I didn't really consider it an 
OpenBSD issue.  Presumably softupdate has shorter timeouts.




Re: 1U / 2 Computers? For redundant FW pair

2015-01-22 Thread Ganguin Michel
-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of 
Predrag Punosevac
Sent: jeudi 22 janvier 2015 03:32
To: misc@openbsd.org
Subject: Re: 1U / 2 Computers? For redundant FW pair

Daniel Ouellet wrote:
 
 there is 23 model that are twin model in 1U:
 
 http://www.supermicro.com/products/nfo/1UTwin.cfm
 
 But they share the power supply. May be that's what you didn't like.

 On 1/21/15 7:31 AM, Alan McKay wrote:
 I know that Supermicro has some interesting side-by-sides starting at 
 2U, but I'm not aware of anything in 1U.  Basically I'd like to have
 my redundant FW pairs take up less rack space.   I guess another
 option would be half-width 1U if anything like that exists, and 
 install a rack shelf.

So when the power supply fails you will have both FW down not just one.
Nice :) Even if the FW were only sharing the same case the idea is dumb because 
you will have to take off line good FW to fix the one which failed. 

Now somebody posted the link to pfSense hardware where each individual FW is 
removable. That would seems like the solution which fits the bill perfectly and 
doesn't suffer the problem I just pointed out. However catch 22 is that the 
case has a non-standard width so you will have to adjust your rack :)

Cheers,
Predrag



Re: 1U / 2 Computers? For redundant FW pair

2015-01-22 Thread Steve Shockley

On 1/21/2015 8:50 AM, Brent Cook wrote:

I think Dell used to have servers in its 'Cloud' line that fit 2
machines in 1U, though IIRC they were a little pricey. I couldn't find
them again when searching.


The C6100 was a 2U 4-server cloud-dense device, sort of like a 2U 
blade chassis.  I've considered getting one, but I'm not sure if I could 
stand the reported noise.  IIRC they have two power supplies per chassis 
and the blades are individually removable, so that may or may not meet 
your definition of redundancy.  It looks like the C6220-II is the 
current model, but I haven't looked at those since they're not cheap on 
ebay.




Re: My computer suddenly turned itself off.

2015-01-22 Thread Joel Rees
On Wed, Jan 21, 2015 at 11:42 PM, trondd tro...@gmail.com wrote:
 Check 'sysctl hw.sensors' and see if you have some temp sensors in
 there and what they're telling you.

 Tim.

Now that you mention it, yeah, that command does tell the temperature and such.

Right now:

hw.sensors.acpitz0.temp0=38.50 degC (zone temperature)
hw.sensors.lm1.temp0=21.00 degC
hw.sensors.lm1.temp1=38.50 degC
hw.sensors.lm1.fan0=3668 RPM
hw.sensors.lm1.fan1=2596 RPM
hw.sensors.lm1.volt0=1.55 VDC (VCore)
hw.sensors.lm1.volt1=3.31 VDC (+3.3V)
hw.sensors.lm1.volt2=5.03 VDC (+5V)
hw.sensors.lm1.volt3=11.61 VDC (+12V)
hw.sensors.lm1.volt4=-11.87 VDC (-12V)
hw.sensors.lm1.volt5=-4.80 VDC (-5V)
hw.sensors.lm1.volt6=4.87 VDC (5VSB)
hw.sensors.lm1.volt7=3.30 VDC (VBAT)

To my eye, that all looks withing range. I'll have to try replicating
the load and checking the temperature. (I had google mail, a wikipedia
page or two open and some candy-making pages for my wife, but that was
all at the time. All browser stuff. I was thinking less about load and
more about firefox dying and taking the system with it. Firefox 26.0
from the openbsd 5.5 packages. Google even keeps telling me the
browser is no longer supported by them. Need to upgrade to obsd 5.6
this weekend if I can make the time.)

On Wed, Jan 21, 2015 at 11:11 PM, Matt M cmorrow...@gmail.com wrote:
 Sudden power offs are often indicative of heat issues, especially on
 laptops. Does it power right back on and stay on for a long time? If not I
 would suspect heat. If it does stay on, it may be a power management bug, a
 bad power source or possibly a failing power supply in the machine.
  If it won't power back on right away, or won't stay on till it sits for a
 while, try cleaning the cpu fan - they collect a lot of dust.

I think it's getting close to time for spring cleaning with the vacuum
cleaner. Dust is definitely a possibility.

 On Wednesday, January 21, 2015, Joel Rees joel.r...@gmail.com wrote:

 I'm looking under /var/log, but not seeing any logfiles to give me any
 clues.

 What information should I post? I have /var/log/messages from the
 moment of the crash, but it's about 36K.

 dmesg:
 ---
 [See prior post in thread.]

-- 
Joel Rees

Be careful when you look at conspiracy.
Look first in your own heart,
and ask yourself if you are not your own worst enemy.
Arm yourself with knowledge of yourself, as well.



Re: My computer suddenly turned itself off.

2015-01-22 Thread trondd
Joel Rees joel.r...@gmail.com wrote:

 all at the time. All browser stuff. I was thinking less about load and
 more about firefox dying and taking the system with it. Firefox 26.0
 from the openbsd 5.5 packages. Google even keeps telling me the
 browser is no longer supported by them. Need to upgrade to obsd 5.6
 this weekend if I can make the time.)

Did you give yourself access to infinite memory in login.conf?  That
seems to be what everyone does to give FF enough memory which defeats 
the purpose of that protection.  I usually set it to 75% of the memory.
Leave something for the OS.

Tim.



Re: 1U / 2 Computers? For redundant FW pair

2015-01-22 Thread Marco Prause
Christian,

sure - you're so damn right :)

Just for the records, I've used

main auth hmac-sha1 enc aes-128 group modp1536
quick auth hmac-sha1 enc aes-128

and just a dumb

# iperf -c 172.16.2.1

Client connecting to 172.16.2.1, TCP port 5001
TCP window size: 16.0 KByte (default)

[  3] local 172.16.1.1 port 8600 connected with 172.16.2.1 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-10.0 sec  72.5 MBytes  60.7 Mbits/sec
#


Without any testing on UDP or different datagram payloads and so forth.
All on OpenBSD flashrd 5.5 build on stable (2014-04-05).


Regards,
Marco


Am 21.01.2015 um 18:01 schrieb Christian Weisgerber:
 On 2015-01-21, Marco Prause marco-obsdm...@prause.eu wrote:
 
 Also when using ipsec in this test-setup, iperf was able to push ~60Mbps
 through the tunnel (ase-128).
   ^^^
 That's pretty useless without specifying which MAC algorithm you
 used.



Re: 1U / 2 Computers? For redundant FW pair

2015-01-22 Thread Ganguin Michel
 there is 23 model that are twin model in 1U:
 
 http://www.supermicro.com/products/nfo/1UTwin.cfm
 
 But they share the power supply. May be that's what you didn't like.

So when the power supply fails you will have both FW down not just one.

Yes Supermicro twin power supply is shared, but it is redundant, so you need 
both power supply to fail to have both FW failing (one power supply can power 
both systems).

Nice :) Even if the FW were only sharing the same case the idea is dumb 
because you will have to take off line good FW to fix the one which failed. 

You can remove a system hot-swap without affecting the other one. Only a 
problem if you cannot remove *only* the failing system due to cabling or other 
mechanical issue.

The only single point of failure I can think of is the backplane connecting 
everything together (both systems, both power supplies and interconnection to 
the front panel).
 
BR
Michel



Re: mobile internet support

2015-01-22 Thread Martijn van Duren

On 01/21/15 10:32, Mike Larkin wrote:

On Wed, Jan 21, 2015 at 10:02:47AM +0100, Martijn van Duren wrote:

Hello misc@,

I need to have mobile internet to be standby for work.
Is there any 4G dongle fully supported by OpenBSD (in combination with
dutch mobile internet providers)?

Sincerely,

Martijn van Duren



Tether to your cellphone and use urndis(4)?

I wasn't aware of this feature. I had to buy a new cable, but it works 
like a charm.

Thank you very much for the pointer.



Re: Hannover BSD meetup

2015-01-22 Thread Артур Истомин
On Thu, Jan 22, 2015 at 03:02:30PM +0100, Reyk Floeter wrote:
 Hi,
 
 we figured out that there are more BSD people in the Hannover area,
 Germany, which seems to be a good reason to meet and get beer.
 
 We're not quite a user group, but let's give it a try.  We're a few
 developers and users, mostly from OpenBSD but the other ones are
 welcome.
 
 We don't have a mailing list; just contact me directly or poke me on
 twitter (@reykfloeter).
 
 Save the date: Thursday, February 19th, 19:30 at GiG Linden.

What about drunk Russians, bears and balalaikas? )



Re: Hannover BSD meetup

2015-01-22 Thread Christian Weisgerber
On 2015-01-22, Jason Adams adams...@gmail.com wrote:

 I can see Jan not wanting to sit 4 hours on the train, but I'd
 be tempted to sit two hours on a train from Berlin.  What does that
 trip cost these days?

136 EUR regular.  Special offers may be available.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Using WiFi hotspots with OpenBSD?

2015-01-22 Thread Alan Corey
OK, I'm new to the concept of hotspots and why they're different from
regular APs.  I just got a phone that I can set to be a hotspot to
relay the phone's data stream over WiFi.  It works fine when I'm
booted into Windows, works like any other AP.  Under OpenBSD no luck
so far.  I can set the nwid, the bssid, the gateway (copied from
Windows) but when I run dhclient nothing.  It's like there's no DHCP
server out there, dhclient times out looking.  The phone is an Android
(4.4.2) so if I knew what I was doing I could look there.  It is
rooted and I could poke around in it.

-- 
Credit is the root of all evil.  - AB1JX



Re: 1U / 2 Computers? For redundant FW pair

2015-01-22 Thread Adam Thompson

On 2015-01-22 07:58 AM, Steve Shockley wrote:

On 1/21/2015 8:50 AM, Brent Cook wrote:

I think Dell used to have servers in its 'Cloud' line that fit 2
machines in 1U, though IIRC they were a little pricey. I couldn't find
them again when searching.


The C6100 was a 2U 4-server cloud-dense device, sort of like a 2U 
blade chassis.  I've considered getting one, but I'm not sure if I 
could stand the reported noise.  IIRC they have two power supplies per 
chassis and the blades are individually removable, so that may or may 
not meet your definition of redundancy.  It looks like the C6220-II is 
the current model, but I haven't looked at those since they're not 
cheap on ebay.


I'm running a pair of redundant OpenBSD firewalls/routers on C6100 
blades.  I can confirm, having had to strip and repair one of mine, that 
the only shared components common to all 4 slots are:

1. The metal shell
2. The fan control board
3. the SATA backplane, at least physically.

The backplane the blades plug into is split into (independent) top and 
bottom halves.
The power distribution/sharing system is split into (1+1 redundant, 
connected) top and bottom halves.
The SATA backplane, although shared, appears to be 99% passive and 
signal traces appear to be highly localized; power is another story for 
obvious reasons; a catastrophic failure in one SATA drive could 
propagate to other drives, but would be fused at the power distribution 
board(s).


It's inaccurate to characterize the 4 servers in a C6100 chassis as 
**completely** indepedent, but I can confirm that you definitely can 
pull and replace individual blades without affecting the others.
In my case, I have enough 6 other servers running at that site, so I can 
put one router in each chassis, thus ensuring complete separation all 
the way out to the ethernet switch and/or the shared UPS (take your pick).


--
-Adam Thompson
 athom...@athompso.net



Re: Using WiFi hotspots with OpenBSD?

2015-01-22 Thread Vladislav Manchev
Works fine here using something like:

sudo ifconfig iwn0 nwid AP_NAME wpakey WPA_KEY

WPA/WPA2 both work fine for me.

Don't think there's any difference between a hotspot and an AP.

If your nwid has spaces you should put it in quotes though.


Best,
Vladislav

On Fri, Jan 23, 2015 at 1:41 AM, Alan Corey alan01...@gmail.com wrote:

 OK, I'm new to the concept of hotspots and why they're different from
 regular APs.  I just got a phone that I can set to be a hotspot to
 relay the phone's data stream over WiFi.  It works fine when I'm
 booted into Windows, works like any other AP.  Under OpenBSD no luck
 so far.  I can set the nwid, the bssid, the gateway (copied from
 Windows) but when I run dhclient nothing.  It's like there's no DHCP
 server out there, dhclient times out looking.  The phone is an Android
 (4.4.2) so if I knew what I was doing I could look there.  It is
 rooted and I could poke around in it.

 --
 Credit is the root of all evil.  - AB1JX



Re: Using WiFi hotspots with OpenBSD?

2015-01-22 Thread Jason Adams
On 01/22/2015 03:41 PM, Alan Corey wrote:
 It's like there's no DHCP
 server out there, dhclient times out looking.  The phone is an Android
 (4.4.2) so if I knew what I was doing I could look there.  It is
 rooted and I could poke around in it.

I'm guessing you want to use your phone as a hotspot for openBSD.
So you turn on the hotspot feature in the phone an IT ACTS like a router and
DHCP server, and it usually (if you are wise) is set up to use wpa2 (aes) 
security.

Then you will need a file named hostname.ath0 (the last part will vary with the
name of your wifi card) in the /etc directory.  attrs: 640

in that file you have something like

nwid (name-of-your-phone-accesspoint)
wpakey (your wifi access point password
dhcp

Then it just seems to work automatically.

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.



Re: Hannover BSD meetup

2015-01-22 Thread Jan Lambertz
Hey Reyk,

that sounds great. Unfortunately the Way to Hannover is 600km from
here. I hope something simliar is happening soon near Munich. I was
not able to find any Meeting for OpenBSD here.

Jan



Re: Hannover BSD meetup

2015-01-22 Thread Peter Hessler
It's very simple.  Make one of your own :).

Pick a place, advertise it, and *make sure to show up*.  Keep it
regular, if you can.  The first 6 meetings or so will be you and your
friends, though.


On 2015 Jan 22 (Thu) at 20:05:13 +0100 (+0100), Jan Lambertz wrote:
:Hey Reyk,
:
:that sounds great. Unfortunately the Way to Hannover is 600km from
:here. I hope something simliar is happening soon near Munich. I was
:not able to find any Meeting for OpenBSD here.
:
:Jan
:

-- 
The turtle lives 'twixt plated decks
Which practically conceal its sex.
I think it clever of the turtle
In such a fix to be so fertile.
-- Ogden Nash



Re: Hannover BSD meetup

2015-01-22 Thread Brian Callahan
Yup. Doing just this now in my new home. If you build it, they will
come. and all that other feel good stuff applies.

~Brian

On 01/22/15 15:03, Peter Hessler wrote:
 It's very simple.  Make one of your own :).

 Pick a place, advertise it, and *make sure to show up*.  Keep it
 regular, if you can.  The first 6 meetings or so will be you and your
 friends, though.


 On 2015 Jan 22 (Thu) at 20:05:13 +0100 (+0100), Jan Lambertz wrote:
 :Hey Reyk,
 :
 :that sounds great. Unfortunately the Way to Hannover is 600km from
 :here. I hope something simliar is happening soon near Munich. I was
 :not able to find any Meeting for OpenBSD here.
 :
 :Jan
 :



Re: Hannover BSD meetup

2015-01-22 Thread Alex Greif
hi,
... same for me here in Berlin

Alex.

On Thu, Jan 22, 2015 at 08:05:13PM +0100, Jan Lambertz wrote:
 Hey Reyk,
 
 that sounds great. Unfortunately the Way to Hannover is 600km from
 here. I hope something simliar is happening soon near Munich. I was
 not able to find any Meeting for OpenBSD here.
 
 Jan



Re: Hannover BSD meetup

2015-01-22 Thread Jason Adams
On 01/22/2015 12:41 PM, Alex Greif wrote:
 hi,
 ... same for me here in Berlin

 Alex.

 On Thu, Jan 22, 2015 at 08:05:13PM +0100, Jan Lambertz wrote:
 Hey Reyk,

 that sounds great. Unfortunately the Way to Hannover is 600km from
 here. I hope something simliar is happening soon near Munich. I was
 not able to find any Meeting for OpenBSD here.

 Jan


I can see Jan not wanting to sit 4 hours on the train, but I'd be tempted to 
sit two hours on a train
from Berlin.  What does that trip cost these days?

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.