5.2 : ssd support!

2012-12-17 Thread Mayuresh Kathe
hello, i'm running 5.2 (amd64) on my existing machine (dmesg below mail). works great, except for heating problems and lowered battery life. have experimented and run tests (windows 7, ubuntu 12.04.1 and memtest). the heating and battery life problems only surface under openbsd. wondered if

Re: 5.2 : ssd support!

2012-12-17 Thread mxb
It's just a disk. sd0 at scsibus0 targ 0 lun 0: ATA, INTEL SSDSA2CT04, 4PC1 SCSI3 0/direct fixed naa.500151795956a9d6 sd0: 38166MB, 512 bytes/sector, 78165360 sectors, thin On 17 dec 2012, at 09:32, Mayuresh Kathe mayur...@wolfman.devio.us wrote: hello, i'm running 5.2 (amd64) on my

Re: OpenBSD desktop

2012-12-17 Thread Janne Johansson
2012/12/17 Robert Connolly rob...@secondfloor.ca: Hello. I have heard on IRC that I am running a vulnerable version of Firefox, despite running 'pkg_add -a -u', on my OpenBSD 5.2 system. The advice I got was to run snapshots, because OpenBSD does not have the human resources to maintain

Re: OpenBSD desktop

2012-12-17 Thread Tomas Bodzar
On Mon, Dec 17, 2012 at 7:13 AM, Robert Connolly rob...@secondfloor.ca wrote: Hello. I have heard on IRC that I am running a vulnerable version of Firefox, despite running 'pkg_add -a -u', on my OpenBSD 5.2 system. The advice I got was to run snapshots, because OpenBSD does not have the human

Re: ifOperStatus of em(4) devices always unknown when link is up

2012-12-17 Thread InterNetX - Carsten Schoene
Hello Reyk, do you have an update for me? Carsten Am 04.12.2012 10:26, schrieb InterNetX - Carsten Schoene: Am 04.12.2012 00:57, schrieb Reyk Floeter: Am Montag, 3. Dezember 2012 schrieb InterNetX - Carsten Schoene : Hello, i've setup a OpenBSD 5.2 (amd64) system using flashrd on a DELL

Re: login_radius support for encrypted authentication type?

2012-12-17 Thread Aleš Golob
Hi. The problem is not storing the passwords in the clear as the RADIUS server is actually a Windows 2008 R2 NPS server, it is however that PAP sends ASCII charecters unencrypted over the wire as opposed to other EAP solutions or even CHAP. So as the password with PAP may or may not be

Re: KSH command logged to syslog

2012-12-17 Thread Stuart Henderson
On 2012-12-16, David Coppa dco...@gmail.com wrote: .profile can be interrupted with ctrl+c. Because it is under controle or the user and he/she can disable such funcionality. the safer way imho is patching ksh Wouldn't it be better to use an ssh forced command, which then looks up the users

Re: Wireless WPA and crypto hardware

2012-12-17 Thread Stuart Henderson
On 2012-12-15, Martin Kjær Jørgensen m...@gotu.dk wrote: On Sat, Dec 15, 2012 at 11:03:00AM +0100, Tobias Ulmer wrote: On Sat, Dec 15, 2012 at 09:52:28AM +0100, Martin Kjær Jørgensen wrote: Hi misc Can a wireless interface (say, athn) make use of a hardware crypto card like hifn when

Re: AR9485WB-EG libre port

2012-12-17 Thread Stuart Henderson
On 2012-12-15, System Administrator ad...@bitwise.net wrote: On 14 Dec 2012 at 16:43, Sha'ul wrote: The driver for AR9485 seems to be fully function in libre Linux from what I've tried, don't need the vanilla Linux version for at least the wifi to work. Would it not be possible to thereby

Re: login_radius support for encrypted authentication type?

2012-12-17 Thread Stuart Henderson
On 2012-12-13, Aleš Golob ales.go...@gora.si wrote: Hi! I have an OpenBSD 5.2 installation on a Soekris net4801 used as a router, DNS server and a SSH tunnel proxy. I have configured the login_radius service in my login.conf and all works reasonably well but from what I can tell

Re: KSH command logged to syslog

2012-12-17 Thread Jiri B
On Mon, Dec 17, 2012 at 02:03:03PM +, Stuart Henderson wrote: Wouldn't it be better to use an ssh forced command, which then looks up the users desired shell (or other command called directly from ssh) and wraps it in a logger? ForceCommand runs under destination user permissions so if you

Re: KSH command logged to syslog

2012-12-17 Thread Stuart Henderson
On 2012/12/17 10:42, Jiri B wrote: On Mon, Dec 17, 2012 at 02:03:03PM +, Stuart Henderson wrote: Wouldn't it be better to use an ssh forced command, which then looks up the users desired shell (or other command called directly from ssh) and wraps it in a logger? ForceCommand runs

Re: Wireless WPA and crypto hardware

2012-12-17 Thread Christian Weisgerber
Stuart Henderson s...@spacehopper.org wrote: Do you think an AMD Elan 133 Mhz is modern enough for at 54/mbit wireless WPA2 throughput? No but neither will it be quick enough that pumping the data to a PCI-based crypto accelerator is going to work well. Indeed. Also, we don't support

Re: 5.2 : ssd support!

2012-12-17 Thread Chris Cappuccio
Mayuresh Kathe [mayur...@wolfman.devio.us] wrote: hence my question, how good or bad is the ssd support under 5.2?. most of my usage would be software development using either lisp, c and c++ (at the console, no x). There is some TRIM command support, not sure how extensive it is, but if I

Re: 5.2 : ssd support!

2012-12-17 Thread Mayuresh Kathe
On Mon, 17 Dec 2012, Chris Cappuccio wrote: There is also a problem with some SSDs and the AHCI driver. any way to find out which ssd drives don't work with the ahci driver? as far as the real problem of excessive heating and power drain goes; i've been using the apmd with '-C' flag (on

Re: 5.2 : ssd support!

2012-12-17 Thread Dustin Fechner
On 12/17/2012 09:32 AM, Mayuresh Kathe wrote: hence my question, how good or bad is the ssd support under 5.2?. Like mxb pointed out, it's just a normal disk to OpenBSD. So don't expect any special SSD support (for example TRIM command). I own a netbook with an Intel 320 SSD which runs 5.1

Re: Kernel panic with Asus U36S on 5.2 and current amd64

2012-12-17 Thread Tomas Bodzar
On Sat, Dec 15, 2012 at 11:01 PM, Mike Larkin mlar...@azathoth.net wrote: On Sat, Dec 15, 2012 at 05:46:39PM +0100, Tomas Bodzar wrote: Hi all, my friend tested OpenBSD amd64 (5.2 and current) with Asus U36S, but install goes always fine. However first reboot always result in a kernel panic

Re: OpenBSD hangs when i unplug USB disk

2012-12-17 Thread Marcos Ariel Laufer
On 11/20/2012 1:32 PM, Marcos Laufer wrote: Peter Hessler wrote: On 2012 Nov 20 (Tue) at 12:45:09 -0300 (-0300), Marcos Laufer wrote: :Ok , i've just tried it on a OpenBSD 5.1 and unplugging the USB works :just fine, no crash, no freeze. : :The weird thing and i don't understand why, is that

Re: net6501 and hw.ncpufound

2012-12-17 Thread Mihai Popescu
The Atom E6xx CPUs used in the Soekris net6501 ... but judging from people's inability to realize that the 1.0 and 1.6 GHz models they had bought were only running at 0.6 GHz by default ... Could you tell a little bit more about this, please? The heatsink for CPU shown on soekris site was

trivial with echo command

2012-12-17 Thread sven falempin
Hello misc readers, First, openBSD threads are awesome for debugging. The trivial topic, echo -ne \x00 | nc port send a null byte with a GNU echo. Echo in openbsd does not have -e (and does not warn whan i try it ..) Noob question: How to send a null byte over netcat ? am i forced to use

Re: trivial with echo command

2012-12-17 Thread Andres Perera
echo expands nil from C backslash sequences just fine: andres@pote:~/tmp $ alias vis vis='vis -cl -F$COLUMNS' andres@pote:~/tmp $ echo '\0a' | vis \0a\$ andres@pote:~/tmp $ perl -e 'print \0a\n' | vis \0a\$ what's most likely happening is that the protocol that you're targeting treats '\0' as

carp both master

2012-12-17 Thread Michel Blais
Hi, I'm testing carp for the first time on 5.2 (both) and no mather what I try, both are master. I see the traffic from carp with tcpdump on both device. Must be a RTMF error but I already readed all official doc and some unofficial and still can't find what wrong. The config of both device is

Re: Kernel panic with Asus U36S on 5.2 and current amd64

2012-12-17 Thread Mike Larkin
On Mon, Dec 17, 2012 at 06:16:29PM +0100, Tomas Bodzar wrote: On Sat, Dec 15, 2012 at 11:01 PM, Mike Larkin mlar...@azathoth.net wrote: On Sat, Dec 15, 2012 at 05:46:39PM +0100, Tomas Bodzar wrote: Hi all, my friend tested OpenBSD amd64 (5.2 and current) with Asus U36S, but install goes

Re: carp both master

2012-12-17 Thread Stuart Henderson
On 2012-12-17, Michel Blais mic...@targointernet.com wrote: # cat /etc/hostname.carp0 inet W.X.Y.B 255.255.255.248 W.X.Y.D vhid 1 carpdev em0 \ ^ pass fdhnap483745y -inet6 # cat /etc/hostname.carp0 inet X.W.Z.B 255.255.255.248 X.Y.Z.D

Re: carp both master

2012-12-17 Thread Loïc BLOT
You need one common VHID for each virtual IP, Stuart said all fixes you need. CARP protocol identify nodes by VHID. -- Cordialement, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr Le lundi 17 décembre 2012 à 22:36 +, Stuart Henderson a écrit : On

Re: trivial with echo command

2012-12-17 Thread Stuart Henderson
On 2012-12-17, sven falempin sven.falem...@gmail.com wrote: Hello misc readers, First, openBSD threads are awesome for debugging. The trivial topic, echo -ne \x00 | nc port send a null byte with a GNU echo. Echo in openbsd does not have -e (and does not warn whan i try it ..) Noob

Re: net6501 and hw.ncpufound

2012-12-17 Thread Stuart Henderson
On 2012-12-17, Mihai Popescu mih...@gmail.com wrote: The Atom E6xx CPUs used in the Soekris net6501 ... but judging from people's inability to realize that the 1.0 and 1.6 GHz models they had bought were only running at 0.6 GHz by default ... Could you tell a little bit more about this,

Re: trivial with echo command

2012-12-17 Thread Andres Perera
On Mon, Dec 17, 2012 at 6:13 PM, Stuart Henderson s...@spacehopper.org wrote: On 2012-12-17, sven falempin sven.falem...@gmail.com wrote: Hello misc readers, First, openBSD threads are awesome for debugging. The trivial topic, echo -ne \x00 | nc port send a null byte with a GNU echo.

Re: VPN route failover

2012-12-17 Thread Stuart Henderson
On 2012-12-15, Henry Stilmack h.stilm...@jach.hawaii.edu wrote: On 12/14/2012 03:27 PM, Beto wrote: Hi, SiteB and Sitec have OpenBSD Firewall ? The vpn is firewall to firewall, the manage of network is only route add xxx xx I'm not sure what SiteB and SiteC are running - I think either

Re: trivial with echo command

2012-12-17 Thread Stuart Henderson
On 2012/12/17 18:26, Andres Perera wrote: On Mon, Dec 17, 2012 at 6:13 PM, Stuart Henderson s...@spacehopper.org wrote: On 2012-12-17, sven falempin sven.falem...@gmail.com wrote: Hello misc readers, First, openBSD threads are awesome for debugging. The trivial topic, echo -ne \x00

Re: trivial with echo command

2012-12-17 Thread Alexander Hall
On 12/18/12 00:20, Stuart Henderson wrote: On 2012/12/17 18:26, Andres Perera wrote: On Mon, Dec 17, 2012 at 6:13 PM, Stuart Henderson s...@spacehopper.org wrote: On 2012-12-17, sven falempin sven.falem...@gmail.com wrote: Hello misc readers, First, openBSD threads are awesome for debugging.

Re: OpenBSD hangs when i unplug USB disk

2012-12-17 Thread Marcos Ariel Laufer
On 12/17/2012 2:23 PM, Marcos Ariel Laufer wrote: On 11/20/2012 1:32 PM, Marcos Laufer wrote: Peter Hessler wrote: On 2012 Nov 20 (Tue) at 12:45:09 -0300 (-0300), Marcos Laufer wrote: :Ok , i've just tried it on a OpenBSD 5.1 and unplugging the USB works :just fine, no crash, no freeze. : :The

Re: trivial with echo command

2012-12-17 Thread sven falempin
On Mon, Dec 17, 2012 at 6:37 PM, Alexander Hall alexan...@beard.se wrote: On 12/18/12 00:20, Stuart Henderson wrote: On 2012/12/17 18:26, Andres Perera wrote: On Mon, Dec 17, 2012 at 6:13 PM, Stuart Henderson s...@spacehopper.org wrote: On 2012-12-17, sven falempin sven.falem...@gmail.com

Re: trivial with echo command

2012-12-17 Thread Andres Perera
On Mon, Dec 17, 2012 at 7:07 PM, Alexander Hall alexan...@beard.se wrote: For scripting, echo is one of the commands I tend to avoid unless I know the data is safe, because of it's horrific argument parsing. I've yet to find a way to echo a single '-n' using the sh/ksh builtin. When printing

Re: trivial with echo command

2012-12-17 Thread Mayuresh Kathe
On Mon, 17 Dec 2012, sven falempin wrote: So much to just print ... so: 1 echo is crap (not portable, not very usefull) 2 print is doing echo job in ksh print [-nprsu[n] | -R [-en]] [argument ...] (but this is completly different on pengouinOS) 3 printf is everywhere and works fine why do

Re: trivial with echo command

2012-12-17 Thread Philip Guenther
On Mon, Dec 17, 2012 at 5:14 PM, sven falempin sven.falem...@gmail.com wrote: So much to just print ... so: 1 echo is crap (not portable, not very usefull) 2 print is doing echo job in ksh print [-nprsu[n] | -R [-en]] [argument ...] (but this is completly different on pengouinOS) 3 printf