How to build a chroot jail with mysql client and cron in it?

2005-08-23 Thread Peter Holm
Hi,

I need a chroot jail with access to a mysql client (which, of course,
must have access to the mysql server) and with cron in it.

Building an "ordinary" jail was no problem, but myql and cron keep me
busy. First attempts showed some problems with files and permissions,
also cron amd nysql shpould be available to multiple jails... 

Could anybody give a hint how to do it?

Thank you very much for your attention!

Peter



Deinterlacer

2002-05-29 Thread Peter Holm



Hi.
 
I'm experiencing some problems taking snapshots 
with an AXIS 2420 Webcamera. The pictures in hires are interlaced and i need to 
know if there is any deinterlacer program i can use.
 
I know there are lots of those programs for a 
platform which name i are prohibited to say in this list ;)
but surely there must exist many of these for the 
GNU/Linux (Debian) platform as well.
 
Perhaps there exists a package to 
install.
 
It would be nice if the deinterlacer was a stand 
alone filter which i could use in the following manner.
 
deinterlace -someflag source dest
 
 
/peterh


USB-CAM

2002-05-28 Thread Peter Holm
Is there any tutorial of how to mount a digital camera with USB-
interface.

I Need total guidance since i don't now anything about how to do it.

The only thing i grab right now is how i physichally attach the camera 
to my computer.

But which configs are neccesary and how do i retreive files. And how 
do i trigger the camera to take a shot from my application through the 
USB-port.

/peterh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Error Starting Apache Server (SOLVED)

2002-05-27 Thread Peter Holm


On 27 May 2002 at 20:15, Peter Whysall wrote:

I got two industrial PC:s preconfigured from another company and it 
seems like they installed a diskimage of PC1 on PC2 because the 
hostname in /etc/hosts was the same on both PC:s.

Thanx

/peterh

> On Mon, 2002-05-27 at 20:07, Peter Holm wrote:
> > I got this error after installing Apache Server:
> > 
> > [Mon May 27 21:01:42 2002] [alert] mod_unique_id: unable to 
> > gethostbyname("conny")
> > 
> > 
> > I have no idea what is wrong and how to fix it.
> > 
> > 
> > /peterh
> 
> Have you got functional DNS? Has the host "conny" got either a valid DNS
> record on a reachable DNS server that's in /etc/resolv.conf or else an
> entry in /etc/hosts?
> 
> Regards
> 
> Peter.
> 
> -- 
> Peter Whysall
> [EMAIL PROTECTED]
> The TLD in my email address is sdrawkcab.
> Debian GNU/Linux 3.0 sid -- kernel 2.4.18
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Error Starting Apache Server

2002-05-27 Thread Peter Holm
I got this error after installing Apache Server:

[Mon May 27 21:01:42 2002] [alert] mod_unique_id: unable to 
gethostbyname("conny")


I have no idea what is wrong and how to fix it.


/peterh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



newbie: Networking

2002-05-26 Thread Peter Holm



Hello.
 
I will use two small industrial PC:s in an 
application. The computers has both two ethernet ports. eth0 and eth1. I got 
problems when i configured them in /etc/network/interfaces. My first config was 
to set up both eth0 and eth1 on the same network: 10.0.0.0 at IP:s 10.0.0.50 and 
10.0.0.51 for the first computer and 10.0.0.60 and 10.0.0.61 for the second 
one.
 
My problem seemed to be that the traffic was routed 
thru eth0 or eth1 randomly after every reboot. As i'm going to hook up work 
cameras to eth1 on both computers i must somehow configure the interfaces 
differently to be able to establish any contact with the cameras.
 
Therefore i set up /etc/network/interfaces to let 
eth1 use a completly different network, which will guaretee me the traffic 
between the camera and the computer uses eth1 and not eth0. Lets say i use the 
192.168.0.0 network for the camera - computer comms. and the 10.0.0.0 network 
for the computer - computer comms.
 
Now, as the camera has a built in webserver for 
configuration. It must be accessible from the 10.0.0.0 network as well. I guess 
that meens i have to route traffic from the 10.0.0.0 network to the 192.168.0.0 
network and here is where my knowledge betrays me.
 
I hope you understand what my problem is, beeing a 
swedish guy trying to describe my problems in english isn't very easy, 
especially when it comes to technical english.
 
best regards Peterh.


solved: Set and read time

2002-05-26 Thread Peter Holm
It was fairly easy when i understood the format of the time string.

date -s "2002-05-26 15:00"

As i've got many answers which suggests pulling the time from NTP-servers i
must add (which i forgot in the original post) that i needed to set the time
in a standalone application. Just a few industrial PC:s will be hooked up in
a small network all using the eth0-ports. Now there is an eth1-port as well,
which i'll use to hook up network cameras. one camera per computer. It is
very important that the camera clock and the computers clock are
syncronized. So therefore i have set up a NTP server in the computer for the
camera to sync with.

Thanx for your help.






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



newbie: Set and read time

2002-05-25 Thread Peter Holm
Hi how do i set the clock and read the same ?

/ph


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



unsubscribe

2002-05-24 Thread Peter Holm



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[no subject]

2002-05-24 Thread Peter Holm
UNSUBSCRIBE


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]