Re: Help with Crontab

2007-12-07 Thread Drew Tomlinson
On 12/7/2007 10:49 AM Kevin Kinsey wrote: Drew Tomlinson wrote: I'm trying to use cron to run a script on the first Sunday of every month at 0930. I used this entry in the crontab: # Run 1st Sunday at 0930 - Fulls 30 9 1-7 * 7 /usr/local/scripts/backup_bootstrap.sh Yet this script jus

Help with Crontab

2007-12-07 Thread Drew Tomlinson
I'm trying to use cron to run a script on the first Sunday of every month at 0930. I used this entry in the crontab: # Run 1st Sunday at 0930 - Fulls 30 9 1-7 * 7 /usr/local/scripts/backup_bootstrap.sh Yet this script just ran on Thursday, December 6 at 0930. Why? I just added it to cron s

Re: Upgraded Samba and Can't Connect with Win XP -- SOLVED!!!

2007-07-29 Thread Drew Tomlinson
On 7/29/2007 4:46 AM Rakhesh Sasidharan said the following: On Sun, July 29, 2007 01:51, Drew Tomlinson wrote: I upgraded samba to 3.0.25a from 3.0.24. Now I can't connect with Windows XP clients however smbclient both locally and remotely works just fine. Basically when connecting

Upgraded Samba and Can't Connect with Win XP

2007-07-28 Thread Drew Tomlinson
I upgraded samba to 3.0.25a from 3.0.24. Now I can't connect with Windows XP clients however smbclient both locally and remotely works just fine. Basically when connecting from Windows XP, I see the connection in log.smbd and then it's immediately closed. See this snip: [2007/07/28 14:36:25

Re: pf and keep/modulate state on 6.2

2007-07-25 Thread Drew Tomlinson
On 7/25/2007 12:50 PM JD Bronson wrote: At 08:55 PM 7/25/2007 +0200, Max Laier wrote: On Saturday 21 July 2007, Jordan Gordeev wrote: > I'm replying to an old and long-forgotten thread to report my recent > findings. > There's a bug in PF with modulate/synproxy state. Modulate/synproxy > state

Re: How to Upgrade Berkeley DB?

2007-04-27 Thread Drew Tomlinson
On 4/27/2007 1:09 PM Lowell Gilbert wrote: Drew Tomlinson <[EMAIL PROTECTED]> writes: On 4/27/2007 10:58 AM Lowell Gilbert wrote: Drew Tomlinson <[EMAIL PROTECTED]> writes: Thanks for all the replies. Funny thing is that when trying the "portupgrade -o&qu

How to Upgrade Berkeley DB? (Was Re: How to Upgrade Portupgrade?)

2007-04-27 Thread Drew Tomlinson
On 4/27/2007 10:58 AM Lowell Gilbert wrote: Drew Tomlinson <[EMAIL PROTECTED]> writes: Thanks for all the replies. Funny thing is that when trying the "portupgrade -o" solution and using "pkg_info | grep portupgrade", no results were returned. The /var/db/pkg di

Re: How to Upgrade Portupgrade?

2007-04-27 Thread Drew Tomlinson
On 4/27/2007 6:40 AM Lowell Gilbert wrote: Kevin Kinsey <[EMAIL PROTECTED]> writes: Drew Tomlinson wrote: So this seems like updating portupgrade should be trivial but I am stuck. Suggestions appreciated. Yeah, I missed the note on this one, too. Not the change note,

How to Upgrade Portupgrade?

2007-04-27 Thread Drew Tomlinson
I'm attempting to update my systems. I see that portupgrade has been moved to ports-mgmt/portupgrade in early February. I've Googled but can not find any posts (there must be some?) on the proper steps to update. I tried the standard and here is the output: lacksheep# portupgrade -n ports-m

Re: New to FreeBSD

2007-04-04 Thread Drew Tomlinson
On 4/4/2007 3:51 PM Ivan Zenzerović wrote: Hi, I just put instead of sk0 nve0 (wich is my ethernet card). But, on boot i see that it searches for ALTQ and I saw that it can be turned on only by configuring the kernel. Is there maybe any other way? Ivan FYI - Top posting is frowned upon here.

Re: Help Finding Disk Drive Usage

2007-03-30 Thread Drew Tomlinson
On 3/30/2007 8:28 AM Josh Carroll said the following: So why does du report only 2.0 GB of usage while df reports over 6 GB? Where has my storage gone? Or do I not understand proper usage of du? If you removed files that still had open file handles (e.g. from /var/log), they are likely still

Help Finding Disk Drive Usage

2007-03-30 Thread Drew Tomlinson
I have a small system that has happily run various versions of FBSD over the years. Currently it's on 6.1-R-p11. This morning I found /usr was out of disk space. I freed a little by clearing /usr/tmp, /usr/obj, and some log files I didn't need in /usr/var/log just to keep the "/usr: write f

pf and ALTQ Help

2007-01-29 Thread Drew Tomlinson
I recently began using a VoIP phone service (SunRocket) and need to ensure that the SunRocket hardware has priority over any other traffic on my slow DSL connection. For years I've used ipfw for my firewall so I tried shaping traffic with dummynet but it seems unreliable. Because the man page

Re: Simple DNS For Private LAN -- SOLVED

2006-07-06 Thread Drew Tomlinson
Warehouse http://www.alchemistswarehouse.com On 6/28/2006 7:43 AM Giorgos Keramidas wrote: On 2006-06-23 14:26, Drew Tomlinson <[EMAIL PROTECTED]> wrote: If you use NAT, then I can guide you through setting up a local ``master zone'' that is only visible inside your home network, and a ``sla

Re: Simple DNS For Private LAN

2006-06-28 Thread Drew Tomlinson
On 6/28/2006 7:43 AM Giorgos Keramidas wrote: On 2006-06-23 14:26, Drew Tomlinson <[EMAIL PROTECTED]> wrote: If you use NAT, then I can guide you through setting up a local ``master zone'' that is only visible inside your home network, and a ``slave zone'' that pul

Re: Simple DNS For Private LAN

2006-06-23 Thread Drew Tomlinson
What's dotster? Sorry for the top post but that seems all my Blackberry will allow Thanks, Drew -Original Message- From: Philip Hallstrom <[EMAIL PROTECTED]> Date: Fri, 23 Jun 2006 23:24:34 To:Andy Greenwood <[EMAIL PROTECTED]> Cc:Drew Tomlinson <[EMAIL PROTECTED]>,FreeBSD Ques

Re: Simple DNS For Private LAN

2006-06-23 Thread Drew Tomlinson
On 6/23/2006 8:54 AM Giorgos Keramidas wrote: On 2006-06-23 08:21, Drew Tomlinson <[EMAIL PROTECTED]> wrote: I'm having a hard time understanding what I need to do. I have a small home network that uses a 3Com DSL modem/router as the last hop to the Internet. Currently, th

Re: Simple DNS For Private LAN

2006-06-23 Thread Drew Tomlinson
ing. I can take no credit for this, and I don't have the original link. http://agreenftp.no-ip.com/dns Funny! Thanks, Drew On 6/23/06, Drew Tomlinson <[EMAIL PROTECTED]> wrote: I'm having a hard time understanding what I need to do. I have a small home network that uses a 3Com D

Simple DNS For Private LAN

2006-06-23 Thread Drew Tomlinson
for machines on my home network and then the DSL modem/router queries my ISPs name servers for everything else. When I registered my domain, I used ZoneEdit as my name servers. 'whois mykitchentable.net' gives this output: domain: mykitchentable.net owner-name: Drew To

Re: ipfw Kernel Module - Default to Accept?

2006-06-01 Thread Drew Tomlinson
On 5/30/2006 9:45 AM Toni Schmidbauer wrote: At Tue, 30 May 2006 09:04:09 -0700, Drew Tomlinson wrote: I'm using FBSD 6.1. When using the ipfw kernel module, is it possible to get ipfw loaded in a "default to accept" mode? I've seen the kernel option to enable

ipfw Kernel Module - Default to Accept?

2006-05-30 Thread Drew Tomlinson
I'm using FBSD 6.1. When using the ipfw kernel module, is it possible to get ipfw loaded in a "default to accept" mode? I've seen the kernel option to enable this when compiling statically but nothing specific to the kernel module. Maybe there's a way to compile the kernel module with some e

Re: Getting A Kernel Dump - SOLVED!

2006-04-21 Thread Drew Tomlinson
On 4/19/2006 7:22 PM Kevin Kinsey said the following: Drew Tomlinson wrote: I have a 6.0 system running on a P3 550 that is rebooting every now and then due to a trap 12 error. I've followed the steps at http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug

Getting A Kernel Dump

2006-04-19 Thread Drew Tomlinson
I have a 6.0 system running on a P3 550 that is rebooting every now and then due to a trap 12 error. I've followed the steps at http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html for getting a crash dump but I'm not getting dumps. Here's the relevant line fr

Re: IPFW Problems

2006-04-19 Thread Drew Tomlinson
On 4/17/2006 2:29 PM Noah Silverman wrote: Hi, I have a system with a 4.11 Kernel. Unless I'm doing something very wrong, there seems to be something odd with ipfw. Take the following rules: I assume above this you have "ipfw add check-state" defined? This is the rule that's required to ge

Re: Excessive Interrupts?

2006-04-15 Thread Drew Tomlinson
On 4/14/2006 1:17 PM Matthew Seaman said the following: Drew Tomlinson wrote: I watched it for a while and the cpus are always around 2000 each. Is this high? I Googled but did not find any info on what is considered excessive. Does anyone see anything of concern? Nope. That&#

Excessive Interrupts?

2006-04-14 Thread Drew Tomlinson
I have FreeBSD 6.0-RELEASE installed on dual P3-600 system with 768 MB of RAM. The system seems sluggish but loads are not high. I uses 'systat' in 'vmstat' mode and noticed what might be a lot of interrupts. Here is the output: 2 usersLoad 0.02 0.04 0.02 Apr 14 1

Re: IP Routing Question

2006-02-14 Thread Drew Tomlinson
rs, Drew - Original Message ----- From: "Drew Tomlinson" <[EMAIL PROTECTED]> To: "Steve Douville" <[EMAIL PROTECTED]> Cc: "FreeBSD Questions" Sent: Tuesday, February 14, 2006 2:40 PM Subject: Re: IP Routing Question On 2/14/2006 11:17 AM Steve

Re: IP Routing Question

2006-02-14 Thread Drew Tomlinson
st aaa.bbb.ccc.xxx link#2 -ifp em1 but it doesn't recognize link#2 as a valid address, even though it uses it in the table by default!! Haven't tried the ipfilter yet. Maybe i'll give that a whirl, too. ----- Original Message - From: "Drew Tomlinson" <[EMAIL PRO

General Guidance Using Snort Inline

2006-02-14 Thread Drew Tomlinson
I've installed snort 2.4.3 on a 6.0 machine and have it logging successfully to a MySQL database on another machine in my home network. I also have BASE installed on that machine to view the alerts. Now I'd like to move forward and do things like "block an IP address for 1 hour that has gener

Re: IP Routing Question

2006-02-14 Thread Drew Tomlinson
On 2/14/2006 5:44 AM Steve Douville wrote: I'm trying to set up the routing table to force requests to certain IP addresses to use a particular ethernet card. I've used the route command in a number of ways, but still can't come up with how to force to use em1 instead of em0, with the right ga

Re: Best Way To Block Range of Addresses with ipfw2?

2006-02-08 Thread Drew Tomlinson
On 2/8/2006 3:11 PM Chuck Swiger wrote: Drew Tomlinson wrote: I want to deny access to addresses in this range: 84.57.113.0 - 84.61.96.255 What is the best way to specify this range for ipfw2? There must be a better way than listing a whole bunch of individual networks. deny ip

Best Way To Block Range of Addresses with ipfw2?

2006-02-08 Thread Drew Tomlinson
I want to deny access to addresses in this range: 84.57.113.0 - 84.61.96.255 What is the best way to specify this range for ipfw2? There must be a better way than listing a whole bunch of individual networks. Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books

Re: SnortCenter2 on FBSD?

2006-02-05 Thread Drew Tomlinson
On 2/4/2006 10:53 AM Paul Schmehl wrote: --On February 4, 2006 10:19:09 AM -0800 Drew Tomlinson <[EMAIL PROTECTED]> wrote: Is anyone using SnortCenter2 (http://sourceforge.net/projects/snortcenter2/) on FreeBSD? I see there's a Linux agent but not a FBSD. Maybe it works with

SnortCenter2 on FBSD?

2006-02-04 Thread Drew Tomlinson
Is anyone using SnortCenter2 (http://sourceforge.net/projects/snortcenter2/) on FreeBSD? I see there's a Linux agent but not a FBSD. Maybe it works with FBSD Linux emulation? Not finding any docs on this via Google. Just looking for a little encouragement and direction before heading down t

Re: Cracking MySQL Passwords

2006-02-02 Thread Drew Tomlinson
On 2/2/2006 4:40 PM Peter Giessel wrote: On Thursday, February 02, 2006, at 03:24PM, Drew Tomlinson <[EMAIL PROTECTED]> wrote: I'm frantically trying to recreate 3 users in the mysql.user table after accidentally deleting them. I have the names and the password hashes but don

Cracking MySQL Passwords

2006-02-02 Thread Drew Tomlinson
I'm frantically trying to recreate 3 users in the mysql.user table after accidentally deleting them. I have the names and the password hashes but don't know the password. I installed the security/john port but it does not seem to support mysql cracking. Google searches have revealed patches

Re: Number of files

2006-01-28 Thread Drew Tomlinson
On 1/28/2006 2:31 PM Pelle Andersson wrote: Hi list! I have a 4.11 server wich have been running successfully, for som years now. One directory is containing images, and this directory is growing really fast. My question is; how many files can a directory contain, totally? Best regard & TIA

Snort - Separate Sensor and Data Collector Boxes?

2006-01-28 Thread Drew Tomlinson
I want to learn about Snort and started Googling. I found a couple of docs that indicate I can install Snort on a "sensor" box and then run ACID, Apache, MySQL, etc. on a "data collector" box. Am I understanding correctly? The box I want to use as the "data collector" already has all the re

Re: IPsec, VPN and FreeBSD

2006-01-24 Thread Drew Tomlinson
On 1/24/2006 3:59 PM gahn wrote: Hi: We intend to build IPSec based VPN server on FreeBSD platform so that we can access internal network of a lab. The remote side will use VPN client and could be from anywhere of the Internet, or may be from the another site of the company. From the hnadbook,

Is A Sound Card Required For Music Player Daemon?

2006-01-24 Thread Drew Tomlinson
I am running FBSD 6.0 on a headless system with no sound card. What I had hoped to do was get Music Player Daemon running on this box and then send it's output to Icecast2. The actual "sound" would be generated by other devices with sound cards. But in looking over the mpd.conf file, it appe

Re: What User Runs Startup Scripts?

2006-01-12 Thread Drew Tomlinson
On 1/11/2006 10:18 PM Igor Robul said the following: On Wed, Jan 11, 2006 at 08:44:54PM -0800, Drew Tomlinson wrote: On 1/10/2006 7:09 AM Igor Robul said the following: Do you have tun0 interface on boot time? Are you activating ppp manually? I do run openvpn and its start up

What User Runs Startup Scripts?

2006-01-05 Thread Drew Tomlinson
I'm trying to figure out why the ntop.sh startup script that is installed from ports fails to start ntop successfully at boot up but works fine when I call it after boot up from root login. I've included the complete console output. The actual "FATAL ERROR" is "Not root, ntop shutting down...

Re: Find Syntax

2006-01-02 Thread Drew Tomlinson
On 1/2/2006 9:59 AM Kevin Brunelle said the following: OK, I understand now. I ultimately want to delete files and was just trying to check my command before doing the actual delete. I will use '-ls' in my script. find . -type f -mtime +1w -exec ls -l {} \; This works too. Than

Re: specifying a day for at command

2006-01-02 Thread Drew Tomlinson
On 1/2/2006 9:20 AM Jim Pazarena said the following: I want to run a job every 00:05 sunday morning. It is a script which run for a few minutes, then attempts to re-submit itself via at. at the end of the script, it has: echo "/usr/local/bin/script" | at 00:05 sunday this produces an error messa

Re: Find Syntax

2006-01-02 Thread Drew Tomlinson
On 1/2/2006 9:14 AM Adam Nealis said the following: --- Drew Tomlinson <[EMAIL PROTECTED]> wrote: On 1/2/2006 8:37 AM Kevin Brunelle said the following: On Monday 02 January 2006 11:19, Drew Tomlinson wrote: I'm trying to find all files with a modification time

Re: Find Syntax

2006-01-02 Thread Drew Tomlinson
On 1/2/2006 8:36 AM Peter said the following: --- Drew Tomlinson <[EMAIL PROTECTED]> wrote: I'm trying to find all files with a modification time older than three weeks ago. find . -mtime +3w Thanks for your reply. This worked for 3 weeks but not for 1 week

Re: Find Syntax

2006-01-02 Thread Drew Tomlinson
On 1/2/2006 8:35 AM Adam Nealis said the following: --- Drew Tomlinson <[EMAIL PROTECTED]> wrote: I'm trying to find all files with a modification time older than three weeks ago. In reading the find man page and searching Google, it seems the time returned by 'ls -l&#x

Re: Find Syntax

2006-01-02 Thread Drew Tomlinson
On 1/2/2006 8:37 AM Kevin Brunelle said the following: On Monday 02 January 2006 11:19, Drew Tomlinson wrote: I'm trying to find all files with a modification time older than three weeks ago. In reading the find man page and searching Google, it seems the time returned by 'ls -l

Find Syntax

2006-01-02 Thread Drew Tomlinson
I'm trying to find all files with a modification time older than three weeks ago. In reading the find man page and searching Google, it seems the time returned by 'ls -l' is mtime. Thus I construct the following command: find . -not \( -newermt 3w \) -exec ls -l {} \; But it returns files t

zlib Borked? (Was Re: Ntop on 6.0)

2005-12-21 Thread Drew Tomlinson
Kurt Buff wrote: Drew Tomlinson wrote: Been Googling all day and I've seen those posts. However I just realized it was you. :) Well, not *just* me. :) I just edited the Makefile to add --without-zlib and am recompiling now. We'll see if that works around this probl

Re: Ntop on 6.0

2005-12-20 Thread Drew Tomlinson
On 12/20/2005 3:55 PM Kurt Buff wrote: Drew Tomlinson wrote: On 12/20/2005 3:06 PM Kurt Buff wrote: Drew Tomlinson wrote: I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try

Re: Ntop on 6.0

2005-12-20 Thread Drew Tomlinson
On 12/20/2005 3:06 PM Kurt Buff wrote: Drew Tomlinson wrote: I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try and access it via a browser, I just get a blank page. ntop reports the

Ntop on 6.0

2005-12-20 Thread Drew Tomlinson
I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try and access it via a browser, I just get a blank page. ntop reports the following warning: Tue Dec 20 14:20:58 2005 **WARNING** gzflush error

db_dump185 Utility?

2005-12-20 Thread Drew Tomlinson
I suspect I have a corrupted bayes token database for SpamAssassin. ‘file’ says it’s a Berkeley DB 1.85 hash file. I googled for ways to repair it and came across many references to a man page for the db_dump utility. I don’t seem to have this on my system. The man page states that db_dump is

Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-15 Thread Drew Tomlinson
On 12/15/2005 12:33 AM Sasa Stupar wrote: --On 14. december 2005 20:01 -0800 Ted Mittelstaedt <[EMAIL PROTECTED]> wrote: -Original Message- From: Danial Thom [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 11:14 AM To: Ted Mittelstaedt; Drew Tomlinson Cc: f

Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-13 Thread Drew Tomlinson
Ted Mittelstaedt wrote, On 12/13/2005 12:44 AM: -Original Message- From: Drew Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, December 12, 2005 12:30 PM To: Ted Mittelstaedt Cc: Michael Vince; [EMAIL PROTECTED]; freebsd-questions@freebsd.org; Kris Kennaway Subject: Polling For 100

Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-12 Thread Drew Tomlinson
On 12/12/2005 8:13 AM Ted Mittelstaedt wrote: Michael, Fundamentally, here's the problem Danial is claiming exists: it takes a certain amount of time to get the packet clocked in from the network into the ethernet receiver. This is hardware dependent and cannot be changed. It takes a certai

Re: schedule a script at "system startup"

2005-12-07 Thread Drew Tomlinson
On 12/4/2005 6:14 AM Werther Pirani wrote: Ian Lord wrote: I guess there might be a way to put a script in /etc/rd.d/ but I don't know how to run it under a specifid uid Create a script (name is not important as long as it ends in .sh) Although customary, it does not have to end in ".sh"

geom_stripe and Performance

2005-12-01 Thread Drew Tomlinson
When using FBSD 4.x, I used vinum to stripe my /usr across two drives. Performance seemed good but I never used any tools to actually measure it. Now I've upgraded to 5.4 (and will upgrade to 6.0 soon) and disk performance doesn't seem very good. When upgrading to 5.4, I ditched vinum in fav

Re: How To Monitor Disk Errors?

2005-11-22 Thread Drew Tomlinson
On 11/22/2005 6:18 PM Nicolas Blais wrote: On November 22, 2005 09:05 pm, Drew Tomlinson wrote: I have an old machine running 4.11. It died sometime last night from what I think was a disk problem. The machine was still running and still passing packets (it is my firewall) but I could not

How To Monitor Disk Errors?

2005-11-22 Thread Drew Tomlinson
I have an old machine running 4.11. It died sometime last night from what I think was a disk problem. The machine was still running and still passing packets (it is my firewall) but I could not log in via the console, ssh, or telnet. I powered the machine off/on and heard the "click of death

Re: streaming windows media

2005-11-21 Thread Drew Tomlinson
On 11/20/2005 8:30 PM Beecher Rintoul wrote: Are there any good media players in the ports that will do streaming windows media. If so what would you guys recommend? I'd like to get away from realplayer. You might try VLC (Video LAN Client) as well. HTH, Drew -- Visit The Alchemist's War

Disk Access Seems Slow in 5.4

2005-11-08 Thread Drew Tomlinson
I have two boxes running FBSD. One is an old AMD 350 mhz machine with just 128 MB of RAM and a 4 GB IDE drive that's attached to a 33mhz controller. The other is a dual Pentium 600 machine with 768 MB RAM and two 9 GB SCSI drives. Ever since I upgraded the dual Pentium from 4.11 to 5.4, disk

Disk Access Seems Slow in 5.4

2005-11-07 Thread Drew Tomlinson
I have two boxes running FBSD. One is an old AMD 350 mhz machine with just 128 MB of RAM and a 4 GB IDE drive that's attached to a 33mhz controller. The other is a dual Pentium 600 machine with 768 MB RAM and two 9 GB SCSI drives. Ever since I upgraded the dual Pentium from 4.11 to 5.4, disk

Re: Bash Pattern Matching Syntax

2005-10-17 Thread Drew Tomlinson
On 10/15/2005 4:07 PM Will Maier wrote: On Sat, Oct 15, 2005 at 03:37:11PM -0700, Drew Tomlinson wrote: I want to list the files in a directory that end in ".jpg" irregardless of case. Thus after reading the bash man page, it seems I should be able to issue a command something

Re: portupgrade: what must I fix in this pkgtools.conf entry?

2005-10-17 Thread Drew Tomlinson
On 10/15/2005 11:17 PM James Long wrote: I've been aware of pkgtools.conf but hadn't buckled down to suss out the syntax prior to recently. Thanks to Dru Lavigne's excellent article at onlamp.com, I'm working on my first attempt at setting make variables in pkgtools.conf. First, is there somet

Re: Help Understanding While Loop

2005-10-16 Thread Drew Tomlinson
On 10/15/2005 11:33 PM Parv wrote: in message <[EMAIL PROTECTED]>, wrote Drew Tomlinson thusly... Thus I set the following variables: remote_pictures_dir="/multimedia/Pictures" local_pictures_dir="/tv/pictures" find_args="-iname '*.jpg' -or -iname &

Re: Help Understanding While Loop

2005-10-15 Thread Drew Tomlinson
On 10/14/2005 3:24 PM David Kirchner wrote: On 10/14/05, Drew Tomlinson <[EMAIL PROTECTED]> wrote: OK, I've been working on an sh script and I'm almost there. In the script, I created a 'while read' loop that is doing what I want. Now I want to keep track

Bash Pattern Matching Syntax

2005-10-15 Thread Drew Tomlinson
I want to list the files in a directory that end in ".jpg" irregardless of case. Thus after reading the bash man page, it seems I should be able to issue a command something along the lines of "ls [*.[JjPpGg]]" or "ls *.[JjPpGg]" but neither of these work and return a "No such file or directo

Help Understanding While Loop

2005-10-14 Thread Drew Tomlinson
OK, I've been working on an sh script and I'm almost there. In the script, I created a 'while read' loop that is doing what I want. Now I want to keep track of how many times the loop executes. Thus I included this line between the 'while read' and 'done' statements: count = $(( count + 1 )

Re: Help With 'for' Loop

2005-10-14 Thread Drew Tomlinson
On 10/14/2005 1:05 PM Will Maier wrote: On Fri, Oct 14, 2005 at 12:33:07PM -0700, Drew Tomlinson wrote: [...] Yet 'echo $i' only returns "/multimedia/Pictures/1998", stopping at the first space. Is it possible to get 'i' to represent the whole string th

Re: Help With 'for' Loop

2005-10-14 Thread Drew Tomlinson
On 10/14/2005 12:52 PM David Kirchner wrote: On 10/14/05, Drew Tomlinson <[EMAIL PROTECTED]> wrote: Sorry to be such a pest today. I'm working on a sh script that uses a for loop. To test, I've written the following: for i in `/usr/bin/find /multimedia/Pictures -iname &q

Help With 'for' Loop

2005-10-14 Thread Drew Tomlinson
Sorry to be such a pest today. I'm working on a sh script that uses a for loop. To test, I've written the following: for i in `/usr/bin/find /multimedia/Pictures -iname "*.jpg" -or -iname "*.gif" -print` do echo -e "\n$i" done The first line 'find' returns is "/multimedia/Pict

Re: Help With Find Syntax

2005-10-14 Thread Drew Tomlinson
On 10/14/2005 12:05 PM Glenn Sieb wrote: Drew Tomlinson said the following on 10/14/2005 2:53 PM: I want to recursively search a directory and return files that end in ".jpg" or ".gif" but I can't seem to get the find syntax right. My basic command lines are:

Help With Find Syntax

2005-10-14 Thread Drew Tomlinson
I want to recursively search a directory and return files that end in ".jpg" or ".gif" but I can't seem to get the find syntax right. My basic command lines are: find /multimedia/Pictures -iname "*.gif" -print OR find /multimedia/Pictures -iname "*.jpg" -print Both of these work perfectly.

Re: sh Scripting - String Manipulation

2005-10-14 Thread Drew Tomlinson
On 10/14/2005 9:27 AM Paul Schmehl wrote: --On Friday, October 14, 2005 08:39:04 -0700 Drew Tomlinson <[EMAIL PROTECTED]> wrote: That's a good idea (and something else I never thought of) if I wanted all the files, not just the *.jpg files. And as I'll explain below, I

Re: sh Scripting - String Manipulation

2005-10-14 Thread Drew Tomlinson
On 10/13/2005 6:43 PM Kirk Strauser wrote: On Thursday 13 October 2005 06:04 pm, Drew Tomlinson wrote: What I'd like to is get '-exec' to run this command: ln -s "/multimedia/Pictures/2005 Kimberly & Rich/IMG_1210.JPG" "2005 Kimberly & Rich/IMG_1210.

Re: sh Scripting - String Manipulation

2005-10-14 Thread Drew Tomlinson
On 10/13/2005 9:03 PM Paul Schmehl wrote: --On October 13, 2005 4:04:45 PM -0700 Drew Tomlinson <[EMAIL PROTECTED]> wrote: I'm working on a script that reads a directory using 'find' and its '-exec' primary to create a symlink to the file. So for exampl

Cron Runs Script Twice - Once With Error and Once Without?

2005-10-14 Thread Drew Tomlinson
I have a script that runs from cron. The script mounts an smbfs share on another machine, copies some files from it, and then unmounts the share. The script is run from a 4.11 machine. It's connecting to a 5.4 box running Samba 3.0.20. I'm trying to figure out why it runs twice. Once with

sh Scripting - String Manipulation

2005-10-13 Thread Drew Tomlinson
I'm working on a script that reads a directory using 'find' and its '-exec' primary to create a symlink to the file. So for example, I have the following command: find /multimedia/Pictures -iname "*.jpg" -print This command returns a bunch of filenames. Here's an example of one: /multimedia

Re: FreeBSD 5.4-STABLE / 6.0 audio drivers for Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller

2005-10-11 Thread Drew Tomlinson
Miles Keaton wrote: hi fellow FreeBSD'ers - Looking for audio drivers for Intel 82801FB/FR/FW/FRW Intel High Deficition Audio Controller. I got a lovely laptop this weekend : the Asus Z71v http://usa.asus.com/products4.aspx?l1=5&l2=70&l3=0&model=609&modelmenu=1 Assured by the Linux geek at

Re: Cheap Hardware for Home Network

2005-10-09 Thread Drew Tomlinson
On 10/9/2005 2:18 AM Live-Wire wrote: I'm building a new box specifically do take care of a lot of things on my home network; dns, qmail, apache, sftp, printer server, a fileserver, etc. Some of the services, like apache, will also be exposed to the internet, but only for the use of friends and

Bacula Won't Allow Me To Mount Next Tape

2005-09-29 Thread Drew Tomlinson
I've posted this on the bacula-users list but haven't heard anything yet. Hoping maybe someone here has come across this. Google turns up nothing. I'm running FreeBSD 5.4 and using bextract 1.36.3 to restore multiple tape volumes to a drive I lost. It's giving me the following message: 29

Re: Help setting up Vinum mirror

2005-09-29 Thread Drew Tomlinson
On 9/29/2005 10:04 AM FreeBSD usergroup wrote: On 29 sep 2005, at 13:28, Peter Clutton wrote: Hi, I have gone through the docs on this but am just missing a couple of points conceptually, and would be grateful for any help. Basically i have created two slices on two IDE drives and mounted

Re: Can I Rebuild / and /usr Remotely? Ideas?

2005-09-20 Thread Drew Tomlinson
On 9/20/2005 2:50 PM Jerry McAllister wrote: On 9/20/2005 11:28 AM Jerry McAllister wrote: On 9/20/2005 10:20 AM Jerry McAllister wrote: Thank you for your reply. This gives me some direction in which to proceed. Since the layout is as I like now, it seems to me that I would only hav

Re: Can I Rebuild / and /usr Remotely? Ideas?

2005-09-20 Thread Drew Tomlinson
On 9/20/2005 11:28 AM Jerry McAllister wrote: On 9/20/2005 10:20 AM Jerry McAllister wrote: When I built this system, I configured the disks using sysinstall. I used the "dangerously dedicated"mode just as I had when I ran the 4.x series. I suspect my problems occur because geom_stripe

Re: Can I Rebuild / and /usr Remotely? Ideas?

2005-09-20 Thread Drew Tomlinson
On 9/20/2005 10:20 AM Jerry McAllister wrote: I have a system running 5.4-STABLE. I created a geom_stripe disk for /usr. It works fine except that upon reboot, the stripe attempts to load itself twice and thus fails. Therefore, since I have no /usr, the system comes up in single user mode.

Can I Rebuild / and /usr Remotely? Ideas?

2005-09-20 Thread Drew Tomlinson
I have a system running 5.4-STABLE. I created a geom_stripe disk for /usr. It works fine except that upon reboot, the stripe attempts to load itself twice and thus fails. Therefore, since I have no /usr, the system comes up in single user mode. At that point I can do 'kldunload geom_stripe'

sysinstall Hangs When Probing Devices on 5.4

2005-09-19 Thread Drew Tomlinson
I have run the 4.x versions on this exact same hardware with no sysinstall issues. I upgraded to 5.4 using the installation CD and sysinstall ran fine during the install. However after installing my system and doing a full boot, sysinstall just "hangs" at probing on any attempt to run from th

Re: How To Set Speed Of Serial Console In 5.4-RELEASE?

2005-07-21 Thread Drew Tomlinson
On 7/21/2005 10:05 PM Drew Tomlinson wrote: On 7/21/2005 9:43 PM Glenn Dawson wrote: At 09:26 PM 7/21/2005, Drew Tomlinson wrote: I have compiled two kernels and worlds in the 5.4-RELEASE source tree. In /etc/make.conf, I have the line: BOOT_COMCONSOLE_SPEED=115200 Yet the speed stays at

Re: How To Set Speed Of Serial Console In 5.4-RELEASE?

2005-07-21 Thread Drew Tomlinson
On 7/21/2005 9:43 PM Glenn Dawson wrote: At 09:26 PM 7/21/2005, Drew Tomlinson wrote: I have compiled two kernels and worlds in the 5.4-RELEASE source tree. In /etc/make.conf, I have the line: BOOT_COMCONSOLE_SPEED=115200 Yet the speed stays at 9600 baud. This worked in version 4. Do I

How To Set Speed Of Serial Console In 5.4-RELEASE?

2005-07-21 Thread Drew Tomlinson
I have compiled two kernels and worlds in the 5.4-RELEASE source tree. In /etc/make.conf, I have the line: BOOT_COMCONSOLE_SPEED=115200 Yet the speed stays at 9600 baud. This worked in version 4. Do I need to do something different in version 5? Thanks, Drew -- Visit The Alchemist's War

Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-21 Thread Drew Tomlinson
On 7/21/2005 12:44 AM Patrik Forsberg wrote: When I run the /usr/local/frontpage/version5.0/fp_install.sh script, it fails when the script calls owsadm.exe to create the root web. owsadm.exe core dumps with a "Bad system call". I've done a complete removal of Apache2, Frontpage, and mod_fr

Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-21 Thread Drew Tomlinson
On 7/21/2005 12:23 AM Norberto Meijome wrote: Drew Tomlinson wrote: On 7/20/2005 10:37 AM Tim Traver wrote: more specifically, what are the error messages if you just try and execute owsadmin.exe ??? blacklamb# ./owsadm.exe Bad system call (core dumped) try ktrace ./owsadm.exe

Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Drew Tomlinson
re working, you should at least get that binary to run, even though it will spit out a frontpage error... Tim. Thanks for your help. Any ideas? What version of FBSD are you running? I'm on 5.4-RELEASE-p4. Maybe if I move to -STABLE this might resolve itself? Drew Drew Tomlinson w

Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Drew Tomlinson
On 7/20/2005 9:42 AM Tim Traver wrote: Drew, I've done it...you need to have the latest frontpage extensions from http://www.rtr.com/ as there might be changes for FreeBSD 5.4... And you may need to have the compatability libraries in place... Thanks for your reply. I have the 3x and 4x c

Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Drew Tomlinson
Has anyone been able to get Frontpage Extensions working with Apache 2.0.54 on 5.4-RELEASE-p4? I had it working on 4.11 but have been beating my head against the wall for the past two weeks on 5.4. When I run the /usr/local/frontpage/version5.0/fp_install.sh script, it fails when the script c

Re: How to configure Apache21 port with suexec enabled and suexec_docroot change

2005-07-18 Thread Drew Tomlinson
On 7/17/2005 3:24 PM Chris Casey wrote: On a machine with an up to date ports system running 5.4, I'm trying to use Apache21 port, I know that suexec is not enabled by default and I know there should be a "make WITH_SUEXEC_MODULES=yes" option, but when I try this I get some info about how to str

FrontPage Extensions Install Error

2005-07-15 Thread Drew Tomlinson
I'm trying to install FrontPage extensions on Apache 2.0.54 and FBSD 5.4-RELEASE-p4. I've installed the 'www/frontpage' and 'www/mod_frontpage2-rtr' ports. Now I'm trying to run the fp_install.sh script but get this error: ---BEGIN--- Server config filename: [/usr/local/etc/apache2/httpd.c

Re: GEOM_STRIPE Problems on Reboot

2005-07-13 Thread Drew Tomlinson
week. :) Thanks, Drew On 7/12/2005 9:35 AM Drew Tomlinson wrote: On 7/11/2005 11:00 AM Drew Tomlinson wrote: I just installed 5.4-RELEASE. I created a gstripe volume per the example in the man page. Googling revealed that I needed to load the geom_stripe module upon reboot so the volum

<    1   2   3   4   5   >