[SLUG] MSWebsite2LinuxWebSite.sh utility?

2003-06-11 Thread Stuart Guthrie
From the ThisMustHaveBeenDoneBeforeDept

I´ve a friend who has a Linux server and they have got a MS web site 
loaded. Problem is that MS doesn´t care about upper/lower case and 
GNU/Linux does. Is there a utility that can uncapitalise image file 
names, directory names and tags or should I write one?

Stu

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


Re: [SLUG] MSWebsite2LinuxWebSite.sh utility?

2003-06-11 Thread Anthony Wood
On Wed, Jun 11, 2003 at 04:11:15PM +1000, Stuart Guthrie wrote:
  From the ThisMustHaveBeenDoneBeforeDept
 
 I´ve a friend who has a Linux server and they have got a MS web site 
 loaded. Problem is that MS doesn´t care about upper/lower case and 
 GNU/Linux does. Is there a utility that can uncapitalise image file 
 names, directory names and tags or should I write one?

Plan B:

use mod_speling with apache which I think does what you want, plus some more.

Note that the spelling of mod_speling is mod_speling, not mod_spelling.

Geek Humour!
Gufaw!Snort!
-- 
Woody
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] MSWebsite2LinuxWebSite.sh utility?

2003-06-11 Thread Brett Fenton
You can do it in a couple of lines by calling sed or better yet in perl.

Brett

Stuart Guthrie wrote:

 From the ThisMustHaveBeenDoneBeforeDept

I´ve a friend who has a Linux server and they have got a MS web site 
loaded. Problem is that MS doesn´t care about upper/lower case and 
GNU/Linux does. Is there a utility that can uncapitalise image file 
names, directory names and tags or should I write one?

Stu

--
Brett Fenton
General Manager
NetRegistry Pty Ltd
___
http://www.netregistry.com.au/

Tel: +61 2 96996099  |  Fax: +61 2 96996088
PO Box 270 Broadway  |  NSW 2007, Australia
Your Total Internet Business Services Provider
Trusted by 10,000s of Oz Businesses Since 1997


This email is from NetRegistry Pty Ltd. The contents of this message are 
commercial and in confidence to the intended addresseee.

The message may contain copyrighted and/or legally priviledged 
information. No person or entity other than the intended recipient may 
read, print or store this message, including any and all attached files.

The intended recipient may not forward this message to any third party 
without express written permission from NetRegistry Pty Ltd.
	

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


[SLUG] debugging ODBC / samba

2003-06-11 Thread Stewart
Hello.

Wondering how other sluggers might go about debugging this little 
problem.

I have set up a samba server (smbd Version 2.999+3.0.alpha24-3 for 
Debian) to serve an MYOB data file to three clients on a network. the 
actual MYOB part seems to work ok (once we gave the server enough RAM - 
32M RAM it seems is not enough these days :-)  But there is a second 
program that uses ODBC to query the data file and it runs like a 
proverbial something.. unusably slow. The data file is set up as a 
System DSN in the ODBC control panel in win2k. I've run tethereal on 
the connection to the server and see a lot of SMB AndX Read requests 
from the client and not a lot of replies going back.  I think i need to 
work on tuning samba with this but am unsure where to start. As i say 
the performance of the non-ODBC SMB connections seems acceptable now.. 
but until i can get the ODBC driver working I'm unable to complete the 
move and finish the project.

Any hints most welcome. :)

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


Re: [SLUG] MSWebsite2LinuxWebSite.sh utility?

2003-06-11 Thread Colin Humphreys
On Wed, Jun 11, 2003 at 04:11:15PM +1000, Stuart Guthrie wrote:
 From the ThisMustHaveBeenDoneBeforeDept
 
 I?ve a friend who has a Linux server and they have got a MS web site 
 loaded. Problem is that MS doesn?t care about upper/lower case and 
 GNU/Linux does. Is there a utility that can uncapitalise image file 
 names, directory names and tags or should I write one?

You can translate the names using tr:

tr [:upper:] [:lower:]

A little bit of shell arround it will do what you want for the
fielnames.

For the tags I'd recomend perl. There are plenty of sources for
good http tag matching regex's

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


Re: [SLUG] MSWebsite2LinuxWebSite.sh utility?

2003-06-11 Thread Kevin Waterson
This one time, at band camp, Stuart Guthrie [EMAIL PROTECTED] wrote:

  From the ThisMustHaveBeenDoneBeforeDept
 
 GNU/Linux does. Is there a utility that can uncapitalise image file 
 names, directory names and tags or should I write one?


#!/bin/sh
for file in $*
do
if [ -f $file ]
then
  lcfile=`echo $file | tr [:upper:] [:lower:]`
  if [ $file != $lcfile ]
  then
mv -i $file $lcfile
  fi 
fi
done

Kind regards
Kevin

-- 
 __  
(_ \ 
 _) )            
|  /  / _  ) / _  | / ___) / _  )
| |  ( (/ / ( ( | |( (___ ( (/ / 
|_|   \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] debugging ODBC / samba

2003-06-11 Thread Robert Collins
It's highly likely it's a locking issue..

Rob
- Original Message - 
From: Stewart [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 4:22 PM
Subject: [SLUG] debugging ODBC / samba


 Hello.
 
 Wondering how other sluggers might go about debugging this little 
 problem.
 
 I have set up a samba server (smbd Version 2.999+3.0.alpha24-3 for 
 Debian) to serve an MYOB data file to three clients on a network. the 
 actual MYOB part seems to work ok (once we gave the server enough RAM - 
 32M RAM it seems is not enough these days :-)  But there is a second 
 program that uses ODBC to query the data file and it runs like a 
 proverbial something.. unusably slow. The data file is set up as a 
 System DSN in the ODBC control panel in win2k. I've run tethereal on 
 the connection to the server and see a lot of SMB AndX Read requests 
 from the client and not a lot of replies going back.  I think i need to 
 work on tuning samba with this but am unsure where to start. As i say 
 the performance of the non-ODBC SMB connections seems acceptable now.. 
 but until i can get the ODBC driver working I'm unable to complete the 
 move and finish the project.
 
 Any hints most welcome. :)
 
 cheers,
 ..S.
 
 -- 
 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


[SLUG] Majordomo Configuration (on Redhat 7.2)

2003-06-11 Thread Edwin Humphries
I've installed the latest majordomo rpm, and gone through the HOWTO until the 
testing section (running wrapper config-test as a normal user). I get an error 
Can't locate majordomo_version.pl in @INC

The FAQ is less than helpful:

 Majordomo adds $homedir from the majordomo.cf file to the @INC array
 before it goes looking for majordomo.pl.  Since it's not finding it,
 I'd guess you have one of two problems:
 1) $homedir is set improperly (or not set at all; there is no default)
 in your majordomo.cf file.

$homedir is set through the following script, which all looks correct; the home 
directory is /usr/lib/majordomo

if ( defined $ENV{HOME}) {
 $homedir = $ENV{HOME};
} else {
 $homedir = /usr/lib/majordomo;
}

 2) majordomo.pl is not in $homedir, or is not readable.

It is in /usr/lib/majordomo, and its permissions are -rwxr-xr-x, it UID is majordomo 
and it GID is majordomo.

 3) Note that the new majordomo.cf file checks to see if the environment
 variable $HOME is set first, and uses that for $homedir. Since the
 wrapper always sets HOME to the correct directory, you get a nice
 default, unless you are running a previously built wrapper, in which
 case you may get the wrong directory.

How do I find out what the environment value $HOME is: and how do I/should I change 
it?

 4) I had the same problem when I installed majordomo (1.62).
 My Problem was a missing ; in the majordomo.cf file - just in the line
 before setting homedir 

I'm no perl expert, but there is a ; in the line before

Can anyone help?

Edwin Humphries,
Ironstone Technology Pty Ltd
[EMAIL PROTECTED]
www.ironstone.com.au
Phone: 02 4233 2285
Fax: 02 4233 2299
Mobile: 0419 233 051

Edwin Humphries,
Ironstone Technology Pty Ltd
[EMAIL PROTECTED]
www.ironstone.com.au
Phone: 02 4233 2285
Fax: 02 4233 2299
Mobile: 0419 233 051
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] GCC debian question

2003-06-11 Thread Lester Cheung
I believe that the top level makefile set CC to gcc explictly.

/usr/src/kernel-source-2.4.20/Makefile:
 30 CC  = $(CROSS_COMPILE)gcc

On Tue, Jun 03, 2003 at 10:42:18AM +1000, Alexander Samad wrote:
 I beleive I tried that but still used the other.
 
 But having said that, things seem to be working with 3.2 built kernel.
 
 Alex
 
 On Tue, Jun 03, 2003 at 10:15:45AM +1000, Erik de Castro Lopo wrote:
  On Tue, 3 Jun 2003 10:18:53 +1000
  Alexander Samad [EMAIL PROTECTED] wrote:
  
   This is what i have installe on my system, but how do you force the
   system to use 2.95 say when doing a make-kpkg.
  
  This should do it:
  
  export CC=gcc-2.95
  make-kpkg 
  
  
  Erik
  -- 
  +---+
Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
  +---+
  The difference between genius and stupidity is that
genius has its limits.
  -- 
  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


-- 
I would rather be a failure at something I enjoy than a success at something I 
hate. - George Burns
-lestercheung
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Openoffice from XD2

2003-06-11 Thread Kevin Saenz
Just wondering if anyone with Redhat are experiencing issues
with openoffice. What happens to me is if I try and access
some menu items or select the entire document writer or 
impress crashes on me. It appears to be the most unstable 
version of openoffice.


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


Building kernels with GCC 3.3 WAS Re: [SLUG] GCC debian question

2003-06-11 Thread Simon Wong
On Wed, 2003-06-11 at 22:45, Lester Cheung wrote:
 I believe that the top level makefile set CC to gcc explictly.
 
 /usr/src/kernel-source-2.4.20/Makefile:
  30 CC  = $(CROSS_COMPILE)gcc

Is anyone having problems building the kernel with gcc-3.3?

My previously compilable kernel 2.4.19 (using gcc 2.95.4) is no longer
buildable under gcc 3.3.

The first error I get is for the IDE cd-rom module:

gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.19/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686   -nostdinc -I /usr/lib/gcc-lib/i386-linux/3.3/include
-DKBUILD_BASENAME=ide_cd  -c -o ide-cd.o ide-cd.c
In file included from ide-cd.c:318:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly
for `slot_tablelen'
make[4]: *** [ide-cd.o] Error 1
make[4]: Leaving directory
`/usr/src/kernel-source-2.4.19/drivers/ide'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory
`/usr/src/kernel-source-2.4.19/drivers/ide'
make[2]: *** [_subdir_ide] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.19/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.19'
make: *** [stamp-build] Error 2

Seems funny.

I tried setting CC=/usr/bin/gcc-2.95 but same problem.

-- 
**
* Simon Wong *
**

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


[SLUG] launching mp3 player on remote machine

2003-06-11 Thread Kane Martin
Hello Sluggers,

I'm trying to launch mpg123 on a remote pc via a ssh terminal (my work pc
has no speakers). I get the following message:
can't open /dev/dsp
is this because it's trying to play the audio through the remote terminal?
how do I fire up mpg123 on a machine tat I am accessing via ssh?

Cheers

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


Re: [SLUG] launching mp3 player on remote machine

2003-06-11 Thread Andrew Fries
On Thu, 2003-06-12 at 10:10, Kane Martin wrote:

 I'm trying to launch mpg123 on a remote pc via a ssh terminal (my work pc
 has no speakers). I get the following message:
 can't open /dev/dsp
 is this because it's trying to play the audio through the remote terminal?
 how do I fire up mpg123 on a machine tat I am accessing via ssh?
 
I just tried the same thing: logged in to my other machine via ssh and
fired up mpg123 to play through its speakers. It worked as expected, no
trouble, no extra steps required. So I suspect your problem is simply
that sound is not properly configured on that other machine



Grrr...Arrgh!  
 -- Mutant

-- 10:20:02 up 5 days, 19:05, 3 users, load average: 0.02, 0.08, 0.04--

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


Re: [SLUG] launching mp3 player on remote machine

2003-06-11 Thread Kane Martin
[EMAIL PROTECTED] wrote on 12/06/2003 10:23:36:

 On Thu, 2003-06-12 at 10:10, Kane Martin wrote:

  I'm trying to launch mpg123 on a remote pc via a ssh terminal (my work
pc
  has no speakers). I get the following message:
  can't open /dev/dsp
  is this because it's trying to play the audio through the remote
terminal?
  how do I fire up mpg123 on a machine tat I am accessing via ssh?
 
 I just tried the same thing: logged in to my other machine via ssh and
 fired up mpg123 to play through its speakers. It worked as expected, no
 trouble, no extra steps required. So I suspect your problem is simply
 that sound is not properly configured on that other machine


Hmm, accessing the machine directly (its just a laptop *underneath*
another laptop on my desk!) and typing the same command, it starts
playing mp3s. Some more info might help:
the command is an alias music which in the .bash_profile translates to:
alias music='mpg123 -z -b 2048 -@ .allsongs'
however when run on ssh it starts up with the mpg123 preamble:

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Can't open /dev/dsp!

also, the laptop in question uses mount -t smbfs to access *this* desktop
machine. I know, it's convoluted, but i have no speakers or soundcard on
my desktop machine, but it does have a large hard-drive partition!

Any ideas?

Cheers












 
 Grrr...Arrgh!
  -- Mutant

 -- 10:20:02 up 5 days, 19:05, 3 users, load average: 0.02, 0.08, 0.04--

 --
 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] debugging ODBC / samba

2003-06-11 Thread mkraus

G'day Stewart and all...

Check out the force-group option for the share in smb.conf and check that group has read/write/execute permissions set on the directory/directories at the filesystem level.

Warmest regards

Mike
---
Michael S. E. Kraus
Network Administrator
Capital Holdings Group (NSW) Pty Ltd
p: (02) 9955 8000






Robert Collins [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
11/06/2003 06:46 PM


To:Stewart [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:Re: [SLUG] debugging ODBC / samba


It's highly likely it's a locking issue..

Rob
- Original Message - 
From: Stewart [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 4:22 PM
Subject: [SLUG] debugging ODBC / samba


 Hello.
 
 Wondering how other sluggers might go about debugging this little 
 problem.
 
 I have set up a samba server (smbd Version 2.999+3.0.alpha24-3 for 
 Debian) to serve an MYOB data file to three clients on a network. the 
 actual MYOB part seems to work ok (once we gave the server enough RAM - 
 32M RAM it seems is not enough these days :-) But there is a second 
 program that uses ODBC to query the data file and it runs like a 
 proverbial something.. unusably slow. The data file is set up as a 
 System DSN in the ODBC control panel in win2k. I've run tethereal on 
 the connection to the server and see a lot of SMB AndX Read requests 
 from the client and not a lot of replies going back. I think i need to 
 work on tuning samba with this but am unsure where to start. As i say 
 the performance of the non-ODBC SMB connections seems acceptable now.. 
 but until i can get the ODBC driver working I'm unable to complete the 
 move and finish the project.
 
 Any hints most welcome. :)
 
 cheers,
 ..S.
 
 -- 
 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



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


Re: [SLUG] debugging ODBC / samba

2003-06-11 Thread jeff . allison

Micheal I remember seeing something
on this list before about samba and myob being a bad thing.
ie corrupted data files etc I'm sure there were some tips there.

Jeff


[EMAIL PROTECTED] wrote on 12/06/2003 10:36:28:

 
 G'day Stewart and all... 
 
 Check out the force-group option for the share in smb.conf and check
 that group has read/write/execute permissions set on the 
 directory/directories at the filesystem level. 
 
 Warmest regards
 
 Mike
 ---
 Michael S. E. Kraus
 Network Administrator
 Capital Holdings Group (NSW) Pty Ltd
 p: (02) 9955 8000 
 

 
 Robert Collins [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED] 
 11/06/2003 06:46 PM 
 
 
 To:Stewart
[EMAIL PROTECTED], [EMAIL PROTECTED] 
 cc: 
 Subject:Re:
[SLUG] debugging ODBC / samba
 
 
 
 
 It's highly likely it's a locking issue..
 
 Rob
 - Original Message - 
 From: Stewart [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 11, 2003 4:22 PM
 Subject: [SLUG] debugging ODBC / samba
 
 
  Hello.
  
  Wondering how other sluggers might go about debugging this little

  problem.
  
  I have set up a samba server (smbd Version 2.999+3.0.alpha24-3
for 
  Debian) to serve an MYOB data file to three clients on a network.
the 
  actual MYOB part seems to work ok (once we gave the server enough
RAM - 
  32M RAM it seems is not enough these days :-) But there
is a second 
  program that uses ODBC to query the data file and it runs like
a 
  proverbial something.. unusably slow. The data file is set up
as a 
  System DSN in the ODBC control panel in win2k. I've run tethereal
on 
  the connection to the server and see a lot of SMB AndX Read requests

  from the client and not a lot of replies going back. I
think i need to 
  work on tuning samba with this but am unsure where to start.
As i say 
  the performance of the non-ODBC SMB connections seems acceptable
now.. 
  but until i can get the ODBC driver working I'm unable to complete
the 
  move and finish the project.
  
  Any hints most welcome. :)
  
  cheers,
  ..S.
  
  -- 
  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
 
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] launching mp3 player on remote machine

2003-06-11 Thread Dave Airlie

as root chmod 666 /dev/dsp


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


Re: [SLUG] launching mp3 player on remote machine

2003-06-11 Thread Tony Green
* This one time, at band camp, Dave Airlie said:
 
 as root chmod 666 /dev/dsp
 

Advice like this really does make me shudder sometimes.

Try 'ls -ltr /dev/dsp'

You'll see that it's (likely) owned by root and the group is audio.

Put the required users into the audio group (groupmod -G audio $user)
and have them logout/in.

Security is there for a reason, 666 is the number of the beast - not an
acceptable parameter to chmod.

Greeno
-- 
Tony Green [EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Linux on older machines

2003-06-11 Thread Alan L Tyree
This is a thread that was around a while ago. Anyway, I have just put
Vector Linux SOHO on the old laptop (Compaq Armada) using IceWM. It is
*very* quick. The machine is only used for email (Sylpheed) so I don't
know how complete the software is. But it hums!
-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] launching mp3 player on remote machine

2003-06-11 Thread Dave Airlie
 Try 'ls -ltr /dev/dsp'

 You'll see that it's (likely) owned by root and the group is audio.

 Put the required users into the audio group (groupmod -G audio $user)
 and have them logout/in.

 Security is there for a reason, 666 is the number of the beast - not an
 acceptable parameter to chmod.

this doesn't work on my RH8.0 system,
ls -la /dev/dsp
crw---1 airlied  root  14,   3 Aug 31  2002 /dev/dsp
RH has chowned it to me because I'm logged in on the console but if I log
off it gets set to 600 and root.root the proper way i suppose on RH8.0 is
to edit /etc/console.perms, and add new classes for ssh terminals to make
the /dev/dsp become 660 and add an audio group..

needless to say my first answer works for a simple system with only one
user playing mP3s in all cases on all flavours of Linux, but logging in
and out an RH console will mess it up again.. aarrggh... so there probably
is no one true answer..

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / [EMAIL PROTECTED]
pam_smb / Linux DECstation / Linux VAX / ILUG person

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


[SLUG] stallion PC card 5th port problem

2003-06-11 Thread dave
Hi,
I am attempting to get the 5th stallion port working for dialing out to
the net on this woody box here.
thatis /dev/ttyE4 (the rest of them do various other things)

When i dial out on this port it handshakes ok and seems to work, but then
PPP gives me this:

Jun 12 13:53:31 firewall chat[29617]: CONNECT
Jun 12 13:53:31 firewall chat[29617]:  -- got it
Jun 12 13:53:31 firewall chat[29617]: send (\d)
Jun 12 13:53:32 firewall pppd[30327]: Serial connection established.
Jun 12 13:53:32 firewall pppd[30327]: Using interface ppp1
Jun 12 13:53:32 firewall pppd[30327]: Connect: ppp1 -- /dev/ttyE4
Jun 12 13:54:03 firewall pppd[30327]: LCP: timeout sending Config-Requests
Jun 12 13:54:03 firewall pppd[30327]: Connection terminated.
Jun 12 13:54:03 firewall pppd[30327]: Hangup (SIGHUP)
Jun 12 13:54:03 firewall pppd[30327]: Exit.

I have only seen this when some authentication server or cable is busted
on ADSL. On dialup I would assume its something to do with negotiating the
IP address and or authentication. However the strange thing is that if I
switch serial ports say to /dev/ttyE2 - it works straight away.

There was no /dev/ttyE4 when I started this experiment so I made it with a
/dev/MAKEDEV stallion
that created lots of /dev/ttyE*'s

any ideas?

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


[SLUG] ssh question

2003-06-11 Thread Lyle Chapman
I am trying to ssh into a remote machine - what I want to do is log in 
with a username and password supplied in the one command - is there a 
way to this?

#ssh -l [EMAIL PROTECTED] passwd test?

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


[SLUG] OS disguise in browser

2003-06-11 Thread Alan L Tyree
Evidently Mozilla sends out information which permits the server to
identify Linux as the operating system. Is it possible to fool the
server into thinking that some other :-) operating system is being used?

Thanks,
Alan
-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ssh question

2003-06-11 Thread Tony Green
On Thu, 2003-06-12 at 14:14, Lyle Chapman wrote:
 I am trying to ssh into a remote machine - what I want to do is log in 
 with a username and password supplied in the one command - is there a 
 way to this?
 
 #ssh -l [EMAIL PROTECTED] passwd test?
 

Not in that way, no.

You can use ssh-keys to do a passwordless login (though you should still
passphrase the key and use ssh-agent)

 HELP PLEASE!

I hope I did

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


Re: [SLUG] OS disguise in browser

2003-06-11 Thread Brett Fenton
I don't know about Mozilla, but this is a config setting in Opera.

Alan L Tyree wrote:

Evidently Mozilla sends out information which permits the server to
identify Linux as the operating system. Is it possible to fool the
server into thinking that some other :-) operating system is being used?
Thanks,
Alan
--
Brett Fenton
General Manager
NetRegistry Pty Ltd
___
http://www.netregistry.com.au/

Tel: +61 2 96996099  |  Fax: +61 2 96996088
PO Box 270 Broadway  |  NSW 2007, Australia
Your Total Internet Business Services Provider
Trusted by 10,000s of Oz Businesses Since 1997


This email is from NetRegistry Pty Ltd. The contents of this message are 
commercial and in confidence to the intended addresseee.

The message may contain copyrighted and/or legally priviledged 
information. No person or entity other than the intended recipient may 
read, print or store this message, including any and all attached files.

The intended recipient may not forward this message to any third party 
without express written permission from NetRegistry Pty Ltd.
	

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


Re: [SLUG] debugging ODBC / samba

2003-06-11 Thread mkraus

Erm... I I haven't seen any warnings about that anywhere... There is nothing in the Samba release notes about it

I've had myob files being shared via samba without a hitch... (Even over a VPN.)

Any further references about this?

Warmest regards

Mike
---
Michael S. E. Kraus
Network Administrator
Capital Holdings Group (NSW) Pty Ltd
p: (02) 9955 8000






[EMAIL PROTECTED]
12/06/2003 10:47 AM


To:[EMAIL PROTECTED]
cc:[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject:Re: [SLUG] debugging ODBC / samba



Micheal I remember seeing something on this list before about samba and myob being a bad thing. ie corrupted data files etc I'm sure there were some tips there. 

Jeff 


[EMAIL PROTECTED] wrote on 12/06/2003 10:36:28:

 
 G'day Stewart and all... 
 
 Check out the force-group option for the share in smb.conf and check
 that group has read/write/execute permissions set on the 
 directory/directories at the filesystem level. 
 
 Warmest regards
 
 Mike
 ---
 Michael S. E. Kraus
 Network Administrator
 Capital Holdings Group (NSW) Pty Ltd
 p: (02) 9955 8000 
 

 
 Robert Collins [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED] 
 11/06/2003 06:46 PM 
 
 
 To:Stewart [EMAIL PROTECTED], [EMAIL PROTECTED] 
 cc: 
 Subject:Re: [SLUG] debugging ODBC / samba 
 
 
 
 
 It's highly likely it's a locking issue..
 
 Rob
 - Original Message - 
 From: Stewart [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 11, 2003 4:22 PM
 Subject: [SLUG] debugging ODBC / samba
 
 
  Hello.
  
  Wondering how other sluggers might go about debugging this little 
  problem.
  
  I have set up a samba server (smbd Version 2.999+3.0.alpha24-3 for 
  Debian) to serve an MYOB data file to three clients on a network. the 
  actual MYOB part seems to work ok (once we gave the server enough RAM - 
  32M RAM it seems is not enough these days :-) But there is a second 
  program that uses ODBC to query the data file and it runs like a 
  proverbial something.. unusably slow. The data file is set up as a 
  System DSN in the ODBC control panel in win2k. I've run tethereal on 
  the connection to the server and see a lot of SMB AndX Read requests 
  from the client and not a lot of replies going back. I think i need to 
  work on tuning samba with this but am unsure where to start. As i say 
  the performance of the non-ODBC SMB connections seems acceptable now.. 
  but until i can get the ODBC driver working I'm unable to complete the 
  move and finish the project.
  
  Any hints most welcome. :)
  
  cheers,
  ..S.
  
  -- 
  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
 
 
 -- 
 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] OS disguise in browser

2003-06-11 Thread Alan L Tyree
On Thu, 2003-06-12 at 14:21, Brett Fenton wrote:
 I don't know about Mozilla, but this is a config setting in Opera.

Thanks Brett - I don't see it anywhere in Mozilla or Galeon.

 
 Alan L Tyree wrote:
 
  Evidently Mozilla sends out information which permits the server to
  identify Linux as the operating system. Is it possible to fool the
  server into thinking that some other :-) operating system is being used?
  
  Thanks,
  Alan
 
 -- 
 Brett Fenton
 General Manager
 NetRegistry Pty Ltd
 ___
 
 http://www.netregistry.com.au/
 
 Tel: +61 2 96996099  |  Fax: +61 2 96996088
 PO Box 270 Broadway  |  NSW 2007, Australia
 
 Your Total Internet Business Services Provider
 Trusted by 10,000s of Oz Businesses Since 1997
 
 
 
 This email is from NetRegistry Pty Ltd. The contents of this message are 
 commercial and in confidence to the intended addresseee.
 
 The message may contain copyrighted and/or legally priviledged 
 information. No person or entity other than the intended recipient may 
 read, print or store this message, including any and all attached files.
 
 The intended recipient may not forward this message to any third party 
 without express written permission from NetRegistry Pty Ltd.
   
 
 
-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ADSL Swiftel

2003-06-11 Thread mkraus

G'day...

Swiftel use RedHat servers and have a large userbase of technical (Linux) users...

Warmest regards

Mike
---
Michael S. E. Kraus
Network Administrator
Capital Holdings Group (NSW) Pty Ltd
p: (02) 9955 8000






Alexander Samad [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
07/06/2003 09:16 PM


To:[EMAIL PROTECTED]
cc:
Subject:[SLUG] ADSL Swiftel


Hi

I have been looking for an ADSL provider that is also sort of Linux
friendly. Has anyone had any experience with swiftel

Alex
-- 
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] debugging ODBC / samba

2003-06-11 Thread jeff . allison

Knew I'd seen it somewhere

http://lists.slug.org.au/archives/slug/2002/01/msg00032.html

Can't remember the outcome tho'

Jeff

[EMAIL PROTECTED] wrote on 12/06/2003 14:40:42:

 
 Erm... I I haven't seen any warnings about that anywhere... There
is
 nothing in the Samba release notes about it 
 
 I've had myob files being shared via samba without a hitch... (Even
 over a VPN.) 
 
 Any further references about this? 
 
 Warmest regards
 
 Mike
 ---
 Michael S. E. Kraus
 Network Administrator
 Capital Holdings Group (NSW) Pty Ltd
 p: (02) 9955 8000 
 

 
 [EMAIL PROTECTED] 
 12/06/2003 10:47 AM 
 
 
 To:[EMAIL PROTECTED]

 cc:[EMAIL PROTECTED],
[EMAIL PROTECTED], 
 [EMAIL PROTECTED] 
 Subject:Re:
[SLUG] debugging ODBC / samba
 
 
 
 
 
 Micheal I remember seeing something on this list before about samba

 and myob being a bad thing. ie corrupted data files etc
I'm sure 
 there were some tips there. 
 
 Jeff 
 
 
 [EMAIL PROTECTED] wrote on 12/06/2003 10:36:28:
 
  
  G'day Stewart and all... 
  
  Check out the force-group option for the share in smb.conf and
check
  that group has read/write/execute permissions set on the 
  directory/directories at the filesystem level. 
  
  Warmest regards
  
  Mike
  ---
  Michael S. E. Kraus
  Network Administrator
  Capital Holdings Group (NSW) Pty Ltd
  p: (02) 9955 8000 
  
 
  
  Robert Collins [EMAIL PROTECTED] 
  Sent by: [EMAIL PROTECTED] 
  11/06/2003 06:46 PM 
  
  
  To:Stewart
[EMAIL PROTECTED], [EMAIL PROTECTED] 
  cc: 
  Subject:Re:
[SLUG] debugging ODBC / samba 
  
  
  
  
  It's highly likely it's a locking issue..
  
  Rob
  - Original Message - 
  From: Stewart [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, June 11, 2003 4:22 PM
  Subject: [SLUG] debugging ODBC / samba
  
  
   Hello.
   
   Wondering how other sluggers might go about debugging this
little 
   problem.
   
   I have set up a samba server (smbd Version 2.999+3.0.alpha24-3
for 
   Debian) to serve an MYOB data file to three clients on a
network. the 
   actual MYOB part seems to work ok (once we gave the server
enough RAM - 
   32M RAM it seems is not enough these days :-) But
there is a second 
   program that uses ODBC to query the data file and it runs
like a 
   proverbial something.. unusably slow. The data file is set
up as a 
   System DSN in the ODBC control panel in win2k. I've run
tethereal on 
   the connection to the server and see a lot of SMB AndX Read
requests 
   from the client and not a lot of replies going back. I
think i need to 
   work on tuning samba with this but am unsure where to start.
As i say 
   the performance of the non-ODBC SMB connections seems acceptable
now.. 
   but until i can get the ODBC driver working I'm unable to
complete the 
   move and finish the project.
   
   Any hints most welcome. :)
   
   cheers,
   ..S.
   
   -- 
   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
  
  
  -- 
  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


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] SLUGAMuSIG reminder - audio/ music group

2003-06-11 Thread Denis Crowdy
Quick reminder about the second audio/ music group meeting on Saturday -
blurb below.


Second Meeting of SLUGAMuSIG - Audio/ Music Special Interest Group

When: Saturday, June 14; 10am onwards

Where: Macquarie University, Department of Contemporary Music Studies, building W6A, 
room 607

All interested in music/ audio and Linux are invited for the second gathering of the 
group.  A more detailed list of proposed discussions will follow shortly, but the 
general plan is a demonstration/ discussion in the morning, followed by an open 
session of jamming/ coding/ talking in the afternoon.  All levels of interest are 
welcomed.

A relevant map of Macquarie is at http://www.ccms.mq.edu.au/crowdy/macmap.html.  The 
best way to get to the Music Department (on the 6th floor of building W6A) is from the 
Balaclava Rd entrance (opposite Woolies from Epping Rd).  The closest parking is W4, 
and costs $6.00 for the whole day.

For people arriving at various times through the day, the front door might be locked, 
but we'll keep an eye out,  or call me on 0408 478 802.

Denis Crowdy

For a report of the first meeting see: 
http://www.linmagau.org/modules.php?op=modloadname=Sectionsfile=indexreq=viewarticleartid=152page=1


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


Myob AO on linux, was Re: [SLUG] debugging ODBC / samba

2003-06-11 Thread Vince Meissner
The outcome is that AO works with a samba server no probs as long as you 
don't
let the myob people know that you're using it like that.
Myob wash they're hands of you if they know you're using it on a linux 
server.

I've got a client using it like this for 15 months now.


smb.conf

[ao]
path = /path_to_ao_directory
strict locking = yes
force user = users
force group = users

chown users:users -R /your_ao_directory_here
chmod ug+rw -R /your_ao_directory_here
Samba version 2.2.8a
Redhat 7.2
Clients: Win98 and WinXP
--
Vince
The information in this message and it's attachments are confidential,
anyone other than the intended recipient reading this message shall 
automatically go into the draw to win a date with Nurse Boris 
and her patented 10 pound lump mallet anti-naughty-person therapy.



[EMAIL PROTECTED] wrote:

Knew I'd seen it somewhere

http://lists.slug.org.au/archives/slug/2002/01/msg00032.html

Can't remember the outcome tho'

Jeff


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