Re: [SLUG] distro footprints

2005-09-19 Thread Christopher JS Vance

On Mon, Sep 19, 2005 at 04:57:32PM +1000, Jeff Waugh wrote:

You could try out the deeply integrated LTSP functionality in Ubuntu 5.10
(which will be released in mid-October, but available as a Preview release
right now, and well worth testing). It'll work with whatever X session you
choose to set up.


I'll give it a look, ta.

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


[SLUG] Ubuntu Hoary: X server /tmp files blown away

2005-09-19 Thread Martin
I've asked at ubuntuforums.org but I thought I'd try here as well in case
anyone has seen this before.

After a period of use I can no longer open anything within X. The error is:

unable to open display ":0.0"

and my /tmp directory looks like this:


ls -la /tmp/ 
total 12 
drwxrwxrwx 2  root root 8192 2005-09-19 14:32 .
drwxr-xr-x 22 root root 4096 2005-04-18 14:46 .. 
-rw-r--r-- 1  root root 02005-09-19 10:15 .clean

I've search /etc/cron* and /var/spool/cron/* for anything that touches /tmp
to no avail.

Any ideas?

cheers
marty

-- 
"To err is human, to forgive is not my policy. -- root"

- sig file 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


[SLUG] Debian 3.1

2005-09-19 Thread John Gibbons
Thanks to Jeff, Ken and Simon. I had been trying startx but when nothing 
happened I had assumed I was using the wrong input. Since getting your 
replies I have tried two reinstalls but each time end up in the same 
place. Maybe the DVD I am using from the latest Linux Format magazine 
has a glitch? Nevertheless will try again.


John.
--
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] wifi router

2005-09-19 Thread Gottfried Szing



Julio Cesar Ody wrote:

WRT54G+OpenWRT is probably not the best solution if all you want is a
router+dhcp server, dns and firewall. The out-of-the-box solution will
do it. Unless of course you want to do it yourself...


this is not my intention right now, because having wifi up and running 
again has top priority for me. but maybe sometimes in the near future i 
will have enough time and costumizing the wifi router will be a nice 
pastime.


i have checked a lot of routers in the last time and i have also found 
the asus wl500g(d) that has usb support. this would make it a lot easier 
to build an standalone mp3 player (usb sound device and storage), to set 
up a simple webserver or even an ssh-server if this is possible.


anyway, i think i will pick the asus wl500gd.

cu, gottfried

--
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] Debian 3.1

2005-09-19 Thread Terry Collins
John Gibbons wrote:
> I have just installed Debian 3.1 but instead of it opening in the GUI I
> have to type in a command. Would some kind person tell me what it is?

Err, could you describe exact;ly what you did for installation?

It may be that you have just installed the base system and now you need
to install the various components?



does locate xdm  or locate gdm or locate kdm produce anything?
Like a list of paths?

Alternatively, less /var/log/XF86* , or less /var/log/xdm give you any
information?  tail /var might be better.

-- 
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] wifi router

2005-09-19 Thread Gottfried Szing

Hi again


The good thing about OpenWRT is that you can install it and use the
hardware for something else than the factory programmed
functionalities. I recently installed Asterisk PBX on it. It's a quite
sweet device. For good or bad, it could run Apache as well (lacks
persistant memory space though).


i forgot to ask in the last mail: have you used the packages that are 
availble via ipkg or a different piece of software? is this software 
stable enough for home-usage?


br, gottfried
--
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: slug Digest, Vol 30, Issue 33

2005-09-19 Thread Geoffrey Cowling
-- Forwarded message --
From: John Gibbons <[EMAIL PROTECTED]>To: slug@slug.org.auDate: Mon, 19 Sep 2005 17:13:59 +1000Subject: [SLUG] Debian 
3.1Thanks to Jeff, Ken and Simon. I had been trying startx but when nothinghappened I had assumed I was using the wrong input. Since getting yourreplies I have tried two reinstalls but each time end up in the same
place. Maybe the DVD I am using from the latest Linux Format magazinehas a glitch? Nevertheless will try again.John.<>
I installed Linux Format disc and it gave me gdm and graphical log-in out of the box ... .
-- 
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] wifi router

2005-09-19 Thread Julio Cesar Ody
ipkg. 

I can tell it's stable for the scenarios I tested it (small office, 6
or 7 SIP phones, relatively complex dialplan). I never been through
with it in larger deployments. So the answer for your question is yes.


On 9/19/05, Gottfried Szing <[EMAIL PROTECTED]> wrote:
> Hi again
> 
> > The good thing about OpenWRT is that you can install it and use the
> > hardware for something else than the factory programmed
> > functionalities. I recently installed Asterisk PBX on it. It's a quite
> > sweet device. For good or bad, it could run Apache as well (lacks
> > persistant memory space though).
> 
> i forgot to ask in the last mail: have you used the packages that are
> availble via ipkg or a different piece of software? is this software
> stable enough for home-usage?
> 
> br, gottfried
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 


-- 
Julio C. Ody
http://rootshell.be/~julioody
--
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: wifi router

2005-09-19 Thread Matthew Palmer
On Mon, Sep 19, 2005 at 12:44:24PM +0200, Gottfried Szing wrote:
> Hi again
> 
> >The good thing about OpenWRT is that you can install it and use the
> >hardware for something else than the factory programmed
> >functionalities. I recently installed Asterisk PBX on it. It's a quite
> >sweet device. For good or bad, it could run Apache as well (lacks
> >persistant memory space though).
> 
> i forgot to ask in the last mail: have you used the packages that are 
> availble via ipkg or a different piece of software? is this software 
> stable enough for home-usage?

Rock solid for me.

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


[SLUG] Old hardware for charity.

2005-09-19 Thread Vini Engel

Hi everyone,

Some time ago there was someone from some charity entity asking for 
donations on the list, I remember that there was even something about 
getting together to install OS on the donated machines.


Is this person still there?

I am doing some cleaning up in the office and will have some stuff to 
donate but would like it to be useful for someone organisation which 
cannot afford to buy machines. i.e. non-profitable, charity.


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


[SLUG] Playing audio from CD problems

2005-09-19 Thread Bill

Hi

Just purchased August 05 edition of the UK mag Total guitar.

Can't play the audio files contained on the CD using linux - actually I 
can't figure out where these files are/what they are. Mpgs pay fine.


Can play the audio on my stereo and in WinMediaPlayer on XP - using 
MediaPlayer can even copy the files ( as .wma) to my Hard Drive.


Hereunder is the full directory listing of the CD:-

 E:\R---
.DS_Store   RH---   6,148
Getting to the audio tracks.htm R---X   7,120
ReadMe 1st.htm  R---X   4,892
video problems.htm  R---X   16,603
  E:\TG Song Index\ R---
.DS_Store   RH---   6,148
data.cstR   700,575
ReadMe 1st (1_3).htmR---X   24,697
shared.cst  R   78,795
TG Song Index 1_3 Win.exe   R---X   3,006,586
  E:\Videos\R---
.DS_Store   RH---   6,148
  E:\Videos\BlackSabbath\   R---
.DS_Store   RH---   6,148
IronMan.mpg R   6,146,980
  E:\Videos\Charanga\   R---
.DS_Store   RH---   6,148
Fret Hand Muting in context.mpg R   2,568,196
Fret Hand Muting Technique.mpg  R   2,201,604
  E:\Videos\Sonny Landreth\ R---
.DS_Store   RH---   6,148
sonny02.mpg R   49,836,036

As you can see, there are no .wma files or any other audio file format that 
I'm aware of.


I'm guessing that as the audio files on my hard drive total around 30kb 
that on the CD they are in the data.cst file.


Any suggestions re playing in Linux? Tried MPlayer et al and could only see 
files as listed above.



Bill

Googling revealed nothing re the .cst file extension that I could find.

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


[SLUG] BASH oddity

2005-09-19 Thread Howard Lowndes
I have put together a bash script that does a bit of maths, but I keep 
getting this odd message:


script.sh: line 68: 09: value too great for base (error token is "09")

The specific line 68 (last below), and the immediately preceding lines, 
in the script read:


OUR_TZ_OSET="$(date +%z)"
OUR_TZ_OSET_MINS=$((${OUR_TZ_OSET:3:2}))
OUR_TZ_OSET_HRS=$((${OUR_TZ_OSET:1:2}))

OUR_MINS="$(date +%M)"
OUR_HRS="$(date +%H)"
OUR_DATE="$(date +%d)"

OUR_UTC_MINS=$(($OUR_MINS-$OUR_TZ_OSET_MINS))

This problem only seems to occur with some values of $OUR_MINS which 
have a leading "0" (specifically "09" in this instance), when the 
leading digit is other than that ("1" thru "5") there appears to be no 
problem.


Any clues?  I really do need to retain the leading "0" if possible when 
it exists.


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

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


Re: [SLUG] BASH oddity

2005-09-19 Thread Simon Bowden

Hi Howard,

I had this once, and similarly needed to retain leading 0's (rather than 
${var%%0}).


The leading zero implies octal numbers. You can force a base with a 
leading base#, i.e. 10#09 = 09, base 10, rather than 09 base-8 which is 
invalid.


I'm not currently aware of a way of saying "all numbers are base 10", 
which would tidy things up quite a bit. This is all documented in the 
aritmetic part of the bash man page.


Cheers,

 - Simon


On Tue, 20 Sep 2005, Howard Lowndes wrote:

I have put together a bash script that does a bit of maths, but I keep 
getting this odd message:


script.sh: line 68: 09: value too great for base (error token is "09")

The specific line 68 (last below), and the immediately preceding lines, in 
the script read:


   OUR_TZ_OSET="$(date +%z)"
   OUR_TZ_OSET_MINS=$((${OUR_TZ_OSET:3:2}))
   OUR_TZ_OSET_HRS=$((${OUR_TZ_OSET:1:2}))

   OUR_MINS="$(date +%M)"
   OUR_HRS="$(date +%H)"
   OUR_DATE="$(date +%d)"

   OUR_UTC_MINS=$(($OUR_MINS-$OUR_TZ_OSET_MINS))

This problem only seems to occur with some values of $OUR_MINS which have a 
leading "0" (specifically "09" in this instance), when the leading digit is 
other than that ("1" thru "5") there appears to be no problem.


Any clues?  I really do need to retain the leading "0" if possible when it 
exists.


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

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


--
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] BASH oddity

2005-09-19 Thread Julio Cesar Ody
Maybe you're not willing to use bc... but here it goes anyway.

Use:

OUR_UTC_MINS=$(echo $OUR_MINS - $OUR_TZ_OSET_MINS | bc)

And it works. No idea on how to solve it with bash constructs though...

ps: apart from using a regex and removing leading zeroes.


On 9/20/05, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> I have put together a bash script that does a bit of maths, but I keep
> getting this odd message:
> 
> script.sh: line 68: 09: value too great for base (error token is "09")
> 
> The specific line 68 (last below), and the immediately preceding lines,
> in the script read:
> 
>  OUR_TZ_OSET="$(date +%z)"
>  OUR_TZ_OSET_MINS=$((${OUR_TZ_OSET:3:2}))
>  OUR_TZ_OSET_HRS=$((${OUR_TZ_OSET:1:2}))
> 
>  OUR_MINS="$(date +%M)"
>  OUR_HRS="$(date +%H)"
>  OUR_DATE="$(date +%d)"
> 
>  OUR_UTC_MINS=$(($OUR_MINS-$OUR_TZ_OSET_MINS))
> 
> This problem only seems to occur with some values of $OUR_MINS which
> have a leading "0" (specifically "09" in this instance), when the
> leading digit is other than that ("1" thru "5") there appears to be no
> problem.
> 
> Any clues?  I really do need to retain the leading "0" if possible when
> it exists.
> 
> --
> Howard.
> LANNet Computing Associates - Your Linux people 
> --
> When you just want a system that works, you choose Linux;
> When you want a system that just works, you choose Microsoft.
> --
> Flatter government, not fatter government;
> Get rid of the Australian states.
> 
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 


-- 
Julio C. Ody
http://rootshell.be/~julioody
--
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] BASH oddity

2005-09-19 Thread Simon Bowden

On Tue, 20 Sep 2005, Simon Bowden wrote:


Hi Howard,

I had this once, and similarly needed to retain leading 0's (rather than 
${var%%0}).


This should have been ${foo#0}, and I don't know a good way of removing an 
arbitrary number of leading zeros without resorting to external tools (or 
loops).


Cheers,

 - Simon (and please excuse the extra message)

The leading zero implies octal numbers. You can force a base with a leading 
base#, i.e. 10#09 = 09, base 10, rather than 09 base-8 which is invalid.


I'm not currently aware of a way of saying "all numbers are base 10", which 
would tidy things up quite a bit. This is all documented in the aritmetic 
part of the bash man page.


Cheers,

- Simon


On Tue, 20 Sep 2005, Howard Lowndes wrote:

I have put together a bash script that does a bit of maths, but I keep 
getting this odd message:


script.sh: line 68: 09: value too great for base (error token is "09")

The specific line 68 (last below), and the immediately preceding lines, in 
the script read:


   OUR_TZ_OSET="$(date +%z)"
   OUR_TZ_OSET_MINS=$((${OUR_TZ_OSET:3:2}))
   OUR_TZ_OSET_HRS=$((${OUR_TZ_OSET:1:2}))

   OUR_MINS="$(date +%M)"
   OUR_HRS="$(date +%H)"
   OUR_DATE="$(date +%d)"

   OUR_UTC_MINS=$(($OUR_MINS-$OUR_TZ_OSET_MINS))

This problem only seems to occur with some values of $OUR_MINS which have a 
leading "0" (specifically "09" in this instance), when the leading digit is 
other than that ("1" thru "5") there appears to be no problem.


Any clues?  I really do need to retain the leading "0" if possible when it 
exists.


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

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


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


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


Re: [SLUG] BASH oddity

2005-09-19 Thread Robert Thorsby

On 2005.09.20 12:24 Howard Lowndes wrote:
I have put together a bash script that does a bit of maths, but I 
keep getting this odd message:



Why not let the date command do all the work for you?

Call date the first time with all the options plus a final argument of  
%s, then parse the result. Call date a second time with the --date 
option (and the earlier resultant time as the "--date" string value) 
with a single argument of %s -- this will return the epoch value of 
that particular time. Then subtract the two %s results.


Robert Thorsby
--
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; Debian 3.1

2005-09-19 Thread Bill

after logging in, try startx or startkde

Bill




Message: 1
Date: Mon, 19 Sep 2005 18:04:01 +1000
From: Terry Collins <[EMAIL PROTECTED]>
Subject: Re: [SLUG] Debian 3.1
To: slug@slug.org.au
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

John Gibbons wrote:
> I have just installed Debian 3.1 but instead of it opening in the GUI I
> have to type in a command. Would some kind person tell me what it is?


--
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] BASH oddity

2005-09-19 Thread Matthew Hannigan
On Tue, Sep 20, 2005 at 12:49:23PM +1000, Robert Thorsby wrote:
> Why not let the date command do all the work for you?

Yes!


There's another more subtle bug with Howard's code.

With
OUR_MINS="$(date +%M)"
OUR_HRS="$(date +%H)"

you will get unexpected values at the change of hour;
just say it's  12:59:59; then

OUR_MINS="$(date +%M)"

will get 59; then time moves on to 01:00:00 and the next
setting 

OUR_HRS="$(date +%H)"

gets 01. 

so the code thinks it's 01:59, not 12:59 or 1:00.

The same goes for the changeover of days, months years etc.. of course.

One trick to combat this is to call date exactly once, with format
statements which look like variable settings, then eval the result.
i.e.

eval $(date +"OURMINS=%M OUR_HRS=%H")


Regards,
Matt





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


Re: [SLUG] BASH oddity

2005-09-19 Thread Vino Fernando Crescini


I have put together a bash script that does a bit of maths, but I keep 
getting this odd message:


script.sh: line 68: 09: value too great for base (error token is "09")

The specific line 68 (last below), and the immediately preceding lines, 
in the script read:


OUR_TZ_OSET="$(date +%z)"
OUR_TZ_OSET_MINS=$((${OUR_TZ_OSET:3:2}))
OUR_TZ_OSET_HRS=$((${OUR_TZ_OSET:1:2}))

OUR_MINS="$(date +%M)"
OUR_HRS="$(date +%H)"
OUR_DATE="$(date +%d)"

OUR_UTC_MINS=$(($OUR_MINS-$OUR_TZ_OSET_MINS))

This problem only seems to occur with some values of $OUR_MINS which 
have a leading "0" (specifically "09" in this instance), when the 
leading digit is other than that ("1" thru "5") there appears to be no 
problem.


Any clues?  I really do need to retain the leading "0" if possible when 
it exists.




You can get date dump UTC:

  OUR_UTC_MINS="$(date -u +%M)"

--
Vino Fernando Crescini Intelligent Systems Laboratory
   School of Computing & IT
phone: +61 2 4736 0140 University of Western Sydney
email: [EMAIL PROTECTED] Locked Bag 1797
web: www.cit.uws.edu.au/~jcrescin  Penrith South DC NSW 1797

Scanned by SCIT E-Mail Gateway http://www.cit.uws.edu.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] Presentation Mind Control - 21st September 2005

2005-09-19 Thread Jacinta Richardson
QuantumG wrote:

> Ok, I'll bite.  WTF.  If you have something worthwhile to say, geeks
> will listen to you.  We don't need this motivational speaking crap.  Or
> is this about making presentations to the mindless masses?

In this case you're a perfect example of where better communication would help.
 You're asking a question about the need for this talk, but you'd normally hit
my "not worth responding to" filter.

The focus of this talk is about conference, user group and other similar
presentations.  Most of us have been to presentations which cover very
interesting topics but do so in such a way that it's a struggle to stay awake
and pay attention.  It's very easy to create a bad presentation and it's even
easier to take a reasonable presentation and present it poorly.  Jiggling the
mouse pointer over the slide detracts from your message as we are instinctively
drawn to watch movement.  Shaking coins or keys in your pocket is annoying.
Speaking in a monotone or just repeating the words on your slides is a great way
to bore people.

When you're presenting to a group, you want them to stay awake, pay attention
and hopefully retain some of the information you give them.  This talk isn't
motivational speaking crap - it won't tell you how to motivate people, or even
cover the tips I've suggested above.  There are too many better resources for
that kind of thing.  It isn't about making presentations to the masses either,
these tips should help with both technical and non-technical talks.

It's about making *your* presentation stand out in the minds of your audience as
the best that was presented.  It's about keeping your audience awake and
interested (even if you don't have much to say).  It's about making your
audience remember at least some of the content of your talk.  And above all that
it's entertainment.

If you're unlikely to ever present at a conference, user group or work meeting
then the content of this talk isn't aimed at you.  Hopefully you'll still find
the talk amusing.

All the best,

Jacinta

-- 
   ("`-''-/").___..--''"`-._  |  Jacinta Richardson |
`6_ 6  )   `-.  ( ).`-.__.`)  |  Perl Training Australia|
(_Y_.)'  ._   )  `._ `. ``-..-'   |  +61 3 9354 6001|
  _..`--'_..-_/  /--'_.' ,'   | [EMAIL PROTECTED] |
 (il),-''  (li),'  ((!.-' |   www.perltraining.com.au   |


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