Best way to partition a small HD

2006-02-03 Thread Gunnar Flygt
I have an old Toshiba laptop with 24MB of RAM and 500MB HD.

What is the best way of partitioning this disk for 4.7-RELEASE
or later?

Should I use 450MB for / and the rest for swap or should I
bother splitting the partition with / /usr and /var and swap?

-- 
Gunnar Flygt
OPC Data
Sveriges Radio


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


problems with sh after upgrade to 4.7

2006-02-03 Thread Gunnar Flygt
After upgrade from 4.6.2-RELEASE to 4.7-RELEASE I've got problems
with a shellscript that I have on one of my machines. The script
(which I've taken over from a far better shellprogammer) looks as follows:

#!/bin/sh

RTSPCONTROL=/usr/local/etc/rc.d/rtspproxy.sh
cd `dirname $0`
cd ../..
PREFIX=/usr/local

case $1 in
start)  echo -n ' rtspproxy'
RTSPPROXY=${PREFIX}/sbin/rtspproxy
PID_FILE=/var/run/rtspproxy.pid
[ -x ${RTSPPROXY} ]  ${RTSPPROXY}  /dev/null   echo $!  
$ {PID_FILE}
;;
stop)   if [ -f /var/run/rtspproxy.pid ]; then
kill `cat /var/run/rtspproxy.pid`
rm /var/run/rtspproxy.pid
fi
;;
check)
for pidfile in `find /var/run -name 'rtspproxy.pid'`
do
if ! kill -0 `head -1 $pidfile`  /dev/null ;then
echo $pidfile process is dead! Restarting...
logger -p daemon.err -t rtspproxy.sh $pidfile process 
is dead! Restarting...
ARGS=start
rm -f $pidfile
${RTSPCONTROL} ${ARGS}
fi
done
;;


esac

The problem line is line 12:
 [ -x ${RTSPPROXY} ]  ${RTSPPROXY}  /dev/null   echo $!  $ {PID_FILE}

When I run `/usr/local/etc/rc.d/rtspproxy.sh start I get this error

/usr/local/etc/rc.d/rtspproxy.sh: 12: Syntax error:  unexpected

The script starts the file and redirects the output from rtspproxy
(the PID) to the PID_FILE so that the check part can use it later.

Since my knowledge in shellscripting is not enough to rewrite the script,
I ask for help here.

-- 
Gunnar Flygt
OPC Data
Sveriges Radio


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


IP address management tool

2005-03-14 Thread Gunnar Flygt
Is there anyone out there, knowing of a good tool for managing IP
addresses? I want a tool where it is easy to get a picture of how a
class B network is divided in to subnets of different sizes, where the
dhcp ranges are and what statically addresses there are. 

Has anyone produced such a tool? database - php -web server based.

-- 
Gunnar Flygt
SR Datadrift
Sveriges Radio

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


Has anyone succeeded in compiling crm114 Mailfilter

2004-02-27 Thread Gunnar Flygt
I tried to compile the spam catcher CRM114. It bails out fairly quickly.
Has anyone tweeked the src to work with FreeBSD?

Please cc me, I'm not on the list.

-- 
Gunnar Flygt
SR Datadrift
Sveriges Radio

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Running virus scanner on FreeBSD Samba server

2004-02-26 Thread Gunnar Flygt
Has anyone any experience from running any virus scanners on a FreeBSD
Samba server? The server is serving mostly MS-workstations, so the
scanner should be proficient in finding the most common viruses in the
M$ world.

Any information is of value, and please CC me, since the information
flow on Questions is so high that it's hard to follow.

-- 
Gunnar Flygt
SR Datadrift
Sveriges Radio

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange things with CVS and ports

2003-02-02 Thread Gunnar Flygt
Since a week or two  the INDEX file in /usr/ports is aways back
to the status of 30 December last year, after I've fetched the lates
ports with cvsup. I do a make index in /usr/ports and gets it up 
to date, but when I cvsup again it's back to 30 December.

Gives weird results when using portversion -v  Lots of ports have
too high revision numbers.

Please cc me, I'm not on questions

-- 
Gunnar Flygt, SR

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Strange things with CVS and ports

2003-02-02 Thread Gunnar Flygt
On Sun, Feb 02, 2003 at 02:39:11AM -0800, Kent Stewart wrote:
 On Sunday 02 February 2003 02:32 am, Gunnar Flygt wrote:
  Since a week or two  the INDEX file in /usr/ports is aways back
  to the status of 30 December last year, after I've fetched the lates
  ports with cvsup. I do a make index in /usr/ports and gets it up
  to date, but when I cvsup again it's back to 30 December.
 
  Gives weird results when using portversion -v  Lots of ports have
  too high revision numbers.
 
 INDEX has never been updated at a frequent rate. You have always needed 
 to build the current version after you cvsup ports-all. Right now, 
 make index produces some strange results and portsdb -uU produces a 
 different set of strange results. I use the -uU way to build my INDEX 
 and INDEX.db.

Thanks for the answer, but the problem has never been so obvious
as it has the latest week, when I got the Installed port succeeds
the port version or whatever it says.

I'll use the pkgdb -uU instead of makeindex then.
 
 Kent
 
 
  Please cc me, I'm not on questions
 
 -- 
 Kent Stewart
 Richland, WA
 
 http://users.owt.com/kstewart/index.html

-- 
Gunnar Flygt, Postmaster SR

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Syncing with Sharp Zaurus 5500

2002-09-27 Thread Gunnar Flygt

Has anyone on the list tried the binaries (for linux) qtopia for the
desktop, and then sync with it from the Zaurus?

Please CC me. I'm not on questions!

-- 
Gunnar Flygt, SR

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Cisco Linux client for Cisco VPN 3000

2002-09-18 Thread Gunnar Flygt

Has anyone tried compiling the source code intended for Linux for
Cisco's VPN 3000 box?

I mean of course tried compiling it on FreeBSD.

Please CC me since I'm not on freebsd-questions!

-- 
Gunnar Flygt, Postmaster SR

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Legato Networker

2002-07-13 Thread Gunnar Flygt

Has anyone tried to put some pressure on Legato staff to create a native
Networker Client for FreeBSD? If so what was the response?

Please cc me. I'm not on this particular list!

-- 
   __o
regards, Gunnar   ---_ \,_
email: [EMAIL PROTECTED]  (_)/ (_)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message