Re: [SLUG] The Sound of Silence

2004-08-03 Thread Bruce Badger
On Tue, 2004-08-03 at 15:38, Shaun Oliver wrote:
 try looking at your /etc/esound/esd.conf
 I think that's the properpath,
 and comment it out entirely

The trick is, as Jeff said, to specify that the sound server should not
start in the GnomeDesktopPreferencesSound dialog.  Commenting out
every line in the /etc/esound/esd.conf seemed to have no effect :-/

 if your sound card is a multi channel card you won't need esd.
 hth

It seems that my card is not multi-channel, then, because if I try and
play a .au file with aplay while xmms is playing something (say,
Berlioz), aplay hangs until I stop xmms playing (I don't have to close
xmms) and then aplay proceeds to play the .au file.

Jeff suggested using esd for everything, but then I have to presumably
explicitly configure everything (e.g. zine, ogle, xmms, aplay, mpg123
etc ...) to use esd.  I'm kind of surprised that there is not some
Debian-wide policy on this such that everything is configured to use a
default setup that will just work (once the right modules are loaded).

I'm up and listening to music now.  Xine works too.  I don't do these
two things at the same time, so I'm happy enough for now :-)

Many thanks for the help Jeff  Shaun.

All the best,
Bruce

-- 
Make the most of your skills - with OpenSkills
http://www.openskills.com



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] The Sound of Silence

2004-08-03 Thread Jeff Waugh
quote who=Bruce Badger

 The trick is, as Jeff said, to specify that the sound server should not
 start in the GnomeDesktopPreferencesSound dialog.  Commenting out every
 line in the /etc/esound/esd.conf seemed to have no effect :-/

Yeah, that won't help.

 Jeff suggested using esd for everything, but then I have to presumably
 explicitly configure everything (e.g. zine, ogle, xmms, aplay, mpg123
 etc ...) to use esd.  I'm kind of surprised that there is not some
 Debian-wide policy on this such that everything is configured to use a
 default setup that will just work (once the right modules are loaded).

It's all ugly configuration file stuff, basically. If everything was using
the same sound infrastructure, it would be easy, but... Grr. :-) Most of
them will talk to esd if you change a config option or use a particular
command line parameter.

There's an ALSA feature called dmix, which is supposed to do software
mixing, but I haven't had much luck with it, once configured (which is ugly
in itself). This stuff should just work... :-(

- Jeff

-- 
linux.conf.au 2005: Canberra, Australiahttp://linux.conf.au/
 
Think video. Think text flickering over your walls. Think games at
work. Think anything where a staid, link-based browser is useless.
  This person wrote for Ab Fab, right? - Rich Welykochy
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] MD5Sum mismatch on apt-get upgrade

2004-08-03 Thread Michael Lake
Hi all
I have been getting these for the last week when doing an upgrade. I 
gather that either the package maintainer miscalculted the sum, or 
pacific net got a corrupted copy or they are trojaned. Does one just 
wait till they are fixed by someone? Its not really a Debian bug. I have 
been using --fix-missing to install the ones that have an OK MD5sum.

Failed to fetch 
http://mirror.pacific.net.au/debian/pool/main/g/gcc-defaults/cpp_3.3.4-2_powerpc.deb 
 MD5Sum mismatch
Failed to fetch 
http://mirror.pacific.net.au/debian/pool/main/g/gcc-defaults/gcc_3.3.4-2_powerpc.deb 
 MD5Sum mismatch
Failed to fetch 
http://mirror.pacific.net.au/debian/pool/main/i/intltool-debian/intltool-debian_0.30+20040213_all.deb 
 MD5Sum mismatch

Mike
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
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] ot: syslogd for windoze ? t/s BP cable with dlink 704

2004-08-03 Thread Anand Kumria
On Fri, Jul 23, 2004 at 10:06:19AM +1000, Voytek Eymont wrote:
 I have a user with win98 on telstra BP cable with dlink 704p;
 he looses connectivity apparently once a day or so; after he power cycles
 everything, it's OK again
 
 on a couple of ocassions he tried to power cycle cable modem only;
 on one ocassion it did fix it, on another, it didn't
 he says before dlink was installed, he didn't have these frequent diconnects
 
 does anyone now of a good syslogd for windoze98, so I can log dlink to it ?

Not sure if this is what you are after

URL: http://www.intersectalliance.com/projects/

The snare client for Windows allows you to log to a Linux machine.

Anand

-- 
 `` All actions take place in time by the interweaving of the 
 forces of Nature; but the man lost in selfish delusion thinks 
 that he himself is the actor.'' 
Lord Krishna to Arjuna in _The Bhagavad Gita_
-- 
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] passing parameter to a shell script

2004-08-03 Thread Voytek

Jamie Wilkinson said:
 echo $0 executed on date/time in $exectime sec  /var/logs/$0.log


Jamie, thanks

how to parse on last '/' or strip the FQpath from $0 ?

# awstatsproc name.com.au
/usr/local/bin/awstatsproc: /var/logs//usr/local/bin/awstatsproc.log: No
such file or directory



-- 
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] The Sound of Silence

2004-08-03 Thread Lindsay Holmwood
On Tue, 3 Aug 2004 00:04:02 -0700
Jeff Waugh [EMAIL PROTECTED] wrote:

 There's an ALSA feature called dmix, which is supposed to do software
 mixing, but I haven't had much luck with it, once configured (which is ugly
 in itself). This stuff should just work... :-(

I've tried on a number of different cards (evil nforce, cmedia 8738) getting
this going, but to no avail. Doing a couple of tests I managed to get it playing
multiple streams, but I could never pull it off so that it would work all the
time. 

You might want to give this a try:

http://alsa.opensrc.org/index.php?page=DmixPlugin 

A small guide to getting Dmix going under Debian. 

Lindsay

-- 

http://www.asymmetrics.net/~auxesis/
-- 
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] passing parameter to a shell script

2004-08-03 Thread Voytek
Voytek said:

 Jamie Wilkinson said:
 echo $0 executed on date/time in $exectime sec  /var/logs/$0.log

 how to parse on last '/' or strip the FQpath from $0 ?

hmmm, $0 as first string writes out non-FQ file name, but, otherwise, it
writest out FQ file name:

echo $0 executed on $now in $
./awstatsproc executed on 2004-08-03 19:19 in 0 sec

echo $now $0 executed...
2004-08-03 19:21 /usr/local/bin/awstatsproc executed on in 0 sec


-- 
Voytek



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


let: 08: value too great for base (error token is 08) Re: [SLUG] passing parameter to a shell script

2004-08-03 Thread Voytek
the script seems to work in as far as it proces the logs through awstats,
but, ocassionaly I get these errors:

-
Update for config /etc/awstats/awstats.www.domain.com.conf
With data in log file /home/domain.com/logs/2004-07-30-access.rog
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record has fallen on another record.
So searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 2 hosts)..
Jumped lines in file: 0
Parsed lines in file: 36
 Found 0 dropped records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 36 new qualified records.
./awstatsproc: let: 08: value too great for base (error token is 08)
./awstatsproc: let: 09: value too great for base (error token is 09)
./awstatsproc: let: 08: value too great for base (error token is 08)
./awstatsproc: let: 08: value too great for base (error token is 08)
./awstatsproc: let: 09: value too great for base (error token is 09)
./awstatsproc: let: 09: value too great for base (error token is 09)
./awstatsproc: let: 08: value too great for base (error token is 08)
./awstatsproc: let: 09: value too great for base (error token is 09)
./awstatsproc: let: 08: value too great for base (error token is 08)
./awstatsproc: let: 09: value too great for base (error token is 09)
./awstatsproc: let: 08: value too great for base (error token is 08)
./awstatsproc: let: 09: value too great for base (error token is 09)
---

any idea where am I going rwong ?

# cat awstatsproc | more
#Script Start

  case $# in
1)
DOMAIN=$1
;;
*)
  echo Usage: $0 domain.name 12
  echo this re-processes all years' logs
  echo logs expected as: 2004-MM-DD-access.rog
exit
;;
  esac

starttime=`date +%s`

#while true; do

for j in `seq -w 1 12`; do
  for i in `seq -w 1 31`; do
if [ -s /home/$DOMAIN/logs/2004-$j-$i-access.rog ] ; then
  /usr/local/awstats/wwwroot/cgi-bin/awstats.pl  -config=www.$DOMAIN
-logfil
e=/home/$DOMAIN/logs/2004-$j-$i-access.rog -update
fi
  let i=i+1
  done
let j=j+1
done

#done

endtime=`date +%s`

exectime=$(($endtime - $starttime))
now=`date +%Y-%m-%d %H:%M`
echo $now $0 executed on in $exectime sec  ./awstats.log
#/var/logs//usr/local/bin/awstatsproc.log
#Finished


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


[SLUG] [Fwd: Re: [Issue N53465] Problem with my using your QtopiaDesktop 1.7.0]

2004-08-03 Thread Kevin Shackleton
I have a response from a request to Trolltech for help in making 
qtopiadesktop work.  It doesn't really make Sharp, the Zaurus or 
Trolltech look good, if it's open software and its support you are 
looking for.

Kevin Shackleton.
 Original Message 
Subject:Re: [Issue N53465] Problem with my using your QtopiaDesktop 1.7.0
Date:   Tue, 3 Aug 2004 06:23:24 +0200
From:   [EMAIL PROTECTED]
To: Kevin Shackleton [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]

On Wednesday, 28. Jul 2004 22:16 Kevin Shackleton wrote:
I have installed the product qtopia-desktop-1.7.0-1rh9.i386.rpm on
my Fedora Core 2 machine. I have a Zaurus 5500 with the 3.1 ROM
update.

From the FAQ (not on the web yet but coming)...

I am using Qtopia Desktop with a Zaurus and I'm having a problem.
If you are using Windows, please use the Sharp's Qtopia Desktop release.
Trolltech's Qtopia Desktop release is compatible with Trolltech's Qtopia
releases. Sharp's Qtopia is not compatible with Trolltech's Qtopia
Desktop. Specifically, the PIM applications have some bugs and Sharp
ROMs = 3.0 use a different method of synchronisation and data storage.
If you have a SL-5500 or older you can run a 2.x ROM that is mostly
compatible with Qtopia Desktop. If you have a newer Zaurus you will
need to use Sharp's Qtopia Desktop release. Note: Sharp does not
support Linux or MacOS.
But I *really* want to use my Zaurus with Linux/MacOS. Isn't there
anything I can do?
You can install Opie and/or OpenZaurus. I do not know the specifics of
what you need to install and how to do that. Please see those projects
for more information.
--
Lincoln Ramsay
Trolltech AS, Waldemar Thranes gate 98, NO-0175 Oslo, Norway
--
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] passing parameter to a shell script

2004-08-03 Thread Jamie Wilkinson
This one time, at band camp, Voytek wrote:

Jamie Wilkinson said:
 echo $0 executed on date/time in $exectime sec  /var/logs/$0.log


Jamie, thanks

how to parse on last '/' or strip the FQpath from $0 ?

echo `basename $0`

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Wireless Mandrake

2004-08-03 Thread Kevin Saenz
Hi all,
I have compiled airsnort and kismet, when I run airsnort it tells me 
that I need to run eth1 mode=Monitor. I run iwconfig eth1 mode Monitor 
and I get

[EMAIL PROTECTED] kevin]# iwconfig eth1 mode monitor
Error for wireless request Set Mode (8B06) :
   SET failed on device eth1 ; Invalid argument.
can anyone help?
thanks
Keivn
--
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] Wireless Mandrake

2004-08-03 Thread Simon Males
Kevin Saenz wrote:
Hi all,
I have compiled airsnort and kismet, when I run airsnort it tells me 
that I need to run eth1 mode=Monitor. I run iwconfig eth1 mode Monitor 
and I get

[EMAIL PROTECTED] kevin]# iwconfig eth1 mode monitor
Error for wireless request Set Mode (8B06) :
   SET failed on device eth1 ; Invalid argument.
can anyone help?
thanks
Keivn
What wireless card do you have? If its Orinoco/Lucent/Avaya/Agree you 
need a patched driver or the new drivers*.

*There is a new driver which hasn't reached the kernel 0.15rc2 (current 
kernels have 0.13e). 0.15rc1 was meant to have monitor mode but it 
hasn't worked for me, either has rc2.

http://www.nongnu.org/orinoco/
The schmoo site has some info on how to patch 0.13e, but it doesn't work 
for me. I went out and bought a PrismGT based chipset card, and works 
fine with kismet, (I bought it thinking it was a prism2 card, wanting to 
take advantage of the hostap drivers- which also have better WPA support).

http://airsnort.shmoo.com/orinocoinfo.html
Knoppix has the patched driver if you would like to give that a thrash.
--
Simon Males [EMAIL PROTECTED]
No More AOL CDs Australia - www.anticd.org
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Apache .htaccess, is this correct ?

2004-08-03 Thread Voytek
I'm trying to control access to a web subdir without editing httpd.conf
I've created a '.htaccess' file in the target dir, but, I still can open
that directory through browser, what am I missing ?

File: .htaccess

---
AuthType Basic
AuthName Staff Use Only
AuthUserFile /etc/httpd/conf/.htpasswd
Require valid-user


-- 
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: let: 08: value too great for base (error token is 08) Re: [SLUG] passing parameter to a shell script

2004-08-03 Thread stuartc
 the script seems to work in as far as it proces the logs through awstats,
 but, ocassionaly I get these errors:

 ./awstatsproc: let: 08: value too great for base (error token is 08)
 ./awstatsproc: let: 09: value too great for base (error token is 09)

Numbers starting with leading 0 are Octal numbers  (base 8) in many programming
languages including C, Perl and shell. Valid octal digits are 
0,1,2,3,4,5,6,7 so it barfs if it sees an 8 or a 9. You probably want
to work in straight numbers and make a leading 0 in your output
format with a sprintf(%02d) kind of formatting thing.
Anything starting with 0x or 0X is a hex number.

So the error message means exactly as it says- it's an error from
the let function complaining about the value being too big for the base.

Have fun,
Stuart.
-- 
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] ot: syslogd for windoze ? t/s BP cable with dlink 704

2004-08-03 Thread Voytek

Anand Kumria said:
 Not sure if this is what you are after

 URL: http://www.intersectalliance.com/projects/

 The snare client for Windows allows you to log to a Linux machine.

Anand, thanks.

no, I'd like to run a syslogd on a windoze machine, and, log a router to
the windoze machine's syslogd.

-- 
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: let: 08: value too great for base (error token is 08) Re: [SLUG] passing parameter to a shell script

2004-08-03 Thread Voytek

[EMAIL PROTECTED] said:
 So the error message means exactly as it says- it's an error from
 the let function complaining about the value being too big for the base.

thanks for explanation, Stuart

 Have fun,

yes... I think, at this time, I'll just redirect the error mssg to 
/dev/null for later consideration

-- 
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] Apache .htaccess, is this correct ?

2004-08-03 Thread Phil Scarratt
Voytek wrote:
I'm trying to control access to a web subdir without editing httpd.conf
I've created a '.htaccess' file in the target dir, but, I still can open
that directory through browser, what am I missing ?
File: .htaccess
---
AuthType Basic
AuthName Staff Use Only
AuthUserFile /etc/httpd/conf/.htpasswd
Require valid-user

something like access allow,deny or similar I think.
Fil
--
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] Wireless Mandrake

2004-08-03 Thread Kevin Saenz
Sorry the card I am using is a Dlink DWL-G650+ it's using an TI chipset.

What wireless card do you have? If its Orinoco/Lucent/Avaya/Agree you 
need a patched driver or the new drivers*.

*There is a new driver which hasn't reached the kernel 0.15rc2 
(current kernels have 0.13e). 0.15rc1 was meant to have monitor mode 
but it hasn't worked for me, either has rc2.

http://www.nongnu.org/orinoco/
The schmoo site has some info on how to patch 0.13e, but it doesn't 
work for me. I went out and bought a PrismGT based chipset card, and 
works fine with kismet, (I bought it thinking it was a prism2 card, 
wanting to take advantage of the hostap drivers- which also have 
better WPA support).

http://airsnort.shmoo.com/orinocoinfo.html
Knoppix has the patched driver if you would like to give that a thrash.
--
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] ot: syslogd for windoze ? t/s BP cable with dlink 704

2004-08-03 Thread Kevin Saenz
Umm, why would you trust a windows machine to collect syslogd information?
just direct syslogd to a unix or linux box.
 

Not sure if this is what you are after
URL: http://www.intersectalliance.com/projects/
The snare client for Windows allows you to log to a Linux machine.
   

Anand, thanks.
no, I'd like to run a syslogd on a windoze machine, and, log a router to
the windoze machine's syslogd.
 

--
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] ot: syslogd for windoze ? t/s BP cable with dlink 704

2004-08-03 Thread Rob Byrnes

Voytek wrote:

 
 Anand Kumria said:
  Not sure if this is what you are after
 
  URL: http://www.intersectalliance.com/projects/
 
  The snare client for Windows allows you to log to a Linux machine.
 
 Anand, thanks.
 
 no, I'd like to run a syslogd on a windoze machine, and, log a router to
 the windoze machine's syslogd.

Here's lots:

http://www.google.com/search?q=windows+syslog

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


[SLUG] re:passwd file corrupted

2004-08-03 Thread linley
thanks
Tried booting with restore linux and set blank password for root.
on reboot in run level 5 still get authentication error
Scratching head and thinking what next.
reinstall Fedora?
Linley Caetan

--
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] ot: syslogd for windoze ? t/s BP cable with dlink 704

2004-08-03 Thread Voytek

Kevin Saenz said:
 Umm, why would you trust a windows machine to collect syslogd information?
 just direct syslogd to a unix or linux box.

I would if I could, but, there are just two windoze 98 machine, that's all
there is.
somehow, putting a syslogd on one of them seems simpler than taking
another machine there

-- 
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] Apache .htaccess, is this correct ?

2004-08-03 Thread Sebastian Welsh
On Tuesday 03 August 2004 23:46, Voytek wrote:
 I'm trying to control access to a web subdir without editing httpd.conf
 I've created a '.htaccess' file in the target dir, but, I still can open
 that directory through browser, what am I missing ?

You may need to edit httpd.conf at least once :-( In the relevant directory 
section, you'll need to add
AllowOverride   AuthConfig
which tells apache to honour access controls in .htaccess files. It would 
looks something like this:

Directory /var/www/
Options Indexes Includes FollowSymLinks MultiViews
# AllowOverride None
AllowOverride AuthConfig
Order allow,deny
Allow from all
/Directory

Alternatively you could create a specific Directory section for your 
subdirectory. However including the AuthConfig directive at the document root 
would allow you to add controls to future subdirectories without the need to 
rejig your server.

Seb


 File: .htaccess

 ---
 AuthType Basic
 AuthName Staff Use Only
 AuthUserFile /etc/httpd/conf/.htpasswd
 Require valid-user
 

 --
 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] re:passwd file corrupted

2004-08-03 Thread Ben Donohue
you can edit /etc/inittab and change the part of the file that says...
id:5:initdefault:
and change the 5 to a 3
then it will boot to console and not start x
change it back to 5 when all fixed up
boot the rescue disk and it should go to console anyway shouldn't it???
Ben
linley wrote:
thanks
Tried booting with restore linux and set blank password for root.
on reboot in run level 5 still get authentication error
Scratching head and thinking what next.
reinstall Fedora?
Linley Caetan

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


[SLUG] wireless fest 14 Aug @ Ryde Public

2004-08-03 Thread Richard Hayes
Dear list,

This is the proposed agenda.

Most of the audience will be from SLUG or other hacker groups such as Sydney 
Wireless but there will be people from other schools and the general public.

I expect between 30 - 80 people over the day and have catered for 50.

There should be two streams one lectures and talks the other a hands on 
workshops.

One of the major goals is to connect two building at the school with a 
wireless point to point link over 600m apart.

So, if anyone wants to do a talk or help with the workshops it would be 
appreciated.

The agenda is flexible and will change from now till the fest so if you have 
an interesting hack or want to speak on any other wireless topic please 
contact me. 

Lectures   Workshop
10.30am  Welcome    11.00   Start Ryde School 
networking
10.45   History of wireless  
11.00    Introduction to Antennas    11.30   Antenna workshop
11.30   Tea break
11.45    IBurst or Unwired Demo    1.30Building an access point
12.00   Wireless Security
12.30   Lunch
1.00Hacking Access Points  ie OpenWRT / Svensoft 
1.30Mesh / Ad hoc networking
2.00Real world project - Ryde Public school
2.30Creating a hotspot 
3.00Wireless future open discussion
3.30    Closing
-- 
Richard Hayes
Nada Marketing 
2/713 Pacific Hwy Gordon Australia 2072
Phone:+(61-2) 9418 4545 Fax:+(61-2) 9418 4348 Mob:+(61) 0414 618 425
http://www.nada.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] Apache .htaccess, is this correct ?

2004-08-03 Thread Voytek

Sebastian Welsh said:
 You may need to edit httpd.conf at least once :-( In the relevant
   AllowOverride   AuthConfig

 Directory /var/www/
 Options Indexes Includes FollowSymLinks MultiViews
 # AllowOverride None
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 /Directory

 Alternatively you could create a specific Directory section for your
 subdirectory. However including the AuthConfig directive at the document
 root
 would allow you to add controls to future subdirectories without the need
 to rejig your server.

thanks, Seb
yes, I prefer the first option

I have multiple name vhosts, Id' like it to apply to all vhosts, if
possible, looking at what I currently have, is:
in the main httpd.conf:

...
#DocumentRoot /var/www/html
DocumentRoot /home/sbt/www

Directory /
Options FollowSymLinks
AllowOverride AuthConfig
/Directory
#Directory /var/www/html
Directory /home/sbt/www
Options Indexes FollowSymLinks +IncludesNOEXEC
AllowOverride None
#AllowOverride All
Order allow,deny
Allow from all
/Directory


so, does above mean that it will allow AuthConfig in the web root of
/home/www/sbt/ ?

can I enable it for all vhosts ?
the vhosts have individual name.tld.conf files, like:

VirtualHost 203.42.34.54:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/russelllea/www
ServerName www.russelllea
ErrorDocument 404 /index.html
/VirtualHost

or, do I need an individual entry for each vhost ?


-- 
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] The Sound of Silence

2004-08-03 Thread Mike MacCana
On Mon, 2 Aug 2004, Jeff Waugh wrote:

 quote who=Bruce Badger

   Use fuser or lsof to find out what has the device open. Sure you haven't got
   a stray esd process going? :-)
 
  Why, I *do* have an esd process running!  How did that get there?  I see
  nothing in /etc/init.d.  It's not a module.  Yet there is is, bold as
  brass, sitting right under init.

 You run GNOME? gnome-session runs it if you elect to start a sound server
 (on the Sound preferences dialogue).

Out of interest, will that change in future?

Mike

-- 
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] MD5Sum mismatch on apt-get upgrade

2004-08-03 Thread mlh
On Tue, Aug 03, 2004 at 05:34:11PM +1000, Michael Lake wrote:
 Hi all
 
 I have been getting these for the last week when doing an upgrade. I 
 gather that either the package maintainer miscalculted the sum, or 
 pacific net got a corrupted copy or they are trojaned. Does one just 
 wait till they are fixed by someone? Its not really a Debian bug. I have 
 been using --fix-missing to install the ones that have an OK MD5sum.
 
 Failed to fetch 
 http://mirror.pacific.net.au/debian/pool/main/g/gcc-defaults/cpp_3.3.4-2_powerpc.deb 
  MD5Sum mismatch
 Failed to fetch 

I think pacific's mirror is hosed.

Updating fedora2 with yum from their mirror gets similar results.

I wget'd the file and found it was all nulls.

They just replaced the broken hardware but it looks like
they don't know the extent of the damage.

(Bcc'ing to pacific mirror admin)

Matt

$ wget 
http://mirror.pacific.net.au/linux/redhat/fedora/updates/2/i386//headers/subversion-0-1.0.6-1.i386.hdr
$ od -xc subversion-0-1.0.6-1.i386.hdr
000        
 \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0023440      
 \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0023454



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


[SLUG] special characters in mutt... again

2004-08-03 Thread Taryn East
Er hi,
yes I know there was a thread on this a little while ago - but I admit I
wasn't paying attention to it at that point, and I'm also not sure if it
was precisely what I need for myself, so I thought I'd repost - and hope
nobody minds too much...


Basically my issue is this:
- I am a part of a gaidhlig mailing list, and there are special
  characters in said list (mainly vowels with accents) which come
  through to me thusly:

A Shi\371saidh, 's truagh nach fhaca mi thusa
aig a' chuirm-chi\371il le Cl\354ar!
Tha mi dol leatsa, bha iad d\354reach sgoinneil!
Bha mi aig SMO airson Cursaichean G\362irid a-rithist,
agus bha e fior fheumail agus c\362mhnachail, mar is abhaist.
Is miann leam an-sin fhuirich. (Chan eil mi cinnteach mu an rosgrann seo)

(hopefully that'll display literally instead of as the characters that I
want to see... if not - they appear to me as \ followed by a 3-digit
number (eg 354 or 362))

Now, I read my email from my home machine (while at work) through an ssh
connection... so there are multiple layers of program, any of which may
be at fault at the moment. gnome-terminal 2.2.1 is the terminal I'm
using at work.

Now, I once had a bit of help from someone who suggested changing
character encodings and stuff - but I remember that the only success in
that seemd to be to change the 3-digit numbers into question marks... so
not much help :(

He then suggested looking at my fonts - but I'm not entirely sure how to
do that (I'm still a newbie). 

At work we use redhat, at home I have debian - and I don't know if it's
mutt or the terminal so don't know which to look up...

so was kinda hoping that the wiser souls on this list might have some
insight/advice to help steer me in the right direction...

Cheers and thanks,
Taryn

-- 
This .sig temporarily out-of-order.
We apologise for any inconvenience
- The Management
-- 
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] Wireless Mandrake

2004-08-03 Thread Steven Chang-Lin Yu
I am using the WG311V2 using TI chipset, there is a project at sourceforge
rewriting the driver for it to run under linux, I heard some of the people
got the WG311V2 working in linux in the 2.4 kernel, but when I try to
compile it in kernel 2.6 under mandrake 10, I just get compiling error!!!

Steve

__
Steven Chang-Lin Yu
MEngSc Student - Telecommunications
Computer Technician
Homepage: http://requiemonline.tripod.com 
ICQ#: 66369374

Current ICQ status: 
* Home Tel#:  0401043641
* Work Tel#:  0401043641
*  More ways to contact me 
   Get ICQ!
__

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Kevin Saenz
Sent: Wednesday, 4 August 2004 6:59 AM
To: Simon Males
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] Wireless Mandrake

Sorry the card I am using is a Dlink DWL-G650+ it's using an TI chipset.



 What wireless card do you have? If its Orinoco/Lucent/Avaya/Agree you 
 need a patched driver or the new drivers*.

 *There is a new driver which hasn't reached the kernel 0.15rc2 
 (current kernels have 0.13e). 0.15rc1 was meant to have monitor mode 
 but it hasn't worked for me, either has rc2.

 http://www.nongnu.org/orinoco/

 The schmoo site has some info on how to patch 0.13e, but it doesn't 
 work for me. I went out and bought a PrismGT based chipset card, and 
 works fine with kismet, (I bought it thinking it was a prism2 card, 
 wanting to take advantage of the hostap drivers- which also have 
 better WPA support).

 http://airsnort.shmoo.com/orinocoinfo.html

 Knoppix has the patched driver if you would like to give that a thrash.


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 29/07/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 29/07/2004
 

-- 
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] re:passwd file corrupted

2004-08-03 Thread O Plameras
So, it is not your iptables.
Before re-installing and with your
'root' password blanked in '/etc/shadow',
you may try checking your,
/etc/sysconfig/authconfig. Shoutld look
like this,
USEDB=no
USEHESIOD=no
USELDAP=no
USENIS=no
USEKERBEROS=no
USELDAPAUTH=no
USEMD5=yes
USESHADOW=yes
USESMBAUTH=no
Do by booting with Fedora CD with 'linux rescue'.
Then,
chroot /mnt/sysimage
cd /etc/sysconfig
vi authconfig
etc.
linley wrote:
thanks
Tried booting with restore linux and set blank password for root.
on reboot in run level 5 still get authentication error
Scratching head and thinking what next.
reinstall Fedora?
Linley Caetan

--
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] Apache .htaccess, is this correct ?

2004-08-03 Thread Sebastian Welsh
On Wed, 4 Aug 2004 09:24 am, Voytek wrote:

 I have multiple name vhosts, Id' like it to apply to all vhosts, if
 possible, looking at what I currently have, is:
 in the main httpd.conf:

 ...
 #DocumentRoot /var/www/html
 DocumentRoot /home/sbt/www

 Directory /
 Options FollowSymLinks
 AllowOverride AuthConfig
 /Directory

Gulp. Don't forget that in your Directory statements, you are providing the 
full, rather than the relative path for the directory. You probably want to 
leave your root directory as
AllowOverride None


 #Directory /var/www/html
 Directory /home/sbt/www
 Options Indexes FollowSymLinks +IncludesNOEXEC
 AllowOverride None
 #AllowOverride All
 Order allow,deny
 Allow from all
 /Directory


 so, does above mean that it will allow AuthConfig in the web root of
 /home/www/sbt/ ?

Directory configs work on an override basis, so settings for Directories 
further away from / subsume preceding ones (see 
http://httpd.apache.org/docs-2.0/en/mod/core.html.en#directory for a far 
better explanation than I can provide). So in your example, the entry
AllowOverride None
means that .htaccess entries will not be honoured for /home/sbt/www and below.
This setup

Directory /
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory

Directory /my/virtual/host
Options Indexes FollowSymLinks +IncludesNOEXEC
AllowOverride AuthConfig
Order allow, deny
Allow from all
/Directory

prohibits access and .htaccess style reconfiguration for the root directory, 
but permits access and .htaccess authorization for the 
directory /my/virtual/host and below.


 can I enable it for all vhosts ?
 the vhosts have individual name.tld.conf files, like:

 VirtualHost 203.42.34.54:80
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /home/russelllea/www
 ServerName www.russelllea
 ErrorDocument 404 /index.html
 /VirtualHost

 or, do I need an individual entry for each vhost ?

That is certainly what I'd choose. A bit of work now, but in future it would 
just become process each time you set up new virtual hosts. 

Seb
-- 
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] re:passwd file corrupted

2004-08-03 Thread Mike MacCana
On Wed, 4 Aug 2004, O Plameras wrote:

  thanks
  Tried booting with restore linux and set blank password for root.
  on reboot in run level 5 still get authentication error
  Scratching head and thinking what next.

Hi,

I'm going to be rude to everyone else and tell you I'll solve your
problem in the next fifteen minutes provided you ignore everyone elses
instructions and answer the following:

Does logging in locally work?
Does logging in remotely work?
Does logging in to the terminal (Ctrl Alt f1) work?
Does logging in graphically work?

No offence to the others that have tried to help you, but I don't the the
advice you've been given is the best. Just answer that and we'll find out
what's wrong.


No, you don't need to reinstall.

Mike

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


[SLUG] [OT] xylan omnistack firmware

2004-08-03 Thread Jamie Wilkinson
If anyone on this list has a Xylan OmniStack 3032 or similar model, can they
please contact me off list?

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
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] Wireless Mandrake

2004-08-03 Thread Kevin Saenz
I am using 2.6 kernel. but the drivers I am using is the ndiswrapper.
I am using the WG311V2 using TI chipset, there is a project at sourceforge
rewriting the driver for it to run under linux, I heard some of the people
got the WG311V2 working in linux in the 2.4 kernel, but when I try to
compile it in kernel 2.6 under mandrake 10, I just get compiling error!!!
Steve
__
Steven Chang-Lin Yu
MEngSc Student - Telecommunications
Computer Technician
Homepage: http://requiemonline.tripod.com 
ICQ#: 66369374

Current ICQ status:  	  	
* Home Tel#:  0401043641
* Work Tel#:  0401043641
*  More ways to contact me 
  Get ICQ!
__

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Kevin Saenz
Sent: Wednesday, 4 August 2004 6:59 AM
To: Simon Males
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] Wireless Mandrake
Sorry the card I am using is a Dlink DWL-G650+ it's using an TI chipset.
 

What wireless card do you have? If its Orinoco/Lucent/Avaya/Agree you 
need a patched driver or the new drivers*.

*There is a new driver which hasn't reached the kernel 0.15rc2 
(current kernels have 0.13e). 0.15rc1 was meant to have monitor mode 
but it hasn't worked for me, either has rc2.

http://www.nongnu.org/orinoco/
The schmoo site has some info on how to patch 0.13e, but it doesn't 
work for me. I went out and bought a PrismGT based chipset card, and 
works fine with kismet, (I bought it thinking it was a prism2 card, 
wanting to take advantage of the hostap drivers- which also have 
better WPA support).

http://airsnort.shmoo.com/orinocoinfo.html
Knoppix has the patched driver if you would like to give that a thrash.
   

 

--
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] re:passwd file corrupted

2004-08-03 Thread O Plameras
I'll answer all your questions, because I'd been
in this situation many times over:
Does logging in locally work ?  NO
Does logging in remotely work ? NO
Does logging in to terminal ? NO
Does logging in graphically ? NO
What's the solution to the problem ?
Mike MacCana wrote:
On Wed, 4 Aug 2004, O Plameras wrote:
 

thanks
Tried booting with restore linux and set blank password for root.
on reboot in run level 5 still get authentication error
Scratching head and thinking what next.
 

Hi,
I'm going to be rude to everyone else and tell you I'll solve your
problem in the next fifteen minutes provided you ignore everyone elses
instructions and answer the following:
Does logging in locally work?
Does logging in remotely work?
Does logging in to the terminal (Ctrl Alt f1) work?
Does logging in graphically work?
No offence to the others that have tried to help you, but I don't the the
advice you've been given is the best. Just answer that and we'll find out
what's wrong.
No, you don't need to reinstall.
Mike
 

--
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] re:passwd file corrupted

2004-08-03 Thread scott
[EMAIL PROTECTED] wrote on 04/08/2004 08:01:20 AM:

 thanks
 Tried booting with restore linux and set blank password for root.
 on reboot in run level 5 still get authentication error
 Scratching head and thinking what next.
 reinstall Fedora?
 
Hi Linley,
Are you trying to login as root, or a normal user?
Do you have a normal user account? If so, can you login as that user, then 
su to root?

Cheers,

Scott
-- 
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] re:passwd file corrupted

2004-08-03 Thread Mike MacCana
On Wed, 4 Aug 2004, O Plameras wrote:


 I'll answer all your questions, because I'd been
 in this situation many times over:

 Does logging in locally work ?  NO
 Does logging in remotely work ? NO
 Does logging in to terminal ? NO
 Does logging in graphically ? NO

THANKS FOR THE CAPS.

What happens when you try them? Just get thrown back to terminal?

Can you boot the machine into single user mode and get a shell (not off
the rescue CD, using the 'single' option)...

Don't set blank passwords. A user with no password generally can't log in.

The other possibility is an expired password, which you could reset with
chage.

Mike
k

-- 
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] re:passwd file corrupted

2004-08-03 Thread Mike MacCana
On Wed, 4 Aug 2004, O Plameras wrote:


 I'll answer all your questions, because I'd been
 in this situation many times over:

Um, that makes no sense. You're not Linley, you're not on his machine,
different problems have different symptoms.

Mike

-- 
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] re:passwd file corrupted

2004-08-03 Thread O Plameras
Mike MacCana wrote:
On Wed, 4 Aug 2004, O Plameras wrote:
 

I'll answer all your questions, because I'd been
in this situation many times over:
Does logging in locally work ?  NO
Does logging in remotely work ? NO
Does logging in to terminal ? NO
Does logging in graphically ? NO
   

THANKS FOR THE CAPS.
What happens when you try them? Just get thrown back to terminal?
 

Yes. Thrown back to terminal.
Can you boot the machine into single user mode and get a shell (not off
the rescue CD, using the 'single' option)...
 

Can't because cannot login at all ?
Don't set blank passwords. A user with no password generally can't log in.
 

I can log in with blank passwd on RedHat 7.3, 8, 9 as well as Fedora 1 
and 2.
I've tried this and it worked.

The other possibility is an expired password, which you could reset with
chage.
 

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


[SLUG] linux VPN server/firewall

2004-08-03 Thread bedel
I am interested in setting up a linux based vpn for access into my home 
windows/osx network. Can some one recommend what might be good server 
software for working with windows 2000/xp and with os as client. And 
linux as a server.


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


Re: let: 08: value too great for base (error token is 08) Re: [SLUG] passing parameter to a shell script

2004-08-03 Thread Jamie Wilkinson
This one time, at band camp, Voytek wrote:
./awstatsproc: let: 08: value too great for base (error token is 08)

  let i=i+1
  done
let j=j+1

don't use let

i=$(($i + 1))

or

i=`expr $i + 1`

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: let: 08: value too great for base (error token is 08) Re: [SLUG] passing parameter to a shell script

2004-08-03 Thread scott
[EMAIL PROTECTED] wrote on 04/08/2004 01:45:23 PM:

 This one time, at band camp, Voytek wrote:
 ./awstatsproc: let: 08: value too great for base (error token is 08)
 
   let i=i+1
   done
 let j=j+1
 
 don't use let
 
 i=$(($i + 1))
 
Curiously, why not use let?

As bash(1) says:

((expression))
The expression is evaluated according to the rules described below under 
ARITHMETIC EVALUATION.  If the value of the  expression
is non-zero, the return status is 0; otherwise the return status is 1. 
This is exactly equivalent to let expression.

Cheers,

Scott

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


Re: let: 08: value too great for base (error token is 08) Re: [SLUG] passing parameter to a shell script

2004-08-03 Thread Jamie Wilkinson
This one time, at band camp, [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote on 04/08/2004 01:45:23 PM:

 This one time, at band camp, Voytek wrote:
 ./awstatsproc: let: 08: value too great for base (error token is 08)
 
   let i=i+1
   done
 let j=j+1
 
 don't use let
 
 i=$(($i + 1))
 
Curiously, why not use let?

I don't think it's portable beyond bash.

(caution: grains of salt must be worn)

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
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] special characters in mutt... again

2004-08-03 Thread Patrick Lesslie
On Wed, Aug 04, 2004 at 10:14:52AM +1000, Taryn East wrote:
 - I am a part of a gaidhlig mailing list, and there are special
   characters in said list (mainly vowels with accents) which come
   through to me thusly:

 A Shi\371saidh, 's truagh nach fhaca mi thusa

You might have some luck with gnome-terminal if you make
sure it is set to UTF-8 (terminal - character coding - UTF-8).

Presumably you will need UTF-8 support in both the kernel
(should be fine for a stock kernel) and in /etc/locale.gen
(that's on Debian).

My locale.gen looks something like:

 en_AU ISO-8859-1

 en_AU.UTF-8 UTF-8

Then you run locale-gen.  Accented characters in mutt work
for me now, although I'm not sure how to create them directly
on the terminal.

You might have more trouble than this; I didn't have chars as
numbers like that, they were more just garbled characters or
sometimes question marks.

Patrick Lesslie
-- 
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] Apache .htaccess, is this correct ?

2004-08-03 Thread Voytek

Sebastian Welsh said:
 Gulp. Don't forget that in your Directory statements, you are providing
 full, rather than the relative path for the directory. You probably want
 leave your root directory as
   AllowOverride None

thanks, Seb
fixed


 Directory /my/virtual/host
   Options Indexes FollowSymLinks +IncludesNOEXEC
   AllowOverride AuthConfig
   Order allow, deny
   Allow from all
 /Directory

thanks, fixed (btw, it didn't like the space ahead of  'deny')

is there any issues in having same doc root as this in virtual, as in:

VirtualHost 203.42.34.54:80
..
DocumentRoot /home/name.com.au/www
..

Directory /home/name.com.au/www
  Options Indexes FollowSymLinks +IncludesNOEXEC
  AllowOverride AuthConfig
  Order allow,deny
  Allow from all
/Directory
/VirtualHost

also, any recomendation where should the server's docroot be on a multi
name vhost server ?
I recall, there used to be suggestion to make a page pointing to
individual dirs, for name-vhost-challanged-browsers, I guess, that's lomg
obsolote now ?




-- 
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] Apache .htaccess, is this correct ?

2004-08-03 Thread Jamie Wilkinson
This one time, at band camp, Voytek wrote:
also, any recomendation where should the server's docroot be on a multi
name vhost server ?

I leave the server-wide docroot as the distro had set it, usually
/var/www/html, and in it place a single page that indicates that the server
is alive; if that page appears in any of the hosted virtualhosts then there
is a problem with the vhost configuration, otherwise it is never seen except
by the monitoring systems.

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Regex question

2004-08-03 Thread Alexander Samad
Hi


a friend has to implement in regex  something along these lines of these
rules to match against a string (password)

Must match 3 out of 4 rules

1) Contain 1 or more Uppercase char
2) Contain 1 or more Lowercase char
3) Contain 1 or more numeric
4) Contain 1 or more punctuation 

Thanks

Alex


signature.asc
Description: Digital 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] Bigpond cable and WRT054G

2004-08-03 Thread Patrick Lesslie
On Mon, Aug 02, 2004 at 12:03:57PM +1000, Stuart Guthrie wrote:
 Has anyone setup these two to play together nicely. I've just
 recommended the WRT054G to a friend and bigpond are not being helpful as
 to how to connect. ie pppoe, ppptp dhcp.
 
 I'm sure it can be done, but what incantation?
 
 His setup is (hopefully)
 
 PC . wifi card ~~ WRT054G -- CableModem --- Bigpond
   ^^ ethernet cable
  ^^^ Wireless

FWIW, I set up a WRT54G with bigpond cable and a heartbeat signal last
week.  It was a snap since it was a menu option in the WRT54G -
apparently the version 2 model works well, earlier versions need a
firmware upgrade.  A nice page on the subject:
http://www.ozcableguy.com/linksys1.html#wrt54g

I forget where I read it, but you should be careful not to change
the ping interval to zero, since apparently it goes into an infinite
reboot loop ...

Patrick
-- 
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] Regex question

2004-08-03 Thread Jamie Wilkinson
This one time, at band camp, Alexander Samad wrote:
Hi


a friend has to implement in regex  something along these lines of these
rules to match against a string (password)

Must match 3 out of 4 rules

1) Contain 1 or more Uppercase char
2) Contain 1 or more Lowercase char
3) Contain 1 or more numeric
4) Contain 1 or more punctuation 

Firstly, you can't count in a regex, so you can't say once 3 of these
match, then succeed.

So really you want to test for each of these (with or without a regex) and
then sum the results.

You didn't say what language, so man perlre for some common regex syntax,
and the re module from http://www.python.org/doc/lib/ for some python
documentation.

I can think of a python solution with about 6 lines in it, but I'd hate to
deprive you of the joy of learning.  Have fun!

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
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] The Sound of Silence

2004-08-03 Thread Jeff Waugh
quote who=Mike MacCana

  You run GNOME? gnome-session runs it if you elect to start a sound
  server (on the Sound preferences dialogue).
 
 Out of interest, will that change in future?

The ability to choose, or the choice of sound server? I doubt either will
change in the immediate future. Why would we?

- Jeff

-- 
linux.conf.au 2005: Canberra, Australiahttp://linux.conf.au/
 
  Linux continues to have almost as much soul as James Brown. - Forrest
 Cook, LWN
-- 
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] Regex question

2004-08-03 Thread Alexander Samad
On Wed, Aug 04, 2004 at 02:24:09PM +1000, Jamie Wilkinson wrote:
 This one time, at band camp, Alexander Samad wrote:
 Hi
 
 
 a friend has to implement in regex  something along these lines of these
 rules to match against a string (password)
 
 Must match 3 out of 4 rules
 
 1) Contain 1 or more Uppercase char
 2) Contain 1 or more Lowercase char
 3) Contain 1 or more numeric
 4) Contain 1 or more punctuation 
 
 Firstly, you can't count in a regex, so you can't say once 3 of these
 match, then succeed.
looking for 1 regex statement and perlre is the standard I think, the
sort of thing I was thinking of but really ugly was (where [:1:] - set
of chars that meets rule 1 above)

 ([:1:]+[:2:]+[:3:]+|[:1:]+[:2:]+[:4:]+|...) rather long and painful

 
 So really you want to test for each of these (with or without a regex) and
 then sum the results.
 
 You didn't say what language, so man perlre for some common regex syntax,
 and the re module from http://www.python.org/doc/lib/ for some python
 documentation.
 
 I can think of a python solution with about 6 lines in it, but I'd hate to
 deprive you of the joy of learning.  Have fun!
 
 -- 
 [EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


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


[SLUG] Problems mounting Windows2000 shares (cifs/smbfs)

2004-08-03 Thread Simon Wong
Afternoon all!

I am hoping someone on this enlightened list can help me as I've run out
of ideas to try.

After a recent domain upgrade from an NT to Windows 2003 domain at my
work I can no longer mount shares on a Windows 2000 server.

After extensive testing and trialling of the cifs modules and smbfs I
have discovered that I can mount shares from another server (windows
2003) using smbfs and cifs.  It is also part of the domain.

The server was rebooted over the weekend and it seems that something was
waiting for a reboot to become active/change.

Trying to mount with smbfs as I previously had results in the error:

# mount //srv2/Users
cli_negprot: SMB signing is mandatory and we have disabled it.
4804: protocol negotiation failed
SMB connection failed

So googling told me that I must use CIFS.

When I use cifs, the Kernel log says that CIFS Session Established
successfully however I then get a:

Status code returned 0xc022 NT_STATUS_ACCESS _DENIED

Anyone have any ideas how I can mount the shares again?

TIA.



-- 
Simon Wong [EMAIL PROTECTED]
Wongy.org

-- 
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] Regex question

2004-08-03 Thread Jamie Wilkinson
This one time, at band camp, Alexander Samad wrote:
looking for 1 regex statement and perlre is the standard I think, the
sort of thing I was thinking of but really ugly was (where [:1:] - set
of chars that meets rule 1 above)

 ([:1:]+[:2:]+[:3:]+|[:1:]+[:2:]+[:4:]+|...) rather long and painful

So you'd need each of the permutations for the 3 of 4 matches, (4P3, I think:
24 permutations) though you can compress each permutation into a single
regex match with [[:upper:][:lower:][:digit:]].

That still ends up being (about 25 characters above, plus a bit of padding
for extra grouping symbols) a regex of 600 characters or more, with the
advantage that the structure of the regex gives no hints that it performs
the above computation.

Have fun!

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
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] special characters in mutt... again

2004-08-03 Thread John Clarke
On Wed, Aug 04, 2004 at 02:08:15PM +1000, Patrick Lesslie wrote:

 Then you run locale-gen.  Accented characters in mutt work
 for me now, although I'm not sure how to create them directly
 on the terminal.

My solution is to have this is ~/.Xmodmap:

keycode 116 = Multi_key

which maps the right windows key to Compose, and run xmodmap from
~/.xinitrc before starting the window manager.

Then, for example, Compose + e followed by ' gives é.  The complete
list of compose characters is in
/usr/X11R6/lib/X11/locale/iso8859-*/Compose.


Cheers,

John
-- 
It's called sarcasm.  I hear that irony is not easily found in the wild in 
.us, but I'd have thought that sarcasm was reasonably common.
-- Matt McLeod
-- 
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] Regex question

2004-08-03 Thread Stuart Cooper

  Must match 3 out of 4 rules

Must much at least 3 out of 4 rules I would
imagine, the more oblique the password the
better.

  1) Contain 1 or more Uppercase char
  2) Contain 1 or more Lowercase char
  3) Contain 1 or more numeric
  4) Contain 1 or more punctuation 

 looking for 1 regex statement and perlre is the
 standard I think, 

looking for 1 regex in this case is a bad thing to do.
the simple and smart thing to do is to match all
the four cases returning 1 or 0 for each 
one and then say
# check supplied password matches at least 3
# of the criteria
if ($matchUpper + $matchLower + $matchNumeric +
$matchPunct = 3) {
  # new password OK
} else {
  # new password bad, don't accept
}

Doing stuff in one confusing regex might look smart
but keeping things simple and transparent is 
considerably smarter and more valuable.

###
Some people, when confronted with a problem, think “I 
know, I’ll use regular expressions.” Now they have two

problems.
--Jamie Zawinski, in comp.lang.emacs
###

Stuart.

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.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] The Sound of Silence

2004-08-03 Thread Mike MacCana
On Tue, 3 Aug 2004, Jeff Waugh wrote:

 quote who=Mike MacCana

   You run GNOME? gnome-session runs it if you elect to start a sound
   server (on the Sound preferences dialogue).
 
  Out of interest, will that change in future?

 The ability to choose, or the choice of sound server?

Neither - the installation and enabling of an ESD sound server by default.

Tho I imagine the choice could be removed in order to make things be
simpler in Gnome philosophy.

Mike

-- 
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] Problems mounting Windows2000 shares (cifs/smbfs)

2004-08-03 Thread Mike MacCana
On Wed, 4 Aug 2004, Simon Wong wrote:

 Afternoon all!

 I am hoping someone on this enlightened list can help me as I've run out
 of ideas to try.

 After a recent domain upgrade from an NT to Windows 2003 domain at my
 work I can no longer mount shares on a Windows 2000 server.

 After extensive testing and trialling of the cifs modules and smbfs I
 have discovered that I can mount shares from another server (windows
 2003) using smbfs and cifs.  It is also part of the domain.

 The server was rebooted over the weekend and it seems that something was
 waiting for a reboot to become active/change.

 Trying to mount with smbfs as I previously had results in the error:

 # mount //srv2/Users
 cli_negprot: SMB signing is mandatory and we have disabled it.
 4804: protocol negotiation failed
 SMB connection failed

Either upgrade your Samba to support signing (as the latest Samba does by
default) or modify your 2003 server to disable signing (see the MS
knowledgebase of getting NT 4 for talk to 2K3 domain controllers - the
same applies).

 So googling told me that I must use CIFS.

That's a seperate thing from connection signing. You have a signing
problem.

Mike

-- 
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] The Sound of Silence

2004-08-03 Thread Jeff Waugh
quote who=Mike MacCana

You run GNOME? gnome-session runs it if you elect to start a sound
server (on the Sound preferences dialogue).
  
   Out of interest, will that change in future?
 
  The ability to choose, or the choice of sound server?
 
 Neither - the installation and enabling of an ESD sound server by default.

Well, if remote sound and software mixing is not important to you, you can
turn it off. But it's not going to happen upstream, until we have another
cross-platform solution. esound is simple, and it works, which is why no one
has managed to replace it yet. Don't listen to the ill-informed anti-esound
people; they generally don't understand the use cases.

 Tho I imagine the choice could be removed in order to make things be
 simpler in Gnome philosophy.

No, that doesn't make a lot of sense, nor reflects a GNOME philosophy.

- Jeff

-- 
What's all that about?   http://www.no-name-yet.com/
 
   Instead you're doing circle jerks with the Care Bears of Censorship.
- Siduri on Slashdot
-- 
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] The Sound of Silence

2004-08-03 Thread Mike MacCana
On Tue, 3 Aug 2004, Jeff Waugh wrote:

 Well, if remote sound and software mixing is not important to you,

Or, more likely, if you prefer another solution...

 you can turn it off.

 But it's not going to happen upstream, until we have another
 cross-platform solution. esound is simple, and it works, which is why no one
 has managed to replace it yet.

My question comes down to: are the freedesktop guys working on some kind
of shared sound architecture? I'd heard rumblings this was the case.

  Tho I imagine the choice could be removed in order to make things be
  simpler in Gnome philosophy.

 No, that doesn't make a lot of sense, nor reflects a GNOME philosophy.

Gnome is about not overwhelming users with choice.  Choice implicitly
overwhelmes people, and if they wanted to be overwhelmed, they'd use
KDE. According to most of the Gnome blogs / manifestos post 2.6 anyway.

Hence changing the default behavior of applications without asking /
telling users and providing no method to change it back without hacking.

There's nothing wrong with this belief, though I don't share it. It's just
that people should understand this, so they don't ask things of Gnome
which are outside this spec.

Off topic, but hey, you started it :^P

Mike

-- 
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] The Sound of Silence

2004-08-03 Thread Jeff Waugh
quote who=Mike MacCana

  Well, if remote sound and software mixing is not important to you,
 
 Or, more likely, if you prefer another solution...

If you prefer another solution, you'd have to replace GNOME's use of esound
with something else that achieves the same ends. That's not a simple change,
and because there's very little out there that's as simple as esound, no one
has done it.

 My question comes down to: are the freedesktop guys working on some kind
 of shared sound architecture? I'd heard rumblings this was the case.

MAS, which has basically gone no where for the last few years, is listed on
freedesktop.org, but that doesn't mean it's a standard or intended to become
one. freedesktop.org standardises common usage more than anything else.

   Tho I imagine the choice could be removed in order to make things be
   simpler in Gnome philosophy.
 
  No, that doesn't make a lot of sense, nor reflects a GNOME philosophy.
 
 Gnome is about not overwhelming users with choice.  Choice implicitly
 overwhelmes people, and if they wanted to be overwhelmed, they'd use KDE.
 According to most of the Gnome blogs / manifestos post 2.6 anyway.
 
 Hence changing the default behavior of applications without asking /
 telling users and providing no method to change it back without hacking.
 
 There's nothing wrong with this belief, though I don't share it. It's just
 that people should understand this, so they don't ask things of Gnome
 which are outside this spec.

But you're also miscommunicating / misunderstanding it. It's not about
removing choice, it's about making things Just Work. Removing esound
configuration at this time would not make sense. It'll be great when sound
does Just Work, but that's not the case right now.

- Jeff

-- 
linux.conf.au 2005: Canberra, Australiahttp://linux.conf.au/
 
  Are you XFire's crazy girlfriend? And if so, shine on you crazy
  diamond! - Paul Cameron
-- 
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] Regex question

2004-08-03 Thread Alexander Samad
On Wed, Aug 04, 2004 at 02:52:28PM +1000, Stuart Cooper wrote:
 
   Must match 3 out of 4 rules
 
 Must much at least 3 out of 4 rules I would
 imagine, the more oblique the password the
 better.
 
   1) Contain 1 or more Uppercase char
   2) Contain 1 or more Lowercase char
   3) Contain 1 or more numeric
   4) Contain 1 or more punctuation 
 
  looking for 1 regex statement and perlre is the
  standard I think, 
 
 looking for 1 regex in this case is a bad thing to do.
 the simple and smart thing to do is to match all
 the four cases returning 1 or 0 for each 
 one and then say
 # check supplied password matches at least 3
 # of the criteria
 if ($matchUpper + $matchLower + $matchNumeric +
 $matchPunct = 3) {
   # new password OK
 } else {
   # new password bad, don't accept
 }
 
 Doing stuff in one confusing regex might look smart
 but keeping things simple and transparent is 
 considerably smarter and more valuable.

True but this is to be placed into a 4rd party program with no access to
code! so has to be a regex

 
 ###
 Some people, when confronted with a problem, think ?I 
 know, I?ll use regular expressions.? Now they have two
 
 problems.
 --Jamie Zawinski, in comp.lang.emacs
 ###
 
 Stuart.
 
 Find local movie times and trailers on Yahoo! Movies.
 http://au.movies.yahoo.com
 


signature.asc
Description: Digital 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] Regex question

2004-08-03 Thread bedel
probably want to write a script to write the regex :)
10 points for the first code snippit that generates it !!!

On 04/08/2004, at 3:43 PM, Alexander Samad wrote:
On Wed, Aug 04, 2004 at 02:52:28PM +1000, Stuart Cooper wrote:

Must match 3 out of 4 rules
Must much at least 3 out of 4 rules I would
imagine, the more oblique the password the
better.
1) Contain 1 or more Uppercase char
2) Contain 1 or more Lowercase char
3) Contain 1 or more numeric
4) Contain 1 or more punctuation

looking for 1 regex statement and perlre is the
standard I think,
looking for 1 regex in this case is a bad thing to do.
the simple and smart thing to do is to match all
the four cases returning 1 or 0 for each
one and then say
# check supplied password matches at least 3
# of the criteria
if ($matchUpper + $matchLower + $matchNumeric +
$matchPunct = 3) {
  # new password OK
} else {
  # new password bad, don't accept
}
Doing stuff in one confusing regex might look smart
but keeping things simple and transparent is
considerably smarter and more valuable.
True but this is to be placed into a 4rd party program with no access 
to
code! so has to be a regex

###
Some people, when confronted with a problem, think ?I
know, I?ll use regular expressions.? Now they have two
problems.
--Jamie Zawinski, in comp.lang.emacs
###
Stuart.
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
--
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