Re: automake 1.11.5: never mind

2013-03-04 Thread Brad Smith
On Mon, Mar 04, 2013 at 10:36:00PM -0500, Alan Corey wrote: > Changing my .cshrc to define AUTOMAKE_VERSION 1.11 instead of 1.11.5 > and rebooting cured the problem. Not sure why since I don't have > 1.11.0 installed. I have 1.10.3p6, 1.11.5p1, 1.9.6p10. Oh well. > > End of story for now. The

Re: automake 1.11.5: never mind

2013-03-04 Thread Alan Corey
Changing my .cshrc to define AUTOMAKE_VERSION 1.11 instead of 1.11.5 and rebooting cured the problem. Not sure why since I don't have 1.11.0 installed. I have 1.10.3p6, 1.11.5p1, 1.9.6p10. Oh well. End of story for now. Alan > The distfile name is automake-1.11.5.tar.gz and pkg_info reports

Re: SSH public key auth vs OTP auth

2013-03-04 Thread Stuart Henderson
On 2013-03-04, Peter Bisroev wrote: > Hi All, > > Recently I had a chance to play with ./sysutils/login_oath and > ./security/oath-toolkit ports maintained by Stuart Henderson. Both > ports work fantastic, thanks Stuart! > > However I have a general question regarding various auth options with > S

relayd redirect not working..

2013-03-04 Thread Keith
Hi, I am trying to get pf & relayd to redirect port 80 to a some backed www servers but I can't get relayd to start. If I have the following in my relayd.conf file. redirect "www" { listen on 127.0.0.1 80 tag REDIRECTED forward to 10.0.0.10 port 80 } and try to start relayd then

SSH public key auth vs OTP auth

2013-03-04 Thread Peter Bisroev
Hi All, Recently I had a chance to play with ./sysutils/login_oath and ./security/oath-toolkit ports maintained by Stuart Henderson. Both ports work fantastic, thanks Stuart! However I have a general question regarding various auth options with SSH (hopefully this list is OK for this discussion).

Re: looking for xserve G4 donation

2013-03-04 Thread Martijn van Duren
Hello misc, I managed to acquire a xserve G4 for the project. But, before I ship it, I want to make sure that everything works as it should. Here's where I come across a problem. I just saw on the macpcc.html page that the VGA card is not supported and it should be removed and access should be

Re: Upgrading Snapshots and Dual-booting

2013-03-04 Thread James Griffin
[- Mon 4.Mar'13 at 17:26:32 + Stuart Henderson :-] > If you upgrade via the installer's (U)pgrade option then this *does* write > new boot blocks. > > You may get lucky if the old /boot doesn't get overwritten, but it's a good > idea not to count on this.. > > Also note tha

Re: Upgrading Snapshots and Dual-booting

2013-03-04 Thread Stuart Henderson
On 2013-03-04, James Griffin wrote: > [- Mon 4.Mar'13 at 13:57:50 +0100 Janne Johansson :-] > >> Everytime a new bootblock gets written one needs to repeat the dd >> stuff, but a normal upgrade usually doesn't make a new bootblock for >> you. > > Yeah, that's what I figured. So i

erratic behaveour of kb and mouse

2013-03-04 Thread Zoran Kolic
Current from 14th february, amd64. Node connected to usb switch via usb cable to share kb and mouse with freebsd box. From time to time, only on openbsd, x freezes. It is able to recover manually changing source on the switch. I could see error message in dmesg, saying usb discon- necting usb. Some

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread David Diggles
Or with subdirectories find . -type f -ls | awk '{sum += $7} END {print sum}'

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Ted Unangst
On Mon, Mar 04, 2013 at 12:54, Paul de Weerd wrote: > On Mon, Mar 04, 2013 at 12:32:32PM +0100, Paolo Aglialoro wrote: > | Great one! > | How to put that nice expression into an alias without console complaining > | when executed? I may be an oddball here, but I prefer just making little shell scr

A slight twist on the OpenBSD laptop question

2013-03-04 Thread Kevin Chadwick
I was about to buy two thinkpads which are often suggested when the OpenBSD laptop question is raised but the 93 in stock have disappeared since saturday, aaargh. There are still core2duos and lesser spec'd systems available which has prompted me to ask the question I had pondered on. Does anyone

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Otto Moerbeek
On Mon, Mar 04, 2013 at 11:02:47PM +0800, f5b wrote: > At??2013-03-04??20:13:46,"Paul??de??Weerd"wrote: > >Exactly!So??what??is??the??point??in??summing??up??the??sizes??of??a??bunch??of > >files???I??am??197??cm??tall,??my??house??number??is??34,??my??zipcode??is??1318, > >I??have??2?

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Michael Lambert
On 4 Mar 2013, at 10:02, f5b wrote: > Maybe because we come from Windows system. > In Windows, sum files' size by "Byte" is a simple quick way to check if > thousands of files are > > modified/sync/same, although not accurate. openssl {md5|sha1|...} *

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread f5b
At 2013-03-04 20:13:46,"Paul de Weerd"  wrote: >Exactly!  So what is the point in summing up the sizes of a bunch of >files ?  I am 197 cm tall, my house number is 34, my zipcode is 1318, >I have 2 brothers and 1 sister .. sum is 1552.  Great, but now what ? > >This total value does not correspond 

Re: Upgrading Snapshots and Dual-booting

2013-03-04 Thread James Griffin
[- Mon 4.Mar'13 at 13:57:50 +0100 Janne Johansson :-] > Everytime a new bootblock gets written one needs to repeat the dd > stuff, but a normal upgrade usually doesn't make a new bootblock for > you. Yeah, that's what I figured. So it should be alright then. Just thought I'd ask

Re: Upgrading Snapshots and Dual-booting

2013-03-04 Thread Amit Kulkarni
On Mon, Mar 4, 2013 at 7:53 AM, James Griffin wrote: > Hi > > I've got a machine which is dual-booting Windows 7 and OpenBSD current. > I am currently downloading the latest snapshot ready to upgrade but I > would like to know if this will affect the dual-boot set up. I put > my openbsd.pbr file

Re: Upgrading Snapshots and Dual-booting

2013-03-04 Thread Janne Johansson
Everytime a new bootblock gets written one needs to repeat the dd stuff, but a normal upgrade usually doesn't make a new bootblock for you. 2013/3/4 James Griffin : > Hi > > I've got a machine which is dual-booting Windows 7 and OpenBSD current. > I am currently downloading the latest snapshot re

Upgrading Snapshots and Dual-booting

2013-03-04 Thread James Griffin
Hi I've got a machine which is dual-booting Windows 7 and OpenBSD current. I am currently downloading the latest snapshot ready to upgrade but I would like to know if this will affect the dual-boot set up. I put my openbsd.pbr file into Windows and followed the faq guide to get Windows boot manage

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Paul de Weerd
On Mon, Mar 04, 2013 at 12:57:05PM +0100, Otto Moerbeek wrote: | On Mon, Mar 04, 2013 at 12:54:49PM +0100, Paul de Weerd wrote: | | > On Mon, Mar 04, 2013 at 12:32:32PM +0100, Paolo Aglialoro wrote: | > | Great one! | > | How to put that nice expression into an alias without console complaining |

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Otto Moerbeek
On Mon, Mar 04, 2013 at 12:54:49PM +0100, Paul de Weerd wrote: > On Mon, Mar 04, 2013 at 12:32:32PM +0100, Paolo Aglialoro wrote: > | Great one! > | How to put that nice expression into an alias without console complaining > | when executed? > | > | > | # ls -l | awk '{ SUM += $5 } END { print S

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Paul de Weerd
On Mon, Mar 04, 2013 at 12:32:32PM +0100, Paolo Aglialoro wrote: | Great one! | How to put that nice expression into an alias without console complaining | when executed? | | | # ls -l | awk '{ SUM += $5 } END { print SUM }' | 569047 | | # alias tot="ls -l | awk '{ SUM += $5 } END { print SUM }'

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Jiri B
On Mon, Mar 04, 2013 at 12:32:32PM +0100, Paolo Aglialoro wrote: > Great one! > How to put that nice expression into an alias without console complaining > when executed? A shell function instead of an alias? jirib

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread Paolo Aglialoro
Great one! How to put that nice expression into an alias without console complaining when executed? # ls -l | awk '{ SUM += $5 } END { print SUM }' 569047 # alias tot="ls -l | awk '{ SUM += $5 } END { print SUM }'" # tot awk: syntax error at source line 1 context is { SUM += >>> } <<<

Re: Serial and parallel port detection

2013-03-04 Thread Janne Johansson
2013/3/4 Jacques Pelletier : > Le 2013-03-04 01:49, Theo de Raadt a écrit : > >>> For use in the GUI of an application, I need to have a list of detected >>> serial and parallel ports. This list is used to fill a combo box where >>> the user select the port to use (example: in Windows, it would be

Re: Serial and parallel port detection

2013-03-04 Thread Jacques Pelletier
Le 2013-03-04 01:49, Theo de Raadt a écrit : For use in the GUI of an application, I need to have a list of detected serial and parallel ports. This list is used to fill a combo box where the user select the port to use (example: in Windows, it would be a list with COM1,COM2, etc. On OpenBSD, ho

Re: 802.11n on obsd

2013-03-04 Thread Stuart Henderson
On 2013-03-03, Sean Shoufu Luo wrote: > Hi, > > Does OBSD support real 802.11n? It seems not. Although many 802.11n devices > are claimed supported, 802.11n capability is mostly not excluded, like > run(4), otus(4), urtwn(4). No. It's not specific to a particular driver, there is no support in th

Re: Panic at pmap_remove_ptes, 5.2/i386

2013-03-04 Thread Han Hwei Woo
On 01/05/13 16:19, Marcin wrote: Hello, I have been running machine with ddb.panic=1 and ddb.console=1 in hope I will be able to provide more info after next crash. Unfortunately, when it crashed today the kernel went to ddb but it was not responding - it did not show what I typed and even when

Re: OpenBGP Issues. :-(

2013-03-04 Thread Alex Mathiasen
Alex Mathiasen(a...@mira.dk) on 2013.02.28 14:51:25 +0100: > Dear recipients, > > I have been using OpenBGP for a while with OpenBSD - And I am very > satisfied with the performance and amazed by the ease of configuration. > > My BGPD is configured against a Danish ISP called TDC - And we were

Re: AES/3DES problem with isakmpd and IPSec

2013-03-04 Thread Loïc Blot
Hi Stuart, you are right, and i was tired :p, i haven't seen the source was wrong in tcpdump. In fact, the negotiation uses WAN src ip instead of LAN src ip. I forced src with local A.B.C.D and then, it works ! Thanks for your advice, i need to clean my eyes ^^ Have a nice day -- Best regards, L