Re: [SLUG] This slipped through the SLUG mail

2003-07-17 Thread Jeff Waugh
quote who=Laurie Savage

 This nasty little piece slipped through the mailing list. I assume others
 have received it but here is the raw text for those who know how to
 respond. I have snipped the binary.

Thanks, but please send stuff like this to slug-owner instead of slug. There
are over 600 people on the mailing list, and none of them like receiving
spam/virii bits twice (nor do we like sucking up the bandwidth sending them)

The admins do subscribe to the list too, so we're not missing out on the
mess. ;-)

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/
 
Man, is there some worldwide consipiracy to supply me with doctored
 dictionaries or something? - Adrian van den Dries
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] debian kernel 2.4.21 with freeswan 2.00 and herberts patch

2003-07-17 Thread Adam Hewitt
Hi All,

I am trying to get freeswan working with the 2.4.21 debian kernel 
(which Herbert backported the 2.5 IPsec stack for), and I am having 
some problems.

As far as I understand it I need to get the freeswan-2.00.patch.gz file 
from http://gondor.apana.org.au/~herbert/debian/freeswan/

I checked the first couple of lines in that patch to find that it is 
looking at this file:
linux/include/freeswan/ipsec_kversion.h

I cant find this file anywhere on my system, nor can I find it in the 
packages.debian.org search engine.

Also, and I dont know whether this is important or not, but when I try 
and install freeswan 2.00 I get an error saying that it cannot find 
KLIPS in this kernel. I assume that is because freeswan needs to be 
patched before it can use the 2.5 IPSec stack.

Would someone mind giving me some idea on what I need to do to get this 
working?

Cheers,

Adam.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Music management software for 'embedded' jukeboxes

2003-07-17 Thread Amanda
Jeff,

I'm using SME server 5.6 (was e-smith) with the apacheMP3 addon. Other people
use the NetJuke addon. I've got no idea what icecast is, but it streams to XMMS
or WinAmp on that other OS. I mount the thing to my Linux box using smbfs to
copy files across.

Don't think it will do audio out locally though.

Otherwise it works for me.

Amanda


Quoting Jeff Waugh [EMAIL PROTECTED]:

 So,
 
 I have a spare machine that I'd like to use as a jukebox, which now has a
 fat hard drive and sound card. The only problem is, I don't have software!
 
 I'm looking for something reasonably hackable, server-oriented (no display
 necessary), hopefully handles CIFS/NFS input gracefully, feeds icecast
 streams (so I can just use a streaming client on my desktop to listen) as
 well as audio-out. It can't be tied to x86 though, because I could change
 the arch at any time. :-)
 
 Anyone have recommendations?
 
 Thanks,
 
 - Jeff
 
 -- 
 linux.conf.au 2004: Adelaide, Australia
 http://lca2004.linux.org.au/
  
  Free software never simply picks up its marbles and goes home. -
 Jonathan Corbet, LWN
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 
 
 



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] debian kernel 2.4.21 with freeswan 2.00 and herberts patch

2003-07-17 Thread Alexander Samad
Damned western australians 


you need the freeswan-module-source packages, the patch is applied
agains this module.



On Thu, Jul 17, 2003 at 02:56:53PM +0800, Adam Hewitt wrote:
 Hi All,
 
 I am trying to get freeswan working with the 2.4.21 debian kernel 
 (which Herbert backported the 2.5 IPsec stack for), and I am having 
 some problems.
 
 As far as I understand it I need to get the freeswan-2.00.patch.gz file 
 from http://gondor.apana.org.au/~herbert/debian/freeswan/
 
 I checked the first couple of lines in that patch to find that it is 
 looking at this file:
 linux/include/freeswan/ipsec_kversion.h
 
 I cant find this file anywhere on my system, nor can I find it in the 
 packages.debian.org search engine.
 
 Also, and I dont know whether this is important or not, but when I try 
 and install freeswan 2.00 I get an error saying that it cannot find 
 KLIPS in this kernel. I assume that is because freeswan needs to be 
 patched before it can use the 2.5 IPSec stack.
 
 Would someone mind giving me some idea on what I need to do to get this 
 working?
 
 Cheers,
 
 Adam.
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Writing GUI apps for Linux (FOSS platforms)

2003-07-17 Thread Stuart Guthrie
Being a business app developer from wy back I've pondered this for a 
while. I really want to keep my current customer base in Windows happy 
whilst slowly converting them over to Linux on the desktop. There are 
bucket loads of options for you to think about.

If you're looking for a solution that can also hit a Windows 2010 (when 
it comes out and if it is still relevant) base, I'd suggest something 
like J2EE with a GUI frontended by IBMs SWT.

For an example of SWT download Eclipse from eclipse.org. It is a free 
Integrated Development Environment (IDE) that supports lots of languages 
including Java, C, C++, COBOL.  Eclipse has to some degree 
eclipsed(barr) a lot of other IDEs in the Java world. It also works 
great on Windows if you need that.

I write GUI apps using SWT as it uses native widgets underneath a set of 
easy to use java class wrapper. This means the user's GUI performance is 
excellent. It also means you can back-end it with clustering and 
failover J2EE solutions from the FOSS jboss group (www.jboss.org) (they 
had 2Mill downloads of their app server last 12 months) and your 
favourite Postgres or MySQL database.  If you also need to deploy web 
(usually Apache Struts is best) to the same customer base, you can 
shared all those great business rules you wrote in as Enterprise beans 
between the Web client and the GUI Client. The same rules can be re-used 
if your base is buzzword compliant and demands web services et al.

As far as anything to do with .NET bindings to FOSS, that will probably 
end up a bigger can of worms than SCO.  I can almost here big Bill in 
Seattle in the background Mwah, hwa, hwa (little finger on side of cheek)

HTH

Stu

Mark Pearson wrote:

Have a look at wxWindows http://www.wxwindows.org It is a 
cross-platform free gui development toolkit written in c++ vith 
bindings for python and perl.
I only discovered it recently but it has been around about 10 years 
and seems very powerful.



--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Mandrake 9.1 downgrade

2003-07-17 Thread Ron Daniel
Great. Here I sit, stuck in the world of M$ writing this email cause I
just upgraded to 9.1 Somebody should have told me about the descent
(downgrade) on the other side. 

How in the world is this FOSS stuff going to make critical mass in the
desktop arena if, when at release 9.1 in 2003 I find myself in the
situation where :

I had 9.0 and a working dual boot system which seemed to go painlessly
and smoothly on my compaq evo N880v, albeit with display behaviour
problems
I believe I had three file systems in my Linux partition, although I
can't remember or find out what they were
I bought the 9.1 mandrake update
I clicked on upgrade
It wanted me to specify what my file systems were and the mount points
(it should have been able to easilty work this out) I told it about my /
File system It then FRUSTRATINGLY asked me all the qeustions I had
already told it about my machine in the install of 9.0, only this time
it said I dodn't have the room for the machine to be everything I wanted
it to be, with games, and mutlitmedia etc, all I had room for were one
window manager and office and internet client. Wow ! Talk about
progress.  
So it merruily installed asking me for the second CD and then asking me
for the international CD ! If I didn;t have this CD it told me to click
cancel. It should have knwon that I dodn;t have the international CD,
after all I am doing an upgrade with the 3 CD's of Mandrake 9.1. Other
upgrades you buy always have all of the right media with them. By now my
fingers are crossed hard hoping that it aint going to wipe out my
windows partition with all my stuff on  it. 
Re start time, after some worrying confusing questions about lilo and
where it was going to place it. Didn't get these questions when I
installed 9.0 . Myabe upgrading is trickier than installing from
scratch. Hell, I wouldn't know.
Ok so it boots ok in windows. Relax Ron. Can breathe now. Lets boot in
Linux.

Oh joy of joys !! My deskop is empty of all the stuff I had before. The
glidepad mouse doesn;t work and I find that I can't get to my other file
systems because the keyboard won;t respond in the mandrake control
center !! I really like this upgrade stuff. Give me back my old Holden !


I hope that my other file systems are intact, and all I have to do is :
1) create two directories under / called shite1 and shite2
2) somehow mount the other two file systems at shite1 and shite2
3) find out which shite is really my old /home and my old /usr or
whatever they were
4) rename everything and remount old file systems as shite1 and shite2
or home and usr
5) whatever 
6) whatever

But how the  am I going to do this without an effing glidepad to get
into the control centre. 

Do I now need to go and hire a unix sysadmin to fix my stupid laptop, or
just my stupid linux. Stupid ! Stupid ! Stupid ! Should have stayed on
9.0. And they say debian is harder than this ! I just want it to work so
I can tell others it does !

Now I wait, hoping that there is a simple solution ! 

 





-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] This slipped through the SLUG mail

2003-07-17 Thread Laurie Savage
Sorry, I wasn't sure about the correct procedure here. You should not have 
received any binary stuff though, I sent a text copy of the raw email and 
deleted the pif file.

Laurie

 On Thu, 17 Jul 2003, Jeff Waugh wrote:

 quote who=Laurie Savage
 
  This nasty little piece slipped through the mailing list. I assume others
  have received it but here is the raw text for those who know how to
  respond. I have snipped the binary.
 
 Thanks, but please send stuff like this to slug-owner instead of slug. There
 are over 600 people on the mailing list, and none of them like receiving
 spam/virii bits twice (nor do we like sucking up the bandwidth sending them)
 
 The admins do subscribe to the list too, so we're not missing out on the
 mess. ;-)
 
 - Jeff
 
 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] IPsec AES module

2003-07-17 Thread pauld
Hi all, 

I've been working on some freeswan ipsec stuff of late. I've got just about 
everything as I want it. But I'd like to ditch 3DES for AES. Doesn't appear 
too difficult, load the module and config ipsec.conf. Okay but where did my 
module go? 

To get ipsec I've compiled 2.4.20 with kernel-patch-freeswan (debian 
package) set ipsec and set all the extras as modules. This was all done 
using make-kpkg --config=menuconfig --revision=blah --initrd kernel_image. 
Post compile the .config states the ipsec extras as modules. 

Problem is I can't find the aes module...or anything resembling any ipsec 
module in /lib/modules. I can find all the source neatly attached to my 
kernel source in /usr/src/linux. So I'm at a bit of a loss. I assume I've 
missed something in the compile but I haven't found any doco telling me I 
should have done anything other make-mpkg command. 

I have an odd mix of stable/testing/unstable trying to get ipsec to 
function. 

Anybody got any ideas? Cheers. 

-Paul.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Writing GUI apps for Linux (FOSS platforms)

2003-07-17 Thread Jeff Waugh
quote who=Stuart Guthrie

 As far as anything to do with .NET bindings to FOSS, that will probably
 end up a bigger can of worms than SCO.  I can almost here big Bill in
 Seattle in the background Mwah, hwa, hwa (little finger on side of
 cheek)

Only if people use/rewrite non-ECMA bits, which may be encumbered. .NET is
actually a really kickarse devel platform, and the MS guys have been very
helpful with alternative implementations of it. Even if you dodge all of the
MS-only, non-standardised stuff, it is still a great platform (as shown by
the speed of the Mono project and unencumbered software based on it).

For GUI apps, you can write against Qt or GTK+ wtih Mono/C# and port to
Windows without using any MS-only, non-standardised stuff. It pays to be
cautious, but not to be unnecessarily FUDly. Embrace and extend.

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/
 
Ever had a morning where you were not kissed and told 'I love you,'
   when the night before you SCREWED so wildly that you could not
remember? GOOD MORNING - Andre Hedrick, Linux ATA Dude
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Simple Error with CLISP

2003-07-17 Thread Malcolm Johnston
Dear SLUGGERS, 

I have just downloaded and compiled the version of CLISP that Bruno Haible,
Michael Stoll, Marcus Daniels, Pierpaolo Bernadini and Sam Steingold
have put together.  The version in question is copyrighted 2002 by B.H.
and Sam Steingold.  While (load tests) and (run-all-tests) work fine
(except for a floating point contagion warning which I have corrected by
setting the appropriate variable to nil), when I try a simple defun,
such as: 

(defun fact (n) 
(if ( n 0) 
(* n (fact (- n 1))) 
1)) 

comes up with a message like: 

*** - POSITION: :START = 1 should not be greater than :END = 0 after
one line when invoked from the shell or two lines when invoked as an
inferior-lisp process in Emacs.* 

I have discovered, however that if if restrict a defun to one line (automatic
wraparounds don't matter) that all goes well (i.e.  (defun fact (n) (if ( n
 0) (* n (fact(- n 1))) 1))\n result is the correct response: FACT\n,
and that function FACT then works fine.

So I conclude that I have some sort of formatting problem, and that the problem
is inside CLISP or the CLISP shell: it is definitely not the fault of 
GNU emacs, and occurs under ZSH and TCSH as well as BASH.  Can anybody help me
with this.  Incidentally, I downloaded and compiled GCL, which, while it has
some problems of a more lisp-ish nature (e.g some problems with macros),
certainly doesn't have this one.  I conclude that I have probably done (or not
done) something in editing config.lisp (I just altered the editor from vi
to emacs (although not altering it didn't make any difference) and filled in
the short and long site names, which, if I understand correctly, is for internet
activities or networkng and shouldn't have any bearing on formatting. In any
case, any suggestions would be appreciated.

I am running Red Hat Linux 9.0 on an AMD Athlon XP 2100+ and compiled
the clisp executable as a Unix platform.  I have used CLISP before in
a previous Slackware distribution and it ran fine.  The problem is
probably very simple and probably involves the editing of
config.lisp.  Can you provide me with any hints.  I would be most
grateful if so. 

Yours faithfully, 
Dr Malcolm Johnston 

* This, in turn, produces a #SIMPLE-ERROR ... message, where the ...
seem to be a memory address. 



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] RE: Ron's Mandrake install probs.

2003-07-17 Thread mick
Hi all, 

I just reads Ron's Mandrake 9.1 upgrade woes and thought I might throw
this into the ring.  I have made a habit of creating a partition called
Home During my linux installs.  

This way my data is always intact even if an install goes horribly
wrong, or if I have reinstall the OS (Like reverting back to RH 8.0,
because of the ATi/Xinerama dramas in 9.0)

Not being a linux guru, it's nice to know that if I truck up the OS, I
can reinstall the OS and my 'home' directories and it's contents are
unaffected.

Just a thought

Regards

Mick

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] (?) X, ipx confilcts IBM R31 Thinkpad

2003-07-17 Thread Laurie Savage
Dear Sluggers,

When my laptop is connected to our Novell network my display and keyboard 
freeze 9 out of 10 times when I log out of Windowmaker or Gnome. If I halt 
the system from a terminal window in either of these I get a kernel panic 
message after the system starts to close down.

If I issue umount /mnt/novell-partitions  /sbin/ifdown eth0 before 
quitting either of these window managers then I can close my machine 
gracefully.

(KDE does not like this machine even if I append the apm=broken_psr tag 
when booting)

Running otherwise delightful ReHat 8.0, Windowmaker 0.80.1(latest stable), 
Gnome 2 with current upgrades from RHN.

--

Laurie Savage

Physics/Maths/IT Teacher
Pascoe Vale Girls' College
Pascoe Vale, Victoria, AUSTRALIA

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] terminal emulator

2003-07-17 Thread Peter Fenelon
Hi,
I'm goning to be installing a Linux server on a primary school network so as 
to give year six students a bit of a play with something that is not 
Windows.
My question is:
Is there a free terminal emulator available so as to allow the students 
access to the Linux server from Windows workstations?

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] terminal emulator

2003-07-17 Thread Anth Courtney
Peter,

 Is there a free terminal emulator available so as to allow the students 
 access to the Linux server from Windows workstations?

putty. supports both telnet and ssh.

http://www.chiark.greenend.org.uk/~sgtatham/putty

-- 
anth sanchez courtney - sysadmin - pnc - [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] terminal emulator

2003-07-17 Thread Broun, Bevan
on Thu, Jul 17, 2003 at 11:45:25PM +, Peter Fenelon [EMAIL PROTECTED] wrote:
 Hi,
 I'm goning to be installing a Linux server on a primary school network so as 
 to give year six students a bit of a play with something that is not 
 Windows.
 My question is:
 Is there a free terminal emulator available so as to allow the students 
 access to the Linux server from Windows workstations?

Putty is a favorite of mine, free, single executable file and does both ssh
and telnet.

BB
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Apache vhost logs managemt

2003-07-17 Thread Andrew McNaughton

I like httplog http://www.gnu.org/directory/all/httplog.html

It doesn't resolve DNS names for you, but it does handle rolling over
files, with suitable naming and gzip compression.

Presumably you could put another program in the output chain to do the DNS
resolution on the fly. That would mean that you wouldn't get the latency
problems associated with resolving IPs before the request is processed,
but you would have resolved IPs in your logs right from when they are
written.

The key thing with DNS resolvers is that to operate at an acceptable speed
they need to cache results, and to run multiple DNS requests in parallel.

The perl script jdresolve http://jdrowell.com/projects/jdresolve might
do you for the name resolution, but if it was me I'd modify it so that it
only concerns itself with the first field in the http logs.  There must be
something around in C or C++ to do this job well.

Andrew McNaughton


On Thu, 17 Jul 2003, Voytek Eymont wrote:

 Date: Thu, 17 Jul 2003 23:57:09
 From: Voytek Eymont [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [SLUG] Apache vhost logs managemt

 I'm setting up Apache 1.3x with name vhost and I need to set up log
 handling for all vhosts; basically, I'd like to is:

 process yesterday's logs to resolve IP addresses;
 gzip yesterday's logs (is bzip2 what should be used instead of gzip ?);
 have logs saved with some sort of dd-mm-yy

 suggestions and useful scripts welcomed

 thanks,

 Voytek Eymont


--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

---
Andrew McNaughton   In Sydney
Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] RE: Ron's Mandrake install probs.

2003-07-17 Thread Laurie Savage
Its a great idea and should be your standard for any installation. But be 
aware that different distros dont necessarily recognise home directories 
created by others. You will possibly need to do some chown -R here and 
there. I discovered this because I played around with various Mandrake and 
Redhat releases for a while untilI I settled withRedhat 8.

--

Laurie Savage

Physics/Maths/IT Teacher
Pascoe Vale Girls' College
Pascoe Vale, Victoria, AUSTRALIA

On 2003-07-17 23:33:16 + mick [EMAIL PROTECTED] wrote:
Hi all,
I just reads Ron's Mandrake 9.1 upgrade woes and thought I might throw
this into the ring.  I have made a habit of creating a partition called
Home During my linux installs.
This way my data is always intact even if an install goes horribly
wrong, or if I have reinstall the OS (Like reverting back to RH 8.0,
because of the ATi/Xinerama dramas in 9.0)
Not being a linux guru, it's nice to know that if I truck up the OS, I
can reinstall the OS and my 'home' directories and it's contents are
unaffected.
Just a thought

Regards

Mick

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Apache vhost logs managemt

2003-07-17 Thread Tony Green
On Fri, 2003-07-18 at 09:57, Voytek Eymont wrote:
 I'm setting up Apache 1.3x with name vhost and I need to set up log
 handling for all vhosts; basically, I'd like to is:
 
 process yesterday's logs to resolve IP addresses;
 gzip yesterday's logs (is bzip2 what should be used instead of gzip ?);
 have logs saved with some sort of dd-mm-yy 
 

I have always used chronolog for that.

My vhost logs are like this :
CustomLog |/usr/sbin/cronolog
/var/log/apache/prince-of-darkness.com/%Y/%m/%d/access.log combined
ErrorLog |/usr/sbin/cronolog
/var/log/apache/prince-of-darkness.com/%Y/%m/%d/errors.log

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IPsec AES module

2003-07-17 Thread Alexander Samad
From memeory you need kernel-patch-freeswan-ext module instead of
kernel-patch-freeswan

the ext has the extra encrpytion modules.

But good luck I have just noticed that version 2 is eliminating the
1.99-x series.

On Thu, Jul 17, 2003 at 01:23:59PM +, [EMAIL PROTECTED] wrote:
 Hi all, 
 
 I've been working on some freeswan ipsec stuff of late. I've got just about 
 everything as I want it. But I'd like to ditch 3DES for AES. Doesn't appear 
 too difficult, load the module and config ipsec.conf. Okay but where did my 
 module go? 
 
 To get ipsec I've compiled 2.4.20 with kernel-patch-freeswan (debian 
 package) set ipsec and set all the extras as modules. This was all done 
 using make-kpkg --config=menuconfig --revision=blah --initrd kernel_image. 
 Post compile the .config states the ipsec extras as modules. 
 
 Problem is I can't find the aes module...or anything resembling any ipsec 
 module in /lib/modules. I can find all the source neatly attached to my 
 kernel source in /usr/src/linux. So I'm at a bit of a loss. I assume I've 
 missed something in the compile but I haven't found any doco telling me I 
 should have done anything other make-mpkg command. 
 
 I have an odd mix of stable/testing/unstable trying to get ipsec to 
 function. 
 
 Anybody got any ideas? Cheers. 
 
 -Paul.
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] RE: Ron's Mandrake install probs.

2003-07-17 Thread Laurie Savage
I shouldn't reply to my own note, I know. But I should have mentioned that 
even if you keep user names the same, different distros presumably 
allocate different UIDs to the users and so the ownership of home 
directories becomes confused.
Maybe you could circumvent this by creating the users in the same sequence 
during each successive installation, but this requires good record 
keeping!

--

Laurie Savage

Physics/Maths/IT Teacher
Pascoe Vale Girls' College
Pascoe Vale, Victoria, AUSTRALIA

releases for a while untilI I settled withRedhat 8.

--

Laurie Savage

Physics/Maths/IT Teacher
Pascoe Vale Girls' College
Pascoe Vale, Victoria, AUSTRALIA

On 2003-07-17 23:33:16 + mick [EMAIL PROTECTED] wrote:
Hi all,
I just reads Ron's Mandrake 9.1 upgrade woes and thought I might throw
this into the ring.  I have made a habit of creating a partition called
Home During my linux installs.
This way my data is always intact even if an install goes horribly
wrong, or if I have reinstall the OS (Like reverting back to RH 8.0,
because of the ATi/Xinerama dramas in 9.0)
Not being a linux guru, it's nice to know that if I truck up the OS, I
can reinstall the OS and my 'home' directories and it's contents are
unaffected.
Just a thought

Regards

Mick


--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] terminal emulator

2003-07-17 Thread Chris Deigan
Peter Fenelon wrote:
Is there a free terminal emulator available so as to allow the students 
access to the Linux server from Windows workstations?

PuTTY for ssh access (mirror.cse.unsw.edu.au/pub/putty/)
VNC for X (realvnc.com)

 - Chris
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IPsec AES module

2003-07-17 Thread pauld
From memeory you need kernel-patch-freeswan-ext module instead of
kernel-patch-freeswan
From what I can find the -ext package no longer exists. I can't seem to find 
out if that means they rolled the extra functions in to 
kernel-patch-freeswan. There are a bunch of files that suggest this might be 
the case: 

/usr/src/kernel-source-2.4.20/include/config/ipsec/ext/aes
/usr/src/kernel-source-2.4.20/include/config/ipsec/ext/aes.h
/usr/src/kernel-source-2.4.20/include/config/ipsec/ext/aes/module.h
/usr/src/kernel-source-2.4.20/include/config/ipsec/ext/aes/opt
/usr/src/kernel-source-2.4.20/include/config/ipsec/ext/aes/opt.h
/usr/src/kernel-source-2.4.20/include/config/ipsec/ext/aes/opt/module.h 


the ext has the extra encrpytion modules.

But good luck I have just noticed that version 2 is eliminating the
1.99-x series.
I haven't delved in to version 2. I've got 1.96 which I can still get 
because I believe 1.99 has been shown the door in the packages. 

-Paul.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] anti-nida apache conf mods ?

2003-07-17 Thread John Clarke
On Thu, Jul 17, 2003 at 11:35:41PM +, Voytek Eymont wrote:

 are there any worthwile httpd.conf mods to minimize impact or ?

This rejects the request without logging it:

http://www.torkington.com/vermicide.txt


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Apache vhost logs managemt

2003-07-17 Thread John Clarke
On Fri, Jul 18, 2003 at 12:05:27PM +1200, Andrew McNaughton wrote:

 The perl script jdresolve http://jdrowell.com/projects/jdresolve might
 do you for the name resolution, but if it was me I'd modify it so that it
 only concerns itself with the first field in the http logs.  There must be
 something around in C or C++ to do this job well.

There is.  It's called logresolve and is part of Apache:

logresolve  is  a  post-processing  program to resolve IP-
adresses in Apache's access logfiles.  To minimize  impact
on  your  nameserver, logresolve has its very own internal
hash-table cache. This means that each IP number will only
be looked up the first time it is found in the log file.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] anti-nida apache conf mods ?

2003-07-17 Thread Andrew McNaughton

That approach requires mod_perl though which makes for a heavy-weight
server if you don't already have it.  Try this for the same effect:


SetEnvIfNoCase Request_URI root\.exe|cmd\.exe|default\.ida worm_request
Deny from env=worm_request
CustomLog logs/access_log common env=!worm_request


Note that that last line is a replacement for your existing CustomLog
line.  You'll need to modify every CustomLog entry in your config file.

Andrew


On Fri, 18 Jul 2003, John Clarke wrote:

 Date: Fri, 18 Jul 2003 12:24:08 +1000
 From: John Clarke [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [SLUG] anti-nida apache conf mods ?

 On Thu, Jul 17, 2003 at 11:35:41PM +, Voytek Eymont wrote:

  are there any worthwile httpd.conf mods to minimize impact or ?

 This rejects the request without logging it:

 http://www.torkington.com/vermicide.txt


 Cheers,

 John


--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

---
Andrew McNaughton   In Sydney
Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] terminal emulator

2003-07-17 Thread mlh

teraterm also does telnet and ssh, and 
I find it easier to live with.

(puttys configuration screen is
infuriating)

But teraterm's ssh support is an
external add-on, and it only does
ssh version 1 if I recall correctly.

Still telnet should be good enough
for you, and it puts less of a load
on the client and server than ssh.

Regards,
Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Mandrake 9.1 downgrade

2003-07-17 Thread James Gregory
On Thu, 2003-07-17 at 20:38, Ron Daniel wrote:
 Great. Here I sit, stuck in the world of M$ writing this email cause I
 just upgraded to 9.1 Somebody should have told me about the descent
 (downgrade) on the other side. 
 
 How in the world is this FOSS stuff going to make critical mass in the
 desktop arena if, when at release 9.1 in 2003 I find myself in the
 situation where :

How in the world will Windows keep market share if you can't boot it
when you change the hard disk controller?

 
 I had 9.0 and a working dual boot system which seemed to go painlessly
 and smoothly on my compaq evo N880v, albeit with display behaviour
 problems
 I believe I had three file systems in my Linux partition, although I
 can't remember or find out what they were
 I bought the 9.1 mandrake update
 I clicked on upgrade
 It wanted me to specify what my file systems were and the mount points

As I recall, the optimist who suggested the move to 9.1 said something
along the lines of the following:

 I guess if you're sure that you're using the upgrade option and
 it's giving you grief, then add the 3 mdk 9.1 CDs to urpmi's sources
 list and do urpmi --auto-select

Which conveniently sidesteps all manner of issues (which button you're
clicking for example, or indeed, where the partitions are)

 (it should have been able to easilty work this out) I told it about my /
 File system It then FRUSTRATINGLY asked me all the qeustions I had
 already told it about my machine in the install of 9.0, only this time
 it said I dodn't have the room for the machine to be everything I wanted
 it to be, with games, and mutlitmedia etc, all I had room for were one
 window manager and office and internet client. Wow ! Talk about
 progress.  
 So it merruily installed asking me for the second CD and then asking me
 for the international CD ! If I didn;t have this CD it told me to click
 cancel. It should have knwon that I dodn;t have the international CD,

I must have missed the telepathy patch for the mandrake 9.1 installer.

 after all I am doing an upgrade with the 3 CD's of Mandrake 9.1.

The third CD is the international CD. If it isn't labelled as such, and
you purchased it (ie didn't download and burn it yourself, checking md5
sums and so forth) then I would treat the CDs as suspect if you're
seeing installer problems.

 Other
 upgrades you buy always have all of the right media with them. By now my
 fingers are crossed hard hoping that it aint going to wipe out my
 windows partition with all my stuff on  it. 
 Re start time, after some worrying confusing questions about lilo and
 where it was going to place it. Didn't get these questions when I
 installed 9.0 . Myabe upgrading is trickier than installing from
 scratch. Hell, I wouldn't know.
 Ok so it boots ok in windows. Relax Ron. Can breathe now. Lets boot in
 Linux.
 
 Oh joy of joys !! My deskop is empty of all the stuff I had before. The
 glidepad mouse doesn;t work and I find that I can't get to my other file
 systems because the keyboard won;t respond in the mandrake control
 center !! I really like this upgrade stuff. Give me back my old Holden !

Let me give you a symptomatic diagnosis. At a guess I would say that you
have somehow clicked install rather than upgrade, or, you're using one
of the 9.1 prereleases that had a number of problems not unlike what
you're seeing.

I honestly don't know what you've done, since I was unable to watch you
doing it. I know for a fact that if you're using mandrake 9.1 final and
you click upgrade, then it will not behave in the manner which you are
indicating. So some part of this equation is wrong.

Now, I offered you advice about using urpmi in place of the installer if
it didn't seem to be working correctly (which is an observation you seem
to have made). I don't understand why you didn't follow this advice, but
that decision is your own, along with its consequences.

 
 
 I hope that my other file systems are intact, and all I have to do is :
 1) create two directories under / called shite1 and shite2
 2) somehow mount the other two file systems at shite1 and shite2
 3) find out which shite is really my old /home and my old /usr or
 whatever they were
 4) rename everything and remount old file systems as shite1 and shite2
 or home and usr
 5) whatever 
 6) whatever
 
 But how the  am I going to do this without an effing glidepad to get
 into the control centre. 

Well, I can think of a number of ways:

* Pressing shift-numlock to use the keys on your numeric keypad as a
mouse (which will probably require other odd key combinations if you're
on a laptop).

* Press ctrl-alt-f1 to get to a console and do what you need from the
command line with the console version of mandrake control center

* Press alt-f2 (that's a kde shortcut which I use on gnome. Can someone
tell us what the gnome default equivalent is?) to start an xterm and do
the same (maybe unsetting DISPLAY if you're still mouseless)

* do what you need to do from a console or 

Re: [SLUG] RE: Ron's Mandrake install probs.

2003-07-17 Thread Bret Comstock Waldow
On Thu, 2003-07-17 at 20:36, Laurie Savage wrote:
  
 But I should have mentioned that 
 even if you keep user names the same, different distros presumably 
 allocate different UIDs to the users and so the ownership of home 
 directories becomes confused.

Redhat always made me uid=500, and Debian makes me uid=1000.

During installs, there's always been a place where I can specify mount
points, including for already initialized partitions, and I specify my
existing /home partition then.  I also create the named user account,
same name as before, and don't concern myself about the uid.

After rebooting, but before signing in as my user, I go in as root and
do cd /home; chown -R user.user user.

I've gone both ways, and haven't lost anything I cared enough about to
recall now.  I haven't found anything this doesn't work for, but I'm
running a personal system, so my experiments are limited.

If I had a lot of users, I'd write a script that wrote out the account
names and run it while things were working, so I'd have it against the
day.  Then I'd run another script that did the above off the list to
restore them all.

If the user data is kept somewhere as uid numbers, this would be more
complicated, as those might change.  I don't know of such, but there
might be a volid reason I don't know of to do that, or just an
unfortunate design decision.

Cheers,
Bret
-- 
bwaldow at alum.mit.edu


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Apache vhost logs managemt

2003-07-17 Thread Jamie Wilkinson
This one time, at band camp, Voytek Eymont wrote:
I'm setting up Apache 1.3x with name vhost and I need to set up log
handling for all vhosts; basically, I'd like to is:

process yesterday's logs to resolve IP addresses;
gzip yesterday's logs (is bzip2 what should be used instead of gzip ?);
have logs saved with some sort of dd-mm-yy 

suggestions and useful scripts welcomed

logrotate which comes with most distributions does this all automagically.

Put all your access logs from the vhosts into
log/httpd/access_logs/$domain_log and tell logrotate about the directory;
get it to run webalizer or whatever you like.

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] IPsec AES module

2003-07-17 Thread Jamie Wilkinson
This one time, at band camp, [EMAIL PROTECTED] wrote:
To get ipsec I've compiled 2.4.20 with kernel-patch-freeswan (debian 
package) set ipsec and set all the extras as modules. This was all done 
using make-kpkg --config=menuconfig --revision=blah --initrd kernel_image. 
Post compile the .config states the ipsec extras as modules. 

According to my installation, kernel-patch-freeswan doesn't exist anymore --
so I'm using freeswan-modules-source... of course I haven't successfully
built it yet (ther scripts are complaining that powerpc isn't a supported
architecture, it's restricting to i386; we'll see about that).

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Apache vhost logs managemt

2003-07-17 Thread Andrew McNaughton
On Fri, 18 Jul 2003, John Clarke wrote:

 On Fri, Jul 18, 2003 at 12:05:27PM +1200, Andrew McNaughton wrote:

  The perl script jdresolve http://jdrowell.com/projects/jdresolve might
  do you for the name resolution, but if it was me I'd modify it so that it
  only concerns itself with the first field in the http logs.  There must be
  something around in C or C++ to do this job well.

 There is.  It's called logresolve and is part of Apache:

 logresolve  is  a  post-processing  program to resolve IP-
 adresses in Apache's access logfiles.  To minimize  impact
 on  your  nameserver, logresolve has its very own internal
 hash-table cache. This means that each IP number will only
 be looked up the first time it is found in the log file.

I said to do the job well.

The problem with logresolve is that it doesn't do parallel dns requests,
so it's an order of magnitude slower than jdresolve or other solutions
which parallelize the requests.

I've just had a bit of a look around, and this one looks promising:

http://www.djmnet.org/sw/fastresolve/

Andrew McNaughton




--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

---
Andrew McNaughton   In Sydney
Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Apache vhost logs managemt

2003-07-17 Thread John Clarke
On Fri, Jul 18, 2003 at 05:25:25PM +1200, Andrew McNaughton wrote:

 I said to do the job well.

Depends upon your definition of doing the job well.  Voytek's likely to
already have it, it does what he needs, and it's fast enough for what
he wants to do.  I'm all for efficiency, but sometimes it just doesn't
matter.


And please stop sending me a copy of your replies.  I'm on the list
too.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug