Re: munin related

2013-10-07 Thread Dan Nelson
e. > *** [build] Error code 1 > > Stop in /usr/ports/sysutils/munin-node. > > > Do you have any  idea what can cause this? > The ports are up to date. Do you have nscd caching enabled? It sometimes doesn't realize immediately that users/groups have been added to the s

Re: test if script called by cron

2013-09-16 Thread Dan Nelson
arent, almost certainly cron" ;; esac -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Geom Multipath

2013-09-13 Thread Dan Nelson
;, which will build a temporary device that will be forgotten on reboot, or "gmultipath label", which writes a metadata block to the end of your disk. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list h

Re: UUID in fstab.

2013-08-26 Thread Dan Nelson
or each provider, including the uuid for each GPT partition. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Archiving a log file

2013-08-03 Thread Dan Nelson
just work. Don't be afraid of signals. Without signalling the logging process to switch to a new logfile, and without suspending the process while you do your copy, there's always going to be a window where you risk losing logged data. -- Dan Nelson dnel...@al

Re: TRIM on ZFS mirror

2013-08-02 Thread Dan Nelson
ol built on geom mirrors, it'll work on that, too, since gmirror forwards BIO_DELETE requests to its components. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listi

Re: TRIM and changing mount options

2013-07-24 Thread Dan Nelson
In the last episode (Jul 23), aurfalien said: > On Jul 23, 2013, at 7:55 PM, Dan Nelson wrote: > > In the last episode (Jul 23), aurfalien said: > >> At any rate, could some one; > >> > >> a) Explain how I am loading my file system as I'm used to fst

Re: TRIM and changing mount options

2013-07-23 Thread Dan Nelson
ary geom providers, but you can see whether zfs successfully sent any TRIM requests by watching the output of "sysctl kstat.zfs.misc.zio_trim". If .zio_trim.success increments and .unsupported (or .failed) doesn't, then you know that it's working. -- Dan Nelson

Re: How to get file from nfs id

2013-07-11 Thread Dan Nelson
ou can't get tcpdump to print it, but the getattr reply does include the inode of the file. If you start up wireshark and capture the same packets (or open a capture file created by tcpdump), the inode is stored in the "nfs->obj_attributes->attributes->fileid" field. Yo

Re: showing CAPSLOCK state on display

2013-06-20 Thread Dan Nelson
keyboard status leds > > Port: gkleds2-0.8.2_6 > Path: /usr/ports/sysutils/gkleds2 > Info: GKrellM Leds for CapsLock, NumLock and ScrollLock > > But don't look at the dependency lists, they're terrible. :-) xkbvleds and xkbwatch might also do what you wa

Re: apply /etc/ttys changes on system

2013-06-19 Thread Dan Nelson
, getty, or window information) may be changed in the ttys(5) file without a reboot by sending the signal SIGHUP to init with the command ``kill -HUP 1''. On receipt of this signal, init re-reads the ttys(5) file. -- Dan Nelson dnel...@allantgroup.com

Re: ZFS: raid VS copies=n

2013-06-07 Thread Dan Nelson
ing_tape https://blogs.oracle.com/relling/entry/zfs_copies_and_data_protection -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubsc

Re: check variable content size in sh script

2013-05-16 Thread Dan Nelson
ck length of" > FOOLEN=`echo $FOO | wc | awk '{print $3}'` > > You can then use $FOOLEN in a conditional. Much better way: FOO="Some string you want to check length of" FOOLEN=${#FOO} -- Dan Nelson dnel...@allantgroup.com _

Re: question on manpages/hier(7)

2013-05-09 Thread Dan Nelson
an/ directory at all, and have 7300 files in /usr/local/man/man?/ , so I'd say /usr/local/man/ is the correct location :) -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.

Re: Copying memstick image to a USB (flash/thumb) drive

2013-03-27 Thread Dan Nelson
to tape). conv=sync isn't needed since the source file is already a multiple of the target device blocksize (512 bytes), and bs=64k would be much faster when writing to cheap flash devices like USB sticks since they don't have a write cache and individual writes are slowish. --

Re: Upgrade from 6.4 to 9.1?

2013-03-16 Thread Dan Nelson
but it'd be safer to either hop from 6.4 -> (7-stable or 8-stable) -> 9 doing buildkernels and buildworlds, or just do a binary upgrade of kernel and base system to 9.1. -- Dan Nelson dnel...@allantgroup.com ___ freebsd

Re: NTFS 4 Terabyte drive problems on FreeBSD?

2013-02-12 Thread Dan Nelson
ks out fine in Windows. > > Does anyone know if this limitation exists, and if there is a > work-around? I only need READ access to this drive. You can try the sysutils/fusefs-ntfs port; the ntfs code in the base system hasn't had much work done on it l

Re: sh script code to get file size.

2013-01-18 Thread Dan Nelson
t -f %z filename". For the human-friendly version, "du -hA" will work. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: OT: What Might Break getbostbyname() ?

2013-01-16 Thread Dan Nelson
gging). You should see syscalls to open /etc/resolv.conf, read the contents, and then open a socket to the nameserver listed in that file. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.

Re: assigning values to variables in the background

2013-01-15 Thread Dan Nelson
10 > > > > a=$( > > ( > > echo netstat `netstat -I ng0 -q 1 $delay | tail -1` netstat > > ) & > > ( > > echo vmstat `vmstat -c 2 $delay | tail -1` vmstat > > ) > > ) > > > > echo $a This works, but now you have

Re: update to SASL breaks sendmail

2013-01-05 Thread Dan Nelson
In the last episode (Jan 05), Robert Huff said: > On 1/5/2013 8:30 PM, Dan Nelson wrote: > > In the last episode (Jan 05), Robert Huff said: > > >>This morning I updated cyrus-sasl to the latest version, which > >> bumps the library version from "

Re: update to SASL breaks sendmail

2013-01-05 Thread Dan Nelson
asl libraries, or make sure to preserve old shared libraries when upgrading packages. This isn't sendmail or sasl-specific; it's standard procedure when you upgrade any port that installs shlibs that other ports depend on. -- Dan Nelson dnel...@allantgroup.com ___

Re: what replaces javaws? using icedtea-web and openjdk6.

2012-12-06 Thread Dan Nelson
/openjdk6/jre/lib/rt.jar > /usr/local/bin/itweb-javaws: 11: Syntax error: Bad function name > > Any other ideas as to how to fix this? Don't try and run it through /bin/sh . The script uses bash-isms (array syntax specifically). Just run "itweb-javaws jviewer.jnlp"

Re: redirect incoming telnet to com port

2012-12-03 Thread Dan Nelson
serv, ser2net, tcpser), to a RFC-2217 interface that gives you full low-level control over a remote serial port (sredird), to a "managed" system like with optional encryption and per-user access control (conserver). -- Dan Nelson

Re: SSD for FreeBSD NAS device

2012-11-20 Thread Dan Nelson
ig ? For any "critical" server, don't think of RAID as an option, think of it as a requirement. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listin

Re: dd command: BSD analog of conv=fsync?

2012-11-18 Thread Dan Nelson
BSD immediately writes to the physical media. No flushing is needed. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Issues with smartd starting up at boot time - delays sever start?

2012-11-13 Thread Dan Nelson
tup > process? Try adding "mail" to the REQUIRE: line, since sendmail has that in its PROVIDES: line. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: harware compatibility queustion

2012-08-23 Thread Dan Nelson
iliconimage.com webpage uses both "SiI" and "Sil" spellings all over), so you should be safe. > Alternatively, can anybody recommend an inexpensive 4-port (or more) SATA > controller card that is known to work with FreeBSD? -- Dan Nelson dnel...@allantgr

Re: firefox & png

2012-08-22 Thread Dan Nelson
a year ago, so you have inherited the Off value from then. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Disk Errors

2012-07-24 Thread Dan Nelson
s > > Before I scrap the drive I just wanted to see if anyone could either > say for sure its hardware, or if something else could possibly cause > this. I don't suspect the controller, cable or dock as the problems > would likely occur with the western

Re: Proper Port Forwarding

2012-06-06 Thread Dan Nelson
Or raise net.inet.ip.fw.dyn_max to a larger number. The default 4096 may be too small. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questi

Re: Possible /bin/sh Bug?

2012-06-05 Thread Dan Nelson
Suppress the output of the trailing newline. -e Process C-style backslash escape sequences. The echo command understands the following character escapes: -- Dan Nelson dnel...@allantgroup.com ___

Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Dan Nelson
even aware of it > until you need that data On the other hand, even on a single-disk pool, ZFS stores two copies of all metadata, so the chances of actually losing a directory block are extremely remote. On mirrored or RAIDZ pools, you have

Re: Changing psm (mouse) resolution?

2012-04-19 Thread Dan Nelson
medium-low, medium-high or high. This option may not be supported by all the device. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: NFS locking and linux NFS server

2012-03-25 Thread Dan Nelson
d /mnt/ > 11:31 0 # mount | grep nfs > 10.70.255.8:/home/ on /mnt/ (nfs) Are you running statd and lockd (in rc.conf, rpc_statd_enable="YES" and rpc_lockd_enable="YES")? Make sure that "rpcinfo localhost" and "rpcinfo otherhost" both show "nloc

Re: Performance of Geli compared to Luks

2012-03-25 Thread Dan Nelson
ance differences due to the filesystems you're using. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Mapping back gptid -> device

2012-02-25 Thread Dan Nelson
280 3 516e7cba-6ecf-11d6-8ff8-00022d09712b (390G) > 861931520 15988703 - free - (7.6G) Try "gpart list" instead, and look at the "rawuuid" field. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-

Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade?

2012-02-22 Thread Dan Nelson
thinking some > executables in /rescue. "ls -l" shows most of them being 4MB each but > that can't be right. All the files in /rescue is hardlinked to each other, so they only consume 4MB total. -- Dan Nelson dnel...@allantgroup.com

Re: Asymmetric NFS Performance

2012-02-08 Thread Dan Nelson
but it needs to be fast, so no sticking a $10 thumb drive in and expecting any improvement :) -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: setuid directories - or other option?

2012-02-05 Thread Dan Nelson
tside of the standard unix mode system: setfacl -m group:foo:rwx:df:allow /path That will grant the "foo" group read/write/execute access on all files under "/path" , regardless of the regular owner/group/umask settings. Also, make sur

Re: setuid directories - or other option?

2012-02-05 Thread Dan Nelson
tside of the standard unix mode system: setfacl -m group:foo:rwx:df:allow /path That will grant the "foo" group read/write/execute access on all files under "/path" , regardless of the regular owner/group/umask settings. Also, make sur

Re: Identifying at jobs

2012-02-01 Thread Dan Nelson
man at: -c Cat the jobs listed on the command line to standard output. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubs

Re: Problems with libz since libz.so.5 is gone...

2012-01-26 Thread Dan Nelson
8x port to get libz.so.5 back until you can replace diablo-jdk16 with openjdk6. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsub

Re: Clarification about AMD64 port for Core Duo

2012-01-12 Thread Dan Nelson
ttp://ark.intel.com/products/family/22731 , hit the "Select All" button, and then "Compare now". -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mail

Re: little things

2012-01-11 Thread Dan Nelson
but the best solution is probably to poll them with snmp. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to &q

Re: Network throughput

2012-01-11 Thread Dan Nelson
orks. You will have to tell mrtg to make SNMPv2 requests for the 64-bit OIDs to appear, but that's it. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: Exact timestamp for sorting and renaming files according to creation order

2012-01-03 Thread Dan Nelson
In the last episode (Jan 03), Polytropon said: > On Tue, 3 Jan 2012 14:49:02 -0600, Dan Nelson wrote: > > If you ask for the date to be printed in "float" (F) format, it gives > > more precision. The default is unsigned int (U) format. > > > > % stat -

Re: Exact timestamp for sorting and renaming files according to creation order

2012-01-03 Thread Dan Nelson
7;ve read the manuals for stat as well as for strftime (which is the > facility stat's -t parameter addresses), but found nothing that is more > precise than seconds. > > Does anyone have a suggestion how to precisely determine the order files > have been created? -- Dan Ne

Re: why newline scape sequence does not work in Freebsd's bash

2011-12-30 Thread Dan Nelson
printf.html The %b conversion specification is not part of the ISO C standard; it has been added here as a portable way to process -escapes expanded in string operands as provided by the echo utility. See also the APPLICATION USAGE section of echo for

Re: What's wrong with this code?

2011-12-12 Thread Dan Nelson
a regular function and not a syscall stub. Have you built a libc with debugging symbols? ( easy way: add DEBUG_FLAGS=-g to the top of /usr/src/lib/libc/Makefile, and run "make obj && make clean && make depend && make && make install" in that directory )

Re: restore(8) to UFS on USB key: terrible slow

2011-12-08 Thread Dan Nelson
? that might help a little. A workaround would be to use mdconfig to create a block device (backed by either swap or a file on your hard drive) the same size as your flash drive, newfs and restore to that, then umount the filesystem and dd the raw image directly to your flash drive. -- Dan Ne

Re: Command which does not work anymore?

2011-12-05 Thread Dan Nelson
10mb), and wrote 4 blocks (again less than 10mb). Try using a smaller blocksize (8k or 4k), or use a buffering program like ports/misc/team or misc/buffer just in front of your dd command, so that dd always sees block-sized writes from its stdin stream. If that command worked in 8.2,

Re: How to persist tape configuration

2011-11-11 Thread Dan Nelson
ng standard in /etc. A quick grep doesn't come up with anything. An rc.d script is probably your best bet. You might be able to do it with a devd.conf entry, too. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-

Re: came error from nc

2011-10-31 Thread Dan Nelson
't support the "listen on a socket and run a command" option. Its -e is an ipsec option. If you install /usr/ports/net/netcat and use that command, it should work: netcat -l -p 12345 -e /usr/local/bin/bash -- Dan Nelson dnel...@allantgroup.com _

Re: idletime in login.conf

2011-10-31 Thread Dan Nelson
rd-party software. They are not implemented in the base system. [...] idletime timeMaximum idle time before logout. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: video acceleration on vbox

2011-10-25 Thread Dan Nelson
lected the GUESTADDITIONS configure option while building the port. The file is installed at /usr/local/lib/virtualbox/additions/VBoxGuestAdditions.iso -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list ht

Re: top: how to obtain which process take CPU time

2011-10-01 Thread Dan Nelson
at they are being created and then exit before top can print them. If you turn process accounting on (add accounting_enable="YES" to /etc/rc.conf, then run "/etc/rc.d.d/accounting start"), you can run the "lastcomm" command to see a log of every process that has ex

Re: Overwrite bsd tar

2011-09-23 Thread Dan Nelson
27;s a bug in bsdtar, I'm sure it could get fixed quickly given a sample tarfile. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: command to eject cd

2011-09-22 Thread Dan Nelson
In the last episode (Sep 22), Fbsd8 said: > Is there a console command to cause the cd/dvd device to open its drawer? "cdcontrol eject" should work if you only have one device. You can specify which device to send the eject request to with the -f flag. -- Dan Nelson

Re: Segmentation fault, _malloc_prefork () - debugging help needed

2011-09-19 Thread Dan Nelson
port, cd into /usr/src/ and run svn co svn://svn.freebsd.org/base/stable/8 . (or base/release/8.2.0, or base/stable/7 or base/head, depending on which version you want; you can browse the branches at http://svnweb.freebsd.org/base/ before you

Re: Negative ping times with FreeBSD 8.1-RELEASE on older Celeron system

2011-09-14 Thread Dan Nelson
6777215 / 3579545 = 4.6 seconds. Your negative time delta problem isn't due to rollover. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebs

Re: nss-3.12.11.with.ckbi.1.87.tar.gz: File unavailable (e.g., file not found, no access)

2011-09-05 Thread Dan Nelson
ile and try fetching again, since that's what ftp.mozilla.org currently resolves to. Remember to remove the line after fetching, since the IP may change later. http://www.robtex.com/dns/ftp.mozilla.org#records -- Dan Nelson dnel...@allantgroup.com _

Re: Accounting "disabled/enabled" messages

2011-09-05 Thread Dan Nelson
ing /var/account/acct rotation at 3am. See /etc/rc.d/accounting and /etc/periodic/daily/310.accounting . -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: wpa_cli issues

2011-08-19 Thread Dan Nelson
fetime = 43200 dot11RSNAConfigPMKReauthThreshold = 70 dot11RSNAConfigSATimeout = 60 Running "set" from within wpa_cli should print these values, too, according to the manpage. -- Dan Nelson dnel...@allantgroup.com ___ free

Re: Group permissions are broken?

2011-08-15 Thread Dan Nelson
ybe you need to log out and back in to a credential with the new group list? -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: dtrace function arguments

2011-08-15 Thread Dan Nelson
from comments in the source. http://fxr.watson.org/ is a handy resource for finding where in the source tree a given function is defined. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.

Re: listing ZFS pool name in fixit mode

2011-08-05 Thread Dan Nelson
de > so that I know which pool I have to import or if there might be another > way of fixing this problem. "zpool import" with no pool name will list all the pools available to import. -- Dan Nelson dnel...@allantgroup.com __

Re: gmake[4]: *** [Gdk-2.0.gir] Error 127 => updating gtk to latest on ports

2011-08-04 Thread Dan Nelson
tput Gdk-2.0.gir > /usr/local/bin/g-ir-scanner: not found g-ir-scanner is a python script. I bet the interpreter path on the first line of that file no longer points to a valid python executable. Have you converted python versions recently and forgot to rebuild all ports depending on it?

Re: larger disk for a zfs pool

2011-08-01 Thread Dan Nelson
disks, or that you have the zpool autoexpand=on attribute set. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any ma

Re: devel/libnotify: Error: shared library "notify.1" does not exist

2011-07-25 Thread Dan Nelson
re you trying to build (current are libnotify-0.5.2 and firefox-5.0,1)? Do you have a /usr/local/lib/libnotify.so.1 file? If not, try reinstalling the libnotify port. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd

Re: high performance open source DHCP solution?

2011-07-19 Thread Dan Nelson
better? 200 per second sounds like pretty good performance, but you haven't given any info about your setup either. Are you disk bound or CPU bound at this point? -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd

Re: Am I Missing A Compat Library?

2011-07-18 Thread Dan Nelson
made the problem disappear. > > So much for "dynamically liked libraries will make systems maintenance > simpler ..." BTW, Both portupgrade and portmaster (with the -w flag) will copy old shared libraries to /usr/local/lib/compat/pkg/ during an upgrade, s

Re: how to force a hard reboot remotely

2011-07-16 Thread Dan Nelson
le the system remotely even if the OS is hung. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebs

Re: IPFW Firewall NAT inbound port-redirect

2011-07-12 Thread Dan Nelson
In the last episode (Jul 12), Michael Sierchio said: > On Tue, Jul 12, 2011 at 9:03 AM, Dan Nelson wrote: > > In the last episode (Jul 12), Michael Sierchio said: > >> Is there a way of specifying a particular public address if there is > >> more than one bound to th

Re: IPFW Firewall NAT inbound port-redirect

2011-07-12 Thread Dan Nelson
e redirect_port syntax is described in the natd manpage: redirect_port proto targetIP:targetPORT[-targetPORT] [aliasIP:]aliasPORT[-aliasPORT] [remoteIP[:remotePORT[-remotePORT]]] -- Dan Nelson dnel...@

Re: IPFW Firewall NAT inbound port-redirect

2011-07-11 Thread Dan Nelson
believe you can run the nat config command manually with a new list (as in "ipfw nat 123 ...") to add/remove entries dynamically. I'm not at home to try it, and don't want to risk losing my remote connection if I mess up :) -- Dan Nelson dnel...@allantgroup.com __

Re: import users from LDAP to local password file (pwd.db)

2011-07-08 Thread Dan Nelson
ave a chance to grab the hash and do an offline brute-force attack on it. To ensure LDAP availability, the usual thing to do is set up multiple servers with LDAP replication between them, and configure your client's ldap.conf to use all of them (or use carp or some other IP management app to prov

Re: PID 11 using 400% CPU

2011-07-05 Thread Dan Nelson
In the last episode (Jul 05), manish jain said: > On 30 June 2011 10:26, Dan Nelson wrote: > > In the last episode (Jun 30), Manish Jain said: > > > > > >I have a strange problem with my 8.1 box. After booting, the hard > > >disk goes into a full-spe

Re: PID 11 using 400% CPU

2011-06-29 Thread Dan Nelson
lder with one thread per CPU that accounts for time the CPU isn't doing any work. If you want to reduce it's "CPU use", run other CPU-intensive processes :) BTW, Windows has the same thing if you look at task manager; it's c

Re: Performance of a USB ZIL for ZFS

2011-06-26 Thread Dan Nelson
;re an NFS server. You'll see a couple syncs per commit on a database server, but compared to the amount of regular reads and writes on your average system, you'll save under 1% of the writes by adding a fast ZIL. And remember, the ZIL is just a write log. Everything that gets written to

Re: pkg-config --cflags glib-2.0 gives wrong -I dir

2011-06-25 Thread Dan Nelson
ins a single file: glibconfig.h. On FreeBSD, this file is in /usr/local/include/glib-2.0/ along with all the other headers (headers don't belong in /lib/ anyway). Try putting the attached patch into the files directory of the glib20 port. -- Dan Nelson dnel...@allantgroup.com No

Re: Expanding tabs (was Re: kwik way?)

2011-05-18 Thread Dan Nelson
In the last episode (May 18), Gary Kline said: > should i use tr or sed to turn "\t" into " "? --i.e., tabs into spaces. tr or expand (depending on whether you want to honor the intent of the tab or not). sed is overkill. -- Dan Nelson

Re: License for console fonts

2011-05-09 Thread Dan Nelson
ixel taller than a default ROM font, which really makes it stand out. The 8x8 font was copied from the 8x16 font, but at 8x8 there really isn't much personalization you can do, apart from decide "serifs, or not?" :) -- Dan Nelson dnel...@allantgroup.com __

Re: ZFS Striping and Optimizing Capabilities

2011-04-09 Thread Dan Nelson
Ideally you should expand pools before they get too full, or zpool export/import them into new pools if you want good distribution over all disks. There have been hints for the last few years of a "bp rewite" feature appearing, but it has never materialized

Re: Place to install library of shell functions

2011-04-05 Thread Dan Nelson
. Ports that install scripts into /usr/local/lib probably either don't have separate script and lib install paths in their makefile (tcl probably), or their scripts aren't meant to be called directly (firefox). -- Dan Nelson dnel...@allantgroup.com _

Re: how to enable NCQ on Intel ESB2 AHCI SATA controller/ST31000340NS

2011-03-23 Thread Dan Nelson
ng should be supported by the controller. Looking at the ahci.c source, there is a quirk "AHCI_Q_NONCQ" that disables NCQ, but it it only used for VIA VT8251 chips. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebs

Re: User authentication on Linux with FreeBSD OpenLDAP backend fails: pam_ldap: error trying to bind as user/Failed password for

2011-03-18 Thread Dan Nelson
enticate over a non-encrypted connection. Try switching pam_ldap to ldaps (in your pam ldap.conf, either change your "uri" lines to ldaps:// or add the line "ssl on") and see if that works. -- Dan Nelson dnel...@allantgroup.com _

Re: booting a kernel directly from stage 1/2

2011-02-20 Thread Dan Nelson
tage 3 (i.e. running > /boot/loader), because i want to speed up the boot time. I don't think that's been possible for a long time. /boot/loader shouldn't add more than a fraction of a second if you set its timeout to 0. -- Dan Nelson dnel...@allantgroup.com ___

Re: Can RAID driver be loaded from loader.conf?

2011-02-09 Thread Dan Nelson
t fine. /boot/loader uses BIOS calls to read both the kernel and any modules listed in loader.conf, so if it can load the kernel, it should be able to load the modules too. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@fre

Re: top: where to find process state descriptions (i.e. STATE usem)?

2011-02-07 Thread Dan Nelson
er the kernel. There isn't one comprehensive index. "usem" sounds like maybe a semaphore operation? A quick grep of the kernel doesn't show any strings starting with "usem", though. Maybe if you run "procstat -k " on one of those processes you ca

Re: Debian GNU/kFreeBSD

2011-02-06 Thread Dan Nelson
; port. > What is this all about? What will be consequences for FreeBSD? Will a > lot of FreeBSD users move to that distribution? I expect Debian users will try GNU/kFreeBSD and like it so much they wtill switch to full FreeBSD. -- Dan Nelson

Re: serial config handbook: /boot.conf or /boot.config

2011-02-01 Thread Dan Nelson
/usr/src/sys/boot that reads a "/boot.conf". boot2 reads "/boot.config", and the loader will read "/boot/boot.conf" but that path is deprecated. I have -D in /boot.config on my SOL-enabled Dell 1950, which allows for both serial and keyboard input during the boot process

Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Dan Nelson
In the last episode (Jan 26), Christer Solskogen said: > On Wed, Jan 26, 2011 at 9:42 PM, Dan Nelson wrote: > > ZFS lets you add and detach mirrors on the fly, since you're not > > changing the capacity of the pool itself.  Sure, you're going to lose > > the conte

Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Dan Nelson
In the last episode (Jan 26), Christer Solskogen said: > On Wed, Jan 26, 2011 at 8:58 PM, Dan Nelson wrote: > > In the last episode (Jan 26), Christer Solskogen said: > >> On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann wrote: > >> > My question is: is it possibl

Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Dan Nelson
iginal disk. You'll end up with two mirrored vdevs in the pool. Performance probably won't be as good as a real mirror, though, since zfs doesn't know that two of its physical disks share a spindle. Original: pool1 da0 da1 New: pool1 mirror da0 da2p1 mirror

Re: How to adjust man page line length

2011-01-17 Thread Dan Nelson
vironment variables or the physical TTY. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "

Re: Can one Download Old Packages?

2011-01-10 Thread Dan Nelson
t; systems didn't have it installed. Actually, /dev has been managed by the devfs virtual filesystem driver since FreeBSD 5 (maybe even before that), so a reboot should repopulate /dev with the correct data. There shouldn't be anything that rsync would be able to sync. --

Re: Cannot build openjdk6 on Fbsd 8.1

2011-01-09 Thread Dan Nelson
me reason libxul isn't installed, try manually installing it, then re-run the openjdk6 build. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Configuring BCE Interrupt Coalescing on 8.1-RELEASE

2011-01-06 Thread Dan Nelson
http://fxr.watson.org/fxr/source/dev/bce/if_bce.c?v=FREEBSD81#L1012 -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any m

Re: snmp cpu

2010-11-30 Thread Dan Nelson
20994258 Total: 2648 Percent: 0.2 11.7 67.519.9 0.7 0.3 4.0 79.316.0 0.3 -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http

  1   2   3   4   5   6   7   8   9   10   >