Re: Two firefoxes, 1.5 and 2.0, script keeps running 1.5 instead of 2.0

2007-04-12 Thread Dan Nelson
or quote the asterisk so your shell doesn't try and expand it: firefox\* or firefox* -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: correct lib version?

2007-04-12 Thread Dan Nelson
/libpthread.so.2 file there. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: command to inentify the process that is listening in a port.

2007-04-11 Thread Dan Nelson
listening on this port questions, though, sockstat does just fine. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: command to inentify the process that is listening in a port.

2007-04-09 Thread Dan Nelson
(in ports) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: advice on anti-spam tools

2007-04-04 Thread Dan Nelson
than the default of 3 days (2 weeks), so frequent sending machines never leave the whilelist. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: advice on anti-spam tools

2007-04-02 Thread Dan Nelson
-greylist , which lets you adjust the greylist period and the whitelist timeout, and also can synch its database between multiple servers if you're running in a clustered setup. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions

Re: syslog.conf (5) man error?

2007-03-23 Thread Dan Nelson
alone, but it might be nice if the ftpd example had a !* line at the end, to show how to reset the program specification back to the default in a real config file. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing

Re: Updating GCC

2007-03-22 Thread Dan Nelson
a port to build with a particular version of gcc, add a USE_GCC=4.3 line to the port Makefile. This is mentioned in the USE_* section of http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html -- Dan Nelson [EMAIL PROTECTED

Re: Shared object libintl.so.6 not found

2007-03-21 Thread Dan Nelson
a port, btw. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: libstdc++6 dependency?

2007-03-18 Thread Dan Nelson
? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: nfsiod nfs_client_flags

2007-03-16 Thread Dan Nelson
'. If an nfsiod had been idle for 'iodmaxidle' seconds, the kernel will kill it off, but will always leave at least 'iodmin' processes running. All /sbin/nfsiod does is set the iodmax sysctl (which defaults to 20); it's not really needed anymore. -- Dan Nelson [EMAIL PROTECTED

Re: Memory leak and deep swap upon the restart?

2007-03-15 Thread Dan Nelson
to make it use less. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Trying to Upgrade Version of Tar on a 5.3 System.

2007-03-15 Thread Dan Nelson
the --newer and --newer-mtime options, which should suffice for what you need. You could also build the latest bsdtar from http://people.freebsd.org/~kientzle/libarchive/ , but since you just need it for this one operation, building gtar from ports is probably easier. -- Dan Nelson [EMAIL

Re: AMD64 -current iso laying around? or How to make a LiveCD from scratch?

2007-03-10 Thread Dan Nelson
://ftp.freebsd.org/pub/FreeBSD/snapshots/ ; pick the latest dated subdirectory. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

Re: FreeBSD equivalents of hwclock and adjtimex?

2007-03-10 Thread Dan Nelson
(unless the sysctl machdep.disable_rtc_set is set). I don't think there's a way to retrieve the current hardware clock settings from userland. Linux's adjtimex(2) is called ntp_adjtime(2) in FreeBSD. -- Dan Nelson [EMAIL PROTECTED

Re: w hangs before loading

2007-03-08 Thread Dan Nelson
/resolv.conf is configured correctly. It sounds like it could be taking a while to resolve the remote addresses connected. A good way to verify that this is the problem is to run w -n, which won't do DNS lookups. -- Dan Nelson [EMAIL PROTECTED

Re: Stopping named: rndc failed, trying killall: .

2007-03-08 Thread Dan Nelson
to configure that before rndc will work. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: /usr/local/etc/rc.d startup scripts

2007-03-07 Thread Dan Nelson
in alphabetical order after new scripts. Files not ending in .sh without a PROVIDE: line are ignored. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Error message: inetd[667]: ssh/tcp: bind: Address already in use

2007-03-07 Thread Dan Nelson
out the ssh line in inetd.conf and bounce inetd. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: MySQL Startup Script

2007-03-06 Thread Dan Nelson
you have mysql_enable=YES in your rc.conf file, since it's an rc.subr-style startup script. See the mysql-server script itself for more options. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http

Re: upgraded 6.2 and mysql lost all privileges

2007-03-06 Thread Dan Nelson
have touched them at all. Unless you reformatted /var or something :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: upgraded 6.2 and mysql lost all privileges

2007-03-06 Thread Dan Nelson
. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Sun, Java stuff...

2007-03-05 Thread Dan Nelson
based almost completely on open-sourced code in the first half of 2007. ( http://www.sun.com/software/opensource/java/faq.jsp ) As far at the timezone updates in the Diablo port, I had no problems downloading the tzupdater-1_0_1.zip file with /usr/bin/fetch. -- Dan Nelson

Re: can i set different moused_flags for tow mice?

2007-03-05 Thread Dan Nelson
rc.conf entries ). -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: does FreeBSD support ms chapv2 ?

2007-02-28 Thread Dan Nelson
is add enable mschapv2 to your ppp.conf file. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: NBU Linux Compat

2007-02-28 Thread Dan Nelson
In the last episode (Feb 28), Jeff Mohler said: Has anyone ever run Net Backup under Linux emulation? Why would you want to, when there's a native FreeBSD client? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org

Re: Patches in FreeBSD

2007-02-26 Thread Dan Nelson
, and restart named. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: freebsd-hackers list dead?

2007-02-24 Thread Dan Nelson
message. Since it's a 4xx-class error, your server should retry it and it should get delivered then. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: Ksh Shell script security question.

2007-02-15 Thread Dan Nelson
In the last episode (Feb 15), Thomas Dickey said: On Wed, Feb 14, 2007 at 10:57:12PM -0600, Dan Nelson wrote: In the last episode (Feb 14), Dak Ghatikachalam said: I am am puzzled how to secure this code when this shell script is being executed. ${ORACLE_HOME}/bin/sqlplus -s EOF

Re: Ksh Shell script security question.

2007-02-14 Thread Dan Nelson
the TMPDIR variable, though, so if you create a ~/tmp directory, chmod it so only you can access it, then set TMPDIR=~/tmp , you will be secure even if you're using ksh93. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org

Re: Bad sector on drive ...

2007-02-09 Thread Dan Nelson
and access /dev/ad4 . I'd try reading the bad block with dd to verify it's the right one before doing a write, though. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: Trapping signal from shell script... doesn't seem to work?

2007-02-07 Thread Dan Nelson
: #! /bin/sh pid= onint() { kill $pid } trap onint SIGINT ./hardguy pid=$! wait $pid -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: FreeBSD 6.1 - libltdl

2007-02-03 Thread Dan Nelson
ltdl libltdl-1.5.22_1System independent dlopen wrapper bash-2.05b# uname -a FreeBSD xxx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 bash-2.05b# Add -L /usr/local/lib to your gcc commandline. -- Dan Nelson

Re: how do i find libphp4.so??

2007-02-03 Thread Dan Nelson
of the pkg_ utilities supposed to give the cntents of every pacake or port? Are you asking where libphp4.so is currently installed on your system (find or locate will tell you), or which port installs libphp4.so (I'd start looking at the php ports and their pkg-plist files)? -- Dan

Re: Tapecopy(1) Function Query

2007-02-02 Thread Dan Nelson
drive type and write to another, assuming the destination tape is not smaller than the source :) It really doesn't care; they're all the same from its point of view. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing

Re: Determining daylight savings changes on BSD

2007-02-02 Thread Dan Nelson
to see if you need updating: date -r 1173679260 If that prints Mon Mar 12 02:01:00 EST 2007 you know you need to update. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: File won't move

2007-02-02 Thread Dan Nelson
mapped to the user nobody). Try manipulating the file directly on the NFS server. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

Re: Determining daylight savings changes on BSD

2007-02-02 Thread Dan Nelson
In the last episode (Feb 02), Jerry McAllister said: On Fri, Feb 02, 2007 at 10:36:37AM -0600, Dan Nelson wrote: In the last episode (Feb 02), Robert Fitzpatrick said: I use the following command on our CentOS Linux servers to find out if the system is ready for the daylight savings

Re: Determining daylight savings changes on BSD

2007-02-02 Thread Dan Nelson
In the last episode (Feb 02), Jerry McAllister said: On Fri, Feb 02, 2007 at 01:18:14PM -0600, Dan Nelson wrote: $ TZ=America/New_York ; export TZ $ date -r 1173592860 Sun Mar 11 01:01:00 EST 2007 $ date -r 1173596460 Sun Mar 11 03:01:00 EDT 2007 $ date -r 1173679260 Mon Mar 12 02

Re: Determining daylight savings changes on BSD

2007-02-02 Thread Dan Nelson
In the last episode (Feb 02), Robert Fitzpatrick said: On Fri, 2007-02-02 at 10:36 -0600, Dan Nelson wrote: In the last episode (Feb 02), Robert Fitzpatrick said: I use the following command on our CentOS Linux servers to find out if the system is ready for the daylight savings changes

Re: question about daylight savings

2007-01-31 Thread Dan Nelson
port, then rerun tzsetup. Upgrading to FreeBSD 5.5 or 6.2 will also get you the new zone files. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: stupid scripting question: zsh

2007-01-29 Thread Dan Nelson
login ]] ; then # code that would be better off in zprofile fi if [[ -o rcs -o interactive ]] ; then # code that would be better off in zshrc fi if [[ -o rcs -o login ]] ; then # code that would be better off in zlogin fi -- Dan Nelson [EMAIL PROTECTED

Re: stupid scripting question: zsh

2007-01-29 Thread Dan Nelson
In the last episode (Jan 29), David Benfell said: On Mon, 29 Jan 2007 17:19:40 -0600, Dan Nelson wrote: In the last episode (Jan 29), David Benfell said: I've been upgrading my FreeBSD system into a fully-fledged desktop system. zsh as installed (from the port) seems only

Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...

2007-01-26 Thread Dan Nelson
everything up. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Disk Space Requirements

2007-01-26 Thread Dan Nelson
of space for /usr/obj. I recently upgraded a system with almost-full drives by mounting a 1GB flash drive on /usr/obj, and it didn't get over half full. If you don't already have a checked-out /usr/src tree, that'll require another 500MB. -- Dan Nelson [EMAIL PROTECTED

Re: [OT] What does this pipe do? (fwd)

2007-01-23 Thread Dan Nelson
for `21 |', which connects both the standard output and the standard error of the command to the standard input of the next. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Re: how to know what DNS server is being used

2007-01-22 Thread Dan Nelson
After: 1 week Apparently the MFC never happened :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: virtual memory management

2007-01-20 Thread Dan Nelson
activity, you're okay. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Password on command line with SCP

2007-01-19 Thread Dan Nelson
/lang/expect to script entering the password, but it's more fragile than using keys. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

Re: JDK15 port installation

2007-01-18 Thread Dan Nelson
In the last episode (Jan 18), Alain G. Fabry said: I'm trying to install the JDK15 port (need a JVM for gallery remote), but it seems to crash on the mozilla dependancy. Here is the output where it crashes: Try the diablo-jdk15 port instead; it's a precompiled package. -- Dan Nelson

Re: CVSup core dumping

2007-01-18 Thread Dan Nelson
/ports-supfile Probably unrelated to the coredump, but if you're updating ports, you probably want *default release=cvs tag=. in your cvsup file. What you have (tag=RELENG_6_2) will give you the same ports tree that was burned onto the 6.2 CDs, which will never change. -- Dan Nelson

Re: ports - make index fail

2007-01-18 Thread Dan Nelson
Finished successfully f62# cd /usr/ports f62# make index Generating INDEX-6 - please wait..perl: not found Install perl. Or run make fetchindex, which will download a pre-built INDEX file. -- Dan Nelson [EMAIL PROTECTED

Re: console vesa mode switch needed earlier in boot phase

2007-01-17 Thread Dan Nelson
would be as early as you can get, since that's what usually mounts /usr. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: '/usr/local/etc/rc.d/squid stop' problem

2007-01-16 Thread Dan Nelson
manually from a shell prompt, then switch to another window/vty and take a look at /usr/local/squid/logs/cache.log . My guess is it's waiting for an active client connection to exit. The default for shutdown_lifetime in squid.conf is 30 seconds. I set it to 5 on my systems. -- Dan Nelson

Re: Daylight savings time / 6.1 and 4.11

2007-01-16 Thread Dan Nelson
(RELENG_4_11 or RELENG_6_1), you would have them, though. Quickest fix would be to install the misc/zoneinfo port, which doesn't care what release you're running. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list

Re: Antivirus.

2007-01-15 Thread Dan Nelson
milter. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Documenting a ports depedency tree?

2007-01-15 Thread Dan Nelson
. Also try build-depends-list, package-depends-list, and run-depends-list, depending on what you're looking for. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: Identifying a Remote Machine.

2007-01-14 Thread Dan Nelson
have a machine on the same subnet as your targets, would be to ping each one, then compare the MAC addresses to determine which ones are on the same host as each other. Or, if you have login access to the servers, just run ifconfig -a to list the IPs. -- Dan Nelson [EMAIL

Re: binary called top not have realtime filter/search? [#SHAZBOTAA7235423352662A]

2007-01-12 Thread Dan Nelson
), or sorting by size (o size) works for me. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: cvsup'dating several machines

2007-01-11 Thread Dan Nelson
compiles. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: iSCSI

2007-01-09 Thread Dan Nelson
should the client need to do an fsck? From its point of view it should just look like the target had the iSCSI equivalent of a bus reset. It should resend any queued requests and continue. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd

Re: pwgen's seeding looks insecure

2007-01-08 Thread Dan Nelson
/dev/random as a seed. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: pwgen's seeding looks insecure

2007-01-08 Thread Dan Nelson
In the last episode (Jan 08), Garrett Cooper said: On Jan 8, 2007, at 10:36 AM, Dan Nelson wrote: Even better: make RANDOM() call random() instead of rand(), and initialize the rng with srandomdev(). Another random password generator is in security/apg, and that one already uses /dev

Re: USB drive is a CDROM drive and is not writable

2007-01-07 Thread Dan Nelson
you'd see the real writable FAT filesystem there. I wonder if it is doing fat-cd9660 filesystem emulation on the fly? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: tracking port requires

2007-01-05 Thread Dan Nelson
/packagename/+CONTENTS file. The reverse link is stored in /var/db/pkg/packagename/+REQUIRED_BY . You can list the dependencies with the pkg_info -r packagename command, and the packages that require a package with pkg_info -R packagename. -- Dan Nelson [EMAIL PROTECTED

Re: Massive upgrade after updating gnutls-1.4.5 port

2007-01-04 Thread Dan Nelson
not depend on the rest of ports listed in /var/db/pkg/gnutls-1.4.5/+REQUIRED_BY, see [1]). These ports are (in my system): In reality, nothing should depend on gnutls, since we have openssl in the base system. I have WITHOUT_GNUTLS=yes in /etc/make.conf. -- Dan Nelson [EMAIL PROTECTED

Re: Multiple port versions

2007-01-03 Thread Dan Nelson
with each other. You can check by running pkg_info -L on a couple of them and see that they either install into their own subdirectories, or have version prefixes on their files. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions

Re: OT: stupid sh scripting question

2007-01-03 Thread Dan Nelson
not exist. return 1 fi You need a space between foo and ] . -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: DB43 sysmlink problem

2007-01-03 Thread Dan Nelson
-x 1 root wheel 12 Nov 8 10:55 /usr/local/bin/db_dump-4.3 - db43/db_dump $ -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

Re: FreeBSD process STATES and their meanings

2007-01-01 Thread Dan Nelson
/2006-December/138028.html http://lists.freebsd.org/pipermail/freebsd-questions/2006-December/138062.html -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: LINUX_LDLIBS = -ldl

2006-12-31 Thread Dan Nelson
In the last episode (Jan 01), dima said: I'm trying to compile TransConnect (http://sourceforge.net/projects/transconnect), but compilation aborts with a message: /usr/libexec/elf/ld: cannot find -ldl The functions in Linux's libdl are in FreBSD's libc, so just remove -ldl . -- Dan

Re: Any documentation for the FreeBSD port of mplex?

2006-12-31 Thread Dan Nelson
port. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Information about loader and ldconfig

2006-12-31 Thread Dan Nelson
the databases/libdbi-drivers port needs to add a USE_LDCONFIG= ${PREFIX}/lib/dbd line to its port Makefile. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: LINUX_LDLIBS = -ldl

2006-12-31 Thread Dan Nelson
In the last episode (Jan 01), dima said: On Sun, 31 Dec 2006, Dan Nelson wrote: I'm trying to compile TransConnect (http://sourceforge.net/projects/transconnect), but compilation aborts with a message: /usr/libexec/elf/ld: cannot find -ldl The functions in Linux's libdl

Re: baseaudit?

2006-12-29 Thread Dan Nelson
In the last episode (Dec 29), Jeff Hinrichs - DMT said: Is there an a sibling to portaudit that monitors your base ? Subscribing to the freebsd-security-notifications list (very low traffic), or periodically checking http://security.freebsd.org/ is about it. -- Dan Nelson

Re: Calculate the time of last modification of a file

2006-12-27 Thread Dan Nelson
! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } You can use stat -f '%m' $FILE, which is identical to Linux's stat -c '%Y' $FILE . -- Dan Nelson [EMAIL PROTECTED

Re: Override dummynet delay limit

2006-12-27 Thread Dan Nelson
prompt$ ipfw pipe 1 config delay 6 ipfw: delay must be 1 You need to rebuild ipfw :) cd to /usr/src/sbin/ipfw, run make obj make depend make make install . -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org

Re: Is there UNIX analog of ftp command pls?

2006-12-21 Thread Dan Nelson
use alias pls ls | less Another way to do it would be to write a script named pls and put it in your path: #! /bin/sh ls $@ | less -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http

Re: Is there UNIX analog of ftp command pls?

2006-12-21 Thread Dan Nelson
In the last episode (Dec 21), [EMAIL PROTECTED] said: On Thu, Dec 21, 2006 at 12:45:35PM -0600, Dan Nelson wrote: In the last episode (Dec 19), [EMAIL PROTECTED] said: Is there UNIX analog of ftp command pls, i. e. ls | less ? Thank you for response, but I know how to write aliases

Re: SCSI Tape Drive Problems

2006-12-20 Thread Dan Nelson
In the last episode (Dec 20), Mark Kane said: On Tue, Dec 19, 2006, at 23:16:45 -0600, Dan Nelson wrote: Timeouts and unexpected busfree errors like these are indicative of cabling or termination problems. I don't think DLTs auto-terminate, for example, so try putting an external

Re: SCSI Tape Drive Problems

2006-12-19 Thread Dan Nelson
full messages. Completely unrelated, but it's interesting that the string SCBs in those logs got translated to SCDel! I've never seen Backspace-Delete conversion like that before :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions

Re: How did the /etc/resolv.conf appear?

2006-12-17 Thread Dan Nelson
the system found these IP addresses? Are these entries created during installation? They could have been, if you selected DHCP configuration. In addition to your IP address, the server can also hand out DNS server addresses, which dhcpd will use to create a resolv.conf file. -- Dan Nelson

Re: On-the-fly auto charset conversion or something

2006-12-17 Thread Dan Nelson
any idea of how to solve this problem? I'm thinking on-the-fly charset conversion, but I am prepared to reconsider my workflow habits and adopt some policies. I think you can use the luit command to translate between other character sets on a utf-8 terminal. -- Dan Nelson [EMAIL

Re: write(2) takes 17 seconds even with O_NONBLOCK

2006-12-17 Thread Dan Nelson
on how long the write will take, however. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Translate job number from atq to commands that will run

2006-12-16 Thread Dan Nelson
qn, where q is the queue, n is the job number in hex, and t is the time the job is scheduled in hex (in minutes from the Epoch, so multiply by 60 to get the more-standard seconds from Epoch). For more info, see at at manpage and /usr/src/usr.bin/at/at.c . -- Dan Nelson [EMAIL

Re: Black Lines on my monitor

2006-12-14 Thread Dan Nelson
your refresh rate (the flicker gets annoying to me below than 75Hz though). If you have an LCD monitor and are using a VGA cable, getting a video card with DVI outputs will fix the problem too. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd

Re: Shar question

2006-12-13 Thread Dan Nelson
it a flag or something, but I'm not sure which one to use. How do I make a shar file out of a directory and ALL it's contents. If you want to get sneaky, you can use bsdtar, since that's one of its supported output formats: tar --format=shar -cvf foo.shar foo -- Dan Nelson [EMAIL

Re: How does one bond two interfaces together to share bandwidth?

2006-12-13 Thread Dan Nelson
address is seen on both ports, and disable one of the ports (or even both). Most managed switches should support it; they may call it trunking. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http

Re: dns cache on a desktop

2006-12-09 Thread Dan Nelson
no cache to flush :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Building system libs with debugging symbols

2006-12-08 Thread Dan Nelson
tree matches your installed system. Doing it with newer sources is trickier since you may have to manually update includes or other dependant libraries, and building the whole world is usually easier. -- Dan Nelson [EMAIL PROTECTED

Re: equivalent to date -a

2006-12-03 Thread Dan Nelson
for adjtime in likely-seeming parts of /usr/src didn't turn up anything either. There's an indirect one via ntpdate -B ... -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: using netcat (nc) to POST data to a web server ...

2006-11-30 Thread Dan Nelson
in a couple of different formats. With nc, you'll have to fabricate the entire request and pipe it in. Easy enough to determine the format by tcpdumping a browser session, but curl has done the work and lets you do error checking on the response. -- Dan Nelson [EMAIL PROTECTED

Re: IPFW: delete range of rules?

2006-11-29 Thread Dan Nelson
calling ipfw: ipfw delete $(jot - 500 550 1) or, if you use zsh: ipfw delete {500..550} It would also be possible to extend the ipfw 'delete' rule parser to handle ranges. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions

Re: Checking processes without PIDs

2006-11-27 Thread Dan Nelson
, though. Most of the time they're in /var/run or a subdirectory. If it doesn't generate a pidfile, you can try the pgrep command, which is better than a ps|grep combo because it won't ever accidentally match itself. -- Dan Nelson [EMAIL PROTECTED

Re: Checking processes without PIDs

2006-11-27 Thread Dan Nelson
to include it, so I'm not sure why it's not in your ps output there. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: Empty directory 60M in size; used to contain 1.7 million files

2006-11-26 Thread Dan Nelson
. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: TCP parameters and interpreting tcpdump output

2006-11-18 Thread Dan Nelson
To unsubscribe, send any mail to [EMAIL PROTECTED] -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Real Memory and Swap Space.

2006-11-08 Thread Dan Nelson
. If you never ran out of swap with 512MB, you probably won't with 2GB either. You'll also want to enable mini crashdumps (add debug.minidump=1 to /etc/sysctl.conf), since if the system panics, it won't be able to dump 2GB of RAM into 1GB of swap :) -- Dan Nelson [EMAIL PROTECTED

Re: free memory keeps going down on 5.4-release

2006-11-06 Thread Dan Nelson
will see Inact, Cache and Buf increase. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: 1000 user_hz or hz Values in FreeBSD 6.1 (AMD64)

2006-11-03 Thread Dan Nelson
Hertz. Most linux OS's default at 250 and in order to change it the kernel needs to be recompiled. Does this work the same way for FreeBSD 6.1? Just edit /boot/loader.conf, add the line kern.hz=1000 and reboot. -- Dan Nelson [EMAIL PROTECTED

<    1   2   3   4   5   6   7   8   9   10   >