Re: [SLUG] VPN and Monmotha.. :/

2006-05-26 Thread Charles Myers
Thanks to those who helped with this, looks like I have to head the 
freeswan way, as it does IPSec... where openvpn doesnt (from my 
readings) :( (shame.. as it is far easier to setup)...


Thanks again.

Charles.




Erik de Castro Lopo wrote:


Charles Myers wrote:

 

I need to connect to another network (via a VPN)... Is this attainable 
using this script or do I need to somthing else? I have read conflicting 
google results and being unsure about VPN's I thought I would ask here.
   



OpenVPN is trivially easy to set up. Give it a try.

Erik
 



--
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: Coding/Snakes/Rubies/Newbies

2006-05-26 Thread Nicholas Jefferson

Anyone else who wants to mentor Ruby (or start up a competing scheme in a
different language grin) is of course also welcome.


Thanks for your initiative, Matt.

I'm willing to teach Python and/or C.

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


[SLUG] Ruby Sunday.

2006-05-26 Thread markt
There are many issues regarding Ruby to be discussed.
Has Rails done real good things to the progression of the language or more for 
the techniques of new-language promotion?

Being a dynamic language it is fitting that the topic of discussion is 
dynamic.
So this will be decided upon at the Cohi Bar on Sunday.
If the numbers are low, no problem.
More time to Ruby itself.

Venue: Cohi Bar Loft (upstairs), Harbourside. 
dateTime: Around 3pm.
Duration: Until sunset.
Available: Cocktail Bar, wireless.
Parking: Loop around the Wentworth park, up the steep hill of William-Henry, 
left into Jones, park near the end of Jones, walk down to Harbourside over 
walkway.
Alternative transport: Monorail, lightRail, 501 bus (Ryde), walk.
dressCode: Presentable. (It's a cocktail bar).
 
---
Govirtual.com.au/KEYS/[EMAIL PROTECTED]
Govirtual is protected by strong antiVirus  Spam blocking.
You have been whitelisted.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] awk sed (grep?)

2006-05-26 Thread john hedge
Hi,I've been hitting my head all day over awk and sed (grep?)!My challenge is to search a directory of text files for a string which I want to replace wherever it occurs with a new string and save the file with the changes in the same original file name.
Any help is much appreciated.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] VPN and Monmotha.. :/

2006-05-26 Thread Howard Lowndes



Charles Myers wrote:
Thanks to those who helped with this, looks like I have to head the 
freeswan way, as it does IPSec


I seriously suggest that you go the openswan way as I think freeswan has 
stalled.



... where openvpn doesnt (from my

readings) :( (shame.. as it is far easier to setup)...

Thanks again.

Charles.




Erik de Castro Lopo wrote:


Charles Myers wrote:

 

I need to connect to another network (via a VPN)... Is this 
attainable using this script or do I need to somthing else? I have 
read conflicting google results and being unsure about VPN's I 
thought I would ask here.
  


OpenVPN is trivially easy to set up. Give it a try.

Erik
 





--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish 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] VPN and Monmotha.. :/

2006-05-26 Thread Charles Myers

Howard Lowndes wrote:




Charles Myers wrote:

Thanks to those who helped with this, looks like I have to head the 
freeswan way, as it does IPSec



I seriously suggest that you go the openswan way as I think freeswan 
has stalled.



... where openvpn doesnt (from my


readings) :( (shame.. as it is far easier to setup)...

Thanks again.

Charles.




Erik de Castro Lopo wrote:


Charles Myers wrote:

 

I need to connect to another network (via a VPN)... Is this 
attainable using this script or do I need to somthing else? I have 
read conflicting google results and being unsure about VPN's I 
thought I would ask here.
  



OpenVPN is trivially easy to set up. Give it a try.

Erik
 






hmm, but openvpn doesnt support IPSec does it? The server I am 
connecting to tells me it's required... ?? :/ Are there any alternatives 
out there that you might know of that can handle IPSec?



--
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] awk sed (grep?)

2006-05-26 Thread Robert Thorsby

On 2006.05.26 18:37 john hedge wrote:

I've been hitting my head all day over awk and
sed (grep?)!

My challenge is to search a directory of text files
for a string which I want to replace wherever it
occurs with a new string and save the file with
the changes in the same original file name.


Try a loop using grep with the -q option to locate the files with the 
requisite text then sed with the -i option to make the change.

Something like:

cd /path/to/directory/
for FILE in
do
if grep -q text to be replaced $FILE
then
		sed -i 's/text to be replaced/replacement text/g' 
$FILE

fi
done

Notes:
1.	grep -q does not need to be in [test brackets] because it is 
a test in its own right
2.	if you have filenames with spaces or funny characters it serves 
yourself right.


HTH,
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


Re: [SLUG] VPN and Monmotha.. :/

2006-05-26 Thread Howard Lowndes
Read my comment again.  I am not suggesting openvpn, I am suggesting 
openswan; it took over from freeswan.


It supports X509 as well, which freeswan didn't (except with 
extensions).  The other major change is that it does not create ipsecX 
interfaces but uses the existing interfaces, so it may need some changes 
to iptables rules - this one caused me some midnight oil burning when I 
switched over.


Charles Myers wrote:

Howard Lowndes wrote:




Charles Myers wrote:

Thanks to those who helped with this, looks like I have to head the 
freeswan way, as it does IPSec



I seriously suggest that you go the openswan way as I think freeswan 
has stalled.



... where openvpn doesnt (from my


readings) :( (shame.. as it is far easier to setup)...

Thanks again.

Charles.




Erik de Castro Lopo wrote:


Charles Myers wrote:

 

I need to connect to another network (via a VPN)... Is this 
attainable using this script or do I need to somthing else? I have 
read conflicting google results and being unsure about VPN's I 
thought I would ask here.
  



OpenVPN is trivially easy to set up. Give it a try.

Erik
 






hmm, but openvpn doesnt support IPSec does it? The server I am 
connecting to tells me it's required... ?? :/ Are there any alternatives 
out there that you might know of that can handle IPSec?





--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish 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] VPN and Monmotha.. :/

2006-05-26 Thread Charles Myers
Ok I blame the flu I'm coming down with.. or Friday... yes thats it 
Friday's to blame :P hehehe cool.. ill look into openswan :)



Thanks for that...




Howard Lowndes wrote:

Read my comment again.  I am not suggesting openvpn, I am suggesting 
openswan; it took over from freeswan.


It supports X509 as well, which freeswan didn't (except with 
extensions).  The other major change is that it does not create ipsecX 
interfaces but uses the existing interfaces, so it may need some 
changes to iptables rules - this one caused me some midnight oil 
burning when I switched over.


Charles Myers wrote:


Howard Lowndes wrote:




Charles Myers wrote:

Thanks to those who helped with this, looks like I have to head the 
freeswan way, as it does IPSec




I seriously suggest that you go the openswan way as I think freeswan 
has stalled.



... where openvpn doesnt (from my


readings) :( (shame.. as it is far easier to setup)...

Thanks again.

Charles.




Erik de Castro Lopo wrote:


Charles Myers wrote:

 

I need to connect to another network (via a VPN)... Is this 
attainable using this script or do I need to somthing else? I 
have read conflicting google results and being unsure about VPN's 
I thought I would ask here.
  




OpenVPN is trivially easy to set up. Give it a try.

Erik
 






hmm, but openvpn doesnt support IPSec does it? The server I am 
connecting to tells me it's required... ?? :/ Are there any 
alternatives out there that you might know of that can handle IPSec?







--
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] VPN and Monmotha.. :/

2006-05-26 Thread Jamshid Karimi
Another descendant of FreeS/WAN is strongSwan
http://www.strongswan.org/
JK

--- Howard Lowndes [EMAIL PROTECTED] wrote:

 Read my comment again.  I am not suggesting openvpn,
 I am suggesting 
 openswan; it took over from freeswan.
 
 It supports X509 as well, which freeswan didn't
 (except with 
 extensions).  The other major change is that it does
 not create ipsecX 
 interfaces but uses the existing interfaces, so it
 may need some changes 
 to iptables rules - this one caused me some midnight
 oil burning when I 
 switched over.
 
 Charles Myers wrote:
  Howard Lowndes wrote:
  
 
 
  Charles Myers wrote:
 
  Thanks to those who helped with this, looks like
 I have to head the 
  freeswan way, as it does IPSec
 
 
  I seriously suggest that you go the openswan way
 as I think freeswan 
  has stalled.
 
 
  ... where openvpn doesnt (from my
 
  readings) :( (shame.. as it is far easier to
 setup)...
 
  Thanks again.
 
  Charles.
 
 
 
 
  Erik de Castro Lopo wrote:
 
  Charles Myers wrote:
 
   
 
  I need to connect to another network (via a
 VPN)... Is this 
  attainable using this script or do I need to
 somthing else? I have 
  read conflicting google results and being
 unsure about VPN's I 
  thought I would ask here.

 
 
  OpenVPN is trivially easy to set up. Give it a
 try.
 
  Erik
   
 
 
  
  
  hmm, but openvpn doesnt support IPSec does it? The
 server I am 
  connecting to tells me it's required... ?? :/ Are
 there any alternatives 
  out there that you might know of that can handle
 IPSec?
  
  
 
 -- 
 Howard.
 LANNet Computing Associates - Your Linux people
 http://lannetlinux.com
 When you want a computer system that works, just
 choose Linux;
 When you want a computer system that works, just,
 choose Microsoft.
 -- 
 Flatter government, not fatter government; abolish
 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
 




 
On Yahoo!7 
Dating: It's free to join and check out our great singles! 
http://www.yahoo7.com.au/personals
-- 
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] awk sed (grep?)

2006-05-26 Thread Sam Lawrance


On 26/05/2006, at 6:50 PM, Robert Thorsby wrote:


On 2006.05.26 18:37 john hedge wrote:

I've been hitting my head all day over awk and
sed (grep?)!
My challenge is to search a directory of text files
for a string which I want to replace wherever it
occurs with a new string and save the file with
the changes in the same original file name.


Try a loop using grep with the -q option to locate the files with  
the requisite text then sed with the -i option to make the change.

Something like:

cd /path/to/directory/
for FILE in
do
if grep -q text to be replaced $FILE
then
sed -i 's/text to be replaced/replacement text/g' $FILE
fi
done

Notes:
1.	grep -q does not need to be in [test brackets] because it is a  
test in its own right
2.	if you have filenames with spaces or funny characters it serves  
yourself right.


3. In case you want this to be portable, keep in mind that '-i' is a  
nonstandard extension.  '-i' takes an argument, on my platform at least.





--
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] awk sed (grep?)

2006-05-26 Thread Robert Thorsby

On 2006.05.26 21:47 Sam Lawrance wrote:


On 26/05/2006, at 6:50 PM, Robert Thorsby wrote:

cd /path/to/directory/
for FILE in
do
if grep -q text to be replaced $FILE
then
		sed -i 's/text to be replaced/replacement text/g' 
$FILE

fi
done

Notes:
1.	grep -q does not need to be in [test brackets] because it is 
a  test in its own right
2.	if you have filenames with spaces or funny characters it 
serves  yourself right.


3. In case you want this to be portable, keep in mind that '-i' is a  
nonstandard extension.  '-i' takes an argument, on my platform at 
least.


The argument for -i is optional; if supplied sed provides a backup; 
if not supplied sed amends the input file. See man sed


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


Re: [SLUG] awk sed (grep?)

2006-05-26 Thread Sam Lawrance


On 26/05/2006, at 10:14 PM, Robert Thorsby wrote:


On 2006.05.26 21:47 Sam Lawrance wrote:

On 26/05/2006, at 6:50 PM, Robert Thorsby wrote:

cd /path/to/directory/
for FILE in
do
if grep -q text to be replaced $FILE
then
sed -i 's/text to be replaced/replacement text/g' $FILE
fi
done
Notes:
1.	grep -q does not need to be in [test brackets] because it is  
a  test in its own right
2.	if you have filenames with spaces or funny characters it  
serves  yourself right.
3. In case you want this to be portable, keep in mind that '-i' is  
a  nonstandard extension.  '-i' takes an argument, on my platform  
at least.


The argument for -i is optional; if supplied sed provides a  
backup; if not supplied sed amends the input file. See man sed


That is ridiculous.  Unless you know in advance what the argument  
will be, it is not possible to detect that it has not been supplied.


Anyhow, my main point is that any form of '-i' is a nonstandard  
extension.


--
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] awk sed (grep?)

2006-05-26 Thread Robert Thorsby

On 2006.05.26 22:34 Sam Lawrance wrote:
The argument for -i is optional; if supplied sed provides a  
backup; if not supplied sed amends the input file. See man sed


That is ridiculous.  Unless you know in advance what the argument  
will be, it is not possible to detect that it has not been supplied.


Look, I don't know whether it is ridiculous or not. I use sed -i 
simpliciter often from the command line to wipe all text from a file:

sed -i 'd' input.file

It works for me; YMMV. I do, however, suggest you RTFM. The man page is 
quite clear



Anyhow, my main point is that any form of '-i' is a nonstandard  
extension.


In the context of the request I did not think that portability was an 
issue. If it were, then clearly something more than my QD command 
one-liner might be desirable.


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


Re: [SLUG] awk sed (grep?)

2006-05-26 Thread Sam Lawrance


On 26/05/2006, at 10:43 PM, Robert Thorsby wrote:


On 2006.05.26 22:34 Sam Lawrance wrote:
The argument for -i is optional; if supplied sed provides a   
backup; if not supplied sed amends the input file. See man sed
That is ridiculous.  Unless you know in advance what the argument   
will be, it is not possible to detect that it has not been supplied.


Look, I don't know whether it is ridiculous or not. I use sed -i  
simpliciter often from the command line to wipe all text from a file:

sed -i 'd' input.file


I apologise, that wasn't called for.  I think I see what version you  
are using - it seems that you can't have a space between -i and its  
argument.  It's behaviour I have not seen before (SUS suggests that  
it is non-portable, too :).


It works for me; YMMV. I do, however, suggest you RTFM. The man  
page is quite clear


I did.  It is.  My man page is not your man page ;-)

Anyhow, my main point is that any form of '-i' is a nonstandard   
extension.


In the context of the request I did not think that portability was  
an issue. If it were, then clearly something more than my QD  
command one-liner might be desirable.


Portability is never an issue.  Until you try to run your stuff on  
some other platform.  Take it from someone who likes to patch the  
linuxisms out of software for fun.



--
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] awk sed (grep?)

2006-05-26 Thread john hedge
Thank you Robert, Matthew  Sam for your ideas.It's late on a Friday night so forgive me but I'm not going to try your suggestions until tomorrow.BWJohnOn 5/26/06, 
Sam Lawrance [EMAIL PROTECTED] wrote:
On 26/05/2006, at 10:43 PM, Robert Thorsby wrote: On 2006.05.26 22:34 Sam Lawrance wrote: The argument for -i is optional; if supplied sed provides a backup; if not supplied sed amends the input file. See man sed
 That is ridiculous.Unless you know in advance what the argument will be, it is not possible to detect that it has not been supplied. Look, I don't know whether it is ridiculous or not. I use sed -i
 simpliciter often from the command line to wipe all text from a file: sed -i 'd' input.fileI apologise, that wasn't called for.I think I see what version youare using - it seems that you can't have a space between -i and its
argument.It's behaviour I have not seen before (SUS suggests thatit is non-portable, too :). It works for me; YMMV. I do, however, suggest you RTFM. The man page is quite clearI did.It is.My man page is not your man page ;-)
 Anyhow, my main point is that any form of '-i' is a nonstandard extension. In the context of the request I did not think that portability was an issue. If it were, then clearly something more than my QD
 command one-liner might be desirable.Portability is never an issue.Until you try to run your stuff onsome other platform.Take it from someone who likes to patch thelinuxisms out of software for fun.
--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] sapientia 9415

2006-05-26 Thread Elvina Munn
Hi,
 
M e R / D / A
X  n a x
T r  m a d o I
S O m 
V A L / u M
A m o x / c i I l / n
V / a G R A
C i A L / S
L e V / T R A
A m B / E N
P R O z  C
 
http://www.prosebutis.info http://www.prosebutis.info 





I must get to the door, I must get to the door! he kept on saying 
to himself, but it was a long time before he ventured to try. Then it 
was like a horrible game of blind-mans buff. The place was full of 
goblins running about, and the poor little hobbit dodged this way and 
that, was knot up and helped the hobbit as well as he could. In the darkness 
floundering in the cold water they had a difficult and very nasty job 


--=_NextPart_000_0001_01C680A3.BE8994F0
Content-Type: text/html;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html; charset=us-ascii
META content=MSHTML 6.00.2800.1106 name=GENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=#ff
DIVFONT face=Arial size=2Hi,/FONT/DIV
DIVFONT face=Arial size=2/FONTnbsp;/DIV
DIVFONT face=Arial size=2A m o x / c i I l / nBR
STRONGC i A L / S/STRONGBR
L e V / T R ABR
T r  m a d o IBR
STRONGV A L / u M/STRONGBR
M e R /  D / ABR
X  n a xBR
A m B / E NBR
P R O z  CBR
S O m BR
STRONGV / a G R A/STRONG/FONT/DIV
DIVFONT face=Arial size=2/FONTnbsp;/DIV
DIVFONT face=Arial size=2A href=http://www.prosebutis.info;FONT 
face=Arial size=2http://www.prosebutis.info/FONT/A/FONT/DIVBR
BR
BR
BR
BR
DIVFONT face=Arial size=2If you want food, and if you want to go on with 
this silly adventure€“ BRits yours after all and not mine-you had better slap 
your arms and rub BRyour legs and try and help me get the others out while 
there is a chance! BR   Thorin of course saw the sense of this, so after a 
few more groans he BRgot up and helped the hobbit as well as he could. In the 
darkness BRfloundering in the cold water they had a difficult and very nasty 
job BR/FONT/DIV/BODY/HTML
--=_NextPart_000_0001_01C68-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Your Status

2006-05-26 Thread Otto Huffman










matrix it's clarendon accumulate not hepatica or
haydn or degassing seeaft may williamson not pasha
the indistinguishable in foist and close the
diabase
! ginsberg the sibling try acrylic may








-- 
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] Blender: THe final installment

2006-05-26 Thread James Gray
On Fri, 26 May 2006 13:03, Pia Waugh wrote:
 Heya Ashley,

 quote who=ashley maher

  The final installment of Scott Mcoy's presention on Blender, the Open
  Source 3D Animation package and how it used at WIN Television.

 Are you able to record it? Perhaps SLUG could loan you their video
 recorder

I have a digital video camera + tripod (and a spare tape - miniDV) and I'm 
planning on going to the next SCLUG meeting.  I'm happy to play camera-man 
for the night. Assuming I record it, I have the facilities[1] to dump it 
down to VCD (MPEG2), Divx, VHS (bleh)...or whatever.

Ashley - let me know if you want to take me up and I'll make sure all the 
kit is in the car :)

Cheers,

James
[1] A Mac. (sorry)
-- 
If we see the light at the end of the tunnel, it's the light of an
oncoming train.
-- Robert Lowell
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Faster boot times

2006-05-26 Thread Erik de Castro Lopo
Hmmm,

This looks interesting:

http://www.linux.com/article.pl?sid=06/05/03/2126222

I've been reading articles about parallel booting methods since
about 2001, but this one finally seems like it might be the one.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
Learning Linux is like joining a cult.  Sure it's fun at first but
you waste time, become brainwashed, and then have to be de-programmed
by Bill Gates before you can work for Him again.
- Ray Lopez, in [EMAIL PROTECTED]
-- 
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] Blender: THe final installment

2006-05-26 Thread ashley maher
On Sat, 2006-05-27 at 08:52 +1000, James Gray wrote:
 On Fri, 26 May 2006 13:03, Pia Waugh wrote:
  Heya Ashley,
 
  quote who=ashley maher
 
   The final installment of Scott Mcoy's presention on Blender, the Open
   Source 3D Animation package and how it used at WIN Television.
 
  Are you able to record it? Perhaps SLUG could loan you their video
  recorder
 
 I have a digital video camera + tripod (and a spare tape - miniDV) and I'm 
 planning on going to the next SCLUG meeting.  I'm happy to play camera-man 
 for the night. Assuming I record it, I have the facilities[1] to dump it 
 down to VCD (MPEG2), Divx, VHS (bleh)...or whatever.
 
 Ashley - let me know if you want to take me up and I'll make sure all the 
 kit is in the car :)
 
 Cheers,
 
 James
 [1] A Mac. (sorry)

James,

Or any other video volunteers.

Sounds good. Save I still haven't heard the presentor is in agreement,
so until then . . . .

I'll keep people posted.

Regards,

Ashley

-- 
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] Faster boot times

2006-05-26 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

 Hmmm,
 
 This looks interesting:
 
 http://www.linux.com/article.pl?sid=06/05/03/2126222

Hmm, tried installing it under Ubuntu but id didn't work.

What i did was:

- Go to http://mirror.aarnet.edu.au/debian/pool/main/r/runit/
  and grabbed

 runit_1.5.1-1.diff.gz
 runit_1.5.1-1.dsc
 runit_1.5.1.orig.tar.gz

- Unpacked and built a .deb using

 dpkg-source -x runit_1.5.1-1.dsc
 cd runit_1.5.1
 dpkg-buildpackage -rfakeroot -b -uc

- Installed the deb using dpkg.
- Fiddled with the grub boot menu stuff as per the article.
- Ran sudo sudo runit-init 6

At this point it complained about a missing directory /etc/runit
so I backed out all the changes.

If I get some time I might try this again and figure out why its
not getting set up correctly. Maybe on my old laptop.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
C is a programming language. C++ is a cult.
-- David Parsons in comp.os.linux.development.apps
-- 
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] Faster boot times

2006-05-26 Thread Robert Collins
On Sat, 2006-05-27 at 10:21 +1000, Erik de Castro Lopo wrote:
 Erik de Castro Lopo wrote:
 
  Hmmm,
  
  This looks interesting:
  
  http://www.linux.com/article.pl?sid=06/05/03/2126222
 
 Hmm, tried installing it under Ubuntu but id didn't work.
 
 What i did was:
 
 - Go to http://mirror.aarnet.edu.au/debian/pool/main/r/runit/
   and grabbed
 
  runit_1.5.1-1.diff.gz
  runit_1.5.1-1.dsc
  runit_1.5.1.orig.tar.gz
 
 - Unpacked and built a .deb using
 
  dpkg-source -x runit_1.5.1-1.dsc
  cd runit_1.5.1
  dpkg-buildpackage -rfakeroot -b -uc
 
 - Installed the deb using dpkg.
 - Fiddled with the grub boot menu stuff as per the article.
 - Ran sudo sudo runit-init 6
 
 At this point it complained about a missing directory /etc/runit
 so I backed out all the changes.
 
 If I get some time I might try this again and figure out why its
 not getting set up correctly. Maybe on my old laptop.

This is shipped in Ubuntu - apt-get install runit-run.

Cheers,
Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


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] awk sed (grep?)

2006-05-26 Thread Peter Chubb
 Robert == Robert Thorsby [EMAIL PROTECTED] writes:

Robert On 2006.05.26 18:37 john hedge wrote:
 I've been hitting my head all day over awk and sed (grep?)!
 
 My challenge is to search a directory of text files for a string
 which I want to replace wherever it occurs with a new string and
 save the file with the changes in the same original file name.

Robert Try a loop using grep with the -q option to locate the files
Robert with the requisite text then sed with the -i option to make
Robert the change.  Something like:

Robert cd /path/to/directory/ for FILE in do if grep -q text to be
Robert replaced $FILE then sed -i 's/text to be
Robert replaced/replacement text/g' $FILE fi done

Alternatively, and more brute force, do:
   for i in *
   do
sed 's/string/repl/g'  $i  $i.backup  mv $i.backup $i
   done

This of course assumes there are no files called x.backup in the
directory.

Or use ed:

   for i in *
   do
   ed - $i \EOF
   1,$s/str/repl/g
   w
   q
   EOF
   done

-- 
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Migrating from lprng to cpusys: Any gotchas?

2006-05-26 Thread Peter Chubb

Hi
I'm currently using LPRNG and magicfilter (with custom written
filters) for printing at home ... we have three printers with
different capabilities on a small network of machines.  One of the
machines (a Xerox Phaser 8200) has all kinds of funky machine-specific
postscript for setting image type, resolution etc.  Seems that this is
handled semi-automatically with cupsys, foomatic, and a PPD file (which Xerox
kindly provides).  So I'm thinking about migrating.. (the alternative
would be to set up multiple queues in LPRNG, each of which edits its
postscript on the fly to set the parameters appropriately)

Are there any gotchas I should be aware of in migrating?  Is
there a better way, that I haven't thought of, for handling printing
on Debian Linux?  I still want to b able to do:
   lpr -Pxerox funky.ps
and have it `just work'

-- 
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
-- 
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] Ruby Sunday.

2006-05-26 Thread O Plameras

markt wrote:

There are many issues regarding Ruby to be discussed.
Has Rails done real good things to the progression of the language or more for 
the techniques of new-language promotion?
  


Can one or several sluggers tell us the big picture of ruby-on-rails
instead of just saying it is the hottest topic in WEB-development ?

What is ruby ? What is rails ? Why do people talk about both together
instead of ruby or rails only.

Do I still need python, smalltalk, and perl  when  ruby-on-rails make these
tools seem like Monte Carlo equations in web development ?

Why do I need YET-ANOTHER-DEVELOPMENT-FRAMEWORK
when there are dozens already ?

Thanks for your efforts ?

Being a dynamic language it is fitting that the topic of discussion is 
dynamic.

So this will be decided upon at the Cohi Bar on Sunday.
If the numbers are low, no problem.
More time to Ruby itself.

Venue: Cohi Bar Loft (upstairs), Harbourside. 
dateTime: Around 3pm.

Duration: Until sunset.
Available: Cocktail Bar, wireless.
Parking: Loop around the Wentworth park, up the steep hill of William-Henry, 
left into Jones, park near the end of Jones, walk down to Harbourside over 
walkway.

Alternative transport: Monorail, lightRail, 501 bus (Ryde), walk.
dressCode: Presentable. (It's a cocktail bar).
 
---

Govirtual.com.au/KEYS/[EMAIL PROTECTED]
Govirtual is protected by strong antiVirus  Spam blocking.
You have been whitelisted.
  


O Plameras

--
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] Faster boot times

2006-05-26 Thread Charles Myers



On 27/5/06 10:28 AM, Robert Collins [EMAIL PROTECTED] wrote:

 On Sat, 2006-05-27 at 10:21 +1000, Erik de Castro Lopo wrote:
 Erik de Castro Lopo wrote:
 
 Hmmm,
 
 This looks interesting:
 
 http://www.linux.com/article.pl?sid=06/05/03/2126222
 
 Hmm, tried installing it under Ubuntu but id didn't work.
 
 What i did was:
 
 - Go to http://mirror.aarnet.edu.au/debian/pool/main/r/runit/
   and grabbed
 
  runit_1.5.1-1.diff.gz
  runit_1.5.1-1.dsc
  runit_1.5.1.orig.tar.gz
 
 - Unpacked and built a .deb using
 
  dpkg-source -x runit_1.5.1-1.dsc
  cd runit_1.5.1
  dpkg-buildpackage -rfakeroot -b -uc
 
 - Installed the deb using dpkg.
 - Fiddled with the grub boot menu stuff as per the article.
 - Ran sudo sudo runit-init 6
 
 At this point it complained about a missing directory /etc/runit
 so I backed out all the changes.
 
 If I get some time I might try this again and figure out why its
 not getting set up correctly. Maybe on my old laptop.
 
 This is shipped in Ubuntu - apt-get install runit-run.
 
 Cheers,

 Rob



I just tried to install it.. In my noobness :(   now ubuntu wont boot... It
gets to a point where it says:


-runit: leave stage: /etc/runit/1
-runit: enter stage: /etc/runit/2


And there it waits :(


Looks like another reinstall :(



-- 
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] Faster boot times

2006-05-26 Thread Gonzalo Servat

On 5/27/06, Charles Myers [EMAIL PROTECTED] wrote:
[..snip..]


I just tried to install it.. In my noobness :(   now ubuntu wont boot... It
gets to a point where it says:


-runit: leave stage: /etc/runit/1
-runit: enter stage: /etc/runit/2

And there it waits :(

Looks like another reinstall :(


You don't have to re-install. Try editing the boot line from within
the GRUB boot manager and get rid of the init=/sbin/rinit bit and
see if it boots with /sbin/init. Failing that, you can boot off a
Linux CD, mount the partition and remove the rinit changes you just
made so it uses init again, or you can try and fix rinit.

Cheers,
Gonzalo.
--
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] Faster boot times

2006-05-26 Thread Charles Myers

Gonzalo Servat wrote:


On 5/27/06, Charles Myers [EMAIL PROTECTED] wrote:
[..snip..]



I just tried to install it.. In my noobness :(   now ubuntu wont 
boot... It

gets to a point where it says:


-runit: leave stage: /etc/runit/1
-runit: enter stage: /etc/runit/2

And there it waits :(

Looks like another reinstall :(



You don't have to re-install. Try editing the boot line from within
the GRUB boot manager and get rid of the init=/sbin/rinit bit and
see if it boots with /sbin/init. Failing that, you can boot off a
Linux CD, mount the partition and remove the rinit changes you just
made so it uses init again, or you can try and fix rinit.

Cheers,
Gonzalo.


Yep just saw that as I got your email!!! :) thanks for the tip..   
All is well again.. I will be MORE careful next time.. hehehehe


--
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: Club history

2006-05-26 Thread Lindsay Holmwood

Hi all,
Although i'm familiar with the past few years of SLUG history, would
some of the old timers care to help me out with the following email?

Cheers,
Lindsay

-- Forwarded message --
From: Steve Demeo [EMAIL PROTECTED]
Date: May 27, 2006 4:29 AM
Subject: Club history
To: [EMAIL PROTECTED], [EMAIL PROTECTED]



Lindsay,

I have heard it rumored that one of the first Linux User Groups in
the world was founded in Australia.

I understand that the Sydney Linux User Group (SLUG) was established
in 1993 only 2 years after Linus Torvalds originally created the Linux
operating system.

Would you have any information with regard to whether SLUG was the first LUG?
If not the first where in the rankings would you guess it would be placed?
If not would you have an indication of which global LUG's may have
established earlier that SLUG?

eg. SVLUG (Silicon Valley LUG) and BALUG (Bay Area LUG)

SVLUG
From what I can tell, SVLUG was originally named the Silicon Valley
Computer Society (SVCS) and formed in 1988 as a PC-Unix SIG. Linux was
first discussed at a SVCS meeting in April 1992. The group was renamed
the Linux SIG in 1995 and then renamed the Silicon Valley Linux User
Group in 1997.

This might give me enough information to establish a ranking and any
information would be greatly appreciated.

Kind Regards,
Steve Demeo
Manager - ICT Team
___
Department of Industry, Tourism and Resources (DITR) Level 4, 40 Allara
Street, Canberra ACT 2601 GPO Box 9839, Canberra ACT 2600
Ph: 02 6213 7598 Mob: 0400 564 533
Email: [EMAIL PROTECTED]
Internet: http://www.investaustralia.gov.au

--
http://slug.org.au/
http://lca2007.linux.org.au/
http://holmwood.id.au/~lindsay/
-- 
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] Faster boot times

2006-05-26 Thread Erik de Castro Lopo
Charles Myers wrote:

 Yep just saw that as I got your email!!! :) thanks for the tip..   
 All is well again.. I will be MORE careful next time.. hehehehe

Playing around with init is not a good idea for newbies unless
they are willing to break things and lear from their mistakes.

I tried this runit but knew enough to back out my changes when
it wasn't working correctly :-).

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
Every time microshaft's stock price drops again, I rejoice. I
want to see that bunch of criminals brought to their knees.
Preferably at the chopping block.
-- rixt in http://linuxtoday.com/stories/20659_flat.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] Faster boot times

2006-05-26 Thread Charles Myers

Erik de Castro Lopo wrote:


Charles Myers wrote:

 

Yep just saw that as I got your email!!! :) thanks for the tip..   
All is well again.. I will be MORE careful next time.. hehehehe
   



Playing around with init is not a good idea for newbies unless
they are willing to break things and lear from their mistakes.

I tried this runit but knew enough to back out my changes when
it wasn't working correctly :-).

Erik
 


Point well taken :P

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