Re: [SLUG] Pros Cons of Unix databases

2005-07-20 Thread telford
On Tue, Jul 19, 2005 at 12:19:09PM +1000, O Plameras wrote:
 ldbm - uses neutral storage interface which could wrap  Berkeley DB 
 (www.sleepycat.com)
   or  GNU DBM (www.gnu.org). Only sleepycat is considered 
 reliable, though.

I've found gdbm very reliable but it has a few limitations.
The most severe is that you can only have one process holding the
datase open at a time, that really limits what you can do with it.
Actually, I think you can have multiple processes reading the database
but only one can write or something like that.

Also, I don't think gdbm has any sorting facilities, if it has then
I haven't used that part of it.

There's also tdb which also does not support sorting but does
at least allow multiple processes to read and write the database
simultaneously. Samba uses it and sometimes pppd does too.

- Tel
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Video Editing Software

2005-07-20 Thread Rev Simon Rumble

On 19/7/2005, Luke Ring [EMAIL PROTECTED] wrote:

Does anyone know of any decent video editing software for linux?

I just have to do some simple resampling (lower frame rate to 15fps,
currently 30) and resizing of videos (from 640x480, to something less).

You seem to be suggesting you don't actually want video editing
software.  To resize video and do format translation, you want
transcode.  It has a bewildering array of options, so look at some of
the recipes and tweak as necessary:

http://www.transcoding.org/cgi-bin/transcode
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Security Video Cameras and Linux

2005-07-20 Thread telford
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have yet to find a good website talking about security cameras
and Linux (the hardware side that is). There are lots of software
packages and various odds and ends that work with v4l such as
frame grabbers, etc.

I recently bought a Logitech QuickCam Pro 4000 (USB) which is a nice
enough camera that is crippled under Linux because Phillips won't
release their proprietary compression algorithm. It will still give
640x480 resolution but NOT the full 1280x960 that it says on the box.
It seems hard to believe that they really have a cutting edge
compression algorithm that is genuinely valuable, more likely it is
just a matter of corporate disregard of Open Source and/or they have
infringed someone's software patent somewhere and don't want the
infringement to become public information. The other possibility is 
that the camera does NOT actually do any more than 640x480 but
the additional resolution is done by software interpolation (like
many scanners advertise a high BS resolution then a lower
optical resolution, aka the real resolution). I do notice that the
Logitech website says that the full resolution is only available for
still pictures and on some other cameras it does mention software
interpolation.

Needless to say, it would be good to avoid buying the Logitech
unless you want a crippled camera, but now the question comes up
about what DO you buy?

In the shops, there are no other USB cameras going anywhere near
1280x960 resolution in full colour. I can't understand why because 
USB2 has plenty of bandwidth and is hardly rocket science these
days but yet most of the cameras are around the 320x240 mark.

Another option is to go for a PAL capture card and a brooktree chip.
That works OK with a regular video security camera but the resolution
of regular video is still not much different from 640x480 so you
really aren't much better off. Most of the PAL cameras are from 450
up to 500 lines resolution and I would presume that the horizontal
sampling must be limited to something of the same order of magnitude
(even though analog cameras don't really have a horizontal resolution,
there is a limit to how much real detail is in the scan).

I've also looked at a few IP cameras and they cost a heap extra
for very little return (well, you can have longer cables than with
USB so that is one useful thing). They also have low resolution.

For example, a D-Link wireless camera selling for $500 is here:

  http://www.dlink.com.au/products/multimedia/dcs2100+/

Which has s many features -- except for a decent picture,
when you finally scroll down to the bottom of the specifications
it has only 320x240 resolution (which is squint quality).

So is the Logitech 4000 running in crippled mode considered the best
that you can get for a sane price? Is the crippled mode really the
best it can do in honest optical resolution anyhow? I bought the
logitech for $135 and probably would be willing to go to $200 if
I was getting something noticably better.

- Tel





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iQIVAwUBQt4ca8fOVl0KFTApAQIC9g/8CrnacOq//xT07hriIkEBZwPJtBgVpgO6
hdZWMxmaa1myDFjDSuu5dB+j3PIPR9uXfJQjD+Ih7p4enQwvlhZQYR67waQrEWnc
xPDgv3nAkrjp5JgnsYeXiM8E2IOuF02YDZn2L4EyKo4ItCtYBoFiY8eO2Y5HzNpZ
F41CT/IFqGdHnXY8pnp02jcvsAWHxjgAW8+X8BzpZ+R2kqUHJPIU7zkh1/us4l1A
m0pAM3Kx+a8TudkVHstI99tGYWMFxqscvYENtXyvKdQqhTbbKoc5iOyNtjwqN7Z+
BuynH8w3RCLxmsCmE7kAGFRWtBtJDyV76yf9chEYVMOOAXiIwFPG9dslU5nAqg3o
GFhHj2qiRb83ir8l2jYYuPQCzdWprm7wEarJ1gc9Pn0d3wfZu9+i48B/CY9Co8Cm
w7V74rCGPRqF3krOf4Nwi5+WB64qxq6ppJ5HweJ869x3IwbusdUyFaR/sV80uRJX
xCXvyxem6/bqRxKTfJhD8Xy0sdiOURerrCz1zU9utHmyJY7ftpI/HJycW1CN5kGP
WeFhTJ65Bgx/pTDY6q5Tk2VX/WPUO5uf8wOa2cT+uoka/rgLu3Soiaqnqf0dY0fp
CYhhNaXXVYbDIxrd9mNsy6Xxe8gbxuQkmqYdMOPbNpwyGeMdmxEwLlGXsyxqLYPJ
VHsvq2fWOFI=
=pa7T
-END PGP SIGNATURE-
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Qemu Questions

2005-07-20 Thread Geoff Reidy

Peter Rundle wrote:

Geoff Reidy wrote:


I couldn't get sudo to work with $1 so I just used tun0.



Could you possibly give an example sudoers entry? I'm stuggling with 
sudo (never used it before).


Thanks

P.



This is what I've got:

Cmnd_Alias QEMU_NET=/sbin/ifconfig tun0 172.20.0.1

geoff ALL=NOPASSWD:QEMU_NET

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Security Video Cameras and Linux

2005-07-20 Thread Ben Donohue

not sure if this is what you want...
http://www.exploits.org/v4l/
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome

Ben


[EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have yet to find a good website talking about security cameras
and Linux (the hardware side that is). There are lots of software
packages and various odds and ends that work with v4l such as
frame grabbers, etc.

I recently bought a Logitech QuickCam Pro 4000 (USB) which is a nice
enough camera that is crippled under Linux because Phillips won't
release their proprietary compression algorithm. It will still give
640x480 resolution but NOT the full 1280x960 that it says on the box.
It seems hard to believe that they really have a cutting edge
compression algorithm that is genuinely valuable, more likely it is
just a matter of corporate disregard of Open Source and/or they have
infringed someone's software patent somewhere and don't want the
infringement to become public information. The other possibility is 
that the camera does NOT actually do any more than 640x480 but

the additional resolution is done by software interpolation (like
many scanners advertise a high BS resolution then a lower
optical resolution, aka the real resolution). I do notice that the
Logitech website says that the full resolution is only available for
still pictures and on some other cameras it does mention software
interpolation.

Needless to say, it would be good to avoid buying the Logitech
unless you want a crippled camera, but now the question comes up
about what DO you buy?

In the shops, there are no other USB cameras going anywhere near
1280x960 resolution in full colour. I can't understand why because 
USB2 has plenty of bandwidth and is hardly rocket science these

days but yet most of the cameras are around the 320x240 mark.

Another option is to go for a PAL capture card and a brooktree chip.
That works OK with a regular video security camera but the resolution
of regular video is still not much different from 640x480 so you
really aren't much better off. Most of the PAL cameras are from 450
up to 500 lines resolution and I would presume that the horizontal
sampling must be limited to something of the same order of magnitude
(even though analog cameras don't really have a horizontal resolution,
there is a limit to how much real detail is in the scan).

I've also looked at a few IP cameras and they cost a heap extra
for very little return (well, you can have longer cables than with
USB so that is one useful thing). They also have low resolution.

For example, a D-Link wireless camera selling for $500 is here:

 http://www.dlink.com.au/products/multimedia/dcs2100+/

Which has s many features -- except for a decent picture,
when you finally scroll down to the bottom of the specifications
it has only 320x240 resolution (which is squint quality).

So is the Logitech 4000 running in crippled mode considered the best
that you can get for a sane price? Is the crippled mode really the
best it can do in honest optical resolution anyhow? I bought the
logitech for $135 and probably would be willing to go to $200 if
I was getting something noticably better.

- Tel





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iQIVAwUBQt4ca8fOVl0KFTApAQIC9g/8CrnacOq//xT07hriIkEBZwPJtBgVpgO6
hdZWMxmaa1myDFjDSuu5dB+j3PIPR9uXfJQjD+Ih7p4enQwvlhZQYR67waQrEWnc
xPDgv3nAkrjp5JgnsYeXiM8E2IOuF02YDZn2L4EyKo4ItCtYBoFiY8eO2Y5HzNpZ
F41CT/IFqGdHnXY8pnp02jcvsAWHxjgAW8+X8BzpZ+R2kqUHJPIU7zkh1/us4l1A
m0pAM3Kx+a8TudkVHstI99tGYWMFxqscvYENtXyvKdQqhTbbKoc5iOyNtjwqN7Z+
BuynH8w3RCLxmsCmE7kAGFRWtBtJDyV76yf9chEYVMOOAXiIwFPG9dslU5nAqg3o
GFhHj2qiRb83ir8l2jYYuPQCzdWprm7wEarJ1gc9Pn0d3wfZu9+i48B/CY9Co8Cm
w7V74rCGPRqF3krOf4Nwi5+WB64qxq6ppJ5HweJ869x3IwbusdUyFaR/sV80uRJX
xCXvyxem6/bqRxKTfJhD8Xy0sdiOURerrCz1zU9utHmyJY7ftpI/HJycW1CN5kGP
WeFhTJ65Bgx/pTDY6q5Tk2VX/WPUO5uf8wOa2cT+uoka/rgLu3Soiaqnqf0dY0fp
CYhhNaXXVYbDIxrd9mNsy6Xxe8gbxuQkmqYdMOPbNpwyGeMdmxEwLlGXsyxqLYPJ
VHsvq2fWOFI=
=pa7T
-END PGP SIGNATURE-
 


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Security Video Cameras and Linux

2005-07-20 Thread Rev Simon Rumble

On 20/7/2005, Ben Donohue [EMAIL PROTECTED] wrote:

http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome

In particular, motion's page has a list of good cameras.

Yes, there are 640x480 camera, but they aren't cheap.  You'd do better
to buy a good 640x480 camera.  Buy two if you want to cover more area.

Surprisingly, some of the cheaper cameras are better than some of the
more expensive ones.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Ideas for linux internet server hardware.

2005-07-20 Thread Ben Donohue

Hi Slugs,
I've been given a project to commission a Linux server for the web and 
am looking for the best hardware.


Software wise I'm thinking of Centos version 3.5 with possibly Xen for 
virtual machines, however I'm open to other ideas, eg. name based 
virtual hosting.
Initially it will hold some static pages and some sites using WebGUI. 
Also some interactive video.

Hardware wise I was given the amount or around $4000.
I am looking at around 3Ghz server with SATA drives RAID 5.
It will be on a broadband connection.

Just wondering if there are any ideas out there about where to buy good 
compatible with Linux hardware.
Possibly building a custom machine. Or how about  3 years warranty on a 
name brand server? HP? IBM?


What would you buy for $4000?
Thanks
Ben

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Perl with Apache2 (ubuntu/Debian)

2005-07-20 Thread Jamie Honan
On Wed, Jul 20, 2005 at 01:42:24PM +1000, Simon Wong wrote:
 I am having a bugger of a time getting a perl script to execute under
 Apache2 on an Ubuntu box.
 
 When I access the file I just get the option to download it, it will not
 execute (permissions are set to execute by world at the moment).

Look for the obvious things first, names correct, other spelling
mistakes.

Is the mod_perl version correct? You got this from this version of
Ubuntu OK?

The 'HOST' looks sus below.

Stas Beckman practical mod_perl is pretty good:

http://modperlbook.org/html/ch02_06.html
http://modperlbook.org/html/ch25_01.html

Also, if you are used to Apache1, there are subtle differences
between pre-fork and threaded for Apache2. I think they should be 
two separate install choices. (That's not your problem here, but
it may be later on)

 
 error.log:
 [Wed Jul 20 13:34:30 2005] [notice] Apache/2.0.53 (Ubuntu)
 mod_perl/1.99_14 Perl/v5.8.4 mod_ssl/2.0.53 OpenSSL/0.9.7e
 configured -- resuming normal operations

Alias /as2proc/ /var/www/HOST/htdocs/as2proc/

Jamie
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Qemu Questions

2005-07-20 Thread James Gregory
On Wed, 2005-07-20 at 08:54 +1000, Peter Rundle wrote:
 James Gregory wrote:
 
  I have actually had this working in the past, but I remember it being a huge
  amount of effort. I don't know if you can get away with it for what you 
  need to
  do, but the user-net option is much simpler to get going. I suggest you try
  that; it will at least tell you if your guest OS is setup correctly. It will
  also let you run it as a normal user.
 
 Err ok I thought that user-net option didn't actually give the PC 
 network connection. The documentation on qemu that I found so far is 
 pretty thin, just enough to get an expert going, not being one of those 
 I'm stuggling a little. So does the user-net option actually give you 
 network connectivity and if so why would anyone bother with the other 
 method?

The user-net option will allow your guest system to make *outgoing*
connections. You can't (without some tinkering) use it to run an
externally accessible webserver for example.

user-net lets me fire up a debian virtual machine, set up networking
with dhcp (qemu has its own dhcp server for its virtual network), and
pull packages down with apt.

The other options do have their utility, but for most people, user-net
is the right choice.

 
  Also, which version are you running? The 0.6 version had a bug with 
  networking,
  though I don't recall the details.
 
 0.7

ok, that should be fine.

 
  I've seen that before, presumably because it doesn't try to redraw until
  something writes to its video memory region. It generally works ok once 
  there's
  been some activity on the guest OS. Is this not the case for you?
 
 No moving the mouse etc, even the busy hourglass cursor is black. It 
 all works it's just black, not that there's anything wrong with being 
 black ;-)

I don't understand; how can you tell that there's an hourglass there if
everything is black? Can you point us to a screenshot?

HTH,

James.



signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Ideas for linux internet server hardware.

2005-07-20 Thread David Kempe

Ben Donohue wrote:
Just wondering if there are any ideas out there about where to buy good 
compatible with Linux hardware.
Possibly building a custom machine. Or how about  3 years warranty on a 
name brand server? HP? IBM?


4G Might not get much with a brand name. I wouldn't bother with 
virtualisation - I reckon its overrated :)
also, I would save money on the hardware and go for decent bandwidth. 
Hosting on broadband (adsl certainly) is never a great idea. Knock off 
1G and spend it on colo for a year. much better off..


we do this sort of stuff for a living if you want to call me about it 
tomorrow.


dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Deban SIG Meeting: Wednesday July 20th, 2005

2005-07-20 Thread Conrad Parker
Hi,

Slides (HTML) from tonight's discussion about Free Media at DebSIG are
available at:

  http://sully.kfish.org/~conrad/static/debsig-200507/

A summary is at:

  http://kido.kfish.org/blog/

Thanks to everyone who came to discuss this somewhat wayward but very
interesting topic :)

Conrad.

On Fri, Jul 15, 2005 at 05:29:01PM +1000, Chris Deigan wrote:
 When:
 Wednesday, July 20, 7:00pm - 8:00pm
 Where:
 James Squire Brewery
 
 Free Media lets people build on forms of expression -- to make music,
 movies, pictures and knitting patterns by sharing source material. It's
 natural that Free Software should support the production of Free Media.
 More so, we know the ins and outs of working together globally and we've
 built up tools and community structures to support that. It's an awesome
 new world. What can we do, as Free Software developers and distributors,
 to help Free Media flourish, and why does it matter?
 
 There will be a short presentation to fire up discussion, on topics like:
   * Free Media licensing from a DFSG perspective
   * What's different about developing and distributing media?
   * What can artists learn from our practices?
   * What specific software should be packaged or patched?
 
 Along with the usual free-form discussions / debates that will precede and
 follow his talk, food, drink and internet access are available and people
 generally start wandering in from 18:30 (or 17:30 this month) for a good
 'ol chin wag.
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Correction - SOLVED: RE: Home LAN and video (Bill)

2005-07-20 Thread Bill


OOOPS - meant vlc


Bill




Message: 1
Date: Wed, 20 Jul 2005 13:20:06 +1000
From: Bill [EMAIL PROTECTED]
Subject: [SLUG] SOLVED: RE: Home LAN and video
To: slug@slug.org.au
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii; format=flowed

Thanks to Oscar, Glen and Martin.

vlan did the trick.

All 100% OK now.

Bill



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Qemu Questions

2005-07-20 Thread Peter Rundle

James Gregory wrote:

 The user-net option will allow your guest system to make *outgoing*
 connections. You can't (without some tinkering) use it to run an
externally accessible webserver for example.

For my application that will suffice.

Just need a little clarification about the network config,
I understand that the guest gets an 10.0.2.x ip from qemu's virtual 
dhcp server and it's default gateway is set to 10.0.2.2 which is... 
(I'm guessing) qemu creating a virtual gateway, does Qemu then Nat the 
outbound packets from the guest to the Hosts ip address? I.E Qemu is a 
user level  application running on the host which has access to the 
hosts networking services?



I don't understand; how can you tell that there's an hourglass there if
everything is black? Can you point us to a screenshot?


Just the cursor is black. The rest of the display is the normal colour. 
When you launch an application the busy/hourglass cursor appears but it 
is also black (windows nt4 guest). Not to worry but curious bug. If I 
launch the guest without the loadvm (i.e boot from scratch) the cursor 
colour is normal.


Thanks for your help

Pete








--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Security Video Cameras and Linux

2005-07-20 Thread Voytek

quote who=[EMAIL PROTECTED]
 -BEGIN PGP SIGNED MESSAGE-

 I've also looked at a few IP cameras and they cost a heap extra
 for very little return (well, you can have longer cables than with USB so
 that is one useful thing). They also have low resolution.

my $.02 is that IP cameras are the go, even if they're more expensive,
they don't need a PC next to them. last time I looked at them, which,
admitedly, was a long time ago, Axis had some good products

-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Video Editing Software

2005-07-20 Thread Luke Ring
Thanks I will check them out :)

Luke

Rev Simon Rumble wrote:
 On 19/7/2005, Luke Ring [EMAIL PROTECTED] wrote:
 
 
Does anyone know of any decent video editing software for linux?

I just have to do some simple resampling (lower frame rate to 15fps,
currently 30) and resizing of videos (from 640x480, to something less).
 
 
 You seem to be suggesting you don't actually want video editing
 software.  To resize video and do format translation, you want
 transcode.  It has a bewildering array of options, so look at some of
 the recipes and tweak as necessary:
 
 http://www.transcoding.org/cgi-bin/transcode
 
 
 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Changing DHCP servers

2005-07-20 Thread Simon
Hi all,

I want to change from one DHCP server to another. The current one does
not give me enough control and is integrated into an e-smith server
(argg, that was a bad idea! - another story). I can easily set one
up on one of my Linux servers, but how do I avoid IP conflicts as the
new server won't know about existing leases, or will those lease be
re-negotiated by the new server automatically? I don't know what length
the leases are at the moment, that is one of the issues.





OLMC

Simon Bryan

IT Manager

[EMAIL PROTECTED]

LMB 14

North Parramatta

Direct Number:88381200

SwitchBoard: 96833300

fax: 98901466

mobile: 0414238002






  _  

 ella for Spam Control  has removed 151 Spam messages and set aside
207 Later for me
You can use it too - and it's FREE!  www.ellaforspam.com

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Changing DHCP servers

2005-07-20 Thread Michael Fox
On 7/21/05, Simon [EMAIL PROTECTED] wrote:
 Hi all,
 
 I want to change from one DHCP server to another. The current one does
 not give me enough control and is integrated into an e-smith server
 (argg, that was a bad idea! - another story). I can easily set one
 up on one of my Linux servers, but how do I avoid IP conflicts as the
 new server won't know about existing leases, or will those lease be
 re-negotiated by the new server automatically? I don't know what length
 the leases are at the moment, that is one of the issues.


You should only run one DHCP server on your network/segment/subnet at
a time. You would have more then 1 servicing the same ip range.

I'd be inclined to setup the new DHCP to take over the role of the old
one and then turn the old one completely off, then the new one on. And
most machines should attempt to grab the same ip if available, and if
not the new DHCP server will issue them new ones based on its leases
available.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Changing DHCP servers

2005-07-20 Thread Paul Dwerryhouse
On Thu, Jul 21, 2005 at 08:40:59AM +1000, Simon wrote:
 I want to change from one DHCP server to another. The current one does
 not give me enough control and is integrated into an e-smith server
 (argg, that was a bad idea! - another story). I can easily set one
 up on one of my Linux servers, but how do I avoid IP conflicts as the
 new server won't know about existing leases, or will those lease be
 re-negotiated by the new server automatically? 

Both DHCP servers probably have some sort of file showing which leases
are currently active; dhcpd, for example, uses dhcpd.leases (under
/var/lib/dhcp3 in Debian, for example).

Here's an example entry from a server I had running:

lease 172.20.0.150 {
  starts 5 2005/07/15 00:22:06;
  ends 5 2005/07/15 00:22:06;
  tstp 5 2005/07/15 00:22:06;
  binding state active;
  next binding state free;
  hardware ethernet 52:54:00:12:34:56;
  client-hostname splatter;
}

You could write a script to parse the file from the old server and
convert it into whatever format the new server uses. Switch off the old
server, run the script, copy the new leases file across to the new
server and then start it up.

I don't know an awful lot about e-smith, but there's probably a good
chance it uses ISC dhcpd anyway.

Cheers,

Paul

-- 
Paul Dwerryhouse| PGP Key ID: 0x6B91B584
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Seminar reminder -- tonight

2005-07-20 Thread Jacinta Richardson
G'day everyone,

This is a quick reminder that you are invited to hang out with Sydney LinuxChix,
Sydney Perl Mongers, Sydney Python, NSW SAGE-AU and OSIA members to hear Paul
provide a humourous talk on starting your own business.  Even if you never
intend to start your own business I'm sure you'll have a good night and you may
even learn something.  Hopefully the networking opportunities will be of some
use as well.

Content reminder:

Title: So you want to start a business?

Abstract:
http://www.sage-au.org.au/conf/sage-au2005/speakers.html#fenwickabs

Date  Time: 6.30pm, 21st July 2005

Location:  The James Squire Brewhouse, King St Wharf,
   22 The Promenade Sydney 2000. (02) 8270 7999

I hope you'll have the opportunity to drop in.

All the best,

 Jacinta

-- 
   (`-''-/).___..--''`-._  |  Jacinta Richardson |
`6_ 6  )   `-.  ( ).`-.__.`)  |  Perl Training Australia|
(_Y_.)'  ._   )  `._ `. ``-..-'   |  +61 3 9354 6001|
  _..`--'_..-_/  /--'_.' ,'   | [EMAIL PROTECTED] |
 (il),-''  (li),'  ((!.-' |   www.perltraining.com.au   |
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] SOLVED: RE: Home LAN and video

2005-07-20 Thread Matthew Hannigan
On Wed, Jul 20, 2005 at 01:20:06PM +1000, Bill wrote:
 vlan did the trick.

vlan?  do you mean videolan/vlc? 

not being snarky, i just want to know if there are alteratives.

Matt

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Ideas for linux internet server hardware.

2005-07-20 Thread Matthew Hannigan
On Wed, Jul 20, 2005 at 08:18:44PM +1000, Ben Donohue wrote:
 [ .. ]
 Hardware wise I was given the amount or around $4000.
 I am looking at around 3Ghz server with SATA drives RAID 5.
 It will be on a broadband connection.
 
 Just wondering if there are any ideas out there about where to buy good 
 compatible with Linux hardware.
 Possibly building a custom machine. Or how about  3 years warranty on a 
 name brand server? HP? IBM?

The obvious are HP, IBM or maybe DELL.
But you should consider the Sun 20z -- certified for linux,
No weirdarse hardware raid that is incompletely supported.
Good LOM (lights out management -- they run an embedded linux on powerpc
that is on even when the machine is down)
Price competitive.
Uses opterons.

The base model plus extra disk, plus plain hardware support
might sneak in under 4k.

One note with all these server type 1u rack units like
the sun 20z or hp dl360 is that they sound like a cessna
taking off.  So only suitable for a machine room.

Matt
ps. I have no connection to sun.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] MS Exchange Alternative

2005-07-20 Thread Kevin Fitzgerald
Hi All

Need opinions and advice please. I have a client that is an MS house. They
use Outlook extensively and that aint gonna change soon. I have managed to
get them off exchange server but they want to be able to share their Outlook
calendars etc so they want me to put Exchange back..I'm trying to
avoid it. 

So what I'm looking for is a Linux Groupware server that will let MS Outlook
clients share their Calendars etc. What have people in the Slug world used?
What do you Recommend?

Thanks all.

Kev

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Changing DHCP servers

2005-07-20 Thread Visser, Martin
Simon,


There is a reasonably standard approach to this - I have done these
migrations a number of times (mainly to perform IP address migration
when companies merge or need to move away from registered address
space).

OK, the problem is how do you introduce a new DHCP scope served by a new
server, but that doesn't overlap with the existing scope? Depending on
the ratio of number of simultaneous leases to the amount of address
space on your subnet you might be able to reduce the size of the
existing scope. If the scope on the old server can be resized to less
than half of the subnet, you can then introduce the new server with the
new non-overlapping scope. You would then just turn off the old DHCP
server scope so that any clients that need to renew will be served by
the new server when they next renew. (This approach is also used as a
simple way to provide DHCP server redundancy - just have 2
non-overlapping scopes on 2 servers). 

If you don't have sufficient address space to do this then there are two
things you can do

1.Reduce the lease time on the old server to say 2 hours. Next time
clients renew then they will then be on a cycle to renew every 1 hour.
Then, say overnight, remove the old DHCP server and introduce the new
with the same scope range. Yes, there will be potential conflicts, but
only for an hour (as all the clients will renew in that time). Most
clients (well windows ones do) ping or arp for the address they are
offered anyway and hence reject ones they see are being used. If you
aren't a 24x7 operation this can work well as the machines will sort
themselves overnight (or when they boot in the morning).
2. If you absoultely can't have any conflicts and the existing address
range is constrictive you may be able to temporaily introduce a new
subnet as a secondary address range on the same LAN. This would mean
your router (hoping you have a local LAN router capable of reasonable
performance) would then perform any routing necessary between the old
and new subnets. The new DHCP scope would be based on this new secondary
address range. Once you have this in place you could turn off the old
DHCP server. Clients on the old and new subnets would still interwork
(though via the router). When the clients on the old lease renew, they
will then move to the new subnet. Once all the old leases have expired
you could then optionally reintroduce a scope on the new DHCP server for
the old subnet and basically migrate the clients back in the same
fashion. You would turn off the new temporary scope and once all the
clients have moved back to the original subnet you could remove the
extra secondary address on your router.
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Fox
Sent: Thursday, 21 July 2005 8:47 AM
To: [EMAIL PROTECTED]
Cc: SLug Users
Subject: Re: [SLUG] Changing DHCP servers

On 7/21/05, Simon [EMAIL PROTECTED] wrote:
 Hi all,
 
 I want to change from one DHCP server to another. The current one does

 not give me enough control and is integrated into an e-smith server 
 (argg, that was a bad idea! - another story). I can easily set one

 up on one of my Linux servers, but how do I avoid IP conflicts as the 
 new server won't know about existing leases, or will those lease be 
 re-negotiated by the new server automatically? I don't know what 
 length the leases are at the moment, that is one of the issues.


You should only run one DHCP server on your network/segment/subnet at a
time. You would have more then 1 servicing the same ip range.

I'd be inclined to setup the new DHCP to take over the role of the old
one and then turn the old one completely off, then the new one on. And
most machines should attempt to grab the same ip if available, and if
not the new DHCP server will issue them new ones based on its leases
available.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Ideas for linux internet server hardware.

2005-07-20 Thread Howard Lowndes



Matthew Hannigan wrote:

One note with all these server type 1u rack units like
the sun 20z or hp dl360 is that they sound like a cessna
taking off.  So only suitable for a machine room.


Now, that's a sound I like - rather like a well oiled sewing machine :)

--
Howard.
LANNet Computing Associates - Your Linux people http://lannet.com.au
--
When you just want a system that works, you choose Linux;
When you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] MS Exchange Alternative

2005-07-20 Thread Kevin Saenz
I don't like groupware that much I was using about 2 years ago, I
guess there have been a few changes since then.
I would advise you to look at openxchange, or probably a better option
is openexchange(novell) product, both cases will require you to
install plugins in Outlook.
Openxchange behaves very much like exchange.
You could look at lotus notes, or Novell's groupwise.
I have also learned the hard way do not push clients too hard to adopt
Linux. if anything breaks becuase they are using linux they will hate
it for as long as they live.
I can't see anything wrong with exchange though, it is one of the
better products they have for messaging and group management for
corporations If the price tag is a bit ouch then advise other
products.


 Hi All
 
 Need opinions and advice please. I have a client that is an MS house. They
 use Outlook extensively and that aint gonna change soon. I have managed to
 get them off exchange server but they want to be able to share their Outlook
 calendars etc so they want me to put Exchange back..I'm trying to
 avoid it.
 
 So what I'm looking for is a Linux Groupware server that will let MS Outlook
 clients share their Calendars etc. What have people in the Slug world used?
 What do you Recommend?

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] MS Exchange Alternative

2005-07-20 Thread Dean Hamstead

id be very inclined to stay with exchange if its already in place
and the people are happy using it. especially if calendaring is involved

personally i hate calendaring and think its the devil. i also have nfi
why there isnt an alternative. i have read about rfc calendar protocols
(like http, pop, imap, smtp etc) but never seen anything.

(i  think that icalendar and its friends like sunbird are
better calendars but lack the sophistication that outlooks has)

back to the point though. if exchange is in place and paid for, it
seems like a real time waster to pull it out and replace it.
obviously there are some exceptions - like if exchange is so old
that its posing serious security risks etc. (although i would
never put an exchange server on the internet, definately a machine
with exim in between... because im an exim slut).

costs mount up  time, training, whining etc...

ill compliment exchange, as it does have good pop, imap and smtp 
connectors - even ldap! ive never had problems using netscape mail

and thunderbird with it (although address book with ldap is funky)

i guess at this point you want to save face and not go back on your
recommendation.

however a lesson for the future, as a good consultant, take the
time to sit down. look at what is in place, what is needed, what can
be improved. then think about how stuborn and computer illiterate people
are. weigh it all up then make a recommendation. i think youve fallen
into the trap of over zealously supporting one product or brand. 
something ive seen amongst consultants far too often.


too many lil puppies humping microsoft, or ibm or dell's legs.

remember that change isnt inherintly good.

my 2c.

Dean

Kevin Saenz wrote:

I don't like groupware that much I was using about 2 years ago, I
guess there have been a few changes since then.
I would advise you to look at openxchange, or probably a better option
is openexchange(novell) product, both cases will require you to
install plugins in Outlook.
Openxchange behaves very much like exchange.
You could look at lotus notes, or Novell's groupwise.
I have also learned the hard way do not push clients too hard to adopt
Linux. if anything breaks becuase they are using linux they will hate
it for as long as they live.
I can't see anything wrong with exchange though, it is one of the
better products they have for messaging and group management for
corporations If the price tag is a bit ouch then advise other
products.




Hi All

Need opinions and advice please. I have a client that is an MS house. They
use Outlook extensively and that aint gonna change soon. I have managed to
get them off exchange server but they want to be able to share their Outlook
calendars etc so they want me to put Exchange back..I'm trying to
avoid it.

So what I'm looking for is a Linux Groupware server that will let MS Outlook
clients share their Calendars etc. What have people in the Slug world used?
What do you Recommend?



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ubuntu -help pls

2005-07-20 Thread hana martin

dr sir/madam,
i bought PC AUTHORITY APRIL 2005 to get UBUNTU 4.10 ,
,but not installed yet.
now UBUNTU 5 has released,  --where  can i get a CD in SYDNEY ?
  --can i get INSTALL HELP via telephone (pref) from a kind soul ? ,
since i am computer challenged .
[ i am located in SYDNEY northern suburbs ].
thankyou - regards,  hana martin.


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ubuntu -help pls

2005-07-20 Thread Michael Fox
On 7/20/05, hana martin [EMAIL PROTECTED] wrote:
 dr sir/madam,
 i bought PC AUTHORITY APRIL 2005 to get UBUNTU 4.10 ,
 ,but not installed yet.
 now UBUNTU 5 has released,  --where  can i get a CD in SYDNEY ?
--can i get INSTALL HELP via telephone (pref) from a kind soul ? ,
 since i am computer challenged .
 [ i am located in SYDNEY northern suburbs ].
 thankyou - regards,  hana martin.

I have a copy of the dvd iso image, if your near North Ryde (Macquarie
Uni) then I can certainly get you a copy.

As for phone support, not likely, but this mail list would be suitable
for help at various times. Although most stuff could probably be
solved via google
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Perl with Apache2 (ubuntu/Debian)

2005-07-20 Thread Simon Wong
On Wed, 2005-07-20 at 14:42 +1000, Michael Lake wrote:
 2. Are you using a minimal perl script to see if it works? 

G'Day Mike.

Bingo!  I tried that shortly after posting and whaddya know, the simple
two liner worked!  I had been spending hours making changes to Apache
but it was the b*#* script itself!

I discovered that the script I had been given was the Windows version so
the bang line didn't work.

Problem was exacerbated by the fact that I had copied the script into
several other places (/usr/lib/cgi-bin esp) and that was being served up
preferentially :-(  So even though I was making changes it was serving
up the other version.

Thanks for the help.



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Perl with Apache2 (ubuntu/Debian)

2005-07-20 Thread Simon Wong
On Wed, 2005-07-20 at 20:33 +1000, Jamie Honan wrote:
 The 'HOST' looks sus below.

I changed that (should have mentioned that I guess).

 Stas Beckman practical mod_perl is pretty good:
 
 http://modperlbook.org/html/ch02_06.html
 http://modperlbook.org/html/ch25_01.html

Excellent reference, Google didn't pull this up anywhere...thanks Jamie.



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] SOLVED: RE: Home LAN and video

2005-07-20 Thread Bill


Hi Matt,

Yep, meant vlc - have posted correction email to SLUG mailinglist already 
this AM.


Just had a mental block that day :)

vlc works great, except that I'm having playback problems with my DVD 
.iso's in that vlc closes about 5 mins from end of .iso. Don't know if its 
a linux/vlc problem or whether my .iso's - ripped with DVDDEcrypter under 
WinXP Pro - have problems. Will try another DVD/rip to see, and try 
playback under both XP and linux ( kanotix/Debian).


Bill


Message: 3
Date: Thu, 21 Jul 2005 11:02:09 +1000
From: Matthew Hannigan [EMAIL PROTECTED]
Subject: Re: [SLUG] SOLVED: RE: Home LAN and video
To: Bill [EMAIL PROTECTED]
Cc: slug@slug.org.au
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 20, 2005 at 01:20:06PM +1000, Bill wrote:
 vlan did the trick.

vlan?  do you mean videolan/vlc?

not being snarky, i just want to know if there are alteratives.

Matt



--


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Central Coast Code Con 2005

2005-07-20 Thread Peter Miller
Following from the success of last year's CodeCon, it is on again.
This year's CodeCon is in the pretty and accessable Olney State Forest.
If you weren't there last year, come along and see what you missed.

When: Friday 4PM 26-Aug-2005 to Sunday 28-Aug 1PM-ish
(yes, that's the monthly SLUG meeting night)
Where: The Basin Camping Ground, Olney State Forest, Watagan Mountains.
Cost: $20 per person (BYO everything)

Please vist http://wiki.slug.org.au/wiki/EventCodefest/Aug2005 for more
information, dates, and driving directions.

The break-even point is 15 attendees.  If I could get some indication of
numbers asap it would ease my fiscal anxiety.

-- 
Regards
Peter Miller [EMAIL PROTECTED]
/\/\*http://www.canb.auug.org.au/~millerp/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] ubuntu -help pls

2005-07-20 Thread Gary Bennett
On 7/21/05, Michael Fox [EMAIL PROTECTED] wrote:
 On 7/20/05, hana martin [EMAIL PROTECTED] wrote:
  dr sir/madam,
  i bought PC AUTHORITY APRIL 2005 to get UBUNTU 4.10 ,
  ,but not installed yet.
  now UBUNTU 5 has released,  --where  can i get a CD in SYDNEY ?
 --can i get INSTALL HELP via telephone (pref) from a kind soul ? ,
  since i am computer challenged .
  [ i am located in SYDNEY northern suburbs ].
  thankyou - regards,  hana martin.
 
 I have a copy of the dvd iso image, if your near North Ryde (Macquarie
 Uni) then I can certainly get you a copy.
 
 As for phone support, not likely, but this mail list would be suitable
 for help at various times. Although most stuff could probably be
 solved via google
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

Hana,

In addition to Michael's suggestions, there are a few sites that
provide reasonable support and information about Ubuntu. These are:
http://www.ubuntu.com/
http://ubuntuforums.org/index.php?
http://www.ubuntuguide.org/

Regards, Gary
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html