Re: [SLUG] Perl Regular expression help

2010-07-27 Thread Martin Barry
Sorry to bring up an old thread but I just had to comment on this...

$quoted_author = Jamie Wilkinson ;
 
 Try:
 
 /pg=[^]*/
 
 match zero or more of the character class that is not an ampersand.

Except there is nothing stopping the variables being reordered, no? So you
may need to match a leading ? instead of .

You could get crazy and try to do this in a single regex but two stage is
clearer. e.g.

sed -e 's/pg=[^]*//g' -e 's/?pg=[^]*/?/'


cheers
Marty
-- 
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] System admin graphing tools

2010-03-01 Thread Martin Barry
$quoted_author = Ken Foskey ;
 
 We all know we should do it.  Provide a monitoring system to see how our
 system loads are going.  I have a couple of links that look interesting:

In terms of graphing + alerting all-in-one have a look at:

www.opsview.org

...which combines a lot of the tools already mentioned.

I was also going to mention www.groundworkopensource.com but they seem to
have gone out of their way to hide the actual open source bit. Download
link?

cheers
Marty
-- 
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] Testing glue records

2010-02-20 Thread Martin Barry
$quoted_author = Ashley Glenday ;
 
 Thanks John, I've tried that too, the only thing that comes up is
 ns3 and ns4.

So the current glue is ok.


 Out of curiosity, could it be something to do with the fact that I
 used to have ns1 and ns2 set up on an old server and those records
 haven't been removed from the tld servers?

No, otherwise you would see the old, incorrect glue.


 This level of DNS is something I do so infrequently I end up having
 to relearn it all over again.

It sounds like the new glue is not set up correctly.

We could be more helpful if we knew what the domain was. :-)

cheers
Marty
-- 
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] VPS hosting

2009-10-01 Thread Martin Barry
$quoted_author = Bernie Pannell ;
 
 We migrated to Bullet Proof Networks earlier this year from another
 provider,  have been very happy with the service, support, 
 monitoring.  They're a commercial setup, so not as cheap as some of
 the others quoted.  They have an impressive client list.
 http://www.bulletproof.net.au

You will find that the higher prices are reflected in a different kind of
service. They run it on VMware and your server can migrate to a different
host during maintenance or if a physical host fails. This also means it's
running off a FC SAN.

Most VPS are run off a single server, local disk. If something happens to it
you are down.

You get what you pay for basically. I personally use Linode because my
priorities are cheap then quality. If I was running a business off it, the
extra cost would probably be worth it.

cheers
marty

-- 
nfgaida - I want an America that isn't full of easily amused idiots 
watching crap on TV. [1]

Anon Coward - Yeah? Well, I want an America full of nymphomaniac 
supermodels who own breweries. Deal. [2]

[1] - http://slashdot.org/comments.pl?sid=108411cid=9215217
[2] - http://slashdot.org/comments.pl?sid=108411cid=9215314
-- 
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] Ubuntu Gutsy Gibbon mirror?

2009-04-30 Thread Martin Barry
$quoted_author = sonia ;
 
 Anyone know of (or how to find) an Ubuntu Gutsy Gibbon mirror?

IIRC it's no longer supported, so not even archive.ubuntu.com carries it.

Ah, https://wiki.ubuntu.com/Releases says EOL on 18/4/09.

Time to rethink the upgrade? Hardy has support till April 2011 (Desktop)
and April 2013 (Server).

cheers
Marty
-- 
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: Linux netbook? (Marghanita da Cruz)

2009-04-25 Thread Martin Barry
I meant to reply to this earlier but must have deleted Margharita's email,
so sorry about the threading breakage but...

 From: Marghanita da Cruz marghan...@ramin.com.au
 
 and for the eeePC, this mob seems to be offering a Linux install on the Asus 
 Eee 
 PC S101 - presumeably they also offer the option of Xandros.

 http://www.vgcomputing.com.au/nsasusEPCS101-BRN026X.html

This is a nice offer but not only are you still paying the Microsoft tax you
are also paying for the Linux install.

Might be good for someone new to Linux but I can't see many SLUGers taking
them up on it...

cheers
marty

-- 
In the 60's, people took acid to make the world weird. Now the world is weird
and people take Prozac to make it normal.
-- 
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] That problem with Evince.

2009-04-16 Thread Martin Barry
$quoted_author = Amos Shapira ;
 
 If you want the window to be as large as possible while still
 cooperating with other windows/apps then maybe you should consider
 maximize button (next to the X button on top right corner in
 default theme, I don't remember the shortcut key).

alt-F10

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


Re: Which wireless data service should I signup to? was [SLUG] Don't buy ZTE's

2008-12-03 Thread Martin Barry
$quoted_author = Marghanita da Cruz ;

 This was my concern and why I started looking at the router options - I am
 looking for wireless but not necessarily mobile.

So it all depends on how mobile you need.


 I saw the Virgin (home phone/ethernet) and Telstra (four ethernet ports)
 options while I was in Melbourne. The virgin phone/ethernet package did not
 permit relocation of the device - perhaps this was related to the home
 phone/telephone number component.

Virgin don't permit the device to be used as true mobile broadband. If they
notice it connecting to cells away from your registered home address they
reserve the right to cut off your service.

However, if you move house you just let them know and take it with you.

cheers
Marty
-- 
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: network manager over writes resolv.conf

2008-11-24 Thread Martin Barry
$quoted_author = Daniel Bush ;
 
 If it comes to that, there must be a way to disable network manager?

There is!

Install 'wicd' 

http://wicd.sourceforge.net/

cheers
marty

-- 
Nod.  Mindreading is a less useful skill than mindwriting, considering
 all the blank media on the hoof in every major city. - Anthony de Boer

alt.sysadmin.recovery - [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] Ubuntu friendly PCI/USB WiFi?

2008-09-02 Thread Martin Barry
$quoted_author = Masood ;
 
 ASUS WL-167G appears to be supported by rt2500 kernel module (I checked
 2.6.26). Also, it seems it's the only one with Linux support specifically
 mentioned on manufacturer's website. But I haven't used it so if you really
 have to go USB, you can give it a try.*

Be wary of anything using the rt2500 kernel module in Ubuntu.

https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/190515

And it doesn't appear to be resolved in the Intrepid Alphas... :-/

cheers
Marty
-- 
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] tuning a maximum load

2008-08-24 Thread Martin Barry
$quoted_author = Grant Street ;

 I have a problem where I am running thirdparty software sporadically my  
 machine(s) get into a state where they are responsive to pings but not  
 ssh or a local console.

Re-nicing the troublesome software doesn't help?


 1 enable Magic SysRq to hopefully get somthing out of it.

You could give that a try and see if it gets you a console back at least.


 2 Is there a way to tune the way/algorithm the kernel uses so that under  
 load it will kill off processes earlier or more aggresively under  
 extreme load.

I'm not aware of anything like a CPU version of OOM killer but I have come
across a project aimed at process level CPU limiting.

http://cpulimit.sourceforge.net/

cheers
marty

-- 
It'd go along with the 'Caution - hidden dip' signs on some of then more
undulating local roads, which always have me looking out for concealed bowls of
guacamole. --Tanuki

alt.sysadmin.recovery - [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] Right way to kill firefox from a script?

2008-07-31 Thread Martin Barry
$quoted_author = Amos Shapira ;
 
 We have a test script which runx Firefox to visit a web site and after
 a few seconds it stops it.

My first thought was Why use a GUI app to test something automated?...

Surely there are more elegant ways to achieve what you need...

cheers
Marty
-- 
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] Right way to kill firefox from a script?

2008-07-31 Thread Martin Barry
$quoted_author = Amos Shapira ;
 
 Because it has to run all sorts of JavaScript, Flash, pull images etc.
 and generally do what a browser does as part of the test.
 We need a real browser (multiple browsers types and versions from
 multiple platforms, actually) to access that web page, wget and
 friends won't cut it.

Have you explored tools like Selenium?

Selenium is a suite of tools to automate web app testing across many
 platforms. Selenium...
 * runs in many browsers and operating systems
 * can be controlled by many programming languages and testing frameworks.

http://selenium.openqa.org/

cheers
Marty
-- 
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 broadband?

2008-07-10 Thread Martin Barry
$quoted_author = Tony Cosentino ;
 
 I use mobile broadband with the 3 network. It was by far the best value 18
 months ago when I got it. 

It still is one of the best value wise with the caveat that you are only
going to be using it in metro areas with 3 coverage. Once you start roaming
it's no longer included in your cap and the per MB charge can add up
quickly.

If I know Del, he'll be sailing outside of 3's coverage because the fish
bite better in those kinds of places. :-)

cheers
Marty
-- 
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] multiple domain to one web site

2008-04-29 Thread Martin Barry
$quoted_author = Voytek Eymont ;
 
 do I need anything else in apache virtual container?:

No, it's only purpose is to redirect to a different container.
 

 ---
 VirtualHost 111.222.333.444:80
 ServerAdmin [EMAIL PROTECTED]
 ServerName www.new.net.au
 ServerAlias new.net.au
 
 Redirect permanent / http://www.old.com
 
 /VirtualHost
 ---

As Jeff posted in his blog [1] libapache2-redirtoservname (in Debian
derivatives at least) provides the functionality to do this in one line and
without the extra container.

[1] 
http://bethesignal.org/blog/2008/04/24/smooth-upgrade-to-ubuntu-804-lts-on-my-linode/

cheers
marty

-- 
I simply tell them If _I_ don't have a ticket number then _you_ don't have 
a problem. Call the helpdesk. Repeat as many times as necessary.
- Jay Mottern

alt.sysadmin.recovery - [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] Manipulating DNS - some progress to report

2008-04-17 Thread Martin Barry
$quoted_author = Howard Lowndes ;

 I then went and looked at the man page for dhclient and saw that there  
 can be such a thing as a dhclient.conf file.  I don't have one in /etc/  
 so I created /etc/dhclient.conf with the following lines:

SNIP

 which seems to accord with the man page, but it appears (judging by a  
 strace) that neither dhclient nor dhclient-script looks at that file.

the man page should have provided some guidance but see if you have a
directory /etc/dhcp/ or /etc/dhcp3/ that dhclient might be looking in.

cheers
marty

-- 
Skirwan - And if pigs can fly, and I can ride one, and they fly me to hell, 
   and it just froze over, and we all have ice cream... [1]

talonyx - I really need to stop reading Slashdot while on codeine. [2]

[1] - http://slashdot.org/comments.pl?sid=28984cid=3113144
[2] - http://slashdot.org/comments.pl?sid=28984cid=3113355
-- 
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] Manipulating DNS - some progress to report

2008-04-17 Thread Martin Barry
$quoted_author = Howard Lowndes ;

 Nuffink, just /etc/dhcpd.conf (which I only use when I have interface  
 eth1 running), and /etc/dhclient.conf which I have just created.

 I might try creating a /etc/dhcp/ directory and the symlinking into it.

 I tried that but it didn't do the trick.

which distribution? what dhclient version?

cheers
marty

-- 
I simply tell them If _I_ don't have a ticket number then _you_ don't have 
a problem. Call the helpdesk. Repeat as many times as necessary.
- Jay Mottern

alt.sysadmin.recovery - [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] DST in debain

2008-03-30 Thread Martin Barry
$quoted_author = Jeff Waugh ;
 
 Definitely. gutsy-backports is batshit insane, but gutsy-updates receives
 important (but non-security related) bug fixes such as this.

I've never understood the ${ubuntu_release}-updates thing.

A separate repositry for security I understand due to the need to bypass
mirror lag.

But anything worthy of going into ${ubuntu_release}-updates is surely worth
putting straight into ${ubuntu_release} ? Or is it just me?

cheers
marty

-- 
Government's view of the economy could be summed up in a few short phrases: 
 
If it moves, tax it. If it keeps moving, regulate it. And if it stops   
 
moving, subsidize it. -- Ronald Reagan
-- 
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] Ubuntu repository components and what they mean

2008-03-30 Thread Martin Barry
$quoted_author = Jeff Waugh ;
 
 quote who=Martin Barry
 
  But anything worthy of going into ${ubuntu_release}-updates is surely
  worth putting straight into ${ubuntu_release} ? Or is it just me?
 
 Post-release, that archive is never touched. It means that users get to
 choose how much damage they're willing to accept:

nice summary. is that (or something equivalent) on wiki.ubuntu.com?

cheers
marty

-- 
with usenet gone, we just don't teach our kids entertainment-level hyperbole
any more. --Paul Vixie

http://www.merit.edu/mail.archives/nanog/2006-01/msg00593.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] web/domain redirection ?

2008-01-26 Thread Martin Barry
$quoted_author = jam ;
 
 It all depends on what you are trying to achieve. The answers have been
 how to re-direct howtos.
 Another is to edit your delegation of domain.org.au and point it at
 anotherdomain.com's ip

He tried that with the CNAME but as he discovered the remote server is doing
name virtualhosting and without configuration for domain.org.au in the web
server it doesn't work.


 On Sat, 2008-01-26 at 01:49 +1100, [EMAIL PROTECTED] wrote:
  I've tried to set a CNAME
  www CNAME anotherdomain.com
  
  but that serves blank page, I suspect, the page request
  arrives as
  'domain.org.au' and the remote server expects
  'anotherdomain.com' ?

That's correct.


  I suspect if I can get the remote server to add
  'domain.org.au' to their
  web server, it will work...??

It would.

If you can't get changes made to that web server, the only alternative is to
point the original domain to a server you can control and redirect visitors
to the final site, as suggested by a couple of others already.

cheers
marty

-- 
M. Cullen  I suffered from chronic hypochondria for years, eventually went to
a naturopath, and was cured with a course of broad-spectrum
placebos. [1]

[1] - http://www.smh.com.au/articles/2003/12/08/1070732142498.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] Optus dial-up with Linux?

2008-01-08 Thread Martin Barry
$quoted_author = Leslie Katz ;

 She uses Optus for her mobile phone network and found out that she can get 
 cheap dial-up from it.

 Is anyone reading this by chance using Optus dial-up? Is a person with 
 pretty rudimentary knowledge of these things (me) likely to be able to get 
 her connecting to Optus with wvdial?

i used to use optus dialup way-back-when. it just workedTM with CHAP.

cheers
marty

-- 
If you find yourself fantasizing about throwing your actual users in the
blender, please get help They're heavy 

http://www.willitblend.com/videos.aspx?type=unsafevideo=novell
-- 
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] USB to serial

2007-12-17 Thread Martin Barry
$quoted_author = DaZZa ;
 
 On Dec 18, 2007 12:59 PM, Alan L Tyree [EMAIL PROTECTED] wrote:
  Is there anything that I need to look for in these USB to serial
  converters? Any special software needed?
 
 Be careful which one you buy. Some of the cheaper ones simply don't work.
 
 I have one from Lindy, and it's never let me down. Cost a bit more,
 but well worth it.

I can recommend the Belkin one. Detected automatically in Ubuntu. YMMV

cheers
marty

-- 
xterm The problem with America is stupidity. I'm not saying there should be a
capital punishment for stupidity, but why don't we just take the safety
labels off of everything and let the problem solve itself?

http://www.bash.org/?4753
-- 
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] Tuesday afternoon shell command optimisation party!

2007-12-17 Thread Martin Barry
$quoted_author = Jeff Waugh ;
 
 Here's a starting point. What's a more optimal way to perform this task? :-)

the first question was what is the task trying to achieve? :)

 
   sed 's#[^,]*##g' input.txt | tr -d '\n' | wc -m

you appear to be counting the number of fields in a csv file but unless
there is a trailing comma each line worth of data will be 'off by 1'

cheers
marty

-- 
My Everest is not in Nepal, 
She's sleeping in the bedroom second right down the hall.
Ed Hillary couldn't crack this nut, 
He'd be hiding in the lounge room with the rest of us.

My Everest - Lazy Susan
-- 
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] how do I log startup or where do I find the log?

2007-08-16 Thread Martin Barry
$quoted_author = Marghanita da Cruz ;
 
 My knoppix/grup startup reports a couple of errors, which I have been happy 
 to live with until now... however, I would like to look into them but am 
 not sure how to capture the error messages before they fly by and KDE 
 starts up.

/var/log/dmesg 
keeps the most recent boot

dmesg | less
will show what would go to the console but has a limited buffer and may not
have the actual boot if the server has been up for some time

cheers
marty

-- 
It's hard to be religious when certain people are never incinerated by bolts of
lightning.

-- Calvin
-- 
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] how do I log startup or where do I find the log?

2007-08-16 Thread Martin Barry
$quoted_author = Marghanita da Cruz ;
 
 Thanks Dazza and Marty...checked that file, however, it seems I asked the 
 wrong
 question. It seems I need the log of the next bit of the startup. Knoppix is
 running on my laptop.

you many need the the X logs, the KDE logs or something else.

what's the exact problem you're trying to diagnose?

cheers
marty

-- 
Life's Little Mysteries. Noel Hunter of Chippendale is one of many to be 
confused, and amused, by the pair of professionally produced No Regrets 
street signs near the corner of Greens Road and Albion Avenue, Paddington. 
Printed in the same style as No Standing signs, their proximity to the 
College of Fine Arts may give a clue to their origins. Whatever, having 
regrets while between the signs is subject to a $144 fine from the NSW 
Dept of Second Thoughts. [1]

[1] - http://www.smh.com.au/articles/2004/03/31/1080544560873.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] Firefox pausing

2007-07-15 Thread Martin Barry
$quoted_author = Heracles ;
 
 Everything pauses, but if she kills Firefox then there are no further
 problems. I got her to move to Opera and the problem has gone away so I
 guess the problem is in Firefox.
 Not really sure why as it works fine on my machine using exactly the
 same version - except that my machine is a 64 bit athalon and hers is a
 1.7GHz P4 style Celeron both running the 32 bit version of Feisty.

when you say everything pauses is it because CPU load spikes?

i had that problem and there appears to be an issue with firefox and xorg.

https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/38131

using the suggested workaround fixed it for me:

---
Proposed workaround: use

  Option AccelMethod exa

in device section of your xorg.conf


cheers
marty

-- 
My Everest is not in Nepal, 
She's sleeping in the bedroom second right down the hall.
Ed Hillary couldn't crack this nut, 
He'd be hiding in the lounge room with the rest of us.

My Everest - Lazy Susan
-- 
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] Linux laptop repairs?

2007-07-09 Thread Martin Barry
$quoted_author = Erik de Castro Lopo ;
 
 Anyone have any recommendations for a laptop repairer who knows
 what Linux is. I have a Dell laptop with nothing but Linux on it
 a minor hardware problem.

most of the time the contractor goes linux, eh? cool and gets on with the
job of fixing the hardware.

cheers
marty

-- 
with usenet gone, we just don't teach our kids entertainment-level hyperbole
any more. --Paul Vixie

http://www.merit.edu/mail.archives/nanog/2006-01/msg00593.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] iBurst PCMCIA modem experiences? (was: recommended internet wireless)

2007-04-29 Thread Martin Barry
$quoted_author = Sonia Hamilton ;
 
 Has anyone used the iBurst PCMCIA modem

yes. on ubuntu (YDMV[1]) you need to download and compile the drivers...

http://ubuntuforums.org/showthread.php?p=1794253

cheers
marty

[1] Your Distro May Vary

-- 
Picture if you will, hundreds of Cisco switches, galloping wildly across
the server room, the herd turning as one to avoid the wily sysadmins
that are attempting to cull the weak and sick. The slowest switches
being captured and herded into racks, where they will spend the rest of
their days, passing traffic, dreaming of the freedom they used to have,
roaming free in the data center. --That Guy

alt.sysadmin.recovery - [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


[SLUG] appliance - run single application

2007-02-22 Thread Martin Barry
my google-fu is letting me down.

i want run a single application on a machine, appliance like.

was looking for a howto for ubuntu or debian but i'm obviously using the
wrong search terms.

any pointers?

cheers
marty

-- 
M. Cullen  I suffered from chronic hypochondria for years, eventually went to
a naturopath, and was cured with a course of broad-spectrum
placebos. [1]

[1] - http://www.smh.com.au/articles/2003/12/08/1070732142498.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] ISP in Sydney? Unwired ?

2006-12-20 Thread Martin Barry
$quoted_author = David Lloyd ;
 
 Carlo,
 
 If you're going for ADSL, I give Internode 5 starts for support, service 
 and every other category you can think of. =P
 
 How about the Bad Customer Service Category? :P

I'd be interested in that story...

I've been with them since at least 2001 in 3 different locations and have
nothing but praise for their service, support and the quality of their
network...

cheers
marty

-- 
You need only two tools, WD-40 and duct tape. If it doesn't move and
it should, use the WD-40. If it moves and shouldn't, use the tape.
-- 
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] scripting proxy change in Firefox/changing laptop network settings?

2006-11-26 Thread Martin Barry
$quoted_author = Jeff Waugh ;
 
 I'd be happy to demonstrate to you on Friday why NM is such a delight, and
 why I no longer have to edit /e/n/i or reconfigure network devices on my
 laptop.

did this talk get recorded? i for one would like use something automated but
have needs slightly more complex then the norm and the documentation for NM
that i can find is abysmal...

cheers
marty

-- 
Can't buy what I want because it's free.
Can't be what they want because I'm me.

Corduroy - Pearl Jam
-- 
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] Another anti-spam idea

2006-11-02 Thread Martin Barry
$quoted_author = [EMAIL PROTECTED] ;
 
 Any body got any pointers for me please.

Challenge-Response Anti-Spam Systems Considered Harmful
http://linuxmafia.com/faq/Mail/challenge-response.html

cheers
marty

-- 
supine: From the Latin for lying on one's back, to be supine has come to mean
inactive. But as Damien Hirst suggests with his maxim Minimum effort for
maximum effect, there's nothing wrong with being inactive. 

An Idler's Glossary - http://www.hermenaut.com/a158.shtml
-- 
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] Script not working

2006-10-17 Thread Martin Barry
$quoted_author = Kazik Malenczak ;
 
 I have a script to backup a VMWare virtual machine which when run manually 
 on the box by root runs OK, but when run by cron...well, it doesn't.

it's probably a path issue.

log the cron output somewhere and check the error.


 Could someone please tell me why it may not be working. Why does it say 
 about an ssh session opening? I think it may be a pam issue but my skills 
 are a bit patchy with how cron,pam and ssh all work together.

scp uses ssh which is using pam for authentication.

cheers
marty

-- 
its a mailing list... its only slightly better than a web forum.
 the main improvement is that no one has anime-p0rn avatars. Dean [1]

[1] - http://lists.slug.org.au/archives/slug/2005/12/msg00309.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] image spam counter measures ?

2006-10-08 Thread Martin Barry
$quoted_author = Voytek Eymont ;
 
  what else I need ?
 
  Looks like your  missing a perl module (Net/DNS.pm).
 
 it fails with
 
 what's my next option ?

which distro?

for debian derivs try searching for perl module packages like so...

# apt-cache search dns | grep perl
libnet-dns-perl - Perform DNS queries from a Perl script
courier-filter-perl - purely Perl-based mail filter framework for the Courier 
MTA
libdns-zoneparse-perl - Perl extension for parsing and manipulating DNS Zone 
Files.
libmail-spf-query-perl - Query SPF (Sender Permitted From) to validate mail 
senders
libmail-verify-perl - Utility to verify an email address
libnet-dns-fingerprint-perl - library to determine DNS server vendor, product 
and version
libpoe-component-client-dns-perl - a DNS client component for POE


i find it works better than 'apt-cache search dns perl' as the package
naming convention inclues the '-perl' and then you can supply whatever
keywords you think are specific enough...

i've found this search ('apt-cache search net::dns') is great if it works
but less reliable as the all .pm's are not always specified in the package
description.  

cheers
marty

-- 
And true love waits
In haunted attics
And true love wins
On lollipops and crisps

True Love Waits - Radiohead
-- 
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] IPv6

2006-10-08 Thread Martin Barry
$quoted_author = Howard Lowndes ;
 
 I seem to recall reading somewhere that some major US agencies - I think 
  one was DoD - are mandating that their systems change over in 2008, so 
 I think the urgency might be nearer than you predict.

i think you will find that they are mandating _support_ for IPv6 which is
quite seperate to the _use_ of IPv6.

what we need to see is that everything in the core of networks can handle
IPv6 by the time everything at the edge can use it.

only once people are convinced that services won't be broken will they host
them on IPv6 space. this is easier to do within networks where the
environment is known. can you imagine how long it's going to take before
major public websites are hosted on IPv6 space?!?

cheers
marty

-- 
IMPORTANT: This email is intended for the use of the individual addressee(s)
named above and may contain information that is confidential, privileged or
unsuitable for overly sensitive persons with low self-esteem, no sense of
humour or irrational religious beliefs. If you are not the intended recipient,
any dissemination, distribution or copying of this email is not authorised
(either explicitly or implicitly) and constitutes an irritating social faux
pas.

Unless the word absquatulation has been used in its correct context somewhere
other than in this warning, it does not have any legal or no grammatical use
and may be ignored. No animals were harmed in the transmission of this email,
although the kelpie next door is living on borrowed time, let me tell you.
Those of you with an overwhelming fear of the unknown will be gratified to
learn that there is no hidden message revealed by reading this warning
backwards, so just ignore that Alert Notice from Microsoft.

However, by pouring a complete circle of salt around yourself and your computer
you can ensure that no harm befalls you and your pets. If you have received
this email in error, please add some nutmeg and egg whites, whisk and place in
a warm oven for 40 minutes.
-- 
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] image spam counter measures ?

2006-10-05 Thread Martin Barry
$quoted_author = Voytek Eymont ;
 
 just curious what people are doing to counter image spam combined with
 dummy text ?
 
 I see there are OCR tools/plugins, is that the way to go ?
 are there alternatives to OCR ?
 
 is OCRing spam very resource hungry ?
 
 I have Postfix with amavisd, clam, bdc

for those using spamassassin...

http://wiki.apache.org/spamassassin/FuzzyOcrPlugin

it works a treat.

cheers
marty

-- 
with usenet gone, we just don't teach our kids entertainment-level hyperbole
any more. --Paul Vixie

http://www.merit.edu/mail.archives/nanog/2006-01/msg00593.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] apt questions - apt-cacher and /var/cache/apt/archives

2006-08-15 Thread Martin Barry
$quoted_author = david ;
 
 Do the packages in /var/cache/apt/archives represent all the installed
 packages on a standard Ubuntu system?
 
 Can I use this as input to apt-cacher for the purposes of subsequently
 updating another box? Eg, breezy to dapper.

try `aptitude autoclean` or `apt-get autoclean`

if you don't have any network level apt caching then i would rsync
/var/cache/apt/archives from the upgraded box to the to-be-upgraded box

if you are trying to sync installed packages, use `dpkg --get-selections` on
both and diff them.

cheers
marty

-- 
xterm The problem with America is stupidity. I'm not saying there should be a
capital punishment for stupidity, but why don't we just take the safety
labels off of everything and let the problem solve itself?

http://www.bash.org/?4753
-- 
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] www question

2006-07-30 Thread Martin Barry
$quoted_author = [EMAIL PROTECTED] ;
 
 my customer has said:
 
 ---
 When you have a minute can you please configure our apache server error
 pages to not list the webserver build and operating system as it is a
 security risk.
 
 For example if I go to www.edc.com.au/fred I get the following information
 
 Apache/2.0.53 (Linux/SUSE)
 ---
 I can conceive if being a slight risk, in that 'don't bother with all the 
 winders files.
 Am I naive, is there a risk letting the world know WHAT os and web server you 
 run?

you probably need to remove it in quite a few places other than the 404
page.

http://toolbar.netcraft.com/site_report?url=http://www.edc.com.au

cheers
marty

-- 
And true love waits
In haunted attics
And true love wins
On lollipops and crisps

True Love Waits - Radiohead
-- 
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] modem dialup

2006-07-27 Thread Martin Barry
$quoted_author = hav ;
 
 Hi - I am in Melb, but we don't have a SLUG, anyway, I have a problem

there is MLUG (http://www.mlug.org.au/) but stay on the SLUG list, the more
the merrier.


 logging onto my uni (deakin) dialup, I know a little C++ but I've taken
 up java, and am migrating from Windows.  Any tips on compiling would be
 appr.  I have investigated
 /usr/sbin/doc/share/ppp-2.4.0/ and altered the settings in the
 ppp-on-dialer ini file, and my modem (ttyS0) does hit the dialin, but
 it doesn't go very far at all.  Any pointers?

check /var/log/syslog for any error messages.

are your authentication details in /etc/ppp/chap-secrets ?

cheers
marty

-- 
You get 10 points for difficulty, 
but for execution you get minus three.

Holding On - Lazy Susan
-- 
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] BGP Protocol

2006-07-26 Thread Martin Barry
$quoted_author = PHILLIPS Mark ;
  
 Does anybody have any experience with Border Gateway Protocols? I know I
 don't, I had to Google it!

experience, yes. expert, no. :)

  
 I am trying to locate people who have had experience operating large
 networks, in particular people who are familiar with the operation of
 BGP within the networks. Specifically, what I am trying to locate is
 some stories of what occurs within a network during periods of
 instability. 
 
 So when routes flap, how long does the network take to converge again
 and what are the factors that influence the network convergence.

oh, that's a whole can of worms right there.

time to convergance varies from network to network:
- number of eBGP  iBGP talkers
- number of feeds and size of feeds
- underlying hardware (CPU intensive)

repeated flaps also encounter dampening at some sites.

cheers
marty

-- 
supine: From the Latin for lying on one's back, to be supine has come to mean
inactive. But as Damien Hirst suggests with his maxim Minimum effort for
maximum effect, there's nothing wrong with being inactive. 

An Idler's Glossary - http://www.hermenaut.com/a158.shtml
-- 
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 + Bluetooth + Sony Ericsson S700i Pairing

2006-07-20 Thread Martin Barry
$quoted_author = Tom Massey ;
 with /etc/bluetooth/pin a shell file
 
 #!/bin/sh
 echo PIN:

/etc/bluetooth/pin should just have the PIN number, nothing else.

cheers
marty

-- 
nfgaida - I want an America that isn't full of easily amused idiots 
watching crap on TV. [1]

Anon Coward - Yeah? Well, I want an America full of nymphomaniac 
supermodels who own breweries. Deal. [2]

[1] - http://slashdot.org/comments.pl?sid=108411cid=9215217
[2] - http://slashdot.org/comments.pl?sid=108411cid=9215314
-- 
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] Specialised delivery for Postfix - can it be done?

2006-07-10 Thread Martin Barry
$quoted_author = DaZZa ;
 
 I need to be able to configure it to deliver mail for a specific
 domain to one mail server without doing a MX record lookup - send all
 mail @foo.bar.au to 10.1.1.1 and everything else to 12.2.2.2, for
 example.

put this in /etc/postfix/transport

foo.bar.au  :[10.1.1.1]

and these in /etc/postfix/main.cf

transport_maps = hash:/etc/postfix/transport
relayhost = 12.2.2.2

cheers
marty

-- 
No GUI for you! Use lynx!!!, Come back, One year!

/avant
-- 
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] Specialised delivery for Postfix - can it be done?

2006-07-10 Thread Martin Barry
$quoted_author = DaZZa ;
 
 OK, now I get an error message in /var/log/mail
 
 Jul 10 16:13:57 sky20 postfix/pickup[32763]: 9012CAFE6A: uid=0 from=root
 Jul 10 16:13:57 sky20 postfix/trivial-rewrite[310]: warning: database
 /etc/postfix/transport.db is older than source file
 /etc/postfix/transport
 
 How do I update the database file? I assume it's something like
 newalias? newtransport?

run this:

postmap hash:/etc/postfix/transport

marty

-- 
xterm The problem with America is stupidity. I'm not saying there should be a
capital punishment for stupidity, but why don't we just take the safety
labels off of everything and let the problem solve itself?

http://www.bash.org/?4753
-- 
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] Dynamic routing - RIP or BGP or what?

2006-07-06 Thread Martin Barry
$quoted_author = Howard Lowndes ;
 
 I want to do some dynamic routing in a network and I don't know whether 
 I should be using RIP or BGP.

RIP is an intra-AS routing protocol.
BGP is an inter-AS routing protocol.
 
 
 }  quagga
}   1.2.3.4 ||192.168.1.1192.168.1.0/24
 I'net }|eth1eth0|-|
}   ||default gw   |
 } |
   |192.168.1.2
 ||
 |   eth1 |
 |  quagga|
 |   eth0 |
 ||
   |192.168.2.1
   |
   V
   V
192.168.2.0/24
 
 When I bring the 192.168.2.0/24 network up I want to be able to 
 broadcast that 192.168.1.0/24 network so that the 192.169.1.0/24 network 
  and anything coming in via 1.2.3.4 knows that it is accessible via the 
 192.168.1.2 interface, but when I don't have the 192.168.2.0/24 network 
 up I don't want to broadcast it, or let the 192.168.1.0/24 or the public 
 world know anything about it.
 
 I have installed quagga where shown but I don't know whether I should be 
 using RIP or BGP and I don't know wheta the config files should look like.

Sounds like you want RIP.

cheers
marty

-- 
In the 60's, people took acid to make the world weird. Now the world is weird
and people take Prozac to make it normal.
-- 
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: Automatic wireless profiles

2006-06-09 Thread Martin Barry
$quoted_author = Jeff Waugh ;
 
  I found that NetworkManager only did its thing on interfaces that *weren'*
  otherwise defined in /etc/network/interfaces . Have you commented out the
  eth0 and eth1 stanzas from there?
 
 NM works on interfaces that aren't listed as well as interfaces that have a
 complete auto/dhcp listing, like:
 
   auto eth1
   iface eth1 inet dhcp

hmm...

i need two active interfaces though. wireless holds default route but wired
has crossover cable to a desktop to run synergy, rsync etc.etc.

can NM handle that? i can't tell from the threadbare doco in the man page
and on gnome.org...

cheers
marty

-- 
Nod.  Mindreading is a less useful skill than mindwriting, considering
 all the blank media on the hoof in every major city. - Anthony de Boer

alt.sysadmin.recovery - [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] Re: Automatic wireless profiles

2006-06-08 Thread Martin Barry
$quoted_author = Michael Kedzierski ;
 
 On 6/9/06, Mary Gardiner [EMAIL PROTECTED] wrote:
 In other news, installing network-manager-gnome should give you a nice
 notification area way of managing the thing, assuming you're one of the 
 people (seemingly the vast majority, admittedly) for whom it works.
 
 I installed NetworkManager on my new macbook and it worked great at
 first, picked up wireless and wired flawlessly.
 
 Then after a reboot the wireless stopped working then after trying
 to fix that it stopped working altogether even with reboots and
 reinstalls. So for now I've uninstalled it and I'm just using the
 standard tools because they work (for wifi as well).
 
 I'm going to take another look into it this weekend.

i'd be interested to hear how you go.

i'm looking to replace the very manual 'ifscheme' setup i currently have.

the only real issue i have at the moment is that at boot networking takes a
very long time (~5 minutes).

under breezy there was no delay at boot but the wireless (Lucent/Agere
Wavelan) was not initialised until after Gnome had loaded.

cheers
marty

-- 
xterm The problem with America is stupidity. I'm not saying there should be a
capital punishment for stupidity, but why don't we just take the safety
labels off of everything and let the problem solve itself?

http://www.bash.org/?4753
-- 
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] Looking for a htdig host

2006-05-15 Thread Martin Barry
$quoted_author = Joshua McCluskey ;
 
 We are looking for a place to host htdig, it’s the only service that will
 be running so our requirements are not as high as the dedicated server
 options I have been able to locate. But no one really wants to install
 htdig on a shared host :\
 
 Needs to serve up to about 8000 xml files per month and index around 12000
 word, PDF and html files.
 
 Any suggestions greatly appreciated.

get a virtual dedicated server. cheaper, you can install what you want,
performance hit is noticable but you get what you pay for.

marty

-- 
It takes only one drink to get me drunk. The trouble is, I can't remember
if it's the thirteenth or the fourteenth. - George Burns
-- 
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-Server doesn't install SSH server by default

2006-05-11 Thread Martin Barry
just a heads up for anyone installing ubuntu-server, SSH server is not
installed by default.

their security policy is essentially desktop oriented:

As a matter of security policies, ubuntu default install will never listen
to any network port. Installing openssh-server will violate this policy, so
this bug will not be fixed.
https://launchpad.net/distros/ubuntu/+bug/44156

make sure you install something before you walk away from the console.

cheers
marty

-- 
supine: From the Latin for lying on one's back, to be supine has come to mean
inactive. But as Damien Hirst suggests with his maxim Minimum effort for
maximum effect, there's nothing wrong with being inactive. 

An Idler's Glossary - http://www.hermenaut.com/a158.shtml
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html