Geli and crunchgen (/rescue)

2013-08-03 Thread Dewayne
Unfortunately I have had the need on several occasions to recover systems that use geli encrypted disks. Unfortunately geli is not included in the crunchgen /rescue directory. Has anyone been successful in crunchgen'ing geli into /rescue? I've spent a few hours on this and think herding cats

.sh script code to determine IPv4 or IPv6

2013-08-03 Thread Fbsd8
I have a .sh script that I need to determine if the entered IP address is IPv4 or IPv6. Is there some .sh command that does this? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

.sh script code to determine IPv4 or IPv6

2013-08-03 Thread Robert Huff
Fbsd8 writes: I have a .sh script that I need to determine if the entered IP address is IPv4 or IPv6. Is there some .sh command that does this? Not that I know of. But ... how hard can it be to figure out whether it uses '.' or ':'?

Re: Geli and crunchgen (/rescue)

2013-08-03 Thread Teske, Devin
On Aug 3, 2013, at 12:35 AM, Dewayne wrote: Unfortunately I have had the need on several occasions to recover systems that use geli encrypted disks. Unfortunately geli is not included in the crunchgen /rescue directory. Has anyone been successful in crunchgen'ing geli into /rescue?

Re: .sh script code to determine IPv4 or IPv6

2013-08-03 Thread Teske, Devin
On Aug 3, 2013, at 4:30 AM, Fbsd8 wrote: I have a .sh script that I need to determine if the entered IP address is IPv4 or IPv6. Is there some .sh command that does this? In RELENG_9, soon to be released 9.2-R: === FILE: wis === #!/bin/sh DEVICE_SELF_SCAN_ALL= .

Re: .sh script code to determine IPv4 or IPv6

2013-08-03 Thread Teske, Devin
On Aug 3, 2013, at 5:04 AM, Robert Huff wrote: Fbsd8 writes: I have a .sh script that I need to determine if the entered IP address is IPv4 or IPv6. Is there some .sh command that does this? Not that I know of. But ... how hard can it be to figure out whether it uses

Re: Assign program call to a key

2013-08-03 Thread jb
Polytropon freebsd at edvax.de writes: Is there a way to assign a predefined program call to a key in X, _independently_ from the window manager or desktop environment in use? ... https://wiki.archlinux.org/index.php/Extra_Keyboard_Keys_in_Xorg It may give you some hints. jb

D-Link DUBE100 USB NIC does not work

2013-08-03 Thread Victor Sudakov
Dear Colleagues, It is written in axe(4) and in the HCL for 9.1 that D-Link DUBE100 is supported. I have bought one and the system shows it as ugen0.3: product 0x1a02 vendor 0x2001 at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) What am I doing wrong? Why does it not attach a

Re: D-Link DUBE100 USB NIC does not work

2013-08-03 Thread Waitman Gobble
On Aug 3, 2013 8:05 AM, Victor Sudakov v...@mpeks.tomsk.su wrote: Dear Colleagues, It is written in axe(4) and in the HCL for 9.1 that D-Link DUBE100 is supported. I have bought one and the system shows it as ugen0.3: product 0x1a02 vendor 0x2001 at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)

Re: D-Link DUBE100 USB NIC does not work

2013-08-03 Thread Victor Sudakov
Waitman Gobble wrote: It is written in axe(4) and in the HCL for 9.1 that D-Link DUBE100 is supported. I have bought one and the system shows it as ugen0.3: product 0x1a02 vendor 0x2001 at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) What am I doing wrong? Why does it

x11-toolkits/open-motif build issue

2013-08-03 Thread Gary Aitken
Hi all, I'm running a newly upgraded 9.1. Did a portmaster -a to rebuild what I had up to a point, then tried building x11-toolkits/open-motif, as it is the component which failed when trying to build editors/openoffice-3. Seeing the same error I was seeing under 9.0. I suspect this is something

Archiving a log file

2013-08-03 Thread Frank Leonhardt
The answer isn't (AFAIK) newsyslog As a one-off, I need to archive an old log file - say httpd-access.log - while its still open. I don't want this to happen automatically and I don't want to set up newsyslog or anything like that. And I really don't want to mess about with signals to

Re: Archiving a log file

2013-08-03 Thread Dan Nelson
In the last episode (Aug 04), Frank Leonhardt said: The answer isn't (AFAIK) newsyslog As a one-off, I need to archive an old log file - say httpd-access.log - while its still open. I don't want this to happen automatically and I don't want to set up newsyslog or anything like that. And I

Re: Archiving a log file

2013-08-03 Thread Frank Leonhardt
On 04/08/2013 00:20, kpn...@pobox.com wrote: On Sun, Aug 04, 2013 at 12:11:21AM +0100, Frank Leonhardt wrote: The answer isn't (AFAIK) newsyslog As a one-off, I need to archive an old log file - say httpd-access.log - while its still open. I don't want this to happen automatically and I don't

Re: Archiving a log file

2013-08-03 Thread mikel king
Do you have logger installed? You coupled pipe your CustomLog into logger which will facilitate Apache writing to syslog, in lieu of directly writing the file. After some tweaking this should let you use the systems standard log rotation schema. Something like: CustomLog | logger -t httpd

Re: Archiving a log file

2013-08-03 Thread mikel king
On Aug 3, 2013, at 7:11 PM, Frank Leonhardt freebsd-...@fjl.co.uk wrote: The answer isn't (AFAIK) newsy slog I did some more digging on the whole log piping thing and apache includes a nifty little application called rotatelogs which lives in /usr/local/sbin/rotatelogs on my system that I