Re: SOLVED: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE

2010-09-08 Thread Oliver Fromme
to fix (such as Ctrl-Alt-Fx not working anymore). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registerge

Re: X11 question

2010-08-12 Thread Oliver Fromme
=startx It has four hits, but it's not difficult to narrow it down from there. > Also, is p5-Tk the same as Perl/Tk? I think so. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenche

Re: Grepping a list of words

2010-08-12 Thread Oliver Fromme
; likely easier to do. The question is what is more efficient. This might be important if that kind of grep command is run very often by a script, or if it's run on very large files. My guess is that one large regular expression is more efficient than many small ones. But I haven't done

Re: Re : Re : How to connect a jail to the web ?

2010-08-12 Thread Oliver Fromme
help to run tcpdump(1) on the host, so you can see the actual packets that are transmitted and received. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwalt

Re: Re : How to connect a jail to the web ?

2010-08-12 Thread Oliver Fromme
se show the _complete_ output from "ifconfig" and "netstat -rnfinet". Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsge

Re: How to connect a jail to the web ?

2010-08-12 Thread Oliver Fromme
rnel config: optionsIPFIREWALL optionsIPFIREWALL_FORWARD If you don't intend to use IPFW for anything else than fwd, you can also include the following line, so you don't have to install any additional "allow" rules: optionsIPFIREWALL_DEFAULT_TO_AC

Re: UPS question

2010-08-11 Thread Oliver Fromme
e less because no UPS has 100% efficiency. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-

Re: How to connect a jail to the web ?

2010-08-11 Thread Oliver Fromme
Brice ERRANDONEA wrote: > Oliver Fromme wrote: > > sysctl security.jail.allow_raw_sockets=1 > > I did it but ping still doesn't work. Which IP address are you using for the jail now? If you're using 127.0.0.1, you can only ping the host's own IP addresses, b

Re: Re : How to connect a jail to the web ?

2010-08-11 Thread Oliver Fromme
t; It was not clear after the various answers I received if I had to use > a firewall or not so I tried both ways. If your just starting with jails, it's better not to use a firewall for the jail. First get the jail running. When it's running, you can think about adding firewall

Re: MCA error

2010-08-10 Thread Oliver Fromme
ocessor. The word "COR" means that the error was correctable (e.g. with ECC mechanisms), so it is not fatal yet. Do you overclock that processor? Did you check that the cooling is sufficient? I.e. check the fan, remove dust etc. Best regards Oliver -- Oliver Fromme, se

Re: USB pen drive not detected

2010-08-10 Thread Oliver Fromme
:6e,17 > (Reserved ASC/ASCQ pair) > (probe0:umass-sim0:0:0:0): AutoSense failed > > No /dev/da0s1 is created and of course it can not be mounted. Do these commands help? # camcontrol reset 0 (wait a few seconds for the reset to complete) # camcontrol rescan 0 Best regards Oliv

Re: misc/149335: shell script runs on Linux but not on freebsd

2010-08-09 Thread Oliver Fromme
Paul Lambert wrote: > Oliver Fromme wrote: > > Paul wrote: > > > Thanks Oliver > > > I can just get the i386 vmware version and should install and run. > > > Last question is there a x86_64 bit Linux module? > > > > No, unfor

Re: misc/149335: shell script runs on Linux but not on freebsd

2010-08-08 Thread Oliver Fromme
I suggest you try asking in the freebsd-emulat...@freebsd.org mailing list. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Hande

Re: misc/149335: shell script runs on Linux but not on freebsd

2010-08-07 Thread Oliver Fromme
bogus line break which is causing this particular parsing error. Either join the lines, or put a backslash at the end of the first line (behind -aj). But I'm afraid this is the smallest of the problems. I suspect you won't be able to get this script to run correctly on FreeBSD, because it

Re: misc/149335: shell script runs on Linux but not on freebsd

2010-08-06 Thread Oliver Fromme
d? By the way, when debugging shell scripts it is very helpful to run the shell with -vx. Then it prints the script as it is being parsed, and additionally each command is printed after expansion. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Oliver Fromme
cant difference. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschä

Re: How to set device permissions at startup

2009-10-09 Thread Oliver Fromme
Aryeh M. Friedman wrote: > Oliver Fromme wrote: > > Roland Smith wrote: > > > But one has to run '/etc/rc.d/devfs restart' for newly added rules to > > > take > > > effect! (or reboot the system, which is overkill). > > > > Yes,

Re: for perl wizards.

2009-10-09 Thread Oliver Fromme
Warren Block wrote: > Oliver Fromme wrote: > > Warren Block wrote: > > > Oliver Fromme wrote: > > > > Gary Kline wrote: > > > > > > > > > > Whenever I save a wordpeocessoe file [OOo, say] into a > > > > > text

Re: for perl wizards.

2009-10-09 Thread Oliver Fromme
Warren Block wrote: > Oliver Fromme wrote: > > Gary Kline wrote: > > > > > > Whenever I save a wordpeocessoe file [OOo, say] into a > > > text file, I get a slew of hex codes to indicate the char to be > > > used. I'm looking for a per

Re: How to set device permissions at startup

2009-10-09 Thread Oliver Fromme
Roland Smith wrote: > Oliver Fromme wrote: > > Quote from the manpage: > > "The devfs.rules file provides an easy way to create and apply > > devfs(8) rules, even for devices that are not available at boot." > > > > The rules take effect when

Re: / almost out of space just after installation

2009-10-09 Thread Oliver Fromme
Randi Harper wrote: > / = 1GB > /var = 2GB > /tmp = 2GB Depending on the size of installed RAM, /tmp could also be a memory disk by default. I do that on all of my machines. I never have /tmp physically on disk anywhere. Best regards Oliver -- Oliver Fromme, secnetix GmbH

Re: / almost out of space just after installation

2009-10-09 Thread Oliver Fromme
for some time. Unfortunately it doesn't seem to be ready yet. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregiste

Re: How to set device permissions at startup

2009-10-09 Thread Oliver Fromme
t." The rules take effect whenever a new node (devide) appears, even after devfs was mounted. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsge

Re: for perl wizards.

2009-10-09 Thread Oliver Fromme
recode utf8..iso8859-15 file.txt To preserve the previous file contents, do this: $ recode utf8..iso8859-15 new.txt Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrun

Re: Show bandwidth usage by IP address (through pf)

2009-10-08 Thread Oliver Fromme
use pf, ipf, ipfw or none at all. If you want to see the amount of accumulated traffic (i.e. since boot) per interface and per IP address, the commands "netstat -i" and "netstat -ib" will tell that (in packets and in bytes, respectively). Best regards Oliver -- Oliver

Re: / almost out of space just after installation

2009-10-07 Thread Oliver Fromme
g partition which would be /var in your case, I think.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registerger

Re: Howto: ethernet card on dell M6300

2009-10-07 Thread Oliver Fromme
or use the online web form. That way your patches won't get lost. I think that the developers of the NIC drivers aren't always reading the questions@ mailing list. Thank you very much! Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing

Re: A general sed question

2009-10-07 Thread Oliver Fromme
uot;process substitution", so you don't have to create temporary files: diff -Buw <(sed 's/#.*//' GENERIC) <(sed 's/#.*//' MYKERNEL) I think bash has a similar feature, but I don't know the syntax, so please see the manpage if you're a bash user. If y

Re: FBSD 7.2 - ports blocked but no firewall

2009-10-07 Thread Oliver Fromme
n it's a configuration problem with that daemon. If it listens on all interfaces ("*"), then the problem is somewhere else, e.g. a packet filter (on the server or client side, or somewhere between), or maybe a typo when starting the client (wrong port number or address). Best r

Re: sendmail CLIENT_OPTIONS

2009-10-06 Thread Oliver Fromme
restart sendmail: "/etc/rc.d/sendmail restart" If you're extra paranoid, first do only "stop" instead of "restart", then verify that no sendmail processes are running, then perform the "start". Best regards Oliver -- Oliver Fromme, sec

Re: way to check an email without sending it??

2009-10-05 Thread Oliver Fromme
e address, it will not be completely without a trace. As soon as you connect to the SMTP port, it might cause an entry in that server's logfile, even before entering any SMTP command. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. H

Re: Jails: /bin/tcsh: Permission Denied

2009-10-05 Thread Oliver Fromme
e umask at the default of 022, unless you specifically know that you need a different one for a certain installation. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäfts

Re: Jails: /bin/tcsh: Permission Denied

2009-10-05 Thread Oliver Fromme
chpass to change the shell of the jailuser account. I tried > /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the > same "Permission denied" error. Even nologin gave "Permission denied" > instead of "This account is currently not available.&

Re: Jails: /bin/tcsh: Permission Denied

2009-10-05 Thread Oliver Fromme
ome ports do need /bin/csh during the build process, but for building ports I recommend to use a separate jail anyway, create packages and pkg_add them in the actual webserver jail. Just my 2 cents. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29,

Re: fix remote degraded gmirror

2009-10-05 Thread Oliver Fromme
owntime (for reboot), but it works fine. You can do that remotely without single user mode, but it's always better to be prepared to have access to the console. And of course, you should always have good backups. A RAID is never a substitute for a backup. Best regards Oliver -- O

Re: Voting for a native i386/amd64 flash player

2009-10-04 Thread Oliver Fromme
account and voting on the link below =D > > http://bugs.adobe.com/jira/browse/FP-1060 There's no way I'm going to create an account at Adobe and give them my personal data. No thanks. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktpla

Re: Every 12-hrs -- "ad0: TIMEOUT - WRITE DMA"

2009-10-04 Thread Oliver Fromme
/tech/techlib.nsf/techdocs/85256AB8006A31E587256A7900618DED/$file/djna_sp.pdf If that link doesn't work anymore, google for this: "OEM HARD DISK DRIVE SPECIFICATIONS for DJNA-3x" The maintenance mode is described in chapter 10.12 (page 99). Best regards Oliver -- Oliver Fromme, se

awk question

2009-04-09 Thread Oliver Fromme
miter character, you need to tell awk about it (i.e. use the -F option). This one should work: awk -F';' '$3 ~ /^[a-z]{5}$/ {print}' file If that still doesn't work for you, please specify your file format more exactly, and provide an example of the input lines. Best r

Re: powerd

2009-04-08 Thread Oliver Fromme
t; CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x673 Stepping = 3 > > Features=0x383fbff I'm afraid this one does not support CPU frequency control. Best regards Oliver -- Oliver Fromme, secnetix GmbH &a

Re: powerd

2009-04-08 Thread Oliver Fromme
ow", "cool'n'quiet" or similar features? Also, make sure that you have "device cpufreq" in your kernel configuration. If you don't have it, try to load the module: kldload cpufreq Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Ma

Re: Copying files without scp

2009-04-08 Thread Oliver Fromme
t you can use all of the ssh features, such as key authentication, server aliases (via ~/.ssh/config) etc. You can also use other file copy tools (such as cpdup) that can be tunneled through ssh. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b.

Re: C programming question

2009-04-07 Thread Oliver Fromme
in amount of knowledge. First you have to learn C programming. Then you have to learn about the termios(4) interface and related things. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, G

Re: gmirror THEN geli, correct?

2009-04-06 Thread Oliver Fromme
itions? Is this > > yes it is right order. No, there is no "right" or "wrong" order. It depends on what features of gmirror and geli you want to exploit. See my more detailed explanation in this thread. Best regards Oliver -- Oliver Fromme, secnetix G

Re: anybody know about a 3.01 package *With* browser?

2009-04-06 Thread Oliver Fromme
Robert Huff wrote: > Oliver Fromme writes: > > > > > I'm not sure why there's so much depenencies, but if anyone wants > > > > me to post it, I want to know. > > > > > > Because OOo declines to re-invent the wheel? Some

Re: gmirror THEN geli, correct?

2009-04-06 Thread Oliver Fromme
rive when its geli instance detects data corruption (if integrity verification is enabled). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungs

Re: anybody know about a 3.01 package *With* browser?

2009-04-06 Thread Oliver Fromme
upporting various graphics formats (png, jpeg, tiff) and scripting languages (python, perl). Well, it all adds up. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: se

Re: How to find out which ports contains a specified command.

2009-04-06 Thread Oliver Fromme
;porgle" search engine: http://www.secnetix.de/tools/porgle/?w=p&q=adduser However, there is an adduser command in /usr/sbin which is part of the FreeBSD base system. If some script complains about that command being missing, you should invstigate whether you do have that command in /usr/sb

Re: py24-gobject won't deinstall

2009-04-03 Thread Oliver Fromme
Richard DeLaurell wrote: > Oliver Fromme wrote: > > PS: To check the consistency of your package database, > > you can use this small script (requires Python): > > > > http://www.secnetix.de/olli/scripts/pkg_check_dependencies > > > > If you get no

Re: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools?

2009-04-02 Thread Oliver Fromme
sing it. I've seen FTP servers running on VMS or Novell Netware that looked _really_ weird. These are not supported by omi, I'm afraid. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergeri

Re: py24-gobject won't deinstall

2009-04-02 Thread Oliver Fromme
way. Best regards Oliver PS: To check the consistency of your package database, you can use this small script (requires Python): http://www.secnetix.de/olli/scripts/pkg_check_dependencies If you get no output from "pkg_check_dependencies -q", then your dependencies are good. -- O

Re: WinPopUp type messages from FreeBSD to Mac OS X

2009-04-02 Thread Oliver Fromme
ven be used to create simple dialogs (Such as "OK" / "Cancel") that can be used from shell scripts. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:

Re: Fetching directories inclusive subdirectories on HTTP server via fetch or othe FreeBSD-own tools?

2009-04-01 Thread Oliver Fromme
name.com -r /remote/dir -l ./local/dir Note that, by default, it tries to synchronize the local dir perfectly, i.e. if the remote dir is empty, it will wipe out the local dir. (The option "-P 0" will prevent omi from removing anything.) Best regards Oliver -- Oliver Fromme,

Re: Xeon Quad with 9 GB RAM - only 4 GB detected

2009-04-01 Thread Oliver Fromme
therwise it would not be usable for "fixit" things. Also, I don't see any specific exceptions concerning kernels for amd64 in the release build scripts (/usr/src/release). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M

Re: too many video drivers

2009-04-01 Thread Oliver Fromme
that existed in the 90s of the previous century. They're long gone, and I'm certain you won't need the driver. I'm surprised that it still exists today in Xorg at all. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b.

Re: Why?? (prog question)

2009-04-01 Thread Oliver Fromme
y). I could go on for hours, but this is really off-topic now, so we should take this to the -chat list (or to private mail). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Gesch

Re: analyzing httpd-error.log

2009-03-31 Thread Oliver Fromme
ch as perl error messages, exception traces from Python programs (usually multiple lines each), and so on. There is no simple way to reliably parse and analyze all of that completely automatically. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Gra

Re: Question about forcing fsck at boottime

2009-03-31 Thread Oliver Fromme
e and you can't afford the fsck time, consider using ZFS, which has a lot of benefits besides not requiring fsck. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäft

Re: Why?? (prog question)

2009-03-31 Thread Oliver Fromme
files: grep '^main' *.c Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 1

Tablet PC recommendation?

2009-03-27 Thread Oliver Fromme
l; I don't plan to do any fancy 3D stuff on it. Power consumption should be as low as possible. Any recommendations? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäft

Re: switching bsdlabel's label

2009-01-21 Thread Oliver Fromme
ot; partition. If it isn't, you won't be able to boot from that disk, unless you enter the real root partition at the boot0 prompt. So it is really a good idea to switch the partitions in the label before putting that disk into production. Best regards Oliver -- Oliver Fromme, secn

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit ?binaries?

2008-10-27 Thread Oliver Fromme
t is a pure computation library or similar. > That said it would be really nice if it ignored incompatible libraries :) No. Please don't put such pseudo-cleverness into rtld. It wouldn't be an improvement, in fact it might break some working configurations. Best regards Oliver

Re: kill -KILL fails to kill process

2008-09-19 Thread Oliver Fromme
Then the zombie will be inherited by the next process in the hierarchy (up to the init process 1 if required) which will then pick up the exit code and release the process entry. There can be other reasons on occasion, but those three are the most common ones. Simply look at the STAT

Re: Realtek 8111C?

2008-09-19 Thread Oliver Fromme
that are all identified as "8111C", but work slightly differently. So it is important to know whether your version of that NIC is already covered, or whether it has a product ID that the driver doesn't know about yet. As far as I can tell from the repository history, the driver is well

Re: freebsd 7.1 - Good luck

2008-09-19 Thread Oliver Fromme
ll for sure whether the latter works. If you want to get support information about a specific SiS chipset, you need to give us more information. If you've already installed FreeBSD, the output from "pciconf -lv" and the contents of /var/run/dmesg.boot would be a good start. Best re

Re: FreeBSD installation doesn't work

2008-09-19 Thread Oliver Fromme
Oliver Fromme <[EMAIL PROTECTED]> wrote: > Matthew Seaman wrote: > > Mel wrote: > > > that's aside from the fact that the root partition '/' always has to be > > > the > > > first partition, for the simple reason that everything else

Re: FreeBSD installation doesn't work

2008-09-19 Thread Oliver Fromme
("/"), not by the position of the entry within /etc/fstab. So the order in /etc/fstab really doesn't matter. Just make sure that your root file system is partition "a". Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 8

Re: NTP on 7.1 BETA amd64 odd behaviour

2008-09-19 Thread Oliver Fromme
# Flags to ntpd (if enabled). > > 99% of the cases you don't need ntpd_flags. Only if you want the drift file > in > a different location or use one of the more obscure options. In fact it might even be considered a bug that "-f /var/db/ntpd.dr

Re: disk writer utility

2008-09-18 Thread Oliver Fromme
Dánielisz László wrote: > What is your favorite disk writer utility? (under X) cdrecord for CDs, growisofs for DVDs. (in an xterm) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HR

Re: For this hardware amd64, ia64 or i386 to install?

2008-08-26 Thread Oliver Fromme
RAM (unless you enable the PAE option which as its own set of problems). Also, MySQL runs faster when compiled for 64bit. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfue

Re: sed/awk, instead of Perl

2008-08-26 Thread Oliver Fromme
f you really need the last percent of speed, then you should write your own specialized tool in C. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsr

Re: turn on beastie beside the 'Welcome to FreeBSD' boot optionsmenu

2008-08-25 Thread Oliver Fromme
Kevin Monceaux wrote: > Oliver Fromme wrote: > > How would you like this one? > > > > http://www.secnetix.de/olli/FreeBSD/vloader/screenshot5.png > > > > (It's work in progress. See the latest FreeBSD Quarterly Status > > Report.) > >

Re: Tailing logs

2008-08-22 Thread Oliver Fromme
egular expression. The script contains usage information. So you can do things like this: $ tail -f /var/log/maillog | bold -l myhost.mydomain (The -l option specifies to highlight the whole line, not just the part that matches.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG,

Re: rtprio + su - doesn't work

2008-08-22 Thread Oliver Fromme
su -m nobody -c 'id; /usr/sbin/rtprio' uid=65534(nobody) gid=65534(nobody) groups=65534(nobody) rtprio: realtime priority 31 # This is on 7-stable (a few months old, though). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.

Re: turn on beastie beside the 'Welcome to FreeBSD' boot optionsmenu

2008-08-22 Thread Oliver Fromme
Ivan Voras wrote: > Oliver Fromme wrote: > > enom-FBSD1 <[EMAIL PROTECTED]> wrote: > > > beastie_disable="NO" had no effect. > > > > That's because "NO" is already the default. Setting it > > to "YES" w

Re: X11 tunnel over ssh and then rsh

2008-08-22 Thread Oliver Fromme
xauth(1) or xhost(1), I think. Using xhost(1) is much easier, but it's insecure. On the other hand you're using rsh and a public network socket to connect to, so everything you do is insecure anyway. I hope you're going to make your users aware of that. Best regards Oliver -- O

Re: turn on beastie beside the 'Welcome to FreeBSD' boot optionsmenu

2008-08-22 Thread Oliver Fromme
;beastie" > which produced beastie in color > > Its good to see my old friend back where he belongs How would you like this one? http://www.secnetix.de/olli/FreeBSD/vloader/screenshot5.png (It's work in progress. See the latest FreeBSD Quarterly Status Repo

Re: Again: fsck_ffs memory requirements

2008-08-22 Thread Oliver Fromme
, store multiple backup disks in different places (e.g. one at home at one at your office, or at a friend's place, or even in a safe deposit box at your bank company), so you still have a good backup if your house burns down or an alien space ship crashes on it. Best regards Oliver -- Oli

Re: sed/awk, instead of Perl

2008-08-22 Thread Oliver Fromme
e FreeBSD base system, while perl is not. - The perl command you wrote above is pretty much a sed command anyway (except you incorrectly used non-portable regular expression syntax). Why use perl to execute a sed command? - It is generally advisable to use the smallest, most light-weig

Re: /etc/groups gone

2008-08-21 Thread Oliver Fromme
.bak. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik B

Re: Again: fsck_ffs memory requirements

2008-08-21 Thread Oliver Fromme
nd good luck with your recovery! Oliver PS: Better make good backups next time. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registe

Re: THE FOLLOWING DISK SECTORS COULD NOT BE READ

2008-08-21 Thread Oliver Fromme
Remember that disks are pretty cheap these days, and it might not be worth going through all that hassle in the first place. I'd recommend you buy a new drive and save you some hours of work, a bunch of hairs turning grey, and some swearing. Best regards Oliver -- Oliver Fromme, secnetix G

Re: sed/awk, instead of Perl

2008-08-21 Thread Oliver Fromme
27; | sed 's/@.*/@example.com/' Personally I like the last solution best, because it's short and easy to understand. BTW, all of the above command read from stdin and write to stdout, so you can use shell redirection to read from a file and/or write to a file. There is no need to use cat(1)

Copying a directory tree (was: xargs)

2008-08-21 Thread Oliver Fromme
ause they're abused most of the time and cause breakage that other people have to find and clean up afterwards. Been there, done that, a thousand times. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registerg

Re: [OT] Evaluate strings in bash

2008-08-21 Thread Oliver Fromme
Matias Surdi wrote: > Oliver Fromme escribió: > > Matias Surdi wrote: > > > Oliver Fromme escribió: > > > > Matias Surdi wrote: > > > > > # echo $BINMAKE > > > > > `if [ -x /usr/obj/usr/src/make.i386/make ]; then echo >

Re: X11 tunnel over ssh and then rsh

2008-08-21 Thread Oliver Fromme
ybody can connect to it from other machines and access your X server, provided it can authenticate with it (which is trivial, especially if you use xhost(1)). I'm curious, why can't you use ssh between hosts B and C? Using ssh would solve all of the problems at once. Best regard

Re: [OT] Evaluate strings in bash

2008-08-20 Thread Oliver Fromme
Matias Surdi wrote: > Oliver Fromme escribió: > > Matias Surdi wrote: > > > # echo $BINMAKE > > > `if [ -x /usr/obj/usr/src/make.i386/make ]; then echo > > > /usr/obj/usr/src/make.i386/make; else echo make; fi` -m /usr/src/share/mk > > >

Re: [OT] Evaluate strings in bash

2008-08-20 Thread Oliver Fromme
r/src/share/mk # newvariable=`eval echo $BINMAKE` By the way, this has nothing to do with bash. Those things work with every bourne shell, including FreeBSD's /bin/sh. It even works with Solaris' /bin/sh which is very far from a POSIX shell. :-) Best regards Oliver -- Oliver Fro

Re: Python script for configuring wifi hot spots on FreeBSD

2008-08-20 Thread Oliver Fromme
B. I didn't see it. Maybe the mailing list software removed it. I suggest you upload it somewhere and tell us the URL. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsf

Re: Recommended newfs settings for 600GB mail (maildir) store?

2008-08-20 Thread Oliver Fromme
ns that will be able to help it, I'm afraid. You should either use UFS with gjournal, or use ZFS. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwa

Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Oliver Fromme
install, we might be able to provide further assistance. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Regis

Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Oliver Fromme
hird-party i386 binary that requires a third- party library, then that library must be i386, too. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgese

Re: make.conf

2008-08-19 Thread Oliver Fromme
. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik

Re: Is it possible to run i386 only, on a amd64 freebsd 7?

2008-08-19 Thread Oliver Fromme
Christopher Joyner wrote: > Is there some way of doing that? Running i386 software on amd64 machine? Yes. FreeBSD/amd64 contains a compatibility facility for i386 binaries. It should just work out of the box, unless disabled explicitly. Best regards Oliver -- Oliver Fromme, secne

Re: Shell scripts: variable assignment within read loops

2008-08-19 Thread Oliver Fromme
David Wolfskill wrote: > I am writing a (Bourne) shell script that is intended (among other > things) to obtain information from a command, such as: > > netstat -nibd -f inet > > by reading and parsing the output. > > However, the "obvious" (to me) approach of piping the output o

Re: USB Drive Reliability

2008-08-19 Thread Oliver Fromme
ntioning is that a new USB stack is under development by Hans Petter Selasky. I'm not sure when it will be committed to 8-current, but I think it's pretty much ready. It will certainly fix some of the problems people are seeing with the old USB stack. Best regards Oliver -- Oliver F

Re: Cluster Filesystem

2008-08-13 Thread Oliver Fromme
at he calls "mirroring" in HAMMER has nothing to do with RAID-1 (like gmirror), but it is rather a kind of replication. The "mirroring" feature allows replication between local and/or remote file systems. So, yes, it is intended to support clustering. Clustering and SSI is the m

Re: Interpreting top, vmstat, and company

2008-08-13 Thread Oliver Fromme
of RAM is actively being used by processes. Everything else is just different kinds of cache. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesell

Re: Max. number of opened files, efficiency

2008-08-13 Thread Oliver Fromme
ects. If you want to use file semantics (with read() and write() methods etc.), you can easily do that in Python with memory objects, too. See the StringIO and cStringIO modules for details. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Ha

Re: usb-serial device

2008-08-13 Thread Oliver Fromme
he name and brand of your USB thermometer? I'm asking because I'm also interested in obtaining an external thermometer that would work with FreeBSD. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Reg

Re: Replacing tape changer with USB disk drives.

2008-06-17 Thread Oliver Fromme
e is 34 EUR. However, they do have a larger number of eSATA enclosures, about 30 different ones. But I don't know how well FreeBSD copes with hot-plugging of eSATA devices; I've never tried one of these. I'm not aware of any specific support yet, but it might work just as well as hot-plug

  1   2   3   >