Re: [SLUG] Best (most efficient method) recursive dir DEL

2014-05-22 Thread James Polley


 On 22 May 2014, at 9:10, Kyle k...@attitia.com wrote:
 
 Hi folks,
 
 I was wondering what is the best (as in most efficient method) for doing an 
 automated, scheduled recursive search and DEL exercise. The scheduled part is 
 just a cron job, no problem. But what's the most efficient method to loop a 
 given structure and remove all (non-empty) directories below the top dir?
 
 The 3 examples I've come up with are;
 
 find top_dir -name name_to_find_and_DEL -exec rm -rf {} \;  - what's 
 the '\' for and is it necessary?
 
 rm -rf `find top_dir -type d -name name_to_find_and_DEL` - does it 
 actually require the ' ` ' or are ' ' ' good enough?
 
 find top_dir -name 'name_to_find_and_DEL' -type d -delete- or won't 
 this work for a non-empty dir?

How do you define most efficient? Run time? CPU cycles? Memory usage? Forks? 
Disk reads/writes? Readability/maintainability?

My personal guess is that a find command that locates the things you want to 
delete and ends with -print0 | xargs -0 rm -rf will satisfy most of those 
criteria.

(Xargs will stuff as many file names as it thinks will fit on the command line, 
but sometimes it gets ambitious - you might have to use xargs -0 -n 100 rm 
-rf to limit it to 100 file names per invocation of rm)

 
 Or is there a more efficient manner which I can slot into a cron job?
 
 Much appreciate the input.
 
 -- 
 
 Kind Regards
 
 Kyle
 
 -- 
 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] Reminder: LCA Travel Grants program closes tomorrow

2013-11-13 Thread James Polley
(from http://sites.rcbops.com/lca2014_travel_grants/?p=22)
This post is just a quick reminder that you still have two days to get your
travel grant application for linux.conf.au 2014http://lca2014.linux.org.au/
 in. These grants aim to reduce the financial barriers to attending
linux.conf.au 2014, by subsidising the registration and travel costs of
contributors to the community who would otherwise have difficulty affording
the cost of attending the conference.

You can read more about the grants process at our previous
posthttp://sites.rcbops.com/lca2014_travel_grants/?p=9
[1].

Applications are due by 15 November, and winners will be informed by 1
December. To apply, please complete this
formhttps://docs.google.com/forms/d/1aQFVsP-bi55pqB56miBVCffq35PjtfaTm8vH4SYj0oc/viewform
[2].


[1] http://sites.rcbops.com/lca2014_travel_grants/?p=9

[2]
https://docs.google.com/forms/d/1aQFVsP-bi55pqB56miBVCffq35PjtfaTm8vH4SYj0oc/viewform
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Reminder: Election closes 27/04/2012 16:00 (Sydney time)

2012-04-25 Thread James Polley
One last reminder: voting for the new sub-committee is currently open at
https://www.linux.org.au/membership/index.php?page=view-electionid=17

Voting closes at 27/04/2012 16:00, Sydney time.

Although there are 3 advertised positions, we have 4 candidates. It is the
intent of the current sub-committee to request that the LA Council appoint
all 4 candidates be accepted as the new sub-committee - unless one of the 4
candidates gets significantly fewer votes than the other 3.

Voting is optional preferential - you choose your most preferred candidate,
and can then optionally rank more candidates below them in the order you'd
prefer to see them elected to the position. If there's anyone you don't
want to see elected at all, rank your other preferences but abstain from
voting for the person you don't want to see elected.
-- 
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] Bar Code scanners

2012-04-15 Thread James Polley
You have an Android phone, right?

http://www.mattcutts.com/blog/android-barcode-scanner/

That page has 6 lines of python that read the URL - but 2 of those are
turning it into a url and looking up the book on Google Books. All you want
to do is record the barcode, so you'll want to tweak that a little bit -
you probably just want to record the ISBNs to a text file and look up the
details later.

GoodReads has an android app that not only does the scanning, it also
uploads your book list to their service that helps you track them -
http://www.goodreads.com/blog/show/281-announcing-barcode-scanner-in-the-goodreads-android-app

On Mon, Apr 16, 2012 at 11:45 AM, Patrick Elliott-Brennan 
m...@elliott-brennan.id.au wrote:

 Hi all,

 I've got to scan a whole collection of books (a couple of hundred at least)
 and was wondering if anyone has any experience with those that do/don't
 work with Linux or know of another way I can scan the books?

 A loan of one would be good, if possible.

 Regards,

 Patrick
 --
 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] Election update - nominations close tonight!

2012-04-11 Thread James Polley
Just a reminder that nominations for the SLUG election close *tonight*
(12th Apr 2012) at 23:59 Sydney time.

If you want to become a candidate in the election before then, you need to:

* Already be a Linux Australia member (it's unlikely that new
applications for membership will have time to be processed before time
runs out)
* Have two LA members nominate you at
https://www.linux.org.au/membership/index.php?page=view-electionid=17
(you can nominate yourself)
* Accept your nomination at
https://www.linux.org.au/membership/index.php?page=view-electionid=17

Voting will open at 13/04/2012 00:00 (yes, a minute after nominations
close). The voting process used in the election is optional
preferential - that is, you nominate your first preference, then your
second preference, and so on. You must give at least a first
preference, but can choose to abstain from giving a preference for the
rest of the candidates.

If the 4th-place candidate in the election gets a similar number of
votes as the first 3 people, we (the current members of the SLUG
sub-committee) intend to ask the LA council to appoint all 4
candidates to the sub-committee for the next year. If there's a
candidate you don't want to see on the sub-committee at all, don't
list them as your 4th preference - you should choose to abstain from
voting for them entirely.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] 2012 sub-committee election: nominations open today

2012-03-27 Thread James Polley
It's been 12 months since Tim, Patrick, Neil, and I were elected as
the last SLUG committee - which means it's time to have the first
election of members to the Linux Australia sub-committee that now runs
SLUG meetings.

We're looking for 3 subcommittee members to run SLUG for the next
year. A SLUG subcommittee member helps run the subcommittee,
organising meetups and talks. A subcommittee member also represents
the SLUG membership to the Linux Australia council.

The election will be held online using Linux Australia's membership
system, which handles the LA committee elections each. Nominations
will open today at midday (AEDT), at which time  you'll be able to
view the election at
https://www.linux.org.au/membership/index.php?page=elections. In order
to become a candidate in the election a person will need to be
nominated by two Linux Australia members (yes, you can nominate
yourself), and will need to accept their nomination before the end of
the nomination period.

Nominations will remain open until 12/04/2012 23:59. Voting will open
at 13/04/2012 00:00 and run until 27/04/2012 16:00, and the results
will be announced at 27/04/2012 18:00, just before our April meeting.

In order to nominate someone, accept a nomination, or vote, you'll
need to be a Linux Australia member. LA membership is free - you can
visit https://www.linux.org.au/membership/ to sign up.

I'll be at the SLUG meeting on Friday night to answer any questions
and guilt you all into joining the committee.
-- 
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] ssh key-based auth not working Ubuntu without GUI (X) login??

2011-08-22 Thread James Polley
On Tue, Aug 23, 2011 at 1:11 PM, Amos Shapira amos.shap...@gmail.comwrote:

 On 23 August 2011 11:24, Glen Turner g...@gdt.id.au wrote:

  1) I'd use ls -l to check the contents and permissions of
  /home/sonia/.ssh/authorized_keys
  you want
  sonia:sonia -rw---
 

 This made me think about another option - do you use encrypted home
 directories?
 If so then maybe the authosized_keys file is only accessible when the user
 is logged in on the GUI.


I'm almost certain this is the case - authorized_users lives in your
homedir, your homedir only gets mounted (by default) when you're active -
logging in via ssh should trigger it to be mounted, but of course your
authorized_keys aren't available until after it's mounted, hence after you
log in.

Depending on how much effort you want to put in to work around this, you
could:
 - Turn off homedir encryption
 - Configure sshd to look for authorized_keys in another place
 - Use Kerberos auth, which doesn't need to read your homedir (nb: not a
simple solution)
 - Use signed SSH keys


 --Amos
 --
 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] Planet SLUG is down?

2011-06-27 Thread James Polley
*facepalm*

Fixed dns record. planet should be back once it propogates.

slug-sysadmins@ is a better contact address for problems like this.

On Fri, Jun 24, 2011 at 4:56 PM, Dave Kempe d...@sol1.com.au wrote:

 Hrmm

 $ host planet.slug.org.au
 planet.slug.org.au is an alias for www.slug.org.au.
 www.slug.org.au is an alias for ghs.google.com.
 ghs.google.com is an alias for ghs.l.google.com.
 ghs.l.google.com has address 74.125.71.121

 Perhaps someone is migrating the slug site to a google app... I thought it
 was hosted on rusty (which is where the MX record points).



 - Original Message -
  From: Sridhar Dhanapalan srid...@dhanapalan.com
  To: slug slug@slug.org.au
  Sent: Thursday, 23 June, 2011 6:52:23 PM
  Subject: [SLUG] Planet SLUG is down?
 
  http://planet.slug.org.au/ takes me to a Google error page...
 --
 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] Reminder: Voting and Proxies for this week's EGM and AGM

2011-03-22 Thread James Polley
Appointment of proxies
=

If you cannot be physically present at the EGM and AGM we're having on
Friday, our constitution allows you to nominate someone else to vote
on your behalf.

If you wish to do this, please keep in mind that the nomination of
your proxy must be made on the form attached to the constitution as
Appendix 2. The constitution, and the form, can be found at
http://wiki.slug.org.au/activeconstitution

The nomination must be made in writing (or by digitally signed email)
and presented to the Secretary. Both the person nominating a proxy,
and the person nominated as a proxy, must be current financial members
at the time of the meeting.


Voting at the EGM
==

The EGM is within the 2010 membership year, so all existing financial
members (and anyone who becomes a 2010 financial member before the
EGM) are eligible to vote at it.

It would be helpful if you could bring your 2010 membership card to the EGM.


Voting at the AGM
==

2010 memberships expire at the commencement of the AGM, so only people
who have paid their membership fees for 2011 will be eligible to vote
at the AGM.


Membership fees for 2011
===

Depending on the outcome of the motions at the EGM, the committee may
choose to waive membership fees for 2011.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Notice of Extraordinary General Meeting - Friday March 25 2011

2011-03-06 Thread James Polley
Dear Sydney Linux Users Group,

Notice is hereby given that the Sydney Linux Users Group will hold an
Extraordinary General Meeting directly before its Annual General
Meeting on Friday 25th March 2011, at the same venue as previously
announced for the AGM at [1].

The meeting is convened to consider, and if thought fit, pass as a
special resolution, several motions concerning the winding up of the
association.

The EGM will commence as soon after 6:30pm as is practical.

[1] http://lists.slug.org.au/archives/announce/2011/02/msg6.html

-

The motions to be considered at this meeting are as follows:

1) In recognition of the fact that the aims and goals of SLUG are
substantially a subset of those of Linux Australia; and furthermore,
that Linux Australia is better equipped to support and sustain SLUG’s
community; and further, that having SLUG exist as an Association
results in a duplication of effort and inefficient use of resources -
that SLUG be wound up as an association.

2) In accordance with the Associations Incorporation Act 2009 section
65, that all surplus property and funds at the time SLUG is wound up
be donated to Linux Australia.

3) As the property and funds donated to Linux Australia in this way
were originally donated to SLUG with intent to be used to support the
open source community in the Sydney area, that we request that Linux
Australia continue use the property and funds to support the open
source community in the Sydney area.

4) In recognition of the fact that there exists a thriving open source
community in the Sydney area, that the above actions not be taken
until such time has Linux Australia has:
   - Created a sub-committee, charged with supporting the Sydney open
source community by running monthly meetings, and by providing other
such support as may be warranted; and
   - Appointed to that sub-committee, at minimum, the person elected
as president at the next AGM to be the convenor of the subcommittee;
and as treasurer, the person elected as treasurer at the same AGM;
--
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] If we 'delete' SLUG as it stands:

2011-03-02 Thread James Polley
On Wed, Mar 2, 2011 at 3:47 PM, elliott-brennan
elliottbren...@gmail.com wrote:
 ...does this mean that we will keep the same mailing list or will we have to
 merge ours with LA?

 James?

As long as LA take on the trading name Sydney Linux User Group we
should be able to keep the slug.org.au domain name.

I would like to see the SLUG list hosted by LA on their infrastructure
- again, reducing duplication of effort - but only if it continues to
be in the slug.org.au domain name.

LA recognize that local LUGs need local  lists-  they already host
lists for the Alice Springs, Coffs Harbour, and Central Queensland
LUGs.

 --
 www.techfriend.com.au
 Home computer software training and hardware assistance

 www.mercuryvideos.com.au
 Stylishly edited DVDs of your photos and videos

 On 02/03/11 12:00, slug-requ...@slug.org.au wrote:

 Send slug mailing list submissions to
        slug@slug.org.au

 To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.slug.org.au/listinfo/slug
 or, via email, send a message with subject or body 'help' to
        slug-requ...@slug.org.au

 You can reach the person managing the list at
        slug-ow...@slug.org.au

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of slug digest...



 Today's Topics:

    1. Re: Marvell PHY plus forcedeth: no gigabit? (Peter Chubb)



 --
 SLUG - Sydney Linux User 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


[SLUG] Notice of AGM: 25th March 2011

2011-02-27 Thread James Polley
Dear Sydney Linux Users Group members,

This message is to give notice that the Sydney Linux Users Group will
hold its Annual General Meeting of Members on Friday March 25th 2011 at
the Google office, 48 Pirrama Rd, Sydney, NSW, Australia.

Please note that the building’s front doors close at 6:30pm and access
after this time is not guaranteed. The AGM will be commencing at
approximately 7pm. Only current financial members will be eligible to
vote, but all are welcome to attend the AGM.

Please also note that your 2010 membership expires immediately before
the AGM commences - only a 2011 membership is valid. Our Treasurer
will be selling memberships before the AGM (and memberships be at the
February meeting if you’d like to get yours early).

For a user-friendly guide to the AGM, see [0].

Members unable to attend the meeting may raise issues for the committee
to respond to either publicly, by mailing the SLUG Activities mailing
list[1], or privately by mailing the Committee directly at
commit...@slug.org.au.

The draft agenda for the meeting is available online at [2].

The minutes from the 2010 AGM are at [3] for you to review prior to the
2011 AGM.

Members interested in serving on the Committee are highly encouraged to
nominate themselves for one or more positions. Most of the existing
committee members have indicated that they will not be running for
re-election.

SLUG membership is $15 for students, and $25 for everyone else.

Voting will occur at the meeting by show of hands by financial members
(identified by possession of a membership card). Members unable to
attend in person may appoint a proxy to vote on their behalf, in
accordance with Section 4.11, and Appendix 2, of the SLUG
constitution[4].

Parties should notify the secretary of their appointment of a proxy via
digitally signed e-mail to commit...@slug.org.au, using the form
mentioned in Appendix 2.

The committee will ask that the members ratify its activities as
detailed in the office bearers' reports were in accordance with the
organisation's aims. These reports will be presented at the AGM.

On behalf of the committee I would like to thank you for your continued
interest in SLUG and involvement with the community to date, and
encourage you to pass on any questions or ideas you may have about the
organisation's future to the SLUG Activities mailing list or the
committee directly.


[0] http://wiki.slug.org.au/agm_guide
[1] http://lists.slug.org.au/listinfo/activities
[2] http://wiki.slug.org.au/2011agm
[3] http://lists.slug.org.au/archives/activities/2011/02/msg00010.html
[4] http://wiki.slug.org.au/activeconstitution
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Motion to be put at the AGM: Wind up SLUG

2011-02-27 Thread James Polley
I've BCCed the main SLUG list on this email; please direct responses
to the activities@ list.

SLUG is an incorporated association. This places many burdens on the
association; in the main, we end up merely duplicating work and
expenses that Linux Australia does.

In addition, the aims and goals of SLUG seem to largely mirror those
of Linux Australia - with the exception that SLUG is exclusively
focused on the Sydney area while LA has a larger scope.

I'm proposing that we ask LA to take over the functions SLUG has
performed, and then wind up SLUG as an association.

This move would free the local open source community from:
 - The requirement to have a Public Officer for SLUG (LA has a public
officer already)

 - Requirements to lodge reports with the Dept. Fair Trading (LA has
to lodge more paperwork than SLUG does; but taking on SLUG's
responsibilities would not add to their burden)

 - $800/year in insurance - this currently consumes almost 100% of our
income. If freed from this burden, we would not need to ask for
membership fees (LAs existing insurance would cover SLUG at no extra
cost, if SLUG was a subcommittee of LA)

 - The requirement to have more than two members on the committee
(more on this later) (It's still a good idea to have 2 people, and we
probably want to have 3-4 - but as a subcommittee we can tweak that
number as needed, whereas now we're required to have at least 4; and
tweaking requires a special resolution to be passed at a General
Meeting..)


The suggested structure for a replacement for SLUG is as follows:
 - Linux Australia would create a subcomittee (tentatively named the
Sydney Linux User Group subcommittee), and delegate to this
subcommittee the responsibility of running regular meetings and
coordinating other such activities as may seem useful to support the
open source communities in and around Sydney.
- The subcommittee can later, as needed, recruit other members as required
- Linux Australia will appoint two people to this subcommittee: the
people elected as President at the SLUG AGM in March 2011 to act as
convenor of the subcommittee, and the person elected as treasurer to
act as treasurer for the subcommittee
 - SLUG would, pursuant to a Special Resolution passed at the March
2011 AGM, apply to the Director-General for approval to wind up the
association
 - SLUG would, pursuant to the same Special Resolution, apply to the
Director-General to disburse all assets to LA, to be used by LA to
support the operations of the SLUG subcommittee

I’ve drafted the motion I’d like to put at the AGM onto the wiki
(http://wiki.slug.org.au/windup). The final wording needs to be
announced 21 days before the AGM, so please submit any feedback you
have in the next few days.

Relevant parts of the legislation:

 Public Officer
   
http://www.legislation.nsw.gov.au/fragview/inforce/act+7+2009+pt.4-div.2-sec.34+0+N

 Voluntary Winding Up
   
http://www.legislation.nsw.gov.au/fragview/inforce/act+7+2009+pt.6-div.3-sec.62+0+N

 Distribution of surplus property

http://www.legislation.nsw.gov.au/fragview/inforce/act+7+2009+pt.6-div.3-sec.65+0+N

 Voting on Special Resolutions
   
http://www.legislation.nsw.gov.au/fragview/inforce/act+7+2009+pt.4-div.3-sec.39+0+N
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] UPDATE: SLUG Monthly Meeting: 25th February 2011

2011-02-24 Thread James Polley
Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
 * Date: Friday, 25th February 2011
 * Start time: Arrive at 6pm for a 6:30pm start
 * Format: Two short talks
 * == RSVP at [[http://slug.eventbrite.com]] ==
 * Suggest or sign up for a talk on the wiki[1]

 Details 

Our speaker this month is Silvia Pfeiffer, giving two short talks on
The latest on HTML5 media. We're promised lots of demos, and also
some details about the code that makes the demos possible.

Silvia has worked extensively as an invited expert to the W3C in areas
such as the new audio and video tags in HTML5. Prior to this,
Silvia has worked for almost two decades on projects such as Annodex
(http://www.annodex.net/ - standards for annotating and indexing media
files).

Silvia has recently published The Definitive Guide to HTML5 Video, a
few copies of which just may be given away on the night.

=== Afterwards ===

We'll be aiming to finish by 8 and will be heading
to the Pyrmont Bridge Hotel afterwards.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SLUG Monthly Meeting: 25th February 2011

2011-02-21 Thread James Polley
Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
 * Date: Friday, 25th February 2011
 * Start time: Arrive at 6pm for a 6:30pm start
 * Format: Lightning talks
 * == RSVP at [[http://slug.eventbrite.com]] ==
 * Suggest or sign up for a talk on the wiki[1]

 Details 
This month we will only be having lightning talks[2]. We're looking for
as many talks of a 5-7 minute duration as possible. If you are interested
in talking, please sign up on the wiki[1].

   [1] 
m...@elliott-brennan.id.auhttp://wiki.slug.org.au/january2011lightningtalks
   [2] http://en.wikipedia.org/wiki/Lightning_Talk

Giving a lighting talk is a great way to show of the cool things you are doing!
You don't have to create slides or even be well prepared, just come along and
talks.

Don't think you can give a talk, but have an idea for a talk you'd
like to see? Add it to the **Talks I'd like to see** on the wiki page [1]

=== Afterwards ===

We'll be aiming to finish by 8 and will be heading
to the Pyrmont Bridge Hotel afterwards.
-- 
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] linked in - please block

2011-01-03 Thread James Polley
On Fri, Dec 24, 2010 at 7:24 AM, Ken Foskey kfos...@tpg.com.au wrote:
 I was there for that discussion. That does not cover what is in my opinion 
 spam.  Facebook and linkedin have their place but not in the context of this 
 list.

Sure, and as the archive says, the admins try and prevent spam
reaching SLUG using Postfix, SpamAssassin and Mailman checks on
content of the mails, rather than the From address

My response was specifically directed at Nick Andrew's statement that
Presumably the slug list should reject email from non-subscribers.



 Ken Foskey

 Ps: I use facebook and linkedin regularly.

 On 23/12/2010, at 12:54 PM, James Polley jamezpol...@gmail.com wrote:

 On Tue, Dec 14, 2010 at 10:56 AM, Nick Andrew n...@nick-andrew.net wrote:
 On Tue, Dec 14, 2010 at 09:51:56AM +1100, Nigel Allen wrote:
 I have already complained to linkedin - not received a response yet.

 I'm not sure how linkedin can know that slug@slug.org.au is a mailing
 list and not an individual's email address.

 Presumably the slug list should reject email from non-subscribers, or
 alternately send a confirm request to the sender (which will eliminate
 automated emails like linkedin).

 A formal motion passed at a general meeting in 2003 requires that the
 SLUG mailing lists not reject email from non-subscribers, or even
 force such emails to be moderated.

 http://lists.slug.org.au/archives/slug/2003/10/msg00645.html has
 details on the proposed options and the voting.


 Nick.
 --
 PGP Key ID = 0x418487E7                      http://www.nick-andrew.net/
 PGP Key fingerprint = B3ED 6894 8E49 1770 C24A  67E3 6266 6EB9 4184 87E7
 --
 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

--
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] linked in - please block

2010-12-22 Thread James Polley
On Tue, Dec 14, 2010 at 10:56 AM, Nick Andrew n...@nick-andrew.net wrote:
 On Tue, Dec 14, 2010 at 09:51:56AM +1100, Nigel Allen wrote:
 I have already complained to linkedin - not received a response yet.

 I'm not sure how linkedin can know that slug@slug.org.au is a mailing
 list and not an individual's email address.

 Presumably the slug list should reject email from non-subscribers, or
 alternately send a confirm request to the sender (which will eliminate
 automated emails like linkedin).

A formal motion passed at a general meeting in 2003 requires that the
SLUG mailing lists not reject email from non-subscribers, or even
force such emails to be moderated.

http://lists.slug.org.au/archives/slug/2003/10/msg00645.html has
details on the proposed options and the voting.


 Nick.
 --
 PGP Key ID = 0x418487E7                      http://www.nick-andrew.net/
 PGP Key fingerprint = B3ED 6894 8E49 1770 C24A  67E3 6266 6EB9 4184 87E7
 --
 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] Re: SLUG picnic - Saturday, Dec 18 2010

2010-12-17 Thread James Polley
Due to everyone who turned up being a bit namby-pamby about the slightly 
threatening weather, we've relocated to the Harlequin - 152-156 Harris Street, 
Pyrmont 2009 (corner of miller St)



On 17/12/2010, at 5:39 PM, James Polley jamezpol...@gmail.com wrote:

 That's Saturday Dec 18th, not Sunday.
 
 I blame the jetlag, and constantly switching between US and AUS time
 for the last few weeks.
 
 On Fri, Dec 17, 2010 at 12:23 PM, James Polley jamezpol...@gmail.com wrote:
 As announced at our last meeting, the chosen venue is:
 
 Pyrmont Point Park - http://goo.gl/maps/NDbt (the aerial pictures
 there are woefully out of date; the park now extends all the way along
 Pirrama Rd as far as the intersection with Harris St -
 http://www.nearmap.com/?ll=-33.863952,151.191809z=18t=hnmd=20100916
 has a more recent picture). The park has 5 free BBQs and a cafe and
 children's playground in the newer area
 
 The western side of the park has the kiosk and children's playground,
 so we'll try to find a spot on that side from around 2pm.
 
 Please be sure to bring sunscreen, as well as any drinks and nibblies
 you'd like to drink and nibble (unless you plan on relying on the cafe
 for refreshment).
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SLUG picnic - Sunday, Dec 18 2010

2010-12-16 Thread James Polley
As announced at our last meeting, the chosen venue is:

Pyrmont Point Park - http://goo.gl/maps/NDbt (the aerial pictures
there are woefully out of date; the park now extends all the way along
Pirrama Rd as far as the intersection with Harris St -
http://www.nearmap.com/?ll=-33.863952,151.191809z=18t=hnmd=20100916
has a more recent picture). The park has 5 free BBQs and a cafe and
children's playground in the newer area

The western side of the park has the kiosk and children's playground,
so we'll try to find a spot on that side from around 2pm.

Please be sure to bring sunscreen, as well as any drinks and nibblies
you'd like to drink and nibble (unless you plan on relying on the cafe
for refreshment).
-- 
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 picnic - Saturday, Dec 18 2010

2010-12-16 Thread James Polley
That's Saturday Dec 18th, not Sunday.

I blame the jetlag, and constantly switching between US and AUS time
for the last few weeks.

On Fri, Dec 17, 2010 at 12:23 PM, James Polley jamezpol...@gmail.com wrote:
 As announced at our last meeting, the chosen venue is:

 Pyrmont Point Park - http://goo.gl/maps/NDbt (the aerial pictures
 there are woefully out of date; the park now extends all the way along
 Pirrama Rd as far as the intersection with Harris St -
 http://www.nearmap.com/?ll=-33.863952,151.191809z=18t=hnmd=20100916
 has a more recent picture). The park has 5 free BBQs and a cafe and
 children's playground in the newer area

 The western side of the park has the kiosk and children's playground,
 so we'll try to find a spot on that side from around 2pm.

 Please be sure to bring sunscreen, as well as any drinks and nibblies
 you'd like to drink and nibble (unless you plan on relying on the cafe
 for refreshment).

-- 
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] coding

2010-11-18 Thread James Polley
Depends on what you're trying to accomplish.

However, there's not much point running through both grep and sed -
sed's featureset is (roughly) a super-set of grep:

andromeda:tmp polleyj$ cat afile.txt
This is a line
This is another
This is the third line
And this is a fourth.
andromeda:tmp polleyj$ grep line afile.txt | sed 's/third/second/'
This is a line
This is the second line
andromeda:tmp polleyj$ sed -e '/line/!d' -e 's/third/second/' afile.txt
This is a line
This is the second line
andromeda:tmp polleyj$

The various arguments and parameters passed to sed are described under
`man sed`.

You probably also want to read `man bash`, particularly the section
titled QUOTING.

andromeda:tmp polleyj$ VAR=astring
andromeda:tmp polleyj$ echo $VAR
astring
andromeda:tmp polleyj$ echo $VAR
astring
andromeda:tmp polleyj$ echo '$VAR'
$VAR

On Thu, Nov 18, 2010 at 10:38 AM, tony polkich basics_...@yahoo.com.au wrote:
 In --  grep $VAR afile.txt | sed 's/ ? / newdata/'  anotherfile.txt

 what do I insert where the question mark is in sed? $VAR and variations 
 haven't worked.




 --
 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] SLUG picnic - Dec 18 2010

2010-11-16 Thread James Polley
Instead of having a meeting on the 5th Friday of December (which this
year would be the 31st), we traditionally have a picnic around
mid-month.

This year, that picnic will be on Dec 18th. We're still deciding on a
venue: the top contenders at present are:

  - Pyrmont Point Park - http://goo.gl/maps/NDbt (the aerial pictures
there are woefully out of date; the park now extends all the way along
Pirrama Rd as far as the intersection with Harris St -
http://www.nearmap.com/?ll=-33.863952,151.191809z=18t=hnmd=20100916
has a more recent picture). The park has 5 free BBQs and a cafe and
children's playground in the newer area
  - Blackburn Gardens - http://goo.gl/maps/RgIH,
http://www.woollahra.nsw.gov.au/services/parks/parks_and_playgrounds/blackburn_gardens
- has a beach, gardens, a cafe, and a library

If you have comments on either of these, or other suggestions, please
comment or suggest by the 24th, so that we can announce the location
at this month's meeting.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SLUG monthly meeting: 26 November 2010

2010-11-16 Thread James Polley
== November 2010 SLUG Meeting ==

Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
  * Date: Friday November 26 2010
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Main talk, preceded by social lightning talks
  * == RSVP at [[http://slug.eventbrite.com]] ==
  * Suggest or sign up for a talk on the wiki[1]


 Details 
This month we will have one main talk, preceded by some time for
socialisation and lightning talks. We're looking for up to 5 talks
of a 5-7 minute duration. If you areinterested in talking, please
sign up on the wiki[1].

Don't think you can give a talk, but have an idea for a talk you'd
like to see? Add it to the **Talks I'd like to see** on the wiki page [1]

=== Main Talk ===

Robert Smit will be giving an introduction to btrfs[2] - a new copy on
write filesystem for Linux aimed at implementing advanced features
while focusing on fault tolerance, repair and easy administration.

=== Lightning Talks ===
See the wiki[1] for details of lightning talks, or to suggest or offer
for a talk.


=== Afterwards ===

We'll be aiming to finish by 8 and will be heading
to the Pyrmont Bridge Hotel afterwards.


[1] http://wiki.slug.org.au/november2010lightningtalks
[2] https://btrfs.wiki.kernel.org/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: SLUG monthly meeting: 29 October 2010

2010-10-25 Thread James Polley
This meeting is only a few days away. Please remember to sign up at
http://slug.eventbrite.com if you're attending - unless we see some
more signups today, we'll only be ordering catering for 5 people.

We still have one lightning talk slot available - you can claim it at
http://wiki.slug.org.au/october2010lightningtalks

See you Friday!

On Sat, Oct 9, 2010 at 9:36 AM, James Polley jamezpol...@gmail.com wrote:
 == October 2010 SLUG Meeting ==

 Location
 Google Sydney - 48 Pirrama Road, Pyrmont

 Summary
  * Date: Friday October 29 2010
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Main talk, preceded by social lightning talks
  * == RSVP at [[http://slug.eventbrite.com]] ==
  * Suggest or sign up for a talk on the wiki[1]


  Details 
 This month we will have one main talk, preceded by some time for
 socialisation and lightning talks. To keep the meeting short, we're
 only asking for two talks, of a 5-7 minute duration. If you are
 interested in talking, please sign up below.

 Don't think you can give a talk, but have an idea for a talk you'd
 like to see? Add it to the **Talks I'd like to see** on the wiki page [1]

 === Main Talk ===

 Chris Collins will be giving a talk on Rails 3 [2], covering the
 differences between Rails 2.x and Rails 3.0 (and possibly more).

 Rails (more fully,  Ruby on Rails) is one of the most popular web
 frameworks amongst the hip Web2.0/Agile Development crowd; the upgrade
 to 3.0 is a major step forward, as it sees Rails merging with another
 popular framework, Merb.

 === Lightning Talks ===
 See the wiki[1] for details of lightning talks, or to suggest or offer
 for a talk.


 === Afterwards ===

 As with September, we'll be aiming to finish by 8 and will be heading
 to the Pyrmont Bridge Hotel afterwards.


 [1] http://wiki.slug.org.au/october2010lightningtalks
 [2] http://rubyonrails.org/

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


[SLUG] SLUG monthly meeting: 29 October 2010

2010-10-08 Thread James Polley
== October 2010 SLUG Meeting ==

Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
  * Date: Friday October 29 2010
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Main talk, preceded by social lightning talks
  * == RSVP at [[http://slug.eventbrite.com]] ==
  * Suggest or sign up for a talk on the wiki[1]


 Details 
This month we will have one main talk, preceded by some time for
socialisation and lightning talks. To keep the meeting short, we're
only asking for two talks, of a 5-7 minute duration. If you are
interested in talking, please sign up below.

Don't think you can give a talk, but have an idea for a talk you'd
like to see? Add it to the **Talks I'd like to see** on the wiki page [1]

=== Main Talk ===

Chris Collins will be giving a talk on Rails 3 [2], covering the
differences between Rails 2.x and Rails 3.0 (and possibly more).

Rails (more fully,  Ruby on Rails) is one of the most popular web
frameworks amongst the hip Web2.0/Agile Development crowd; the upgrade
to 3.0 is a major step forward, as it sees Rails merging with another
popular framework, Merb.

=== Lightning Talks ===
See the wiki[1] for details of lightning talks, or to suggest or offer
for a talk.


=== Afterwards ===

As with September, we'll be aiming to finish by 8 and will be heading
to the Pyrmont Bridge Hotel afterwards.


[1] http://wiki.slug.org.au/october2010lightningtalks
[2] http://rubyonrails.org/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: Thanks

2010-09-26 Thread James Polley
Thanks Ehtyar :)

There's already been some discussion on this on the activities list
(the thread starts at
http://lists.slug.org.au/archives/activities/2010/08/msg3.html),
culminating in the rules the Bay Area Debian group uses to organise
their social meetings being posted on our wiki (at
http://wiki.slug.org.au/social_meets) as a starting point.

In short, we just need someone to kick things off by proposing a time
and a venue...

On Sun, Sep 26, 2010 at 5:48 PM, Ehtyar Holmes li...@ehti.org wrote:
 Hi all,

 I wanted to thank James, and everyone else who attended SLUG last Friday.
 Despite the drastically different format I had the best time I've had since
 I started attending meetings.

 I'd like to request that we have gatherings of a similar nature more often,
 either every few months in place of the regular meeting or in addition to
 the regular meetings but less frequent, as I think the atmosphere is more
 conducive to social interaction. If anyone has any alternate suggestions I
 know others are open to the idea, so let us know.

 Thanks everyone.

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


[SLUG] SLUG Monthly Meeting: 24 September 2010

2010-09-20 Thread James Polley
== September 2010 SLUG Meeting ==

Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
  * Date: Friday September 24 2010
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Lightning(ish) talks
  * == RSVP at http://slug.eventbrite.com ==
  * Suggest or sign up for a talk below

 Details 
Instead of running two 45 minute talks will be having two sets of
lightning(ish) talks.

For those who don't know what a Lightning talk is, it's a very short
talk to get a short overview about a subject. They are great because if
you are not interested in the current subject you only have to listen for a few
minutes. I personally have found that I always learn something cool,
exciting or new!

Rather than a fixed length, we're inviting people to nominate how long
they think their
talk will go. Ideally we'd like two sessions of around 45 minutes.
You're welcome to talk
about anything from something simple as The new idea I want help with to the
My summary of this 45 minute talk or even 5 cool facts about Tim Ansell.

If you are interested in talking, please sign up below.

Don't think you can give a talk, but have an idea for a talk you'd
like to see? Add it to the **Talks I'd like to see**[2] page on the wiki!

[2] http://wiki.slug.org.au/september2010lightningtalks#lightning_talks
-- 
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 monthly meeting: 27 August 2010

2010-08-24 Thread James Polley
The good news is that this month's SLUG meet is only three sleeps away
- and if we're especially lucky, we might even have national a
government by then!

The bad news is that we already have a main talk (Repositories,
Package Management  Package Creation — by Samuel Marks) and only four
lightning talk slots left, so you'll need to get in quick if you want
to take one of the remaining slots!



On Thursday, August 12, 2010, James Polley presid...@slug.org.au wrote:
 Location
 Google Sydney - 48 Pirrama Road, Pyrmont

 Summary
  * Date: Friday August 27 2010
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Lightning talks + In-Depth Talk(s)
  * == RSVP at http://slug.eventbrite.com ==
  * Suggest or sign up for a talk at [1]

  Details 

 As last month, our first section will be lightning talks.

 We're looking for a speaker for a 30-45 minute in depth talk for the
 second half (or two 15-20 minute talks) - if you're interested, please
 email activit...@slug.org.au

 Don’t think you can give a talk, but have an idea for a talk you’d
 like to see? Add it to the Talks I'd like to see section[2] of the
 same wiki page!

 [1] http://wiki.slug.org.au/august2010lightningtalks
 [2] http://wiki.slug.org.au/august2010lightningtalks#talks_i_d_like_to_see

--
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] University of Sydney - Career Opportunity of Interest

2010-08-24 Thread James Polley
Hi Abel

Just for your future reference, we have a specific list (which I've
CCed) specifically for job offers. If you use this in future, you'll
find more people who are looking for jobs (and fewer people who aren't
:)

On Thursday, August 19, 2010, Abel Orellana abel.orell...@sydney.edu.au wrote:
 SYSTEMS ADMINISTRATOR – IDENTITY  ACCESS MANAGEMENT
 INFORMATION AND COMMUNICATIONS TECHNOLOGY
 REFERENCE NO. 2109/0710

 ·         ˱ Prestigious international university

 ·         ˱ Provide large enterprise level IT infrastructure services

 ·         ˱ Negotiable salary

 The University of Sydney has an outstanding reputation for academic and 
 research excellence, and employs over 6,500 permanent staff supporting over 
 47,000 enrolled students. Consequently, it offers a complex and challenging 
 Information and Communications Technology (ICT) environment. ICT is critical 
 to achieving ongoing and continuous improvement in the University through the 
 development, maintenance and support of the University’s enterprise IT 
 solutions in addition to a range of small to medium solutions.

 To support our objectives, we are currently seeking a customer-focussed IT 
 professional for a Systems Administrator position, focusing on Identity and 
 Access management. You will be part of a team that is responsible for the 
 provisioning, management and support of staff and student based Directory 
 Services and Identities. In this role you will be responsible for the 
 technical environment and are expected to play a key role in the development 
 of new and existing services.

 To qualify, you will have significant experience in the management and 
 delivery of enterprise scale Identity, Access and Directory Management 
 systems, including Sun IDM, Microsoft Active Directory, LDAP Samba, and AD. 
 You will possess a strong understanding of Identity Management principles 
 such as source of truth, authentication versus authorisation, and identity 
 federation. In addition to your technical expertise, you need to have a 
 solution and customer focused attitude, committed to continuous development 
 and improvement, and be able to adhere to strict change management processes. 
 You will hold appropriate tertiary qualifications and industry certification 
 including Microsoft Certified Systems Engineer, Red Hat Certified Engineer, 
 and Sun Identity Manager Integrator.

 Do not miss out on this opportunity to develop your career in a complex and 
 challenging IT environment. As an employer the university offers good 
 work-life balance and many outstanding employment benefits.

 The position is full-time continuing, subject to the completion of a 
 satisfactory probation period for new appointees. Membership of a University 
 approved superannuation scheme is a condition of employment for new 
 appointees.

 For a confidential discussion please contact Fang Zhou on 02 8627 1235 or 
 fang.z...@sydney.edu.au mailto:fang.z...@sydney.edu.au







 ABEL ORELLANA | Candidate Research  Sourcing

 SydneyRecruitment | Human Resources



 THE UNIVERSITY OF SYDNEY

 Level 1, The Box Factory K06 | 1-3 Ross St | The University of Sydney | NSW | 
 2006

 T +61 2 8627 1237  | F +61 2 9351 5867  | M +61 431 657 180
 E abel.orell...@sydney.edu.au mailto:abel.orell...@sydney.edu.au  | W 
 http://sydney.edu.au http://sydney.edu.au



 This email plus any attachments to it are confidential. Any unauthorised use 
 is strictly prohibited. If you receive this email in error, please delete it 
 and any attachments.


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


[SLUG] SLUG monthly meeting: 27 August 2010

2010-08-12 Thread James Polley
Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
 * Date: Friday July 30 2010
 * Start time: Arrive at 6pm for a 6:30pm start
 * Format: Lightning talks + In-Depth Talk(s)
 * == RSVP at http://slug.eventbrite.com ==
 * Suggest or sign up for a talk at [1]

 Details 

As last month, our first section will be lightning talks.

We're looking for a speaker for a 30-45 minute in depth talk for the
second half (or two 15-20 minute talks) - if you're interested, please
email activit...@slug.org.au

Don’t think you can give a talk, but have an idea for a talk you’d
like to see? Add it to the Talks I'd like to see section[2] of the
same wiki page!

[1] http://wiki.slug.org.au/august2010lightningtalks
[2] http://wiki.slug.org.au/august2010lightningtalks#talks_i_d_like_to_see
--
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: [activities] SLUG monthly meeting: 30 July 2010

2010-07-28 Thread James Polley
We still have plenty of free spots for talks tomorrow night.

The good news is that this means there are plenty of spots for you to let us
know cool apps or tricks you've discovered recently; or giving us a report
on an event you were at recently.

The bad news is that if you don't hurry up and claim some slots, Dave Black
(d1b) has volunteered to fill all the vacant slots - so you're going to end
up listening to him for a few hours. Hurry up and go claim a slot now!

On Sun, Jul 25, 2010 at 9:29 PM, James Polley presid...@slug.org.au wrote:

 Location
 Google Sydney - 48 Pirrama Road, Pyrmont

 Summary
  * Date: Friday July 30 2010
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Lightning talks
  * == RSVP at http://slug.eventbrite.com ==
  * Suggest or sign up for a talk at [1]

  Details 
 Instead of running two 45 minute talks will be having two sets of
 Lightning talks.

 For those who don't know what a Lightning talk is, it's a very short
 talk to get a short overview about a subject. They are great because if
 you are not interested in the current subject you only have to listen for 5
 minutes. I personally have found that I always learn something cool,
 exciting or new!

 The first section will be on General Lightning talks, each person will
 get 5 minutes (and 5 minutes only) to talk about anything from something
 simple as The new idea I want help with to the My summary of this 45
 minute talk or even 5 cool facts about Rusty Russell.

 The second section will be on In-depth Lightning Talks, each person
 will get 7 minutes to talk about something a bit more indepth.

 **Slots are still available**, so if you are interested in talking, please
 sign up at [1]

 Don't think you can give a talk, but have an idea for a talk you'd
 like to see? Add it to the **Talks I'd like to see** section[2] of the
 same wiki page!

 [1] http://wiki.slug.org.au/julylightningtalks
 [2] http://wiki.slug.org.au/julylightningtalks#talks_i_d_like_to_see
 --
 SLUG Activities
 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] SLUG monthly meeting: 30 July 2010

2010-07-25 Thread James Polley
Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
  * Date: Friday July 30 2010
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Lightning talks
  * == RSVP at http://slug.eventbrite.com ==
  * Suggest or sign up for a talk at [1]

 Details 
Instead of running two 45 minute talks will be having two sets of
Lightning talks.

For those who don't know what a Lightning talk is, it's a very short
talk to get a short overview about a subject. They are great because if
you are not interested in the current subject you only have to listen for 5
minutes. I personally have found that I always learn something cool,
exciting or new!

The first section will be on General Lightning talks, each person will
get 5 minutes (and 5 minutes only) to talk about anything from something
simple as The new idea I want help with to the My summary of this 45
minute talk or even 5 cool facts about Rusty Russell.

The second section will be on In-depth Lightning Talks, each person
will get 7 minutes to talk about something a bit more indepth.

**Slots are still available**, so if you are interested in talking, please
sign up at [1]

Don't think you can give a talk, but have an idea for a talk you'd
like to see? Add it to the **Talks I'd like to see** section[2] of the
same wiki page!

[1] http://wiki.slug.org.au/julylightningtalks
[2] http://wiki.slug.org.au/julylightningtalks#talks_i_d_like_to_see
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Notes from Future of SLUG discussion on May 28/Agenda for June 25

2010-06-01 Thread James Polley
I've put my notes on the wiki - http://wiki.slug.org.au/may28notes.
Please edit away if you feel you can provide more detail or a better
summary of what we actually discussed.

Under the parent page (http://wiki.slug.org.au/future_of_slug) I've
added a link to an agenda for the followup discussion at the next
meeting - it's waiting for your input.

I'm CCing activies@ as a reminder that I'd like to hold the followup
discussion at the next meeting.
-- 
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 monthly meeting: 28 May 2010

2010-05-27 Thread James Polley
Due to illness, Lindsay can't be with us tonight.

Our first half, as well as the OLPC Friends BoF, will now consist of
the following two talks:

==Vafa Khalighi: Introduction to TeX==

Vafa Khalighi will be giving an introduction to TeX, the typesetting
system. Next month, Vafa will be giving a more in-depth talk about
TeX.

==Jon Jeremy: Collection Management==

Jon Jeremy will be giving an overview of collection management software.



The remainder of the program is unchanged.

On Mon, May 24, 2010 at 10:32 PM, James Polley presid...@slug.org.au wrote:
 Location
 Google Sydney - 48 Pirrama Road, Pyrmont

 Summary
  * Date: Friday May 28
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Main presentations with BOFs running in parallel
  * More information on the meeting format is at
 http://slug.org.au/meetingformat


 == RSVP at http://slug.eventbrite.com ==


 First Half
 ===Main Talks===
 ==Lindsay Holmwood: collectd + visage==

 Linday will be talking about monitoring using collectd and visage,
 with a focus on the problems that arise with very large scale
 monitoring.

 ==Second talk TBA==

 ===BOFs===
 ==OLPC Friends==
 Sridhar will be talking about his recent OLPC deployment in East
 Arnhem land - more information at
 http://www.dhanapalan.com/blog/2010/05/20/olpc-in-east-arnhem-land/

 Second Half

 ==BOFs==
 ==Multimedia==
 David McQuire: Taming the Big Scary Command Line for Multi-Media
 Patrick Elliot-Brennan: Phatch (http://photobatch.stani.be/) - A photo
 batch processor which can create some very
 exciting and useful effects within still images.

 ==SLUG: What Now?==
 James Polley will be leading a discussion on his ideas about the
 future of SLUG.
 Key points:
  * What audience do we want to serve?
  * What services can we provide to members?
  * Should SLUG continue to exist as an independent association?

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


[SLUG] Call for short talks for tomorrow night

2010-05-26 Thread James Polley
Hi all

We're still looking for 2 short talks - 15-20 minute duration - for
tomorrow night.

This would be a great chance for you to get that pet topic of yours
off your chest - you know that one thing you've wanted to talk about,
but you've never been able to figure out how to stretch your talk to
40 minutes, nor how to squeeze it into a lightning talk.

If you have ideas but hold them back, you're likely to be treated to
committee members explaining the GPL through interpretive dance - so
please don't hold back!
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SLUG monthly meeting: 28 May 2010

2010-05-24 Thread James Polley
Location
Google Sydney - 48 Pirrama Road, Pyrmont

Summary
  * Date: Friday May 28
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Main presentations with BOFs running in parallel
  * More information on the meeting format is at
http://slug.org.au/meetingformat


== RSVP at http://slug.eventbrite.com ==


First Half
===Main Talks===
==Lindsay Holmwood: collectd + visage==

Linday will be talking about monitoring using collectd and visage,
with a focus on the problems that arise with very large scale
monitoring.

==Second talk TBA==

===BOFs===
==OLPC Friends==
Sridhar will be talking about his recent OLPC deployment in East
Arnhem land - more information at
http://www.dhanapalan.com/blog/2010/05/20/olpc-in-east-arnhem-land/

Second Half

==BOFs==
==Multimedia==
David McQuire: Taming the Big Scary Command Line for Multi-Media
Patrick Elliot-Brennan: Phatch (http://photobatch.stani.be/) - A photo
batch processor which can create some very
exciting and useful effects within still images.

==SLUG: What Now?==
James Polley will be leading a discussion on his ideas about the
future of SLUG.
Key points:
  * What audience do we want to serve?
  * What services can we provide to members?
  * Should SLUG continue to exist as an independent association?
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] UPDATED: SLUG monthly meeting: 30 April 2010

2010-04-27 Thread James Polley
===Summary===
Date: Friday April 30
Start time: Arrive at 6pm for a 6:30pm start
Format: Main presentations with BOFs running in parallel
More information on the meeting format is at http://slug.org.au/meetingformat

===First Half===
==Main presentation==
Robert Smit: Upstart - the event-driven init replacement
Upstart is a replacement to the init process that Unixes have been
using to start all their key processes for more than 30 years.
Ubuntu’s Canonical decided that, they needed a more event driven init
system and both Ubuntu and Fedora have been using Upstart in a
backwards compatible arrangement for more than 3 years but with 10.04
are now starting to move away from the old init scripts.

==BOFs==
OLPC Friends: Sridhar Dhanapalan will be giving a brief talk an QA
session about OLPC Australia’s recent deployment in Yirrkala in East
Arnhem Land.

===Second Half===
==Main Presentation==
Erik de Castro Lopo: Programming: How can we do it better? Part II
(Part I available at http://www.youtube.com/watch?v=tZDy7ExHjMM)

As developers, we hear a constant stream of complaints about how
software (not necessarily our own) is buggy and crashes. In this
presentation I plan to look at what we can do now and in the future to
make software development more reliable, repeatable and scalable.

==BOFs==
=Multimedia=
Peter Chubb - Basics of shell scripting

Peter will cover #!,  variables, including arguments and shift,
pipelines and jobs, and the 'while' statemnent. Presentation will be
in a tutorial format - you'll get more out of it if you can bring a
laptop and follow along.
Next month, David McQuire will be diving into image/video editing
tricks from the commandline - having a basic knowledge of shell
scripting will help you expand these tricks into fully automated
workflows.

Patrick Elliot-Brennan - Creating a slideshow, including Ken Burns
effects, using PhotoFilmStrip
Patrick will give a presentation on how to create a slide-show from
still images. This presentation will include how to apply the renowned
'Ken Burns' effect to give the video the following effect:
http://www.youtube.com/watch?v=hC2uJlu_SQc

The application used is called PhotoFilmStip: http://www.photofilmstrip.org/

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


[SLUG] SLUG monthly meeting: 30 April 2010

2010-04-07 Thread James Polley
===Summary===

  * Date: Friday April 30
  * Start time: Arrive at 6pm for a 6:30pm start
  * Format: Main presentations with BOFs running in parallel

More information: http://slug.org.au/meetingformat

Please remember to register at http://slug.eventbrite.com

===First Half===
==Main presentation==
Robert Smit: Upstart - the event-driven init replacement

Upstart is a replacement to the init process that Unixs have
been using to start all there key processes for more than 30 years.
Ubuntu's Canonical decided that, they needed a more event driven init
system and both Ubuntu and Fedora have been using Upstart in a backwards
compatible arrangement for more than 3 years but with 10.04 are now
starting to move away from the old init scripts.

==BOFs==
OLPC Friends: Sridhar Dhanapalan will be giving a brief talk an QA
session about OLPC Australia's recent deployment in Yirrkala in East
Arnhem Land.

===Second Half===
==Main Presentation==
Erik de Castro Lopo: Programming: How can we do it better? Part II
(Part I available at http://www.youtube.com/watch?v=tZDy7ExHjMM)

As developers, we hear a constant stream of complaints about how
software (not necessarily our own) is buggy and crashes. In this
presentation I plan to look at what we can do now and in the future to
make software development more reliable, repeatable and scalable.

==BOFs==

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


Re: [chat] Re: [SLUG] Presentations for multi-media BOF

2010-04-05 Thread James Polley
On Mon, Apr 5, 2010 at 7:43 PM, Chris Donovan alienreside...@gmail.com wrote:
 On Mon, Apr 5, 2010 at 6:11 PM, elliott-brennan
 m...@elliott-brennan.id.au wrote:

 Just a quick note asking that people who may have
 something to present (or have an idea for a
 presentation) at  the multi-media BOF contact me
 so we can arrange a schedule of presentations.

 What is a BOF?

Wiktionary says: Birds of a feather (group of people with common
interests...from the phrase Birds of a feather flock together).
It's a group of people interested in getting together to talk about a
particular topic


 Chris-
 --
 SLUG - Sydney Linux User 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] Presentations for multi-media BOF

2010-04-05 Thread James Polley
On Mon, Apr 5, 2010 at 6:11 PM, elliott-brennan
m...@elliott-brennan.id.au wrote:
 Hi all,

 Just a quick note asking that people who may have
 something to present (or have an idea for a
 presentation) at  the multi-media BOF contact me
 so we can arrange a schedule of presentations.

 Please don't think that your presentation has to
 be something enormous (e.g. how to recreate Ben
 Hur using FOSS). It can be something very simple
 as well.

 Time is also flexible in terms of your
 presentation - if you just want to show how to do
 something cool which only takes a few minutes,
 then this will be readily accepted too.
 For all you know the application, tool, format or
 process may well be unknown to the rest of us. You
 can even video the presentation if you like
 (screenshots etc) and we can run that.

 Any new apps etc are always good to highlight.

 If you send me your idea/s, I can then arrange
 with you how to present etc and send a schedule
 out so that we can let the rest of the list know
 what's happening in the multi-media BOF. This was
 we can attract more interest and more attendees :))

 So, put on your thinking caps and get to it.

 Remember: Don't be too shy :))

 Regards,

 Patrick


Just to add a tiny bit of impetus to what Patrick has said - I'm
hoping to be able to send an announcement about the meeting tomorrow
(ie, Tuesday, possibly today by the time you're reading this) night;
it would be awesome if you could contact Patrick today so that he can
put a program together before I send the announcement.

 --
 Linux - you use it everyday
 --
 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] March meeting: AGM + Programming: How can we do it better?

2010-03-21 Thread James Polley
Date: Friday 26th of March
Start Time: Arrive at 6:00pm for a 6:30pm sharp start
Format: Erik de Castro Lopo on Programming: How can we do it better?, AGM,
Pizza Dinner
Where: Google Australia, Level 5, 48 Pirrama Road, Pyrmont (opposite Star
City)

As this meeting contains the AGM, all previous memberships expire and you'll
have to pay dues ($25, $15 concession) if you wish to remain financial
(including if you wish to participate in the election).

First up, we have Erik de Castro Lopo, speaking on the topic of Programming
: How can we do it better?

  As developers, we hear a constant stream of complaints about how
  software (not necessarily our own) is buggy and crashes. In this
  presentation I plan to look at what we can do now and in the future
  to make software development more reliable, repeatable and scalable.

This will be followed (after the break) by the 2010 AGM - see [1] and [2]
for more details.

Meeting Details
SLUG is the very mis-named Sydney Linux User Group. We are a general
Open Source interest group which runs our primary event on the last
Friday of every month (except December). Meetings are open to the
general public, and are free of charge.

Our venue is Google, Level 5, 48 Pirrama Road, Pyrmont. It's across the
road from Star City Casino.

You will need to sign-in to enter the venue. This can be performed when
you arrive, but to help us organise adequate catering we ask that you do so
online beforehand at [3].

If you are unsure, please sign up as a 'maybe'. This allows us to
organise adequate meeting space and facilities. You do not need to
create an account to indicate your attendance.

Meeting Schedule

We start at 18.30 but we ask that people arrive at least 15 minutes
early so we an all get into the building and start on time. Please do
not arrive before 18.00, as it may hinder business activities for our
host!


* 18.15: Open Doors
* 18.30: Announcements, News, Introductions
* 18.45: Programming: How can we do it better?
* 19.30: Intermission
* 19.45: AGM
* 20.30: Dinner

Hacker Space

We have heaps of room available to us at Google. If the talks do not
grab you, feel free to come along and hack away on your favourite
project in the designated Hacker Space.

Dinner

We order in a selection of pizzas for dinner after the meeting. The cost is
$10 per head, and we will be collecting money from the beginning of the
meeting. If you have any particular dietary requirements (e.g. vegetarian),
let us know beforehand. Dinner is a great way to socialise and learn in a
relaxed atmosphere :)

For those who want to continue the conversation after dinner, some of
us will be heading to a pub in the local area.


[1] http://lists.slug.org.au/archives/announce/2010/02/msg5.html
[2] http://wiki.slug.org.au/2010agm
[3] http://slug-march.eventbrite.com
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Testing glue records

2010-02-25 Thread James Polley
My favorite tool (which has some limitations, but is usually a good
start) is dnstracer.

oll...@ppgnte-ubiq43:~$ dnstracer -s b.root-servers.net -o  -4 www.smh.com.au
Tracing to www.smh.com.au[a] via b.root-servers.net, maximum of 3 retries
b.root-servers.net (192.228.79.201)
 |\___ UDNS1.AUSREGISTRY.NET.au [au] (156.154.100.18)
 | |\___ ns4.fairfax.com.au [smh.com.au] (203.58.234.244) Got
authoritative answer [received type is cname] [received type is cname]
 | |\___ ns2.fairfax.com.au [smh.com.au] (203.5.59.241) Got
authoritative answer [received type is cname] [received type is cname]
 |  \___ ns1.fairfax.com.au [smh.com.au] (203.26.177.241) Got
authoritative answer [received type is cname] [received type is cname]
 |\___ NS2.AUDNS.NET.au [au] (58.65.249.73)
 | |\___ udns2.ausregistry.net.au [com.au] (156.154.101.18)
 | | |\___ ns1.fairfax.com.au [smh.com.au] (203.26.177.241) (cached)
 | | |\___ ns4.fairfax.com.au [smh.com.au] (203.58.234.244) (cached)
 | |  \___ ns2.fairfax.com.au [smh.com.au] (203.5.59.241) (cached)
 | |\___ udns1.ausregistry.net.au [com.au] (156.154.100.18) (cached)
lots of cached results skipped
ns1.fairfax.com.au (203.26.177.241) www.smh.com.au -
dsa.f2.com.au.edgesuite.net
ns1.fairfax.com.au (203.26.177.241) dsa.f2.com.au.edgesuite.net -
a1040.b.akamai.net
ns2.fairfax.com.au (203.5.59.241)   www.smh.com.au -
dsa.f2.com.au.edgesuite.net
ns2.fairfax.com.au (203.5.59.241)   dsa.f2.com.au.edgesuite.net -
a1040.b.akamai.net
ns4.fairfax.com.au (203.58.234.244) www.smh.com.au -
dsa.f2.com.au.edgesuite.net
ns4.fairfax.com.au (203.58.234.244) dsa.f2.com.au.edgesuite.net -
a1040.b.akamai.net


If you're having issues with glue, or one of your NSes is serving
dodgy records, this will usually catch this - you'll see that ns1
returns one set of results while ns2 returns another; or you'll see
that the .com.au servers are returning the wrong glue, etc.

Which reminds me:

poll...@ppgnte-ubiq43:~$ dnstracer -s b.root-servers.net -o  -4 zhasper.com
Tracing to zhasper.com[a] via b.root-servers.net, maximum of 3 retries
b.root-servers.net (192.228.79.201)
 |\___ M.GTLD-SERVERS.NET [com] (192.55.83.30)
 | |\___ ns2.zilence.com.au [zhasper.com] (203.27.221.213) Refers backwards
 |  \___ ns1.zilence.com.au [zhasper.com] (88.198.1.123) Got
authoritative answer

I really need to fix my own dns hosting. I should go back and read
that other thread about secondary hosting..


On Sat, Feb 20, 2010 at 11:56 AM, John Ferlito jo...@inodes.org wrote:
 On Fri, Feb 19, 2010 at 11:12:44PM +1100, Ashley Glenday wrote:
 At the beginning of this saga I had a server in America that I
 called ns1.domain.com and ns2.domain.com. After this I decided to
 become patriotic (with the help of some sluggers suggestions) and
 moved to a host in Sydney, this server became ns3.domain.com and
 ns4.domain.com. My problem is that it's time to move yet again and I
 wanted to go back to ns1.domain.com and ns2.domain.com but this
 doesn't seem to work. My registrar assures me they've set the glue
 records up properly but I can't get it to resolve. The host has set
 the reverse DNS up as I can confirm that with host 123.123.123.123
 which returns ns1.domain.com

 What I'm after is any known way to test the glue records are in fact
 set up properly and if they are, what else could I have missed?

 So for google If I wanted to check I would do



 jo...@zoot:~$ dig ns google.com
 ;; ANSWER SECTION:
 google.com.     296819  IN  NS  ns4.google.com.
 google.com.     296819  IN  NS  ns2.google.com.
 google.com.     296819  IN  NS  ns1.google.com.
 google.com.     296819  IN  NS  ns3.google.com.

 jo...@zoot:~$ dig soa com
 ;; ANSWER SECTION:
 com.            789 IN  SOA a.gtld-servers.net.  nstld.verisign-grs.com. 
 1266627161 1800 900 604800 86400

 jo...@zoot:~$ dig a ns1.google.com. @a.gtld-servers.net.
 ;; ANSWER SECTION:
 ns1.google.com.     172800  IN  A   216.239.32.10


 If there is no glue record the ANSWER section will be empty and you'll
 get a WARNING about recusrion being disabled.

 Cheers,
 John


 --
 John
 Blog                             http://www.inodes.org
 LCA2010                          http://www.lca2010.org.nz
 --
 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] Replicate Production to DR file system with rsync

2010-02-11 Thread James Polley
On Fri, Feb 12, 2010 at 6:35 PM, Amos Shapira amos.shap...@gmail.com wrote:
 On 12 February 2010 17:35, james j...@tigger.ws wrote:
 You were mugged on the train and lost your rdiff mem stick illustrates the
 foolhardy nature of your thinkings

 USB key can be encrypted.

Which is great, no-one else can read your files.

Unfortunately, neither can you.

 --
 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] Re: IE on Ubunto

2010-02-02 Thread James Polley
On Tue, Feb 2, 2010 at 11:25 PM, Richard Ibbotson
richard.ibbot...@googlemail.com wrote:
 On Tuesday 02 February 2010 10:13:01 Chris Allen wrote:
 Is there a simple solution (cheap) to this dilemma?

 http://www.tatanka.com.br/ies4linux/page/Main_Page

Supports IE 5, 5.5 and 6. Last updated 6th Feb 2008.

It worked for me last time I needed this, but that would have been
some time in 2007 when IE6 was state-of-the-art.



 --
 Richard
 www.sheflug.org.uk
 --
 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] December SLUG social gathering - 12th December, Pyrmont Point Park

2009-11-29 Thread James Polley
Hi to Everyone and Seasons Greetings from SLUG Committee -

The December SLUG Meeting is a social gathering.

Rather than the usual last Friday of the month, the December
get-together is a Saturday afternoon in mid-December.

When:   Saturday 12-Dec-09
Time:1pm onward
Where:  Pyrmont Point Park, Pyrmont (http://bit.ly/PyrmontPointPark)
Where Exactly:  Depends which part of the park is free on the day.

Why This Time and Place:  Friends, Partners, Youngsters Welcome. The
park has 5 BBQs; nearby cafes, restaurants, convenience stores,
delicatessens and bottle shops,  a childrens play area, and views
across the water to Balmain and the Harbour Bridge.

What to bring: Yourself, your friends and family, plus anything you'd
like to eat, drink, sit on, or sit under (the park has some shade, but
bringing your own is still a good idea. If you can, plan to take your
rubbish with you as well.

Here's wishing everyone a safe and well season.
-- 
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] auto get file out of email to folder then act on it

2009-11-14 Thread James Polley
I haven't read deeply, but searching teh interweb for 'postfix extract  
attachments' seems to give useful pointers.







On 14/11/2009, at 22:22, Ben Donohue donoh...@icafe.com.au wrote:


Hi all,

So far I have not found a solution in Google but maybe I'm not  
looking for the correct thing...?


A client of mine is getting a .zip file every day to his redhat  
postfix inbox.


I need to automatically get the zip file from the email and put it  
in a folder on another machine, then unzip it, then run a program on  
the extracted file.


There are probably a few pieces to this puzzle.

Is there such an animal that can auto extract a known email? (known  
from address, known file name)

What about auto moving it to another computer?
Also another utility that can launch a program on detecting a file  
arriving in a folder? (if a large file it would have to wait till it  
was all there I suppose)


Any pointers in the right direction would be appreciated.

Thanks,
Ben


--
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] Data Redundancy, RAID5/LVM backup decisions

2009-11-11 Thread James Polley






On 11/11/2009, at 23:41, Ken Wilson kenwi...@ozemail.com.au wrote:




Daniel Pittman wrote:

Sridhar Dhanapalan srid...@dhanapalan.com writes:

2009/11/8 Kevin Shackleton kev...@reachnet.com.au:


Save the environment - buy a NAS.
(my mirrored 2-disc NAS averages about 20 W)
That's a good suggestion. My reluctance to use a NAS myself stems  
from the

perception of less configurability.
Yup.  If you want something capable of the flexibility of a real OS  
your

options are very limited.  OTOH, do you really *need* that level of
flexibility from your storage system?
Are they any good and affordable NAS solutions out there that  
allow a decent

level of configurability and permissions-setting?


I have a qnap ts-409 pro. It (and all qnap's other models) runs a cut- 
down openwrt-style Linux by default - but stock debian runs fine on it  
as well (http://www.cyrius.com/debian/orion/qnap/ts-409/)


The newer models (x39, where x is the number of disks) have atom  
processors; reportedly much faster and less power-hungry.


The Linksys NSS[46]000 series are entirely Linux underneath, and  
fully
source-available.  I have not actually used the hardware, but we  
prototyped

one ages ago and found it acceptable.
Otherwise, the DLINK DNS-[24]32 devices can also run Linux, or...


D Link do run linux, but hard to do anything on them, I wanted to do  
rsync, but it only accepts ftp.

Ken
OTOH, my preference would be to purchase external bulk storage in  
some sort of
NAS that did NFS[1], or perhaps that offered eSATA, and run it  
through the

central server *if* I needed a fancy set of permissions.
   Daniel
Footnotes: [1]  Limited options, sadly, though any of the named  
ones should, and I

believe the Drobo stuff does too.

--
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] Syncable wiki?

2009-11-03 Thread James Polley
The slug wiki (horrendous as it is) is DokuWiki, which amongst its
other features, stores all its data in plain text files on disk, which
makes it amenable to all the usual tools for dealing with textual
content - eg, stick it inside bzr, people can check it out, take a
copy with them, and merge changes when they get home.

As the files are plain-text, they should be somewhat readable on a PDA...

http://www.dokuwiki.org/dokuwiki for more details.

The next nearest thing I know of (aside from ikiwiki, which I hadn't
heard of till Rob mentioned it) is TiddlyWiki
(http://www.tiddlywiki.com/) - it's a self-hosting wiki-in-a-file
where all the code to make the wiki work is in javascript inside the
file. It's portable, bzr might work to merge changes (I don't know,
haven't tried, don't know enough about its innards). It definitely
makes it easy to take a copy with you on a thumb drive or similar, but
I don't know how all the JS is going to render on a small screen.

On Tue, Nov 3, 2009 at 7:14 PM,  pe...@chubb.wattle.id.au wrote:

 Hi folks,

  I run a family wiki inside my firewall, that contains stuff that I
  and others in my family want to keep track of.  However, there are
  times when various family members are away, when they want to be able
  to access the wiki, update it, etc., without network access --
  essentially, to carry around a syncable copy of the wiki on a laptop,
  PDA or phone.

  Does anyone know of any such software?  Linux of course, and
  preferably PalmOS as well but that's not essential.

  I'm using Moin at present, but it shouldn't be too hard to migrate to
  something else if the featureset is right.  It's mostly hyperlinked
  multi-lingual text with a few diagrams.

 Peter C

 --
 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] Announcement roundup from October meeting

2009-10-30 Thread James Polley
Just to summarise the things people announced at the start of our
October meeting:

 - Ubuntu Killer^WKarmic Koala was released yesterday. If you have a
Jaunty Jackalope machine you should be prompted for an upgrade -
otherwise you can download it from the usual places
(http://www.ubuntu.com/getubuntu/download will help you find the usual
places, if you don't know where they are already)

 - Or, you could buy it on a USB stick from the everythinglinux store
which has just reopened. Online at http://www.elx.com.au/, or visit
the store at 102/38 Oxley Street  St Leonards.

 - The film Us Now was mentioned. http://www.usnowfilm.com/ has
details; it's described as A film project about the power of mass
collaboration, government and the internet. It's freely available
from your favourite torrent site under a Creative Commons license.

- Mention was made of the OpenAustralia Hackfest - MashupAustralia
Edition, being held at the Google office next weekend. Details for
MashupAustralia (including how you could win the $10k prize) are at
http://mashupaustralia.org/; details about OpenAustralia are at
http://openaustralia.org/, and details about the hackfest are at
http://hackfest.openaustralia.org/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Videos of June talks available

2009-09-07 Thread James Polley
After much delay (all of which you should blame me for), the videos of the
June talks are available online.
Thanks go to:

Paul, for giving the talks and allowing us to make them available.

Patrick Elliot-Brennan, who you might remember from last month's video talk,
put in an amazing amount of time and effort to tidy up the video, add a
title slide, and so much more.

LA, for hosting .oggs of the videos on their mirror at
http://mirror.linux.org.au/lug/slug/2009/

If you prefer to stream your video, both are also available at
http://www.youtube.com/user/GoogleFOSSSydney.

We're ironing out the process of getting video to Patrick for editing, so
July's videos should be online much sooner.
-- 
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] Meeting tonight push bike

2009-08-27 Thread James Polley
On Fri, Aug 28, 2009 at 1:24 PM, SMITH GARETH 
gareth.sm...@alcatel-lucent.com wrote:

 Hi guys,
I want to ride my push bike into the meeting tonight is there
 anywhere I can chain my push bike up in the Google facility?


We have visitor bike racks out the front of the building





 Kind regards,

 Gareth
 --
 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] GPS data logger

2009-08-06 Thread James Polley
If you're specifically looking for running, Garmin make a nice range of
sports gps/heartrate monitor/watches called Forerunner.
They don't provide any linux support; but gpsbabel can apparently get most
data from them (including heartrate date, so you can see how your heart rate
varies over time as well as the track). there's also garmintools (
http://code.google.com/p/garmintools/) but it only works on older models.

Garmin also provide a website where you can upload your data and get
analysis, set goals and track your progress etc (
http://connect.garmin.com/features/). http://braiden.org/?p=62 suggests it's
possible to use garmintools + some xslt to push this data from linux.

If all you want is track logging, openstreetmap have a hardware guide (
http://wiki.openstreetmap.org/wiki/Hardware_Guide), which is the best
listing of devices that work with Linux that I know of. The ForeRunner
201/205/305 are listed there as being useable with gpsbabel and
garmintools.



On Fri, Aug 7, 2009 at 12:14 PM, Simon Males s...@sime.net.au wrote:

 I'm hoping to buy a GPS data logger that I can take running with me.

 My main concern is for it to plug and play with Linux. I've managed to
 find two such devices on eBay that support linux.

 I expect these devices to be popular with photographers. Any sluggers use
 them?

 --
 Simon Males
 --
 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] Cheap 3G mobile internet broadband plans ... what they don't have!

2009-08-05 Thread James Polley
On Thu, Aug 6, 2009 at 11:12 AM, Roger Salisbury rgsalisb...@exemail.com.au
 wrote:


 Hi all

 How much better are the more expensive 3G plans over the cheaper plans?

 I have just tried out a 3G broadband dongle on linux
 Model :  E160
 I tried to get it to work on Centos 5.3 but failed. couldn't get
 usb_modeswitch to give a /dev/USB0 .
 However tried on  Debians LENNY and was  it was trivial to get online
 using the E160.
 (just needed the dial string)

 I tried the 1Gig  residential plan  found it wanting.

 The dialup PPP connection ONLY allows 4 incoming ports it seems.

 Among other Apps,  I would like to remotely connect via SSH.

 Do the higher priced plans have less retrictions  ?
 Do the higher priced plans support SSH?

 I found  only 4 ports open.   as below .

 r...@debian:~# netstat -an   | grep   LISTEN 
 tcp0  0 0.0.0.0:34376   0.0.0.0:*   LISTEN
 tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN
 tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN
 tcp0  0 127.0.0.1:250.0.0.0:*   LISTEN


Netstat shows you the ports where you have a daemon actively listening
for connections; this has nothing at all to do with what traffic the
network would allow.
Not having ssh show up here just means you don't have an sshd listening - it
says nothing about whether you'd be able to connect to that port or not.

The bottom two (internet printing protocol and SMTP) are listening on
localhost only, so won't be accessible over the network anyway.

The top two are more concerning; port 111 is RPC, which you don't want
to expose to the internet; I have no idea what 34376 is. If you run
sudo netstat -pan, it will tell you which process is bound to that
socket.

From your point of view, the IP address you're assigned is going to be
more significant;  do
you get an RFC1918 address (ie, an address in one of the networks
192.168.0.0/16, 172.16.0.0/12, or 10.0.0.0/8), or is it a public IP?




 TIA for any comments
 Roger


 No virus found in this outgoing message.
 Checked by AVG - www.avg.com
 Version: 8.5.392 / Virus Database: 270.13.44/2282 - Release Date: 08/04/09
 18:01:00

 --
 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] Fwd: UPDATED: July SLUG meeting - Friday July 31, 2009

2009-07-27 Thread James Polley
CCing lists I missed first time round.


-- Forwarded message --
From: James Polley v...@slug.org.au
Date: Mon, Jul 27, 2009 at 2:19 PM
Subject: UPDATED: July SLUG meeting - Friday July 31, 2009
To: annou...@slug.org.au


Updated to include details of the Technical Talk.

If you think you might come, please visit
http://anyvite.com/ewaqa64bwu and sign up.

== July SLUG Monthly Meeting ==

You can read the full version of this announcement at
http://slug.org.au/node/116.
When:
18.00 - 21.30, Friday, 31 July, 2009

We start at 18.30 but we ask that people arrive 15 minutes early so we can all
get into the building and start on time. Please do not arrive before 18.00, as
it may hinder business activities for our host!

Appropriate signage and directions will be posted on the building.

Where:
Our venue for this meeting is Google, Level 5, 48 Pirrama Road, Pyrmont.

It's across the road from Star City Casino. A map of the area can be found
here[1], and public transit directions are at [2]. Appropriate signage and
directions will be posted around the building.

You will need to sign-in to enter the venue. This can be performed when you
arrive, but to save time we recommend that you do so online beforehand at
Anyvite[3]. If you are unsure, please sign up as a 'maybe'. This allows us to
organise adequate meeting space and facilities. You do not need to create an
account to indicate your attendance.

General Talk
Tom Worthington: Learning to lower costs and carbon emissions with ICT

Tom designed the first globally accredited course on Green ICT and has been
teaching it via the web since January 2009. The talk will discuss how ICT can
be used to reduce greenhouse gas emissions 15% by 2020. Also outlined is how to
use the web for running formal, university accredited courses using free open
source software with open access content delivered to smartphones. The
Istanbul public transport system also gets a mention. ;-)

See Tom's Web site[4] for more information.

Tom runs green IT courses at ANU and ACS. You can read the free open access
version here.

In-Depth Talk:
Rob Collins: Massively parallel testing via Subunit

Subunit [https://launchpad.net/subunit] is a streaming protocol for
test results. I used it in bzr to parallelise the test suite and make
effective use of multi-core machines (something python
isn'tintrinsically good at), and to run tests in a massively parallel
way via amazon ec2.

Subunit is likely to be useful for anyone doing nontrivial automated
testing, particularly when distributing or otherwise running the
testsin a noninteractive fashion.

SLUGlets

General discussion and QA about Linux, free software and open source.

Meeting Schedule

See here[6] for an explanation of the segments.

  * 18.15: Open Doors
  * 18.30: Announcements, News, Introductions
  * 18.45: General Talk
  * 19.30: Intermission
  * 19.45: Split into two groups for:
        o In-Depth Talk
        o SLUGlets
  * 20.30: Dinner

Dinner this month will be held locally, Details will be announced on the night.
We will be taking numbers at the beginning of the meeting. If you have any
particular dietary requirements (e.g. vegetarian), let us know beforehand.
Dinner is a great way to socialise and learn in a relaxed atmosphere :)

We hope to see you there!

[1]  http://tinyurl.com/ParkingPyrmont
[2] http://wiki.slug.org.au/howtogetthere
[3] http://anyvite.com/ewaqa64bwu
[4] http://www.tomw.net.au/technology/it/green_it_social_networking/
[5] http://tomw.net.au/moodle/course/view.php?id=11
[6] http://www.slug.org.au/meetings/meetingformat
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] July SLUG meeting - Friday July 31, 2009

2009-07-20 Thread James Polley
== July SLUG Monthly Meeting ==

You can read the full version of this announcement at
http://slug.org.au/node/116.
When:
18.00 - 21.30, Friday, 31 July, 2009

We start at 18.30 but we ask that people arrive 15 minutes early so we can all
get into the building and start on time. Please do not arrive before 18.00, as
it may hinder business activities for our host!

Appropriate signage and directions will be posted on the building.

Where:
Our venue for this meeting is Google, Level 5, 48 Pirrama Road, Pyrmont.

It's across the road from Star City Casino. A map of the area can be found
here[1], and public transit directions are at [2]. Appropriate signage and
directions will be posted around the building.

You will need to sign-in to enter the venue. This can be performed when you
arrive, but to save time we recommend that you do so online beforehand at
Anyvite[3]. If you are unsure, please sign up as a 'maybe'. This allows us to
organise adequate meeting space and facilities. You do not need to create an
account to indicate your attendance.

General Talk
Tom Worthington: Learning to lower costs and carbon emissions with ICT

Tom designed the first globally accredited course on Green ICT and has been
teaching it via the web since January 2009. The talk will discuss how ICT can
be used to reduce greenhouse gas emissions 15% by 2020. Also outlined is how to
use the web for running formal, university accredited courses using free open
source software with open access content delivered to smartphones. The
Istanbul public transport system also gets a mention. ;-)

See Tom's Web site[4] for more information.

Tom runs green IT courses at ANU and ACS. You can read the free open access
version here.

In-Depth Talk
TBA

SLUGlets

General discussion and QA about Linux, free software and open source.

Meeting Schedule

See here[6] for an explanation of the segments.

* 18.15: Open Doors
* 18.30: Announcements, News, Introductions
* 18.45: General Talk
* 19.30: Intermission
* 19.45: Split into two groups for:
  o In-Depth Talk
  o SLUGlets
* 20.30: Dinner

Dinner this month will be held locally, Details will be announced on the night.
We will be taking numbers at the beginning of the meeting. If you have any
particular dietary requirements (e.g. vegetarian), let us know beforehand.
Dinner is a great way to socialise and learn in a relaxed atmosphere :)

We hope to see you there!

[1]  http://tinyurl.com/ParkingPyrmont
[2] http://wiki.slug.org.au/howtogetthere
[3] http://anyvite.com/ewaqa64bwu
[4] http://www.tomw.net.au/technology/it/green_it_social_networking/
[5] http://tomw.net.au/moodle/course/view.php?id=11
[6] http://www.slug.org.au/meetings/meetingformat
-- 
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] live distro for aspire netbook ?

2009-07-05 Thread James Polley
Ubuntu boots happily from a USB stick. I haven't tried booting off an
SD card using the internal reader; I do know that in the list of boot
options, only USB, internal HD, and network are listed - but perhaps
the SD reader is on the USB bus *shrug*
https://help.ubuntu.com/community/Installation/FromUSBStick

On Sun, Jul 5, 2009 at 3:32 PM, Voytek Eymont li...@sbt.net.au wrote:

 what a good live distro to try on Aspire 1 ?
 something that can run off SD card boot


 --
 Voytek

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

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


Re: [SLUG] Extracting string from a file - shell script

2009-07-02 Thread James Polley
On Fri, Jul 3, 2009 at 9:08 AM, Kyle k...@attitia.com wrote:

 Hi Folks,

 I am trying to extract a substring from a string found in a file.

 The string is: *** End   of  TF0220  at  Thu Jul 2 10:06:51 EST 2009  - RC
 =  0

 and the substring I want to extract is TF0220. This is a program name and
 the length of this name varies. In other words I want to extract whatever is
 between the words of and at in a script.


If the name is always at the same position in the string(ie, the line always
starts with *** End   of  - awk '{ print $4 ;}' will do most of what you
want.

saga:~/src polleyj$ echo '*** End   of  TF0220  at  Thu Jul 2 10:06:51 EST
2009  - RC =  0' | awk '{ print $4 ;}'
TF0220

You probably want to do something extra to select out only lines matching
this pattern - you can do this by stipulating a match to awk - ie, make it
awk '/End  of/ { print $4; }'





 How would I likely go about that please?

 --
 
 Kind Regards

 Kyle

 --
 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] draft intro/outros for SLUG monthly meeting videos

2009-06-28 Thread James Polley
Awesome! Offers of help are always appreciated :)
I'll follow up with you and CC the avhelpers list, as organising the
logistics would be off-topic for this list..

On Sat, Jun 27, 2009 at 4:42 PM, elliott-brennan m...@elliott-brennan.id.au
 wrote:

 Hi All,

 I've decided to make myself useful. In the words
 of Agent 86, If only he had used his video skills
 for good instead of evil. :))

 I've offered Ken to assist in editing the videos
 from the monthly meetings (and any others we put up).

 As editing, merging, transcoding etc is not that
 hard, I thought I'd also create an intro and outro
 for the videos, as well as add credits etc where
 necessary. This would give them a little more polish.

 So here are some pieces I've been working on.

 There are four which are similar. One each of
 white and black backgrounds with borders around
 the letters and one each of white and black with
 no borders around the letters. My favourite is the
 black with border - it makes the video stand out more.

 Each of these has moving images inside the
 letters. The video is from creative commons video
 and some I've downloaded from our site and others
 I've been given by Ken.

 The fifth is a mosaic of photos which dissolves
 into the slug icon with text at the bottom.

 The length of the videos is not indicative of what
 I'm proposing for our video, just to let people
 have a look and see what they would prefer.

 I've loaded them on youtube for ease of access.

 http://www.youtube.com/watch?v=tLThA5pIkRs

 http://www.youtube.com/watch?v=JeH-s2d1ZQU

 http://www.youtube.com/watch?v=dfCMIEDLOXk

 http://www.youtube.com/watch?v=MqdC_pW2Wx0

 http://www.youtube.com/watch?v=khkwhQ2hXWQ

 If anyone has any ideas I'd be more than happy to
 receive them.

 Additionally, I've proposed to Ken that I get the
 original video from the June meeting and then do
 some work on that. If there are slideshows in the
 meeting, can I be provided with them as well as
 these can be merged with the video?

 Once finished, I'll upload the videos for viewing
 and people can see what they think.

 Regards,

 Patrick



 --
 Registered GNU/Linux User 368634
 www.youcantdothatinlinux.com

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

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


[SLUG] Re: [activities] June SLUG Monthly Meeting: Friday, June 26 2009

2009-06-21 Thread James Polley
(I'm speaking here in my capacity as one of the hosts at Google, not as a
committee member)

On Sat, Jun 20, 2009 at 12:41 PM, Sridhar Dhanapalan srid...@dhanapalan.com
 wrote:

 You will need to sign-in to enter the venue. This can be performed
 when you arrive, but to save time we recommend that you do so online
 beforehand:

   http://anyvite.com/duicz1vdub

 If you are unsure, you can sign up anyway.


We have two main reasons for asking people to sign up on anyvite:
 - We're providing some light catering for the break, and we need to have
some idea of how many people to cater for
 - We have quite a few rooms we could use to host SLUG, and which one is
best is going to depend on how many people we're having

Anyvite doesn't require you to register, and allows you to register yourself
as a maybe - so even if you're not sure, we'd appreciate it if you could
list yourself as a maybe.
-- 
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] Where can I get a high quality copy of the SLUG icon?

2009-06-20 Thread James Polley
Can we get that put on the website somewhere?
Also, I'm curious about who designed the logo, and who owns the rights to
the logo?

On Sun, Jun 21, 2009 at 12:41 PM, Sridhar Dhanapalan srid...@dhanapalan.com
 wrote:

 2009/6/17 elliott-brennan m...@elliott-brennan.id.au:
  Hi all,
 
  Per my header, who can I get a high quality copy
  of the SLUG icon from? I want to use it in some
  editing of the SLUG meeting videos.
 
  Regards,
 
  Patrick

 Hi Patrick,

 I've attached an SVG version.

 Cheers,
 Sridhar



 --
 Bring choice back to your computer.
 http://www.linux.org.au/linux

 --
 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] Scripting mystery

2009-05-10 Thread James Polley
Searching for works from command line but not via cron shows that you're
not alone :)
Usually, this stems from the fact that cron doesn't execute your various
shell initialisation scripts - ~/.profile, ~/.bashrc, ~/.bash_profile,
~/.login, etc. A common problem is thus that $PATH isn't set (when the
script runs under cron) to what you expect (based on what you see when
you're running it by hand). However, all sorts of other things could be
different: your ~/.bash_profile might set a non-standard umask; or set up
some aliases that don't exist when the script runs under cron.

Changing the shebang line to #!/bin/sh -x will cause each line to be
echoed; if you then change the cronjob to /var/log/cronlog or similar
you should get some more information about what cron is actually running,
and what the rsync commands are doing.

A random guesses, aside from the things I've mentioned above: the shebang
line stipulates /bin/sh; I'd bet you're not using /bin/sh as your shell. On
some systems /bin/sh is bash; on other systems it's something different -
maybe sh, maybe dash, maybe bash-in-sh-compatibility-mode.

Another random guess: if the cronjob runs as a user who doesn't have
192.168.0.20 in their ~/.ssh/known_hosts file, ssh will ask questions about
whether you really want to connect. It's possible that when you do it by
hand you have a pre-populated ~/.ssh/known_hosts, but the cronjob runs as a
different user and doesn't have that.

On Sun, May 10, 2009 at 2:14 PM, Rick Phillips ri...@suntech.net.au wrote:

 Apologies for the HTML posting - it is necessary to get the command
 scripting to show more correctly.  All of the commands in the script are
 one liners.

 I have a situation I am trying to deal with via automation .i.e.cron.
 The story to be brief is this - my boss is paranoid about security.  A
 little time ago we ran an external server with an internal network
 connection controlled securely using iptables, very strong passwords and
 deny all except local ip addresses in hosts allow.  In fact this group
 reviewed my security last year.  There has never been a successful
 penetration but despite this, the boss demanded that I disconnect the
 server from the internal network so that it could only be accessed from
 outside.  We are only talking about web access here.  After an
 horrendous couple of months when everything slowed down to hell as our
 internal internet bandwidth is pretty much maxed out all of the time, he
 asked me to come up with a solution which allows the staff at home to
 access the server at night but during the working day, he wants absolute
 speed.  He still will not allow the internal connection however.  This
 server is on a separate dedicated internet connection BTW.

 We have a spare server so I have set this up on the internal network and
 have written some scripts which effectively shut down the internal
 network, connect to the external network and allow the external server
 to pull or push the data via the temporarily opened joint connection.
 It is a lot of work but it does work to a point.

 What is happening is that when I run the scripts via cron, the job does
 not complete properly i.e. the syncing is incomplete in both directions.
 When I invoke the scripts manually from the command line they do
 complete properly.  The minor scripts work properly via cron - these are
 the ones which change permissions and create and delete some files and
 open and close the ports.  The most crucial ones do not work properly
 and these are the pull/push scripts.  One of these is below.  The
 biggest sync job is the first one in the script which must transfer 11Gb
 data but when run via cron sends precisely 25Mb.  As said earlier, when
 run from the CLI it performs correctly.  It's as if the cron instance
 just races through the script and I can't understand why it should do
 this.  I have resorted to putting full paths into the script for the
 commands.  It is impractical (I think) to run this script as separate
 syncs as the completion time of the main one is hard to judge.  This
 needs to be foolproof in case I am not there to intervene.

 #!/bin/sh
 /bin/touch /var/www/moodledata/1/maintenance.html  ## Flag to make the
 site unavailable
 /bin/chown apache: /var/www/moodledata/1/maintenance.html  ## Just
 changes the permissions
 /usr/bin/expect -c 'spawn /usr/bin/rsync -vrux /var/www/moodledata/
 r...@192.168.0.20:/var/www/moodledata/ ; expect password ; send
 mypassword\n ; interact'  ## This one invariable does not complete
 /usr/bin/expect -c 'spawn /usr/bin/rsync -vrux /var/www/html/moodle/
 r...@192.168.0.20:/var/www/html/moodle/ ; expect password ; send
 mypassword ; interact'
 /usr/bin/expect -c 'spawn /usr/bin/rsync -vrux /var/lib/mysql/moodle/
 r...@192.168.0.20:/var/lib/mysql/moodle/ ; expect password ; send
 mypassword ; interact'

 The inside server allows a root connection and the cron job is run as
 root as is the CLI job.  The major sync jobs are run on the outside
 

Re: [SLUG] Scripting mystery

2009-05-10 Thread James Polley
On Sun, May 10, 2009 at 5:42 PM, Rick Phillips ri...@suntech.net.au wrote:

 James,

  Searching for works from command line but not via cron shows that
 you're
  not alone :)
  Usually, this stems from the fact that cron doesn't execute your various
  shell initialisation scripts - ~/.profile, ~/.bashrc, ~/.bash_profile,
  ~/.login, etc. A common problem is thus that $PATH isn't set (when the
  script runs under cron) to what you expect (based on what you see when
  you're running it by hand). However, all sorts of other things could be
  different: your ~/.bash_profile might set a non-standard umask; or set up
  some aliases that don't exist when the script runs under cron.
 
 Nothing non standard about my bash profile but on this system, both root
 and my own bash profiles are identical.


Sorry, my ramblings weren't very clear

The point is that cron doesn't load *anyone's* profile; it doesn't matter
what's in roots, it will never be looked at.

The usual problem is that even the standard profile includes path mappings
that the cronjob doesn't get; but you seem to have allowed for that by
explicitly defining paths.



  Changing the shebang line to #!/bin/sh -x will cause each line to be
  echoed; if you then change the cronjob to /var/log/cronlog or similar
  you should get some more information about what cron is actually running,
  and what the rsync commands are doing.
 

 I will add the logging.

  A random guesses, aside from the things I've mentioned above: the shebang
  line stipulates /bin/sh; I'd bet you're not using /bin/sh as your shell.
 On
  some systems /bin/sh is bash; on other systems it's something different -
  maybe sh, maybe dash, maybe bash-in-sh-compatibility-mode.
 
 I hoping that the shebang line is the problem although that does not
 explain why it runs on the CLI as root and not fully as root in cron.  I
 have changed it to bash but won't know until tomorrow morning if it is
 going to behave.

  Another random guess: if the cronjob runs as a user who doesn't have
  192.168.0.20 in their ~/.ssh/known_hosts file, ssh will ask questions
 about
  whether you really want to connect. It's possible that when you do it by
  hand you have a pre-populated ~/.ssh/known_hosts, but the cronjob runs as
 a
  different user and doesn't have that.
 
 No - that's not the issue.  192.168.0.20 is included in root's known
 hosts.

 Thanks for giving me some places to look.

 Rick

 --
 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] Re: chmod probs. - add. info

2009-04-10 Thread James Polley
On Fri, Apr 10, 2009 at 2:43 PM, Daniel Pittman dan...@rimspace.net wrote:
 Bernie Pannell bern...@gmail.com writes:

 try doing the 2 commands in the opposite order, setting everything to
 664,  then set the directories to 775, ie:

 chmod -R 664*
 chmod -R 775 *.

 Epic FAIL!

 The first command will remove the execute bit from every directory,
 causing you some incredible grief, and then the second command just
 won't work because you no longer have permissions to get at the
 contained files sensibly.

Homework:

mkdir A
touch A/B
touch A/C
chmod u-x A
ls -l A
rm A/B

marvel at the weird. Also, remember, because one day you'll see this
behaviour again, and having seen it before will save you from a very
baffling 30 minutes while you fight against the machine.


 It /could/ work if you did this:  chmod -R ug=rwX,o=rX *

 That uses the GNU chmod specific only set executable if this is a
 directory flag,

Close. Quoting from the man page:

execute/search only  if  the file is a directory or already has
execute permission for some user

Hrm. Only if the file is a directory could probably be worded better.

 which works more nicely, but probably isn't exactly the
 right answer in the long term.

 Regards,
        Daniel
 --
 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] Re: chmod probs. - add. info

2009-04-09 Thread James Polley
On Fri, Apr 10, 2009 at 12:32 PM, Kyle k...@attitia.com wrote:
 I should clarify;

 But then if I do a chmod -R 664 *.jpg (and
 repeat for all other extensions), for some reason the chmod doesn't work.

 it works in the directory I'm presently in, but doesn't recurse.

Yes. Daniel explained why: *.jpg expands to a list of all files whose
name ends with .jpg *in the current folder*. There are no directories
in that list, so chmod has nothing to recurse into.

Daniel provided some find fu which should do what you want (I haven't
tried it, just glanced over it).


 
 Kind Regards

 Kyle

 Kyle wrote:

 Hi Sluggers,

 I'm having a bit of grief with chmod and am hoping one of you gurus will
 set me straight pls.

 I have a bunch of directories with a bunch of files (pictures) in each. I
 want to set directories to 775 and files to 664.

 I can do a chmod -R 775 *. But then if I do a chmod -R 664 *.jpg (and
 repeat for all other extensions), for some reason the chmod doesn't work.

 the man page says; 'chmod -R ug=rwxX *' (if I understand it correctly)
 should change just the directories permissions for owner and group. (and I
 could do an o=rxX after). But that just works on everything as well.

 What am I missing?

 --
 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] Clients accessing web server

2009-03-25 Thread James Polley
On Wed, Mar 25, 2009 at 10:07 PM, Rick Phillips r...@greyheads.net wrote:
 I have a small mail and web server which is used by some paying
 customers and also some friends.  It currently is running Mandriva
 Server 3 which is getting old and I am in the throws of setting up a new
 server using Centos 5.2.

 Most of the web based stuff that I serve is based on Joomla but one
 customer has had a professional web designer create a new site for him
 which I have uploaded and all is working just fine.

 I have never allowed FTP, SFTP nor SSH access to the server for security

Recent versions of openssh (5.0 onwards at least, possibly some of the
later 4.x series too) allow you to set up per-user chrooting; have an
internal sftpd which can run in the chroot without you needing to do
anything to set up the chroot; and allow you to stipulate that user X
must run command Y

Taken together, this make it fairly easy to give a user (or a group of
users) SFTP access, with no possibility[1] of shell access; limited
only to their 'homedir' (which can actually be any directory you
specify, as long as they have the correct permissions -
/var/www/username would work just as well.

Searching the web for openssh internal chroot shows a few pages
talking about how to set this up:
http://www.debian-administration.org/articles/590 and
http://blogs.techrepublic.com.com/opensource/?p=229 are the top two
(for my search, anyway). Both are so brief as to look like summaries
rather than detailed walkthroughs, but that's just a function of how
little setup there is to do.

To lock it down further, you can lock down their access to only
certain IPs - via iptables, or via a Match block in sshd_config (or
ideally, both).

[1] no possibility - aside from, eg, bugs internal to openssh/sftpd
that allow the remote user to run arbitrary code, etc. Compared to
older ways of trying to force users to only have sftp capacity, this
is a godsend.

 reasons (other than myself) but this customer wants to directly edit his
 new web site from time to time.  I don't run C Panel (can't afford it)
 nor can I run ISPConfig which has some features missing such as mailing
 lists which a couple of clubs I host use.  I am looking for suggestions
 as to what members might think would be an easy but secure way for this
 customer to do what he wants to do - make changes to his web site
 directly on the server.

 I run name based virtual domains and I guess I could set all other
 folders which other customers use with chmod 700 and perhaps set up his
 folder as 750 and make his username part of the apache group.  I would
 then make his home area his web page folder but I am looking for a
 better way - if there is one.

 Would webdav be the ticket although I have never successfully set this
 up or is it just as easy for him to use an FTP client using SFTP to
 access his web root and make changes?

 Thanks,

 Rick

 --
 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] Re: [activities] SLUG Committee elections: progress so far

2009-03-10 Thread James Polley
On Sun, Mar 8, 2009 at 12:37 AM, Sridhar Dhanapalan
srid...@dhanapalan.com wrote:
 2009/3/8 James Polley s...@zhasper.com:
 You're missing Michael Chesterton, Nominated, second, and accepted as
 Ordinary Committee Member in the thread at
 http://lists.slug.org.au/archives/activities/2009/03/msg2.htm

 At least, I think he was - was there a procedural problem with any of that?

 No problem at all - that's my bad. I was looking at the list archives
 for February and forgot about March.

 While I'm here, I'll get a few other things accomplished:

 I'l second both Sridhar and Melissa for the positions of President and
 Secretary respectively.

I'd like to withdraw my seconding of Melissa. I cannot in good
conscience support a candidate for secretary who, even before being
elected, is trying to have members removed from the association on the
basis of (as far as I know) a single ambiguous action on IRC.

To be clear: I'm not saying that I feel that fanny-patting is
appropriate - for either meaning of fanny, regardless of whether it's
AFK or in IRC. I'm saying that I don't believe Melissa's response has
been proportionate. I appreciate the need for an inclusive, diverse
community, but I don't believe that knee-jerk exclusions (or even
vague threats thereof) advance this goal.


 Okay, since you twisted my arm I must accept :)

 Ken Wilson has never done anything less than a stellar job as
 Treasurer. I'd like to nominate him for the same role again, if he's
 willing to shoulder this burden yet again.

 Seconded!

 --
 Bring choice back to your computer.
 http://www.linux.org.au/linux

-- 
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: [activities] SLUG Committee elections: progress so far

2009-03-07 Thread James Polley
You're missing Michael Chesterton, Nominated, second, and accepted as
Ordinary Committee Member in the thread at
http://lists.slug.org.au/archives/activities/2009/03/msg2.htm

At least, I think he was - was there a procedural problem with any of that?

While I'm here, I'll get a few other things accomplished:

I'l second both Sridhar and Melissa for the positions of President and
Secretary respectively.

Ken Wilson has never done anything less than a stellar job as
Treasurer. I'd like to nominate him for the same role again, if he's
willing to shoulder this burden yet again.


On Sun, Mar 8, 2009 at 12:12 AM, Sridhar Dhanapalan
srid...@dhanapalan.com wrote:
 Hi everybody,

 It's been over a week since nominations were opened for the SLUG
 Committee elections.

 So far we only have one person accept their position. There have been
 two other nominations, but they have not been seconded and so cannot
 be accepted yet.

 Here are the statuses of the current nominations:

 Sridhar Dhanapalan for President
 http://lists.slug.org.au/archives/activities/2009/03/msg1.html
 Status: requires seconding

 Melissa Draper for Secretary
 http://lists.slug.org.au/archives/activities/2009/02/msg00021.html
 Status: requires seconding

 Tim Ansell for Ordinary Committee Member
 http://lists.slug.org.au/archives/activities/2009/02/msg00022.html
 Status: accepted

 We are still in need of candidates to fill all seven positions. The
 means to nominate a candidate is simple: simply send an e-mail to
 activit...@slug.org.au in the manner shown in the links above. We also
 welcome self-nominations.

 For more detail on the process, see these pages:

 http://wiki.slug.org.au/2009agm (2009 AGM info)
 http://wiki.slug.org.au/agm_guide (general guide to the AGM)
 http://slug.org.au/participation (includes a summary of Committee
 responsibilities)
 http://www.slug.org.au/node/112 (Web announcement)
 http://lists.slug.org.au/archives/announce/2009/03/msg1.html (mail
 announcement)

 If you still have questions, feel free to raise them on the Activities list.


 --
 Bring choice back to your computer.
 http://www.linux.org.au/linux
 --
 SLUG Activities
 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] Need a lesson in routing [WAS: memory]

2009-02-21 Thread James Polley
On Sat, Feb 21, 2009 at 2:22 PM, Martin Visser martinvisse...@gmail.com wrote:
 Kyle, a few things.

 Firstly you talk about 15Kbps. In my mind this reads as 15 thousand bits
 per second. This is slower than dialup speeds. (A little b is always bits
 *not* bytes, which is B in communication speek). Even if you meant 15 000
 bytes per second (which equate to 150 000 is slow). So I am not sure what
 you really mean here.


I discussed this with Kyle off-list, and we realised that he's missing
some zeros - his dsl modem actually reports 15,000Kbps

The rest of Martin's points stand :)
-- 
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] Need a lesson in routing [WAS: memory]

2009-02-20 Thread James Polley
On Sat, Feb 21, 2009 at 8:39 AM, Kyle k...@attitia.com wrote:
 It's all good. Keep the thoughts coming please.

 I actually use IMAP over SSL.

you can use openssl s_client in place of telnet to connect -
http://www.jaharmi.com/2007/09/26/using_openssl_securely_connect_your_imap_account
has a guide.

 But for good measure Telnetted (and
 Wiresharked) over both my SSL IMAP port and 25. Both responses come back
 PDQ. And Wireshark shows traffic moving from one host to the other and
 return. I'm pretty confident of my iptables setup as I have refined that
 over a period of years.

 Both NIC's in full-duplex (albeit negotiated down to 100Mbps for the switch
 behind the router.)

 Is there anything in sysctl.conf I can mess with other than the single;
 'net.ipv4.ip_forward = 1' param which will help?

 If I switch off ipv6, will that help?

 
 Kind Regards

 Kyle



 pe...@chubb.wattle.id.au wrote:

 So, connexions to the  (imap? smtp?) mail server time out.  Can you run
 wireshark on the server, and see what's happening?  Does the server
 have a correct route to the clients?

 If it's smtp, then try telnet from a client to the server (telnet
 192.168.1.1 25) on the inside of the firewall, while watching top on
 the firewall.  What does the load look like?  Does the telnet session
 time out?  During which part of the connexion?

 --
 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] Need a lesson in memory

2009-02-19 Thread James Polley
In short: that's normal, and shouldn't cause your machine to be slow -
unless it's starved of RAM, in which case the solution is to get more
RAM, not to cache less.

Here's some sample output from my machine right now:

poll...@andromeda:~$ free
 total   used   free sharedbuffers cached
Mem:   823512026884845546636  0 815620 697696
-/+ buffers/cache:11751687059952
Swap:  2097136  02097136

The values reported under buffers and cached represent files read
from or written to disk, which the kernel is cached in RAM in case
they're needed again soon. If you take the buffers and cached values
from the first row and subtract them from the used value (or add them
to the free value), you get the values on the second row, which are
(usually) the more important figures.

You haven't mentioned swap though - is your machine eating into swap?
My machine isn't - hence the 0 in the used column on the third row. If
your machine is chewing into swap, the slowness could be caused by the
machine having to constantly swap things in and out of RAM. There's a
slight chance you could fix this by tweaking the swappiness of your
kernel - but more likely, you'll swap one kind of slowdown
(applications swapping in/out) for another kind (commonly-used files
having to be read from disk every time, rather than being cached in
fast memory)

The classic example of this is a memory-limited desktop machine
running both GIMP and Firefox. Dumping buffers/cache means that both
Gimp and Firefox run sluggishly, but you can swap between apps at
will. Swapping out applications makes GIMP run faster while you're
using it - but causes the whole system to freeze for a second when you
swap to Firefox, and then freeze again when you swap back.

http://kerneltrap.org/node/3000 has a lengthy discussion about the
swappiness parameters (from the linux-kernel mailing list, back in
2004). In short, /proc/sys/vm/swappiness controls how much the kernel
swaps - 0 means the kernel will avoid swapping at all costs and dump
cached files instead; 100 means the kernel will swap out anything it
can in favour of lots of caching.

The best solution though is to get more RAM. It's cheap, and it makes
everything faster.

That is, assuming this is actually your problem

(if this email is incoherent, it's because my morning coffee has had
time to perk me up, but not enough time for me to actually be awake
yet)

On Fri, Feb 20, 2009 at 8:48 AM, Kyle k...@attitia.com wrote:

 Hi Slugger's

 It appears I need a lesson in Linux and memory management.

 If you could treat this request as if coming from a complete numpty please, 
 and simply explain the differences between Cached, Buffered and Application 
 Memory as they pertain to Linux?

 According to KDE SysGuard, my CentOS 5.2 server appears to cache its entire 
 2GB quotient of physical RAM. And my general experience of the box 
 (implemented as file server, mail server, firewall and router) is that it is 
 slow.

 Something tells me it shouldn't be behaving like this?
 --
 
 Kind Regards

 Kyle
 --
 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] Just sharing a gotcha with rsync that caused me big trouble ...extra

2008-12-16 Thread James Polley
On Tue, Dec 16, 2008 at 7:13 PM, R.G.Salisbury
rgsalisb...@exemail.com.au wrote:

 - Original Message - From: James Polley s...@zhasper.com
 To: R.G.Salisbury rgsalisb...@exemail.com.au
 Cc: slug@slug.org.au
 Sent: Tuesday, December 16, 2008 4:35 PM
 Subject: Re: [SLUG] Just sharing a gotcha with rsync that caused me big
 trouble ...extra


 There is nothing more worthy of contempt than a man who quotes himself
 - Zhasper, 2004

What was that idiot thinking, putting his sig at the top of the..

wait, that was me. never mind.




 On Sun, Dec 14, 2008 at 11:38 PM, R.G.Salisbury
 rgsalisb...@exemail.com.au wrote:

 Just sharing a gotcha with rsync  that caused me big trouble ...

 what's nasty about rsync ?..
 .. which may cause devastating consequences.

 rsync is in my opion the best thing since sliced bread... but be careful.



 CLI commands -- cp, rcp, scp, rsync, all have similarites
 BUT there are some nasty gotcha's when switching from one to another.

 You probably noticed some oddities , but had worked around it. (with the
 help of an error message)
 Without an error message you may had come to grief.

 Consider ..

 Scenario:
 For whatever reason -- you want to restore  the /etc  directory from  a
 local backup.
 Lets just use a simple example..

 cp  should handle this.
 rsync should also should handle this.

  But cp is your friend if you make an error ... rsync is not.

 OK   There is NO source or destinantion  directory ets  but you
 make a
 typo ets instead of etc

 cp will give you an error message whereas   rsync  will do what is
 not
 intended and you will be *unaware*

 So the following commands

 [r...@localhost ~]# cp  -a/backup/etc/*   /ets

 [r...@localhost ~]# rsync -a/backup/etc/*   /ets


 cp will error out telling you that the target  is not a directory

 if you use cp -ar /backup/etc /etc, cp, won't give you a warning.

 Thanks for reinforcing my point James
 cp -ar /backup/etc /etc

 will produce/etc/etc
  the data is in the wrong place   DISASTER again!

Disaster? Not really - I've just got a spare copy around now, which I
can easily remove with a quick rm -rf /etc/etc* - but wait, that
really could be a disaster.

It sounds like we're agreed: double-check your commandline; do a
dry-run if you can, get verbose output *and* pay attention to it, and
then make sure you check the results afterwards.

Oh, and always have a backup, because sooner or later you're going to
screw up anyway.




 whereas
 rsync  will SILENTLY create the dir (ets) and populate it.

 so add a -v and you'll see some output telling you created directory
 ets.

 This is not unusual. Most unix commands only bother you when there's a
 problem, and there was no problem here.

 Of course, you're going to ignore that output anyway, aren't you...

 So if you didn't check the result  disaster beckons.

 So check it.

 Note that the creation of directories occur without a trailing slash on
 the source.
 But in that instance directory created is the name of the  source
 directory.

 Note that blindly using *any* command, without paying attention,
 without understanding what you're doing, can lead to disaster. This is
 a PEBKAC, not a fault of the tool.



 I have found some other gotchas .. But do be aware of this (nasty)
 feature.
 Won't go into detail  but some are .

 No, please do!

 Like the deal with the trailing slash . which can cause issues ---
 (often put there by bashs tab completion).
 I like putting a * after a trailing slash as i find it more intuitive.
 Also  creating a new dir once -- but not twice..
 Blah..Blah

 Cheers
 Roger
 --
 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] Just sharing a gotcha with rsync that caused me big trouble ...extra

2008-12-15 Thread James Polley
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004



On Sun, Dec 14, 2008 at 11:38 PM, R.G.Salisbury
rgsalisb...@exemail.com.au wrote:
 Just sharing a gotcha with rsync  that caused me big trouble ...

 what's nasty about rsync ?..
 .. which may cause devastating consequences.

 rsync is in my opion the best thing since sliced bread... but be careful.



 CLI commands -- cp, rcp, scp, rsync, all have similarites
 BUT there are some nasty gotcha's when switching from one to another.

 You probably noticed some oddities , but had worked around it. (with the
 help of an error message)
 Without an error message you may had come to grief.

 Consider ..

 Scenario:
 For whatever reason -- you want to restore  the /etc  directory from  a
 local backup.
 Lets just use a simple example..

 cp  should handle this.
 rsync should also should handle this.

  But cp is your friend if you make an error ... rsync is not.

 OK   There is NO source or destinantion  directory ets  but you make a
 typo ets instead of etc

 cp will give you an error message whereas   rsync  will do what is not
 intended and you will be *unaware*

 So the following commands

 [r...@localhost ~]# cp  -a/backup/etc/*   /ets

 [r...@localhost ~]# rsync -a/backup/etc/*   /ets


 cp will error out telling you that the target  is not a directory

if you use cp -ar /backup/etc /etc, cp, won't give you a warning.

 whereas
 rsync  will SILENTLY create the dir (ets) and populate it.

so add a -v and you'll see some output telling you created directory ets.

This is not unusual. Most unix commands only bother you when there's a
problem, and there was no problem here.

Of course, you're going to ignore that output anyway, aren't you...

 So if you didn't check the result  disaster beckons.

So check it.

 Note that the creation of directories occur without a trailing slash on the 
 source.
 But in that instance directory created is the name of the  source directory.

Note that blindly using *any* command, without paying attention,
without understanding what you're doing, can lead to disaster. This is
a PEBKAC, not a fault of the tool.



 I have found some other gotchas .. But do be aware of this (nasty)
 feature.
 Won't go into detail  but some are .

No, please do!

 Like the deal with the trailing slash . which can cause issues ---
 (often put there by bashs tab completion).
 I like putting a * after a trailing slash as i find it more intuitive.
 Also  creating a new dir once -- but not twice..
 Blah..Blah

 Cheers
 Roger
 --
 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] Uptime logging

2008-11-07 Thread James Polley
Smokeping!

http://oss.oetiker.ch/smokeping-demo/?target=Customers.OP.johan

Rather more targetted than Nagios or Collectd, but might be all you're after.


On Fri, Nov 7, 2008 at 9:14 PM, Rick Phillips [EMAIL PROTECTED] wrote:
 Jeff Waugh wrote:
  Even better, install collectd and use its ping plugin -- now you can do the
  same thing, but with beautiful (and *SIMPLE*) graph output. :-)
 
 
 Or you could use Nagios and have the alert notification send a form
 letter to the person concerned every time it went down.(probably not a
 great idea!). But seriously, it also comes with handy availability
 graphs, so you quote uptime/downtime figures in percentage terms easily.
 on ubuntu, apt-get install nagios will monitor your default gateway with
 ping out of the box.


 Thanks guys for the suggestions.  I had forgotten about nagios and I
 have discovered two new options for me to use.  I have modified Peter's
 simple script to output a tidy continuous report and have already
 identified a near 30 minute outage this evening.  I will have a tinker
 with collectd and smokeping over the weekend.

 Thanks again,

 Rick

 --
 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] Distro for fast web browsing on old machine.

2008-11-04 Thread James Polley
It would be helpful to know more about what's causing the problems
with the distros you've tried. Is it a runaway processing chewing CPU?
Is it the browser itself chewing CPU? How is the RAM situation - is it
full (and consequently spending a lot of time swapping)? If it is -
how much is free before you start Firefox? How much is Firefox using?

A tool like sar will help a lot with this kind of analysis - but just
keeping a window open running top can give you a good idea as well.

On Wed, Nov 5, 2008 at 12:42 AM, Ben [EMAIL PROTECTED] wrote:
 Looking for a distro that does web browsing really well with the
 following specs (or a way to make Ubuntu behave).

 I have a Celeron ~1.6GHz machine, 512MiB RAM, 80GB HDD.

 Ubuntu 8.04 and now 8.10 both grind almost to a halt when Firefox is
 running. (I think 8.10 is actually worse). There is plenty of free
 memory - 200+
 Happens with one window open or with many. Other browsers are no
 better - tried Opera, same issues.

 CPU just hits 100% and just grinds away.

 Cheers,

 Ben
 --
 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] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread James Polley
apt-get remove $PACKAGENAME doesn't work for you?

On Wed, Jul 23, 2008 at 4:41 PM, Michael Lake [EMAIL PROTECTED] wrote:

 Hi all

 I have a Debian server and I wish to remove several dozen packages.
 How do I remove a package and it's dependencies?

 So far I'm doing this:

 cat list_to_remove | xargs dpkg -P

 where list_to_remove is like this:
  atlas3-base
  atlas3-base-dev
  blast2
  bioperl
  

 I end up with some packages not being removed as their are dependencies.
 I then manually purge them with dpkg -P some_package_dependency-1
 and again till I can remove that package.

 I'd like also to check the command that would be used with a --no-act or
 something so I can see if things would get removed that I dont want removed
 also.

 I also would like to remove all of Gnome and GDM similarly.

 Mike
 --
 Michael Lake
 Computational Research Centre of Expertise
 Science Faculty, UTS
 Ph: 9514 2238




 --
 UTS CRICOS Provider Code:  00099F
 DISCLAIMER: This email message and any accompanying attachments may contain
 confidential information.  If you are not the intended recipient, do not
 read, use, disseminate, distribute or copy this message or attachments.  If
 you have received this message in error, please notify the sender
 immediately
 and delete this message. Any views expressed in this message are those of
 the
 individual sender, except where the sender expressly, and with authority,
 states them to be the views of the University of Technology Sydney. Before
 opening any attachments, please check them for viruses and defects.

 Think. Green. Do.

 Please consider the environment before printing this email.
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread James Polley
On Wed, Jul 23, 2008 at 5:57 PM, Michael Lake [EMAIL PROTECTED] wrote:

 Jeff Waugh wrote:

 On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote:
 apt-get remove $PACKAGENAME doesn't work for you?

 The above won't remove a package if there are dependencies.

 Jeff and Ken said:

apt-get autoremove

 You can also do autoremove in place of remove, to do it all at once. :-)


 hat option is not listed in man dpkg or man apt-get.


It is on 50% of the (two) machines I tested - it's not on a dapper machine
but is on a hardy machine. I suspect you have something that's not hardy -
perhaps an older ubuntu, or one of the inf^H^H^Hother distributions?


 'apt-get autoremove test'
 Invalid operation autoremove

 I'm using dpkg as I can cat a list of files into it.


Okay, so you have a list of files which you want to process. dpkg is still
the wrong tool for the job...

while read PACKAGENAME
do
  apt-get remove  ${PACKAGENAME}
done  $FILENAME



 Mike

 --
 Michael Lake
 Computational Research Centre of Expertise
 Science Faculty, UTS
 Ph: 9514 2238




 --
 UTS CRICOS Provider Code:  00099F
 DISCLAIMER: This email message and any accompanying attachments may contain
 confidential information.  If you are not the intended recipient, do not
 read, use, disseminate, distribute or copy this message or attachments.  If
 you have received this message in error, please notify the sender
 immediately
 and delete this message. Any views expressed in this message are those of
 the
 individual sender, except where the sender expressly, and with authority,
 states them to be the views of the University of Technology Sydney. Before
 opening any attachments, please check them for viruses and defects.

 Think. Green. Do.

 Please consider the environment before printing this email.
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-07-23 Thread James Polley
On Wed, Jul 23, 2008 at 7:13 PM, Ken Foskey [EMAIL PROTECTED] wrote:

 On Wed, 2008-07-23 at 18:07 +1000, Peter Hardy wrote:

  Hey hey.
 
  On Wed, 2008-07-23 at 17:57 +1000, Michael Lake wrote:
   Jeff Waugh wrote:
On Wed, 2008-07-23 at 17:17 +1000, James Polley wrote:
apt-get remove $PACKAGENAME doesn't work for you?
   The above won't remove a package if there are dependencies.
 
  It should. What version of debian / apt do you have?
 
  To pick an example at random:
 
  [EMAIL PROTECTED]:~% sudo apt-get remove compiz-core


 sudo apt-get -y remove compiz-core

 Forces the yes - very dangerous!


Actually, that's only assume yes, and it's only mildly dangerous. As the
man page says, If an undesirable situation, such
   as changing a held package, trying to install a unauthenticated
package or removing an essential package occurs then apt-get
   will abort.

To force the yes, use --force-yes. Again quoting the man page, Using
force-yes can potentially destroy your system!.

Dammit. Am I being a pedant again?


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




-- 
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] 5 reasons to avoid iPhone 3G - Free Software Foundation

2008-07-11 Thread James Polley
That's the most fantastically rabid piece of rabid rabidness I've seen in at
least 15 minutes.
Please excuse me, I have to go clean my screen of the rabid spittle that so
coats the entire page it somehow leaked through to my monitor.

On Fri, Jul 11, 2008 at 5:58 PM, Adam Bogacki [EMAIL PROTECTED] wrote:

 Fyi,

 Adam Bogacki.

 http://www.fsf.org/blogs/community/5-reasons-to-avoid-iphone-3g/
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Spider a website

2008-06-02 Thread James Polley
wget-smubble-yew-get. Wget works great for getting a single file or a very
simple all-under-this-tree setup, but it can take forever.

Try httrack - http://www.httrack.com/. Ignore the pretty little screenshots,
the linux commandline version does the same job, just requires much
command-line-fu. It handles simple javascript links, is intelligent about
fetching requisites (images, css etc) from off-domain without trying to
cache the whole internet, is multi-threaded - and is actually designed
specifically for the purpose of making a static, offline copy of a website.

The user's guide at http://www.httrack.com/html/fcguide.html goes through
most common scenarios for you, and $DISTRO should be able to apt-get install
it for you. Urrr.. or whatever broken tool distros unfortunate enough not to
have apt-get use.

On Tue, Jun 3, 2008 at 2:20 PM, Peter Rundle [EMAIL PROTECTED]
wrote:

 I'm looking for some recommendations for a *simple* Linux based tool to
 spider a web site and pull the content back into plain html files, images,
 js, css etc.

 I have a site written in PHP which needs to be hosted temporarily on a
 server which is incapable (read only does static content). This is not a
 problem from a temp presentation point of view as the default values for
 each page will suffice. So I'm just looking for a tool which will quickly
 pull the real site (on my home php capable server) into a directory that I
 can zip and send to the internet addressable server.

 I know there's a lot of code out there, I'm asking for recommendations.

 TIA's

 Pete

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




-- 
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] multiple domain to one web site

2008-04-23 Thread James Polley
Google blogged about ways you can handle this from an SEO,
make-sure-searchers-find-the-best-version-of-the-page perspective at
http://googlewebmastercentral.blogspot.com/2006/12/deftly-dealing-with-duplicate-content.html
One of the tips is to register your domain with the webmaster console, then
log in and you can define which version you'd prefer to be canonical.

On Tue, Apr 22, 2008 at 4:19 PM, xorprime [EMAIL PROTECTED] wrote:

 If it is the same content, might as well do an alias.


 http://forums.devshed.com/search-engine-optimization-108/alias-for-better-seo-placement--question-355698.html

 There is no gain really for using multiple domains for the same content.
 You
 can use redirect as well if you will maintain just a single website

 On Tue, Apr 22, 2008 at 4:06 PM, Voytek Eymont [EMAIL PROTECTED] wrote:

  when setting a single web site with multiple domain names, like,
 name.com,
  name.com.au, name.net.au, is there any recommended way to run that, from
  search engine perspective ?
 
  I normally set 'alias' directive for each additional domain in Apache
  vhost conf, just curious if that the way, or is there a more appropriate
  setup ?
 
 
  --
  Voytek
 
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] uptime and multicore/multithreaded cpu's

2008-04-23 Thread James Polley
I was going to say something, but
http://www.teamquest.com/resources/gunther/display/5/index.htm says it much
better than I can, so I'll just go back to bed.

On Thu, Apr 24, 2008 at 6:38 AM, Dean Hamstead [EMAIL PROTECTED] wrote:

 multiple cores are seen as multiple cpus. so there is no difference.

 i dont know how threads are implemented in the cpu.

 a load average of 2.0 on a dual cpu (or dual core) system is a 100% load
 average. accroding to man.


 Dean

 Sonia Hamilton wrote:

  A question about uptime. My understanding of the load average figures is
  that a figure less than 2.0 on a 2 CPU machine means the CPUs don't have
  more work than they can keep up with (on average).
 
  How is this figure (1 per CPU) affected on multicore CPUs? What about
  multi-threaded CPU's?
 
   --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
There is nothing more worthy of contempt than a man who quotes himself -
Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Telstra Next G

2007-12-30 Thread James Polley
On Dec 30, 2007 10:04 PM, Peter Rundle [EMAIL PROTECTED] wrote:
 Sluggers,

 I've got a Telstra Next G card working under Linux Mint 4.0 (ubuntu
 gutsy) and I'm looking to tidy up (read de-geekafy) the steps needed to
 connect it.

 Firstly I need to load the usbserial.ko module which I do with;

   insmod
 /lib/modules/2.6.22-14-generic/kernel/drivers/usb/serial/usbserial.ko
 vendor=0x19d2 product=0x0001

 Where should this go under Ubuntu? I found /etc/modprobe.d but my first
 attempt to create a nextG file in there didn't work and I'm still
 loading the module by hand.

 Secondly, to connect I use Kppp to dial the connection. This works
 fine except that in order to set the default route to the PPP0 interface
 I need to be root. Thus I fire up kppp using sudo in a terminal
 window. This prompts for my password and works ok but I'm wanting to
 give this laptop to an ex-windows user who is used to connecting to Next
 G without having to enter their password in a terminal window. Ideas?


edit /etc/sudoers
create a line along the lines of:
username all=NOPASSWD: /bin/kppp

This will allow username to run the command /bin/kppp as root
without needing to enter a password.

You could then put the insmod and the kppp into a single script, which
would run without needing a password.

Discovering whether or not this is needed, whether or not it's a good
idea, and whether or not there are better ways to accomplish this are
left as exercises for the reader.
 Thanks



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




-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] restoring scren handling in terminal ?

2007-11-09 Thread James Polley

'man reset'



On Nov 9, 2007, at 3:47 PM, Voytek Eymont [EMAIL PROTECTED] wrote:


sometimes in an ssh session my 'screen handling' goes away, basically,
whatever I type doesn't show up on the screen anymore, and, hitting CR
keeps reprinting prompt on same line across the screen,

what's a way out of that ?



--
Voytek

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


--
SLUG - 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 router with Optus broadband cable

2007-09-26 Thread James Polley
The WRT54G does support WPA.

The WRT54GL (http://www.ht.com.au/N/0/keyword/wrt54gl/part/T6018/detail.hts)
will do everything you want, and also runs linux. If you feel like
getting your (virtual) hands dirty, there's a slew of distros for it -
http://openwrt.org, http://www.dd-wrt.com/, http://www.thibor.co.uk/,
etc. These can give you fantastic features, like being able to set up
a WDS, configuring multiple SSIDs, assigning all switch ports on
different vlans, etc. Also, because it's running nice stock linux
things, you  can do stuff you'd do on any other linux firewall, like
ssh in and twiddle iptables rules. Of course, you've only got 16Mb ram
to play with, and the CPU is only 200Mhz...

On 27/09/2007, Jesus Jr M Salvo [EMAIL PROTECTED] wrote:
 Hi,

 I have Optus cable at home, and have been simply plugging my laptop (
 a Compaq Presario V6107AU ) running Fedora7 to the cable modem (
 Motorola, forgot the exact model ) to get Internet access.

 Can anyone recommend a wireless router that I can use instead so that :
 1) The wireless router connects to the cable modem.
 2) The wireless router serves DHCP to wireless laptops.
 3) Supports VPN passthrough
 4) WEP / WPA-PSK / AES encyption
 5) Allows a USB 2.0 printer to be connected so that it is shared among
 laptops ( optional )

 ... and of course ... works with linux ?

 I have been looking at these:

 LinkSys WRT54GX:
 http://www.ht.com.au/N/-20+-43+-535/part/R8671/detail.hts

 LinkSys WRT54G:
 http://www.ht.com.au/N/-20+-43+-535/part/H9739/detail.hts

 The second one is cheaper, although it does not have WPA or AES.
 What do people here with Optus cable use ... and what's your feedback ?
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wireless router with Optus broadband cable

2007-09-26 Thread James Polley
Yes - as of hardware version 5 of the WRT54G, they switched to VXWorks
as an OS instead of linux. This enabled them to halve the amount of
memory needed, and thus make the unit cheaper.

However, they were sensible enough to know that most of the reason why
the original WRT54G was popular was the linux support, so at the same
time the rebadged the version 4 WRT54G as the WRT54GL and continued
selling that.

http://en.wikipedia.org/wiki/WRT54G#WRT54GL has some of the detail.

On 27/09/2007, Peter Hardy [EMAIL PROTECTED] wrote:
 What James said, with the addendum that my venerable old WRT54G also
 runs OpenWRT quite nicely. But it's gone through a few hardware
 revisions since I bought mine, and from memory the newer ones might have
 issues.

 It's probably worth checking the website before putting money in to it.

 --
 Pete

 On Thu, 2007-09-27 at 13:21 +1000, James Polley wrote:
  The WRT54G does support WPA.
 
  The WRT54GL (http://www.ht.com.au/N/0/keyword/wrt54gl/part/T6018/detail.hts)
  will do everything you want, and also runs linux. If you feel like
  getting your (virtual) hands dirty, there's a slew of distros for it -
  http://openwrt.org, http://www.dd-wrt.com/, http://www.thibor.co.uk/,
  etc. These can give you fantastic features, like being able to set up
  a WDS, configuring multiple SSIDs, assigning all switch ports on
  different vlans, etc. Also, because it's running nice stock linux
  things, you  can do stuff you'd do on any other linux firewall, like
  ssh in and twiddle iptables rules. Of course, you've only got 16Mb ram
  to play with, and the CPU is only 200Mhz...
 
  On 27/09/2007, Jesus Jr M Salvo [EMAIL PROTECTED] wrote:
   Hi,
  
   I have Optus cable at home, and have been simply plugging my laptop (
   a Compaq Presario V6107AU ) running Fedora7 to the cable modem (
   Motorola, forgot the exact model ) to get Internet access.
  
   Can anyone recommend a wireless router that I can use instead so that :
   1) The wireless router connects to the cable modem.
   2) The wireless router serves DHCP to wireless laptops.
   3) Supports VPN passthrough
   4) WEP / WPA-PSK / AES encyption
   5) Allows a USB 2.0 printer to be connected so that it is shared among
   laptops ( optional )
  
   ... and of course ... works with linux ?
  
   I have been looking at these:
  
   LinkSys WRT54GX:
   http://www.ht.com.au/N/-20+-43+-535/part/R8671/detail.hts
  
   LinkSys WRT54G:
   http://www.ht.com.au/N/-20+-43+-535/part/H9739/detail.hts
  
   The second one is cheaper, although it does not have WPA or AES.
   What do people here with Optus cable use ... and what's your feedback ?
   --
   SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
   Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
  
  
 
 
  --
  There is nothing more worthy of contempt than a man who quotes himself
  - Zhasper, 2004

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




-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] undocumented null cipher for ssh?

2007-09-20 Thread James Polley
If you're looking for quick sending of files and don't care about
encryption, netcat and some tar might do the trick for you -
http://compsoc.dur.ac.uk/~djw/tarpipe.html

On 20/09/2007, Scott Ragen [EMAIL PROTECTED] wrote:
 Jeremy Portzer [EMAIL PROTECTED] wrote on 20/09/2007 02:00:21 PM:

  Are you sure this is a standard option?  I've tried this in the past and

  never been able to make it work, and on my current system it just gives:
 
  $ ssh -c none localhost
  No valid ciphers for protocol version 2 given, using defaults.
 
  $ ssh -V
  OpenSSH_4.3p2 Debian-8ubuntu1, OpenSSL 0.9.8c 05 Sep 2006
 
  Maybe the null cipher is available if you use SSH protocol version 1,
  but I don't have any servers that support ssh v1 anymore.

 I should've done more investigations; openssh doesn't allow the cipher
 none (anymore), the proprietary ssh has the option.
 There are patches to enable cipher none in openssh if its really needed.

 Regards,

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




-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] re: Not good publicity for Linux, is it?

2007-07-19 Thread James Polley

Amazon's EC^2 might be a potential answer

On 20/07/07, Amos Shapira [EMAIL PROTECTED] wrote:

On 20/07/07, Rev Simon Rumble [EMAIL PROTECTED] wrote:

 Of course, a good idea with these sites would be to work out a method to
 stagger the traffic.  If you only anticipate ridiculous load in the
 first few days after launch, it's silly to build capacity to cope with
 that one-off demand.  Instead, have some kind of ticketing system for
 those days to manage the demand.


E.g. use services like Akamai for your static stuff? That way you can
probably rent their service during periods of overflow but save your money
when the capacity is not required.

Just wondering aloud, with hope to learn how feasible is this option.

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





--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Should I host my own domain?

2007-02-16 Thread James Polley

On 17/02/07, Jeff Waugh [EMAIL PROTECTED] wrote:

quote who=Howard Lowndes

  At $30 a month? I think not :)  It's no issue for EveryDNS (or a few
  others), and the dirty background hacky ways like using two DynDNS sets
  for name servers also works fine as the IP Doesn't change until you
  reconnect on most DSL services.  Situation seems fine to me.

 You're being ripped off.  A static IP costs me $5 per month.

$0 per year - comes standard with the plan! [1]

That said, hosting stuff on ADSL is *insane*. Get a Linode www.linode.com.


Or, for just a little more, get a real machine[1]  with a bunch of
IPs, lots of bandwidth, and much better performance than a VM.[2]

#1 reason not to host at home: every now and then you'll have someone
sending you lots of traffic for one reason or another (slashdotting,
misconfigured mailers, spammers trawling their dictionaries[3]; this
can choke your link, and given the sad state of australian bandwidth,
potentially cost you money.

[1] http://www.hetzner.de
[2] Latency to Germany is sometimes quite a feature as well.
[3] Hosting in germany == german spam, which makes a nice change.

--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Web calendaring software

2006-07-26 Thread James Polley
On 7/25/06, Mary Gardiner [EMAIL PROTECTED] wrote:
Anyone have any opinions about what the current market leader is in freesoftware web calendaring? I'd like to install a calendar on my ownsystem rather than, say, use the Google thing.Features desired:
 - all the usual calendaring stuff: all day events, repeated events on crazy schedules - ability to have more than one user each with their own calendar - ability to handle daylight savings time - ability to handle multiple time-zones without having to change a user
 or system wide setting, so that it's of some use when travellingI currently use WebCalendar (http://www.k5n.us/webcalendar.php) which isnot too bad until you get to timezones. It handles them very badly: you
change a user setting to switch between +10 and +11 GMT (ie the DSTsetting), and all your appointments move regardless of which side of theDST switch they fall on.-Mary
I used to use Kronolith, from the Horde project (http://www.horde.org/kronolith/). It was very good-looking, and very capable at the time (~3 years ago), so I imagine it's even better now. I can't comment on the timezone issues though..
However, Kronolith requires the Horde framework, which itself has a lot of PHP dependencies. If you're willing to do a lot of groundwork to get it in place (or use debian and know how to apt-get install kronolith[1]) it's worthwhile; but it's a lot of work. If you're looking for something simple, it's not for you.
[1] Actually, it's not that simple. Even after you install kronolith and it's dependencies, there's a fair bit [2] of editing of config files to point it at your database, configure the bits of horde to work together, etc.
[2] or there was last time I did this anyway, but that was threeish years ago. If this has changed, I'd love for someone to tell me - I've been wanting to set it up again but been deterred by the amount of time it would take..

-- 
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] Running squid on a laptop. Silly?

2006-07-22 Thread James Polley

I'll vouch for Switchproxy (https://addons.mozilla.org/firefox/125/)
as well. I use it to switch between three different proxies at work,
and none at home.. makes the change a two-click process, and is yet
another reason why I can't use that other browser.

I don't know how Squid would go at detecting upstream proxies. I'm
sure it would, eventually, but it would probably talk longer to figure
out what was going on than two clicks to change your proxy settings
would take...

As for saving sessions and using tabs - just grab Alpha 3 of firefox 2
and it's all built in :) You could grab the beta as well, but my
experience so far hasn't been great - it's crashing about twice a day.

Of course, built in session restoration means that crashing is a
pretty trivial event, but still...

--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Heads Up - troubles with time zones

2006-03-26 Thread James Polley
On 3/26/06, Del [EMAIL PROTECTED] wrote:

  It appears that a bunch of the pre-distributed timezone patch files that
  came from various places are incorrect for some reason.  For example,
  Microsoft distributed a special commonwealth games patch that doesn't
  appear to have fixed the problem on MS systems, so they are all an hour
  out as well.  So in addition to making the above copy or its equivalent

 Oh, and here's the good news:

 http://www.smh.com.au/news/technology/am-and-pm-not-ok-when-pcs-exit-aedt/2006/03/24/1143083999500.html


However, this one-off change has not been written in and will affect
 computer software that schedules meetings and appointments, such
 as Microsoft Windows, Office and Exchange Server.

Yep, this one has bitten us at work... a mass email went around to the
entire company last week advising us to please print out our calendar
for the next week prior to the weekend, as appointments will all be at
the wrong times next week. We've been asked to put the time in the
subject line of any new appointments we make next week to avoid
confusion...

Well done Microsoft!

(Del, I bet you're sad you missed this one ;)
--
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] looping problem

2006-03-05 Thread James Polley
On 3/6/06, Voytek Eymont [EMAIL PROTECTED] wrote:

 On Mon, March 6, 2006 12:34 pm, Martin wrote:
  $quoted_author = Voytek Eymont ;

 thanks, all

 how can I take care of strange file names that I might encounter, like,
 spaces, commas and stuff, I've tried  but it still barfs at times:

 -
 for i in `ls *.jpg` ; do convert -resize 100 $i ./thumbs/$i; done
 --
Read man bash (insert joke about Cronulla here)

 still expands a fair amount of special characters - you might get
more success with '' (that is, single quotes rather than double).

Your biggest problem in this case though is that the default $IFS
(input field seperator) is   - thus, when bash is looping through
the output of `ls *.jpg` the filename Mark, Mad and Oliver.jpg is
split into four tokens - Mark, Mad and and Oliver.jpg

Try this:

IFS=\
;for i in `ls *.jpg` ; do convert -resize 100 $i ./thumbs/$i; done

(yes, that newline after the \ is meant to be there)

(nb: this is guaranteed to be roughly on the right track, but I've not
tested it, and my recollection of the times I've had to do this
suggests that the actual commandline needed is slightly more complex
than that)



--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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: Comment from iinet

2006-02-27 Thread James Polley
On 2/28/06, Michael Fox [EMAIL PROTECTED] wrote:
 On 2/28/06, Craige McWhirter [EMAIL PROTECTED] wrote:
  That's unusual, in my experience (not with iinet) business rates are
  usually significantly cheaper than residential rates.

 Not from any ISP I have ever seen. Just look at the Internode Business
 plans compared to Home/Soho ones.


Nor from any that I've seen.. indeed, some of the most expensive ISPs
are those such as Techex (now part of Destra) that focus solely on the
business market.

The tradeoff for the extra price is generally a much better SLA,
faster response to service desk calls, etc..
--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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] DNS - Xen - Virtual server hosting

2006-02-13 Thread James Polley
On 2/14/06, Howard Lowndes [EMAIL PROTECTED] wrote:
 I know about BIND views, in fact I use them, but I don't think they will
 work here.

 What I need is for lannet.com.au, thisdomain.tld and thatdomain.tld to
 all resolve to the same public w.x.y.z externally, but be DNAT'd to
 different private 192.168.y.z addresses internally.


Application-layer proxies are the only way I know of to achieve this.

DNAT works at the transport layer; at that layer, the only addressing
information you have is the source/destination IPs and
source/destination ports.

The information which you need to use to distinguish between the
internal hosts is a few layers up - in SMTP to: headers or HTTP
host: headers.

Unfortunately, you're not going to get any of this data until, at the
very earliest, the first packet after the TCP three-way handshake;
there's no possible way to perform the DNAT earlier than that because
you don't know what the internal destination is going to be.

The only way to achieve what you're looking for (that I can think of
anyway - I'd be thrilled to be proven wrong) is with an application
layer proxy. This could be as simple as a linux machine which sites
facing the internet and runs apache with mod_proxy (or squid; or any
of a dozen other solutions) for HTTP proxying, $MTA_OF_CHOICE for
proxying mail, etc. At the other end of the scale, 'hardware'
load-balancers will do the proxying for you with much less overhead
(at least in terms of network overhead/latency - not neccessarily in
terms of $$$ overhead)

The only other thing I can think of is to assign certain ranges of
ports to certain machines: eg, ports 10001-12000 on the external
interface map to 1-2000 on 192.168.25.1, 12001-14000 map to ports
1-2000 on 192.168.25.2, etc. This gets ugly though, so I'm not going
to talk about it further...

--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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] Your top-ten linux desktop apps

2005-09-28 Thread James Polley
On 9/28/05, Mike MacCana [EMAIL PROTECTED] wrote:
 On Wed, 2005-09-28 at 11:17 +1000, David wrote:

  mutt for speed
  squirrelmail for pictures, html, pdf, other gui crap, etc.

 You might be interested in roundcube. OSS webmail like Squirrelmail,
 except it doesn't look like arse.

 http://www.roundcube.net/

 Mike

I use Mutt and squirrelmail too; strangely, aesthetical considerations
are low on my list of priorities. Given that David uses mutt, I
suspect they're similarly low on his list of priorities.. so looking
like arse doesn't give a damn as long as it's stable and does what
is needed.

Roundcube does look kinda purty.. but it's in alpha, and it uses
everyone's favorite toy database for some inexplicable reason. Why
does a webmail client need to use a database? If it really must, why
doesn't it use a real database?

Might suit your needs/wants... I'll stick with Squirrelmail for now
--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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: dynamic vs static type checking

2005-09-27 Thread James Polley
On 9/27/05, QuantumG [EMAIL PROTECTED] wrote:

 Speaking of static analysis.  I managed to get an evaluation version of
 this software:

 http://www.eschertech.com/products/

 It works by changing the level of representation at which you write
 software.  Instead of writing imperative programs you write declarative
 specifications.  The problem is it's:

Sounds like Prolog on steroids...
--
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

2005-09-27 Thread James Polley
On 9/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 That will get him a Ubuntu system, not a Debian system.
 As much as Ubuntu is based on Debian, you are limited to Ubuntu's
 world and can't practically install packages from Debian.

Not true.

Ubuntu by default has a (disabled) repository called Universe which
contains all the packages in the standard debian tree..

cf http://www.linuxquestions.org/questions/archive/63/2005/03/3/302854
for instructions on how to enable universe from the commandline, or

In Synaptic, click Settings on the Menu and select Repositories.
Enable universe,  Click OK and Synaptic will refresh (paraphrased
from a comment on
http://weblogs.mozillazine.org/djst/archives/007449.html)

--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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-18 Thread James Polley
The original firmware *is* linux. The router gives you a (slightly)
pretty web interface, but underneath it's using standard linux
components -eg, the firewalling is done with iptables.

I've not used openwrt, so I can't comment on that. I have used the
SVEAsoft firmware, although only for my home router. I'm very happy
with that.. and you don't lose anything, because SVEAsoft start from
the Linksys firmware and expand upon it.

On 9/19/05, Gottfried Szing [EMAIL PROTECTED] wrote:
 hi,
 
 i am currently looking for a wifi router that will replace current linux
 box (it died this week after a long life full of work - RIP). but i dont
 want to replace the box with a new linux box because the new hardware i
 will get in shops will be an absolute overkill.
 
 i am looking for router which can act like linux as a full-featured
 router (sharing via wifi/lan, dhcp-server, dns-server, firewall,
 wep/wap, nat, ...) .
 
 last time i have read an article about openwrt and i would like to have
 a router that is supported by this project. but the list of supported
 hardware is overwhelming. i have seen a lot of people using the linksys
 WRT54G.
 
 could someone share some experiences with this piece or with openwrt? is
 it really that easy to use the linksys with openwrt and are there any
 tradeoffs using linux instead of the original firmware?
 
 thanks, gottfried
 
 
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 


-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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] apache2 rewriting

2005-09-05 Thread James Polley
justfuckinggoogleit.com/search?q=mediawiki+short+url

Click on the first hit, describes how to do exactly what you're looking for :)

On 9/6/05, Richard Heycock [EMAIL PROTECTED] wrote:
 I've got a copy of mediawiki running in apache2 at /wiki. What I want to
 do is to set up a virtualhost called wiki and lose the /wiki eg
 
 http://thor/wiki -- http://wiki
 
 Can anyone tell me how to do this? I've tried using mod_rewrite but I
 I've been going round in circles (literally) trying to fix this.
 
 thanks
 
 rgh
 
 --
 Wickedness is a myth invented by good people to account for the
 curious attractiveness of others -- Oscar Wilde
 
 Richard Heycock [EMAIL PROTECTED]
 key fingerprint : 909D CBFA C669 AC2F A937 AFA4 661B 9D21 EAAB 4291
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
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] htaccess and mod_rewrite, url redirection

2005-08-31 Thread James Polley
Check http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html for the
official apache docs

You'll need a couple of RewriteRules, one in the eastafricans.org
vhost declaration and another in the tandv.ws vhost; the latter will
need a RewriteCond to make sure that it doesn't match the /iringa path



On 9/1/05, Nick Croft [EMAIL PROTECTED] wrote:
 Good morning.
 
 I wonder if you can help. I have two domain names, one for personal pages,
 and the other for work -- both pointing to the same machine.
 
 I'd like to set it up so that using one url will go to one directory and the
 same for the other url, i.e
 
 http://eastafricans.org -- http://tandv.ws/iringa/
 and
 http://tandv.ws -- http://tandv.ws/themeandvariations.com/
 
 I tried modifying the .htaccess in the /var/www directory, thusly
 
 RewriteEngine on
 http://eastafricans.org  http://tandv.ws/iringa/
 http://tandv.ws  http://tandv.ws/themeandvariations.com/
 
 I've enable mod_rewrite and restarted apache2.
 
 No effect, so I wonder if I need to add something to 
 /etc/apache2/apache2.conf.
 
 Clues? I'm sure there are many here who do this sort of thing on a daily 
 basis.
 I believe there's a mod_alias but I can't see it in 
 /etc/apache2/mods-available.
 
 Nick
 
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


-- 
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


  1   2   >