Re: [SLUG] patch your bash shells now

2014-09-26 Thread Chris Barnes
Menno I believe that is the old test, not entirely accurate.

This one is supposed to be more accurate.

rm -f echo; env X='() { (a)=\' bash -c echo date; cat echo


If you're safe it should return:
date
cat: echo: No such file or directory

I'm no BASH expert so I'm not too sure how the two tests differ in terms of
effectively detecting the vulnerability.



On Fri, Sep 26, 2014 at 3:53 PM, Menno Schaaf amano.gi...@gmail.com wrote:

 At a command prompt:

 # env x='() { :;}; echo vulnerable' bash -c echo this is a test

  vulnerable
  this is a test


 After updating the result should be:

 # env x='() { :;}; echo vulnerable' bash -c echo this is a test

  bash: warning: x: ignoring function definition attempt
  bash: error importing function definition for `x'
  this is a test


 On 26 September 2014 15:47, David da...@kenpro.com.au wrote:

  How to know I have the secure version?
 
 
  root@debian-wheezy:~# bash --version
  GNU bash, version 4.2.37(1)-release (x86_64-pc-linux-gnu)
 
  root@ubuntu-12.04:~# bash --version
  GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
 
  both upgraded for the second time today, just before sending this email.
 
 
 
 
 
 
  On 26/09/14 14:03, Jonathan Molyneux wrote:
 
  Hey SLUG,
 
  I'm sure everyone's aware of this issue.
  But just for the people that may have missed the fan fair yesterday:
  http://it.slashdot.org/story/14/09/25/236256/first-
  shellshock-botnet-attacking-akamai-us-dod-networks
 
  If your running debian, they re-released a patch this morning (a
 complete
  fix now).
  If you think you are not affected, YOU ARE AFFECTED, patch all your
  systems (this has so many vectors).
 
  Regards
  Jonathan
 
 
  --
  David McQuire
  0418 310312
 
 
  --
  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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Help to force install in CentOs (TOR in China)

2014-09-26 Thread Chris Barnes
Hi Robert,

I'm not really familiar with installing Tor. What distro are you using?

And whats the problem you having installing Tor? Is it that the package
cant be downloaded from the pre-configured repository sources because the
Great Wall is blocking the download? or that permissions on the VPS wont
allow you to install the package?


On Fri, Sep 26, 2014 at 3:42 PM, I beatthebasta...@inbox.com wrote:

 Hej,

 On a VPS which appears to be truly in Beijing I can't get it to download
 TOR (not surprising).

 Does anyone have an idea of how to get Tor going on it or to use it for
 evading the Great Firewall?

 Robert


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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BASH update for Debian 6?

2014-09-26 Thread Chris Barnes
thanks for the tip Mark,

I had considered trying to install the BASH update for Wheezy on my Squeeze
machines but the thought of getting the dependencies met seemed daunting.

I tried your commands but as suspected, ran into dependency issues -
Multiarch-support needs libc6 = 2.13-5, updating libc6 requires a newer
locales, and on it goes.

The default shell on my systems is /bin/dash and /etc/passwd shows all
accounts except mine and root have /bin/sh (dash) as their shell. So it
might just be easier to change the shell for my account and roots account,
and then uninstall BASH.


On Fri, Sep 26, 2014 at 2:52 PM, Mark Anthony Delfin m...@delfin.me wrote:

 For some of my debian 6 test boxes I did

 wget
 http://security.debian.org/debian-security/pool/updates/main/e/eglibc/multiarch-support_2.13-38+deb7u4_amd64.deb
 wget
 http://ftp.us.debian.org/debian/pool/main/n/ncurses/libtinfo5_5.9-10_amd64.deb
 wget
 http://security.debian.org/debian-security/pool/updates/main/b/bash/bash_4.2+dfsg-0.1+deb7u3_amd64.deb
 dpkg -i multiarch-support_2.13-38+deb7u4_amd64.deb
 dpkg -i libtinfo5_5.9-10_amd64.deb
 dpkg -i bash_4.2+dfsg-0.1+deb7u3_amd64.deb

 On Fri, Sep 26, 2014 at 10:36 AM, Chris Barnes chris.p.bar...@gmail.com
 wrote:

 I'm keen to hear your idea Amos.

 On Fri, Sep 26, 2014 at 10:32 AM, Amos Shapira amos.shap...@gmail.com
 wrote:

  General question to everyone reading this - I have an idea for a service
  to provide tracking of such info (end of life, software life cycle)
  automatically.
 
  If anyone is curios to hear more, discuss or anything else, I'd be very
  happy to hear from you.
 
  Thanks.
 
  --Amos
 
  On 26 September 2014 10:28, Chris Barnes chris.p.bar...@gmail.com
 wrote:
 
  ahh thats the info i was looking for. Thanks Amos. You're right,
 upgrade
  is overdue.
 
  On Fri, Sep 26, 2014 at 10:23 AM, Amos Shapira amos.shap...@gmail.com
 
  wrote:
 
  According to https://wiki.debian.org/DebianSqueeze, regular security
  updates for squeeze were ended on May 31st 2014.
 
  LTS security updates are supposed to be released until 2016. LTS
  support is NOT provided by Debian security team. See the LTS
 announcement
  in https://www.debian.org/News/2014/20140424.html
 
  My take - upgrade is overdue.
 
  --Amos
 
  On 26 September 2014 08:56, Chris Barnes chris.p.bar...@gmail.com
  wrote:
 
  Hey people,
 
  I haven't seen an update for BASH come down in the Debian Squeeze
  security
  updates. As a result my machines are still vulnerable.
 
  My Debian 7 machines received the update promptly just not my 6
  machines.
 
  Has anyone else received an update for BASH on Deb 6?
 
  Im using the security.Debian.org apt source for security updates.
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 
 
  --
  http://au.linkedin.com/in/gliderflyer
 
 
 
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
 
 
 
 
  --
  http://au.linkedin.com/in/gliderflyer
 



 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html





-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BASH update for Debian 6?

2014-09-26 Thread Chris Barnes
Yep, it appears theres a number of things that depend on BASH so
uninstalling isnt an option in my case.

On Fri, Sep 26, 2014 at 5:45 PM, David da...@kenpro.com.au wrote:


 On 26/09/14 17:38, Chris Barnes wrote:

 thanks for the tip Mark,

 I had considered trying to install the BASH update for Wheezy on my
 Squeeze
 machines but the thought of getting the dependencies met seemed daunting.

 I tried your commands but as suspected, ran into dependency issues -
 Multiarch-support needs libc6 = 2.13-5, updating libc6 requires a newer
 locales, and on it goes.

 The default shell on my systems is /bin/dash and /etc/passwd shows all
 accounts except mine and root have /bin/sh (dash) as their shell. So it
 might just be easier to change the shell for my account and roots account,
 and then uninstall BASH.


 I thought about doing this too, but what if scripts have

 #!/bin/bash

 Probably they shouldn't, but that doesn't mean they don't.




 On Fri, Sep 26, 2014 at 2:52 PM, Mark Anthony Delfin m...@delfin.me
 wrote:

  For some of my debian 6 test boxes I did

 wget
 http://security.debian.org/debian-security/pool/updates/
 main/e/eglibc/multiarch-support_2.13-38+deb7u4_amd64.deb
 wget
 http://ftp.us.debian.org/debian/pool/main/n/ncurses/
 libtinfo5_5.9-10_amd64.deb
 wget
 http://security.debian.org/debian-security/pool/updates/
 main/b/bash/bash_4.2+dfsg-0.1+deb7u3_amd64.deb
 dpkg -i multiarch-support_2.13-38+deb7u4_amd64.deb
 dpkg -i libtinfo5_5.9-10_amd64.deb
 dpkg -i bash_4.2+dfsg-0.1+deb7u3_amd64.deb

 On Fri, Sep 26, 2014 at 10:36 AM, Chris Barnes chris.p.bar...@gmail.com
 
 wrote:

  I'm keen to hear your idea Amos.

 On Fri, Sep 26, 2014 at 10:32 AM, Amos Shapira amos.shap...@gmail.com
 wrote:

  General question to everyone reading this - I have an idea for a
 service
 to provide tracking of such info (end of life, software life cycle)
 automatically.

 If anyone is curios to hear more, discuss or anything else, I'd be very
 happy to hear from you.

 Thanks.

 --Amos

 On 26 September 2014 10:28, Chris Barnes chris.p.bar...@gmail.com

 wrote:

 ahh thats the info i was looking for. Thanks Amos. You're right,

 upgrade

 is overdue.

 On Fri, Sep 26, 2014 at 10:23 AM, Amos Shapira 
 amos.shap...@gmail.com
 wrote:

  According to https://wiki.debian.org/DebianSqueeze, regular security
 updates for squeeze were ended on May 31st 2014.

 LTS security updates are supposed to be released until 2016. LTS
 support is NOT provided by Debian security team. See the LTS

 announcement

 in https://www.debian.org/News/2014/20140424.html

 My take - upgrade is overdue.

 --Amos

 On 26 September 2014 08:56, Chris Barnes chris.p.bar...@gmail.com
 wrote:

  Hey people,

 I haven't seen an update for BASH come down in the Debian Squeeze
 security
 updates. As a result my machines are still vulnerable.

 My Debian 7 machines received the update promptly just not my 6
 machines.

 Has anyone else received an update for BASH on Deb 6?

 Im using the security.Debian.org apt source for security updates.

 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/
 mailinglists.html



 --
 http://au.linkedin.com/in/gliderflyer



 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com



 --
 http://au.linkedin.com/in/gliderflyer



 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




 --
 David McQuire
 0418 310312


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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BASH update for Debian 6?

2014-09-26 Thread Chris Barnes
Perfect Patrick.

I didn't even realise the squeeze-lts repo existed so I've added another
line to my apt.sources to pull that repo from my existing mirror.

vulnerability patched!

On Fri, Sep 26, 2014 at 6:09 PM, Patrick Shirkey pshir...@boosthardware.com
 wrote:


 On Fri, September 26, 2014 6:06 pm, Chris Barnes wrote:
  Yep, it appears theres a number of things that depend on BASH so
  uninstalling isnt an option in my case.
 


 http://www.linuxquestions.org/questions/showthread.php?p=5244106#post5244106

 Works for me.



  On Fri, Sep 26, 2014 at 5:45 PM, David da...@kenpro.com.au wrote:
 
 
  On 26/09/14 17:38, Chris Barnes wrote:
 
  thanks for the tip Mark,
 
  I had considered trying to install the BASH update for Wheezy on my
  Squeeze
  machines but the thought of getting the dependencies met seemed
  daunting.
 
  I tried your commands but as suspected, ran into dependency issues -
  Multiarch-support needs libc6 = 2.13-5, updating libc6 requires a
  newer
  locales, and on it goes.
 
  The default shell on my systems is /bin/dash and /etc/passwd shows all
  accounts except mine and root have /bin/sh (dash) as their shell. So it
  might just be easier to change the shell for my account and roots
  account,
  and then uninstall BASH.
 
 
  I thought about doing this too, but what if scripts have
 
  #!/bin/bash
 
  Probably they shouldn't, but that doesn't mean they don't.
 
 
 
 
  On Fri, Sep 26, 2014 at 2:52 PM, Mark Anthony Delfin m...@delfin.me
  wrote:
 
   For some of my debian 6 test boxes I did
 
  wget
  http://security.debian.org/debian-security/pool/updates/
  main/e/eglibc/multiarch-support_2.13-38+deb7u4_amd64.deb
  wget
  http://ftp.us.debian.org/debian/pool/main/n/ncurses/
  libtinfo5_5.9-10_amd64.deb
  wget
  http://security.debian.org/debian-security/pool/updates/
  main/b/bash/bash_4.2+dfsg-0.1+deb7u3_amd64.deb
  dpkg -i multiarch-support_2.13-38+deb7u4_amd64.deb
  dpkg -i libtinfo5_5.9-10_amd64.deb
  dpkg -i bash_4.2+dfsg-0.1+deb7u3_amd64.deb
 
  On Fri, Sep 26, 2014 at 10:36 AM, Chris Barnes
  chris.p.bar...@gmail.com
  
  wrote:
 
   I'm keen to hear your idea Amos.
 
  On Fri, Sep 26, 2014 at 10:32 AM, Amos Shapira
  amos.shap...@gmail.com
  wrote:
 
   General question to everyone reading this - I have an idea for a
  service
  to provide tracking of such info (end of life, software life cycle)
  automatically.
 
  If anyone is curios to hear more, discuss or anything else, I'd be
  very
  happy to hear from you.
 
  Thanks.
 
  --Amos
 
  On 26 September 2014 10:28, Chris Barnes chris.p.bar...@gmail.com
 
  wrote:
 
  ahh thats the info i was looking for. Thanks Amos. You're right,
 
  upgrade
 
  is overdue.
 
  On Fri, Sep 26, 2014 at 10:23 AM, Amos Shapira 
  amos.shap...@gmail.com
  wrote:
 
   According to https://wiki.debian.org/DebianSqueeze, regular
  security
  updates for squeeze were ended on May 31st 2014.
 
  LTS security updates are supposed to be released until 2016. LTS
  support is NOT provided by Debian security team. See the LTS
 
  announcement
 
  in https://www.debian.org/News/2014/20140424.html
 
  My take - upgrade is overdue.
 
  --Amos
 
  On 26 September 2014 08:56, Chris Barnes
  chris.p.bar...@gmail.com
  wrote:
 
   Hey people,
 
  I haven't seen an update for BASH come down in the Debian Squeeze
  security
  updates. As a result my machines are still vulnerable.
 
  My Debian 7 machines received the update promptly just not my 6
  machines.
 
  Has anyone else received an update for BASH on Deb 6?
 
  Im using the security.Debian.org apt source for security
 updates.
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
  --
  SLUG - Sydney Linux User's Group Mailing List -
  http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/
  mailinglists.html
 
 
 
  --
  http://au.linkedin.com/in/gliderflyer
 
 
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
 
 
 
  --
  http://au.linkedin.com/in/gliderflyer
 
 
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 
 
  --
  David McQuire
  0418 310312
 
 
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.com
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au

Re: [SLUG] BASH update for Debian 6?

2014-09-26 Thread Chris Barnes
edit: sources.list, not apt.sources

On Fri, Sep 26, 2014 at 7:29 PM, Chris Barnes chris.p.bar...@gmail.com
wrote:

 Perfect Patrick.

 I didn't even realise the squeeze-lts repo existed so I've added another
 line to my apt.sources to pull that repo from my existing mirror.

 vulnerability patched!

 On Fri, Sep 26, 2014 at 6:09 PM, Patrick Shirkey 
 pshir...@boosthardware.com wrote:


 On Fri, September 26, 2014 6:06 pm, Chris Barnes wrote:
  Yep, it appears theres a number of things that depend on BASH so
  uninstalling isnt an option in my case.
 


 http://www.linuxquestions.org/questions/showthread.php?p=5244106#post5244106

 Works for me.



  On Fri, Sep 26, 2014 at 5:45 PM, David da...@kenpro.com.au wrote:
 
 
  On 26/09/14 17:38, Chris Barnes wrote:
 
  thanks for the tip Mark,
 
  I had considered trying to install the BASH update for Wheezy on my
  Squeeze
  machines but the thought of getting the dependencies met seemed
  daunting.
 
  I tried your commands but as suspected, ran into dependency issues -
  Multiarch-support needs libc6 = 2.13-5, updating libc6 requires a
  newer
  locales, and on it goes.
 
  The default shell on my systems is /bin/dash and /etc/passwd shows all
  accounts except mine and root have /bin/sh (dash) as their shell. So
 it
  might just be easier to change the shell for my account and roots
  account,
  and then uninstall BASH.
 
 
  I thought about doing this too, but what if scripts have
 
  #!/bin/bash
 
  Probably they shouldn't, but that doesn't mean they don't.
 
 
 
 
  On Fri, Sep 26, 2014 at 2:52 PM, Mark Anthony Delfin m...@delfin.me
  wrote:
 
   For some of my debian 6 test boxes I did
 
  wget
  http://security.debian.org/debian-security/pool/updates/
  main/e/eglibc/multiarch-support_2.13-38+deb7u4_amd64.deb
  wget
  http://ftp.us.debian.org/debian/pool/main/n/ncurses/
  libtinfo5_5.9-10_amd64.deb
  wget
  http://security.debian.org/debian-security/pool/updates/
  main/b/bash/bash_4.2+dfsg-0.1+deb7u3_amd64.deb
  dpkg -i multiarch-support_2.13-38+deb7u4_amd64.deb
  dpkg -i libtinfo5_5.9-10_amd64.deb
  dpkg -i bash_4.2+dfsg-0.1+deb7u3_amd64.deb
 
  On Fri, Sep 26, 2014 at 10:36 AM, Chris Barnes
  chris.p.bar...@gmail.com
  
  wrote:
 
   I'm keen to hear your idea Amos.
 
  On Fri, Sep 26, 2014 at 10:32 AM, Amos Shapira
  amos.shap...@gmail.com
  wrote:
 
   General question to everyone reading this - I have an idea for a
  service
  to provide tracking of such info (end of life, software life cycle)
  automatically.
 
  If anyone is curios to hear more, discuss or anything else, I'd be
  very
  happy to hear from you.
 
  Thanks.
 
  --Amos
 
  On 26 September 2014 10:28, Chris Barnes chris.p.bar...@gmail.com
 
 
  wrote:
 
  ahh thats the info i was looking for. Thanks Amos. You're right,
 
  upgrade
 
  is overdue.
 
  On Fri, Sep 26, 2014 at 10:23 AM, Amos Shapira 
  amos.shap...@gmail.com
  wrote:
 
   According to https://wiki.debian.org/DebianSqueeze, regular
  security
  updates for squeeze were ended on May 31st 2014.
 
  LTS security updates are supposed to be released until 2016.
 LTS
  support is NOT provided by Debian security team. See the LTS
 
  announcement
 
  in https://www.debian.org/News/2014/20140424.html
 
  My take - upgrade is overdue.
 
  --Amos
 
  On 26 September 2014 08:56, Chris Barnes
  chris.p.bar...@gmail.com
  wrote:
 
   Hey people,
 
  I haven't seen an update for BASH come down in the Debian
 Squeeze
  security
  updates. As a result my machines are still vulnerable.
 
  My Debian 7 machines received the update promptly just not my 6
  machines.
 
  Has anyone else received an update for BASH on Deb 6?
 
  Im using the security.Debian.org apt source for security
 updates.
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
  --
  SLUG - Sydney Linux User's Group Mailing List -
  http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/
  mailinglists.html
 
 
 
  --
  http://au.linkedin.com/in/gliderflyer
 
 
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
 
 
 
  --
  http://au.linkedin.com/in/gliderflyer
 
 
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs:
 http://slug.org.au/faq/mailinglists.html
 
 
 
 
  --
  David McQuire
  0418 310312
 
 
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 
 
  --
  Kind Regards,
 
  Christopher Barnes
 
  e. chris.p.bar...@gmail.com
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


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




 --
 Kind

[SLUG] BASH update for Debian 6?

2014-09-25 Thread Chris Barnes
Hey people,

I haven't seen an update for BASH come down in the Debian Squeeze security
updates. As a result my machines are still vulnerable.

My Debian 7 machines received the update promptly just not my 6 machines.

Has anyone else received an update for BASH on Deb 6?

Im using the security.Debian.org apt source for security updates.

-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BASH update for Debian 6?

2014-09-25 Thread Chris Barnes
ahh thats the info i was looking for. Thanks Amos. You're right, upgrade is
overdue.

On Fri, Sep 26, 2014 at 10:23 AM, Amos Shapira amos.shap...@gmail.com
wrote:

 According to https://wiki.debian.org/DebianSqueeze, regular security
 updates for squeeze were ended on May 31st 2014.

 LTS security updates are supposed to be released until 2016. LTS support
 is NOT provided by Debian security team. See the LTS announcement in
 https://www.debian.org/News/2014/20140424.html

 My take - upgrade is overdue.

 --Amos

 On 26 September 2014 08:56, Chris Barnes chris.p.bar...@gmail.com wrote:

 Hey people,

 I haven't seen an update for BASH come down in the Debian Squeeze security
 updates. As a result my machines are still vulnerable.

 My Debian 7 machines received the update promptly just not my 6 machines.

 Has anyone else received an update for BASH on Deb 6?

 Im using the security.Debian.org apt source for security updates.

 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




 --
 http://au.linkedin.com/in/gliderflyer




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BASH update for Debian 6?

2014-09-25 Thread Chris Barnes
I'm keen to hear your idea Amos.

On Fri, Sep 26, 2014 at 10:32 AM, Amos Shapira amos.shap...@gmail.com
wrote:

 General question to everyone reading this - I have an idea for a service
 to provide tracking of such info (end of life, software life cycle)
 automatically.

 If anyone is curios to hear more, discuss or anything else, I'd be very
 happy to hear from you.

 Thanks.

 --Amos

 On 26 September 2014 10:28, Chris Barnes chris.p.bar...@gmail.com wrote:

 ahh thats the info i was looking for. Thanks Amos. You're right, upgrade
 is overdue.

 On Fri, Sep 26, 2014 at 10:23 AM, Amos Shapira amos.shap...@gmail.com
 wrote:

 According to https://wiki.debian.org/DebianSqueeze, regular security
 updates for squeeze were ended on May 31st 2014.

 LTS security updates are supposed to be released until 2016. LTS
 support is NOT provided by Debian security team. See the LTS announcement
 in https://www.debian.org/News/2014/20140424.html

 My take - upgrade is overdue.

 --Amos

 On 26 September 2014 08:56, Chris Barnes chris.p.bar...@gmail.com
 wrote:

 Hey people,

 I haven't seen an update for BASH come down in the Debian Squeeze
 security
 updates. As a result my machines are still vulnerable.

 My Debian 7 machines received the update promptly just not my 6
 machines.

 Has anyone else received an update for BASH on Deb 6?

 Im using the security.Debian.org apt source for security updates.

 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




 --
 http://au.linkedin.com/in/gliderflyer




 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com




 --
 http://au.linkedin.com/in/gliderflyer




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BIND9 zone question

2014-08-14 Thread Chris Barnes
Awesome thanks for the tip with dnsmasq.

-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.com
On 14/08/2014 6:51 PM, Michael Chesterton che...@chesterton.id.au wrote:

 On 14/08/14 09:44, Chris Barnes wrote:
  Hi Christopher,
 
  So that works perfectly for Netflix because any part of that service that
  cares about Geolocation is in the Netflix domain.
 
  Hulu on the other hand, has services that are outside of the Hulu domain
  that take issue with my location - a248.e.akamai.net.
 
 
  you might be wondering why i dont just use a VPN?
 
  Well I dont want to tunnel all streaming traffic accross it and Netflix
  doesnt require all connections to be from the U.S. Only when you browse
 the
  Netflix catalog and when you chose a show/movie to watch does the service
  check location, after that the web browser, Apple TV, other media device
 is
  redirected to a CDN to stream the content. and that CDN doesnt care
 where I
  am from. So I get better throughput by not tunnelling the video stream.
 
 
  Now a hosts file would fix this problem very nicely.but Apple TV
 doesnt
  have a hosts that is accessible and thats where I do most my streaming
 from.
 
  Interestingly, I can watch Hulu on my PC with my current setup with zero
  problems. Its when I try on the Apple TV that it talks to
 a248.e.akamai.net
  and throws an error that I'm outside the U.S.
 

 I believe dnsmasq lets you change host addresses of single hosts in
 a large domain with a 1 line entry, not a bind solution, but it's really
 easy to do with dnsmasq, i have no idea how to do it with bind.

 dnsmasq has this functionality for things like blocking ads, but you
 can use it for any purpose

 # Add domains which you want to force to an IP address here.
 # The example below send any host in double-click.net to a local
 # web-server.
 #address=/double-click.net/127.0.0.1

 # --address (and --server) work with IPv6 addresses too.
 #address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83

 # Add the IPs of all queries to yahoo.com, google.com, and their
 # subdomains to the vpn and search ipsets:
 #ipset=/yahoo.com/google.com/vpn,search


 --
 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] BIND9 zone question

2014-08-14 Thread Chris Barnes
Yep, except Apple TV, Roku, and other Netflix  Hulu enabled devices don't
usually have a Hosts file you can change. So DNS or Dnsmasq is really the
only option for this scenario.

-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.com
On 14/08/2014 10:34 PM, Christopher Vance cjsva...@gmail.com wrote:

 For a individual target hosts, i.e. not a whole domain, if you're the one
 doing the lookup, you could also use /etc/hosts.


 On Thu, Aug 14, 2014 at 9:03 PM, Chris Barnes chris.p.bar...@gmail.com
 wrote:

 Awesome thanks for the tip with dnsmasq.

 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 On 14/08/2014 6:51 PM, Michael Chesterton che...@chesterton.id.au
 wrote:

  On 14/08/14 09:44, Chris Barnes wrote:
   Hi Christopher,
  
   So that works perfectly for Netflix because any part of that service
 that
   cares about Geolocation is in the Netflix domain.
  
   Hulu on the other hand, has services that are outside of the Hulu
 domain
   that take issue with my location - a248.e.akamai.net.
  
  
   you might be wondering why i dont just use a VPN?
  
   Well I dont want to tunnel all streaming traffic accross it and
 Netflix
   doesnt require all connections to be from the U.S. Only when you
 browse
  the
   Netflix catalog and when you chose a show/movie to watch does the
 service
   check location, after that the web browser, Apple TV, other media
 device
  is
   redirected to a CDN to stream the content. and that CDN doesnt care
  where I
   am from. So I get better throughput by not tunnelling the video
 stream.
  
  
   Now a hosts file would fix this problem very nicely.but Apple TV
  doesnt
   have a hosts that is accessible and thats where I do most my streaming
  from.
  
   Interestingly, I can watch Hulu on my PC with my current setup with
 zero
   problems. Its when I try on the Apple TV that it talks to
  a248.e.akamai.net
   and throws an error that I'm outside the U.S.
  
 
  I believe dnsmasq lets you change host addresses of single hosts in
  a large domain with a 1 line entry, not a bind solution, but it's really
  easy to do with dnsmasq, i have no idea how to do it with bind.
 
  dnsmasq has this functionality for things like blocking ads, but you
  can use it for any purpose
 
  # Add domains which you want to force to an IP address here.
  # The example below send any host in double-click.net to a local
  # web-server.
  #address=/double-click.net/127.0.0.1
 
  # --address (and --server) work with IPv6 addresses too.
  #address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83
 
  # Add the IPs of all queries to yahoo.com, google.com, and their
  # subdomains to the vpn and search ipsets:
  #ipset=/yahoo.com/google.com/vpn,search
 
 
  --
  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




 --
 Christopher Vance

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


[SLUG] BIND9 zone question

2014-08-13 Thread Chris Barnes
Hey people,

Got a bit of a tricky question, well it seems tricky to me.

I want to use bind to resolve a single host address for a very large zone I
don't own.

The background is that I'm trying to circumvent georestrictions on TV
streaming site.

I've determined that the host on the internet that has an issue with my
location is a248.e.akamai.net

Now, I don't want to hijack the whole akamai.net domain on my internal DNS
because I would be forever adding new DNS records.

I tried creating a new master zone named a248.e.akamai.net and setting an A
record for the root but it seemed the DNS server was ignoring it and
forwarding the request to upstream resolvers, resulting in the real IP
being returned...which is not what I want, I want it to return my chosen IP
address.

Does anyone know of a way I can hijack this one host address while leaving
the rest of the domain untouched?

-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BIND9 zone question

2014-08-13 Thread Chris Barnes
Hi Christopher,

You're right that this Akamai hostdoesnt like my location, and you're right
that Bind and DNS *alone* arent going to resolve that.

But the bigger part of my fix that I havent revealed is that I change the
ip address of hosts to point to loop-back addresses on a server in the US,
which then does a TCP redirect to the original host, and this lets me
bypass georestrictions quite nicely.

For example:

My computer requests secure.netflix.com
My internal DNS says that host is at 192.168.1.20
My computer opens a TCP connection (port 80 or 443) to 192.168.1.20
The daemon listening on 192.168.1.20 on my server in the U.S then
redirects/rewrites the connection to the hoist secure.netflix.com

Theres no proxying involved because the requests are often over SSL and so
my machine in the middle breaks the SSL security. Its simply a TCP port
redirect.

So that works perfectly for Netflix because any part of that service that
cares about Geolocation is in the Netflix domain.

Hulu on the other hand, has services that are outside of the Hulu domain
that take issue with my location - a248.e.akamai.net.


you might be wondering why i dont just use a VPN?

Well I dont want to tunnel all streaming traffic accross it and Netflix
doesnt require all connections to be from the U.S. Only when you browse the
Netflix catalog and when you chose a show/movie to watch does the service
check location, after that the web browser, Apple TV, other media device is
redirected to a CDN to stream the content. and that CDN doesnt care where I
am from. So I get better throughput by not tunnelling the video stream.


Now a hosts file would fix this problem very nicely.but Apple TV doesnt
have a hosts that is accessible and thats where I do most my streaming from.

Interestingly, I can watch Hulu on my PC with my current setup with zero
problems. Its when I try on the Apple TV that it talks to a248.e.akamai.net
and throws an error that I'm outside the U.S.




On Thu, Aug 14, 2014 at 9:27 AM, Christopher Vance cjsva...@gmail.com
wrote:

 From what you've written, it sounds to me as if the issue is where the
 Akamai host thinks you are. If so, then DNS and bind are totally uninvolved.

 Geo-location is normally done using IP addresses. You can change your IP
 address by using a proxy, in which case Akamai will understand you to be
 where the proxy is. Depending on the level of Akamai's pickiness, you might
 want configure the proxy not to report who or where it's asking on behalf
 of.


 On Thu, Aug 14, 2014 at 8:46 AM, Chris Barnes chris.p.bar...@gmail.com
 wrote:

 Hey people,

 Got a bit of a tricky question, well it seems tricky to me.

 I want to use bind to resolve a single host address for a very large zone
 I
 don't own.

 The background is that I'm trying to circumvent georestrictions on TV
 streaming site.

 I've determined that the host on the internet that has an issue with my
 location is a248.e.akamai.net

 Now, I don't want to hijack the whole akamai.net domain on my internal
 DNS
 because I would be forever adding new DNS records.

 I tried creating a new master zone named a248.e.akamai.net and setting
 an A
 record for the root but it seemed the DNS server was ignoring it and
 forwarding the request to upstream resolvers, resulting in the real IP
 being returned...which is not what I want, I want it to return my chosen
 IP
 address.

 Does anyone know of a way I can hijack this one host address while leaving
 the rest of the domain untouched?

 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




 --
 Christopher Vance




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] BIND9 zone question

2014-08-13 Thread Chris Barnes
Correct, The Netflix servers are seeing my requests come from my server in
the US. Thats the whole point of having the server in the U.S. And it works
very well for getting access to Netflix.

Netflix and Hulu both use Akamai, although Netflix appears to use other
CDNs as well. The difference is that the software Netflix uses to serve up
the video stream doesnt check location, it only checks that the viewer
holds a valid license to view the stream, whereas Huhu's service seems
check my location at every request.

Proxy vs port forwarding does make a difference. for proxying to work the
proxy would need to inspect the request. But since the request is encrypted
the proxy would need to decrypt, inspect, and then re-encrypt, which causes
a Man-In-The-Middle. While PCs dont care about this in so far as the user
can chose to ignore certificate warnings, other devices like Apple TV, the
Netflix app on Android, etc wont let you ignore bad certificates. So
proxying wont work. TCP redirect where theres no need to inspect the inner
data stream is the only option.

The point of fiddling the DNS is that I can redirect requests for various
Netflix and Hulu hosts to my own server in the US and have my server in the
US redirect the request to the correct Netflix or Hulu host.

so for example:

www.netflix.com points to 192.168.1.10
secure.netflix.com points to 192.168.1.20
movies.netflix.com points to 192.168.1.21
etc



On Thu, Aug 14, 2014 at 10:05 AM, Christopher Vance cjsva...@gmail.com
wrote:

 So you have your own server in the US. I would suggest Netflix is seeing
 that server's public IP address in the US as the origin of requests, which
 means you get Netflix's approval to download. I don't think the proxy vs
 port forwarding thing makes a difference.

 The apparent difference between Hulu's CDN (Akamai) and Netflix's CDN (I
 dunno) is that Akamai also checks your location while Netflix's CDN doesn't.

 As I said, Akamai will most likely be doing geoip on your IP address,
 which you can only change if you go through your US server. Again, proxy vs
 port forwarding shouldn't make a difference, unless Akamai is also checking
 X-Forwarded-For.

 DNS fiddles won't change the apparent location of any machine.


 On Thu, Aug 14, 2014 at 9:44 AM, Chris Barnes chris.p.bar...@gmail.com
 wrote:

 Hi Christopher,

 You're right that this Akamai hostdoesnt like my location, and you're
 right that Bind and DNS *alone* arent going to resolve that.

 But the bigger part of my fix that I havent revealed is that I change
 the ip address of hosts to point to loop-back addresses on a server in the
 US, which then does a TCP redirect to the original host, and this lets me
 bypass georestrictions quite nicely.

 For example:

 My computer requests secure.netflix.com
 My internal DNS says that host is at 192.168.1.20
 My computer opens a TCP connection (port 80 or 443) to 192.168.1.20
 The daemon listening on 192.168.1.20 on my server in the U.S then
 redirects/rewrites the connection to the hoist secure.netflix.com

 Theres no proxying involved because the requests are often over SSL and
 so my machine in the middle breaks the SSL security. Its simply a TCP port
 redirect.

 So that works perfectly for Netflix because any part of that service that
 cares about Geolocation is in the Netflix domain.

 Hulu on the other hand, has services that are outside of the Hulu domain
 that take issue with my location - a248.e.akamai.net.


 you might be wondering why i dont just use a VPN?

 Well I dont want to tunnel all streaming traffic accross it and Netflix
 doesnt require all connections to be from the U.S. Only when you browse the
 Netflix catalog and when you chose a show/movie to watch does the service
 check location, after that the web browser, Apple TV, other media device is
 redirected to a CDN to stream the content. and that CDN doesnt care where I
 am from. So I get better throughput by not tunnelling the video stream.


 Now a hosts file would fix this problem very nicely.but Apple TV
 doesnt have a hosts that is accessible and thats where I do most my
 streaming from.

 Interestingly, I can watch Hulu on my PC with my current setup with zero
 problems. Its when I try on the Apple TV that it talks to
 a248.e.akamai.net and throws an error that I'm outside the U.S.




 On Thu, Aug 14, 2014 at 9:27 AM, Christopher Vance cjsva...@gmail.com
 wrote:

 From what you've written, it sounds to me as if the issue is where the
 Akamai host thinks you are. If so, then DNS and bind are totally uninvolved.

 Geo-location is normally done using IP addresses. You can change your IP
 address by using a proxy, in which case Akamai will understand you to be
 where the proxy is. Depending on the level of Akamai's pickiness, you might
 want configure the proxy not to report who or where it's asking on behalf
 of.


 On Thu, Aug 14, 2014 at 8:46 AM, Chris Barnes chris.p.bar...@gmail.com
 wrote:

 Hey people,

 Got a bit of a tricky question

Re: [SLUG] BIND9 zone question

2014-08-13 Thread Chris Barnes
Ok turns out the problem was just a typo I had overlooked NUMEROUS times. I
had been watching /var/log/bind.log which hadnt reported any problems. It
wasnt until I took at look at /var/log/syslog that I saw the problem.

 localhost named[19832]: zone a248.e.akamai.net/IN: loading from master
file /var/lib/bin/a248.e.akamai.net.hosts failed: file not found

zone a248.e.akamai.net {
type master;
file */var/lib/bin/*a248.e.akamai.net.hosts;
};


the path should of course be */var/lib/bind* not /var/lib/bin

so I can now resolve a248.3.akamai.net to my local server and all other dns
requests for the akamai.net domain are sent to the forwarder to resolve.



On Thu, Aug 14, 2014 at 10:32 AM, Chris Barnes chris.p.bar...@gmail.com
wrote:

 Correct, The Netflix servers are seeing my requests come from my server in
 the US. Thats the whole point of having the server in the U.S. And it works
 very well for getting access to Netflix.

 Netflix and Hulu both use Akamai, although Netflix appears to use other
 CDNs as well. The difference is that the software Netflix uses to serve up
 the video stream doesnt check location, it only checks that the viewer
 holds a valid license to view the stream, whereas Huhu's service seems
 check my location at every request.

 Proxy vs port forwarding does make a difference. for proxying to work the
 proxy would need to inspect the request. But since the request is encrypted
 the proxy would need to decrypt, inspect, and then re-encrypt, which causes
 a Man-In-The-Middle. While PCs dont care about this in so far as the user
 can chose to ignore certificate warnings, other devices like Apple TV, the
 Netflix app on Android, etc wont let you ignore bad certificates. So
 proxying wont work. TCP redirect where theres no need to inspect the inner
 data stream is the only option.

 The point of fiddling the DNS is that I can redirect requests for various
 Netflix and Hulu hosts to my own server in the US and have my server in the
 US redirect the request to the correct Netflix or Hulu host.

 so for example:

 www.netflix.com points to 192.168.1.10
 secure.netflix.com points to 192.168.1.20
 movies.netflix.com points to 192.168.1.21
 etc



 On Thu, Aug 14, 2014 at 10:05 AM, Christopher Vance cjsva...@gmail.com
 wrote:

 So you have your own server in the US. I would suggest Netflix is seeing
 that server's public IP address in the US as the origin of requests, which
 means you get Netflix's approval to download. I don't think the proxy vs
 port forwarding thing makes a difference.

 The apparent difference between Hulu's CDN (Akamai) and Netflix's CDN (I
 dunno) is that Akamai also checks your location while Netflix's CDN doesn't.

 As I said, Akamai will most likely be doing geoip on your IP address,
 which you can only change if you go through your US server. Again, proxy vs
 port forwarding shouldn't make a difference, unless Akamai is also checking
 X-Forwarded-For.

 DNS fiddles won't change the apparent location of any machine.


 On Thu, Aug 14, 2014 at 9:44 AM, Chris Barnes chris.p.bar...@gmail.com
 wrote:

 Hi Christopher,

 You're right that this Akamai hostdoesnt like my location, and you're
 right that Bind and DNS *alone* arent going to resolve that.

 But the bigger part of my fix that I havent revealed is that I change
 the ip address of hosts to point to loop-back addresses on a server in the
 US, which then does a TCP redirect to the original host, and this lets me
 bypass georestrictions quite nicely.

 For example:

 My computer requests secure.netflix.com
 My internal DNS says that host is at 192.168.1.20
 My computer opens a TCP connection (port 80 or 443) to 192.168.1.20
 The daemon listening on 192.168.1.20 on my server in the U.S then
 redirects/rewrites the connection to the hoist secure.netflix.com

 Theres no proxying involved because the requests are often over SSL and
 so my machine in the middle breaks the SSL security. Its simply a TCP port
 redirect.

 So that works perfectly for Netflix because any part of that service
 that cares about Geolocation is in the Netflix domain.

 Hulu on the other hand, has services that are outside of the Hulu domain
 that take issue with my location - a248.e.akamai.net.


 you might be wondering why i dont just use a VPN?

 Well I dont want to tunnel all streaming traffic accross it and Netflix
 doesnt require all connections to be from the U.S. Only when you browse the
 Netflix catalog and when you chose a show/movie to watch does the service
 check location, after that the web browser, Apple TV, other media device is
 redirected to a CDN to stream the content. and that CDN doesnt care where I
 am from. So I get better throughput by not tunnelling the video stream.


 Now a hosts file would fix this problem very nicely.but Apple TV
 doesnt have a hosts that is accessible and thats where I do most my
 streaming from.

 Interestingly, I can watch Hulu on my PC with my current setup with zero
 problems

Re: [SLUG] Free computer/network/VoIP gear

2014-06-03 Thread Chris Barnes
Hi John,

If you still have the Grandstream phones I'd be interested in those.


On Tue, Jun 3, 2014 at 7:35 PM, John Clarke johnc+s...@kirriwa.net wrote:

 Hi Sluggers,

 I'm doing a clean out and have a few items that might still be useful to
 someone else.  Everything is free (pick up from Lindfield or the city) and
 is fully functional unless otherwise noted:

 1 x Linksys SR2024 24-port rackmount 10/100/1000 switch
 1 x HP 2510-24 J9019B 24-port rackmount 10/100 switch
 2 x Alloy POEFEM24T2SFP 24-port rackmount 10/100 PoE switches
 1 x Linksys SRW208MP 8-port 10/100 PoE switch - no power supply, needs
 48VDC
 (max 150W if supplying full power to all ports)
 2 x Skymaster 8-port 10/100 switches
 4 x Grandstream GXP2000 IP phones with PoE, one with faulty PoE circuit
 (but
 works fine with 5VDC input)
 1 x 400mm deep rack shelf
 1 x Philips 17 1280 x 1024 LCD monitor with speakers, two port USB hub,
 DVI
 and VGA inputs
 1 x 56k modem
 a few USB keyboards and mice

 The HP and Alloy 10/100 switches also have two gigabit uplink ports.

 Let me know if you want any of these items.  Anything not claimed by the
 end
 of next week goes to the e-waste recyclers.


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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Filesystem help for a non-expert

2014-04-22 Thread Chris Barnes
Hi Grant,

Are you talking about the EXT filesystem?

Also, when you say your previous attempt at unmounting the disks caused the
system to fail. Do you mean it simply crashed, or do you mean there was a
catastrophic loss of data?

And what kinds of troubles have you been having with the two disks and the
RAID?


On Wed, Apr 23, 2014 at 3:11 PM, Grant Bailey 
grant_malcolm_bai...@westnet.com.au wrote:

 Hello,

 Is anyone able to recommend some resources (online or print) that might
 help me understand the Linux filesystem a bit better. I have been through
 about six books so far and it is still a mystery to me.

 I've been having trouble with at least two of the hard drives in my server
 and there seems to be further trouble with the RAID system that is in
 place. I'd like to be able to run some diagnostic checks and if possible,
 repair the problematic disks but I'm worried that unmounting the disks will
 cause the whole system to fail (my previous attempts ended that way).

 Thank you,

 Grant Bailey




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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] I can't be the only one.

2014-02-25 Thread Chris Barnes
Its a shame the device was stolen before the phone locator app was
installed/activated.

Samsung Galaxy S phones have a find my phone feature built in thats
automatically enabled when you set your phone up (if you chose to enable
that feature).

For all others - http://preyproject.com/



On Wed, Feb 26, 2014 at 4:49 PM, David da...@kenpro.com.au wrote:

 smartphone = android?

 have a look at airdroid... it is supposed to do exactly this. Not only,
 but also take a photo of the person as they try to unlock the phone, and
 then you log in remotely from any browser and download the photo, and after
 that you can remotely delete everything from the phone for privacy.

 it then gives you a massage and sends a sympathy card and a get well soon
 and makes a nice cup of tea.

 I'm not aware of any such thing for fruit phones.

 I haven't tried all these functions, but it seems like a nice app for the
 things I have used it for, namely accessing files via USB or wifi or
 internet.

 David



 On 26/02/14 16:38, William Bennett wrote:

 I've just had my smartphone stolen.

 I asked a friend to dial the number: I can hear it ringing.

 Asked the police forensic expert - can it be triangulated? Yes, but
 (always
 there's a but). In the cities, where the uprights are in high
 concentration, triangulation can be accurate to within a couple of metres.
 In the country (where I live), with the uprights widely spaced, accuracy
 goes out to a couple of kilometres.

 So I got to thinking. Isn't there an app, which, when installed on the
 phone, enables you to contact the phone (ie., it must merely be on), send
 a
 password/code (whether the phone is answered/not): the phone then takes a
 GPS reading and transmits it to the caller?

 Or have I been reading too many sci-fi novels?

 Any help etc.

 Somewhat disgustedly,

 William Bennett.


 --
 David McQuire
 0418 310312


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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] A couple of electronics projects

2013-09-12 Thread Chris Barnes
I sometimes go to a meeting of hobby electronics enthusiasts in the City.
they meet once a month.

Its called The PIC Club but its not exclusive to people using Microchip's
PIC MCU, people take their Arduino's and ARM based MCUs, and even the odd
Parallax Propeller as well.


http://www.sesame.com.au/picclub/



On Fri, Sep 13, 2013 at 10:15 AM, miloska milo...@gmail.com wrote:

 You can get help if you want to do it yourself at http://robodino.org/

 Saturday is the safest bet to show up at the place and the mailing list is
 open in 24/7.

 I guess you can also find freelancer folks on the mailing list if you just
 want to have it done.

 Also if you give some more details I may have some idea how doable it is.



 On Fri, Sep 13, 2013 at 9:52 AM, Felix Sheldon dark...@internode.on.net
 wrote:

 
  Hi Ben,
 
  I'm in Newcastle, but I can probably offer some advice.
 
  What sort of things do you want to do?
 
 
  --
  Felix
 
 
 
 
  On 13/09/13 08:01, Ben Donohue wrote:
   Hi all,
  
   I've got some ideas on a couple of projects but I need the help of
   someone who knows how to design electronics circuits.
  
   Also could involve an Arduino or Raspberry Pi as the brains behind
 it...
   don't know as yet... early stages.
  
   Anyway, anybody out there in Sydney able to help / point me in the
 right
   direction / recommended sites / whatever?
  
   I'm in Ashbury, Inner West.
  
   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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] TCP/IP over I2C

2013-06-02 Thread Chris Barnes
Token ring would work.

Now, i wonder if anyone has already implemented token ring over i2c under
linux.
 On 02/06/13 10:01, Chris Barnes wrote:
 come to think of it. the whole master/slave process of I2C would probably
 make it terribly difficult to implement tcp/ip since each device would
have
 to be able to switch from slave to master to be able to send broadcasts
 like arp requests, netbios name requests, etc. Otherwise the slaves can
 only send data in response to a request from the master.

On the other hand, a token ring based approach may work here. You would
have one “master” that continually polls every I2C “slave” asking
whether it has any packets to send (and also delivering any packets
addressed thus).

Not an unfamiliar nor unsolved problem we’re talking about here.

--
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] TCP/IP over I2C

2013-06-02 Thread Chris Barnes
Wow thanks for that Glen.

Stacks of useful info. Given me a bit more to think about.

I wasnt intending to run the PIs too far apart. At the moment i have them
in cases but i was hoping to throw them into an enclosure like a blade
system (minus the hot-swapability) or like the Pi clusters you see where
they are mounted close together, and I was hoping to daisy chain the gpio
headers but if additional logic components are going to be needed then my
approach might not work so well.

might do some looking into REST over CoAP and see where that takes me.


Thanks again!



On Mon, Jun 3, 2013 at 10:26 AM, Glen Turner g...@gdt.id.au wrote:


 On 02/06/2013, at 9:31 AM, Chris Barnes wrote:

  yeah.
 
  come to think of it. the whole master/slave process of I2C would probably
  make it terribly difficult to implement tcp/ip since each device would
 have
  to be able to switch from slave to master to be able to send broadcasts
  like arp requests, netbios name requests, etc. Otherwise the slaves can
  only send data in response to a request from the master.

 I2C slave support depends on the particular I2C driver. It isn't very
 common and won't be in a mainstream kernel. As for the master/slave issue,
 that's easily solved if designed in from the start as I2C is a multi master
 system so you give those particular nodes both master and slave functions.
 Of course the RPi has only one I2C port.

 There's not much call for IP over I2C as the I2C bus has a maximum
 capacitance of 400pF. That's a couple of metres. Also, the value of the
 pull-up resistors will vary with the capacitance (ie, cable length), and in
 this high capacitance environment you'll want to use an active I2C
 terminator. This is all easy enough to arrange on a PCB, but gets
 problematic when using cabling and you're starting to talk daughterboards
 to hold all of this additional logic, not just connecting one RPi to
 another.

 What you'll often find on PCBs is I2C used for simple devices and a USB
 hub used for complex devices. For example the RPi itself uses USB to attach
 its ethernet port. USB brings device enumeration, peer operation at the
 protocol level, device profiles and so on.

 The RPi is a mobile phone CPU. So its I2C is really focussed at firmware
 downloads to the radio devices, a simple power-on self test (enumerate that
 the devices which should be reachable are in fact reachable), and
 commanding FPGAs and devices (such as bringing the transmit amplifier
 online)

 -

 IPv4 works fine on broadcast-less media, that was it's original use. In
 this case you'd hardcode the I2C link layer address and it's corresponding
 IPv4 address. In the GPIO case you don't care about the address at the
 other end of a point-to-point link, stuff which is addressed for your
 subnet but which is not the null address or  your address needs to be
 transmitted. In the USB case there's an adaption protocol (CDC or RNDIS).

 IPv6 is simpler, you'd just include the i2c address in the lower bits of
 the IPv6 address.

 What you usually do isn't to run IP cover I2C, but to run IP to
 lightweight controller software, which then bangs the I2C bus. There's a
 special web-like protocol: REST over CoAP over IPv6 which is focussed on
 being easily proxied from a full REST/HTTP/TCP/IP.




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] TCP/IP over I2C

2013-06-01 Thread Chris Barnes
This one might be impossible but does anyone have any clues for running
TCP/IP over the I2C bus?

I have a few Raspberry PIs and I'd like to create an Out Of Band network on
them by linking them all by I2C and then running TCP/IP over it.


Any suggestions?


-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] TCP/IP over I2C

2013-06-01 Thread Chris Barnes
hmm, probably dont NEED tcp/ip. would be handy though. I just thought if
someone has built an implementation i'd be keen to make use of it.



On Sat, Jun 1, 2013 at 11:11 PM, Jake Anderson ya...@vapourforge.comwrote:

 Question 0 is do you really need tcp/ip?

 If you did I'd be looking to see if you can bind an i2c endpoint to a
 serial port then running some sort of ppp server on it.


 On 01/06/13 17:30, Chris Barnes wrote:

 This one might be impossible but does anyone have any clues for running
 TCP/IP over the I2C bus?

 I have a few Raspberry PIs and I'd like to create an Out Of Band network
 on
 them by linking them all by I2C and then running TCP/IP over it.


 Any suggestions?






-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] TCP/IP over I2C

2013-06-01 Thread Chris Barnes
yeah.

come to think of it. the whole master/slave process of I2C would probably
make it terribly difficult to implement tcp/ip since each device would have
to be able to switch from slave to master to be able to send broadcasts
like arp requests, netbios name requests, etc. Otherwise the slaves can
only send data in response to a request from the master.


oh well, never mind.



On Sun, Jun 2, 2013 at 9:51 AM, David Lyon
david.lyon.preissh...@gmail.comwrote:

 The only issue that I can see is that I2C is a bus/master protocol. I know
 the Linux drivers support being the Master but I'don't know if it supports
 being a slave.

 So I'm not even sure if you could easily accomplish it without using extra
 hardware such as PIC/AVRs.
  On 01/06/2013 11:11 PM, Jake Anderson ya...@vapourforge.com wrote:

 Question 0 is do you really need tcp/ip?

 If you did I'd be looking to see if you can bind an i2c endpoint to a
 serial port then running some sort of ppp server on it.

 On 01/06/13 17:30, Chris Barnes wrote:

 This one might be impossible but does anyone have any clues for running
 TCP/IP over the I2C bus?

 I have a few Raspberry PIs and I'd like to create an Out Of Band network
 on
 them by linking them all by I2C and then running TCP/IP over it.


 Any suggestions?



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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] python in linux mint

2013-05-30 Thread Chris Barnes
Sounds like you want a basic Python IDE.

Never used Python myself. But a quick search looks like Eric for Linux Mint
might be a good one to try.

http://eric-ide.python-projects.org/



On Thu, May 30, 2013 at 3:58 PM, Ben Donohue donoh...@icafe.com.au wrote:

 Hi all,

 I'm trying to get my kids into programming... (I'm not a programmer by the
 way)...

 anyway Linux Mint has Python installed.

 If I type python at the shell prompt I get a python 

 However I'd like something that they can type the program in and another
 window opens and displays their program running... or something like that.

 (Yes I'm a complete noob at this.)

 Is there such a beast or what is something that I can get the kids started
 on... python-wise...?

 Thanks,
 Ben

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] On switching ISPs.

2013-05-01 Thread Chris Barnes
For a moment I thought I'd been subscribed to an Android support mailing
list


My guess as to what you are asking is do you need to save the phone
contacts from your old sim card before turfing it? Please correct me if I'm
wrong.



Its a bit hard to say but generally Android likes to chuck all your
contacts up to the cloud meaning they should already be on the phone when
the new sim card is installed.

You can probably check this by launching Gmail in the web browser on your
computer and check your Contacts. If you see the contacts that were on your
sim card in your Gmail contacts list then you shouldn't need to copy them
from the old sim card.


Hope that helps and sorry I cant be more specific.



On Wed, May 1, 2013 at 4:13 PM, William Bennett wrbennet...@gmail.comwrote:

 Wishing to switch ISP.
 Have other ISPs SIM, with instructions to activate it.
 There's no mention of the phone list on/in my old SIM.
 Have I to save it somewhere?
 It's an HTC Velocity.

 Any help,

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Fwd: Re: Smallest and Cheapest Linux Computer ?

2013-04-30 Thread Chris Barnes
I've got a few Pi's and at the moment I'm experimenting with Astrisk PBX to
deploy in a small 5 person office. Model B (512M) works really well -
search for Incredible PBX Raspberry Pi

In terms of a file and print server, I think David is right about the disk
performance. I tend to use at least class 6 SD cards which makes the Pi
feel faster but you're limited to about 64gigs of space which isnt much.




On Tue, Apr 30, 2013 at 3:39 PM, Grant Bailey 
grant_malcolm_bai...@westnet.com.au wrote:

 Is either device powerful enough to act as small business server? I
 realise that some people have turned the Pi into a server but I'm not sure
 whether they have been deployed for commercial applications.

 Regards,
 Grant Bailey



  Original Message 
 Subject:Re: [SLUG] Smallest and Cheapest Linux Computer ?
 Date:   Tue, 30 Apr 2013 12:15:04 +0800
 From:   James Linder j...@tigger.ws
 To: slug@slug.org.au



 On 30/04/2013, at 11:41 AM, Chris Barnes wrote:

  Well i think it depends what you want to do with the thing.

 The Olinuxino has something like 60 GPIOs compared to the Pi's 17 or so.
 2 UARTs
 16 channel ADC
 External memory interface
 RTC
 Also it looks like the Olinuxino has a built-in hardware crypto engine.

 so really it depends what you want to do because some might say the above
 features are advantageous.


 Chris I absolutely agree, but I was offering the opinion so that
 those-without-direction would not feel rasp-pi is somehow a beast of lessor
 proportions. It is quite cute and well worth playing with. My 1 sec read
 misled me to believe Olinuxino had video input, with luck V4L. alas.

 Over the years a few people on list have really contributed to my deep
 technical queries, they would definitely appreciate dual uart or rtc etc,
 but most people on list?

 ciao
 James
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: 
 http://slug.org.au/faq/**mailinglists.htmlhttp://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.htmlhttp://slug.org.au/faq/mailinglists.html




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Smallest and Cheapest Linux Computer ?

2013-04-29 Thread Chris Barnes
Well i think it depends what you want to do with the thing.

The Olinuxino has something like 60 GPIOs compared to the Pi's 17 or so.
2 UARTs
16 channel ADC
External memory interface
RTC
Also it looks like the Olinuxino has a built-in hardware crypto engine.

so really it depends what you want to do because some might say the above
features are advantageous.



On Tue, Apr 30, 2013 at 12:28 PM, James Linder j...@tigger.ws wrote:


 On 30/04/2013, at 10:00 AM, slug-requ...@slug.org.au wrote:

 
 https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-OLinuXino-MICRO/resources/iMX233-OLINUXINO-MICRO.pdf

 I've just built a Rasp-pi with archlinux. I guess it is cheap,
 challenging, busy and although I'm going to get one (OLinuXino) for the
 video input IMHO it offers no advantage over Rasp-pi, which it can argue
 has advantages.

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Smallest and Cheapest Linux Computer ?

2013-04-28 Thread Chris Barnes
Looks nifty.

doesnt have a lot of ram but it does sport an external memory interface to
increase the available ram.

Looks like you can get them from element14

a fraction pricier than the RaspberryPi


On Mon, Apr 29, 2013 at 1:01 PM, David Lyon david.lyon.preissh...@gmail.com
 wrote:

 Is this the worlds cheapest Linux board ?

 It runs Arch Linux.

 It's interesting reading their user guide:

  -

 https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-OLinuXino-MICRO/resources/iMX233-OLINUXINO-MICRO.pdf
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] hosts bind order?

2013-03-05 Thread chris
I am no expert - but I _think_ that the configuration files and the 
behaviour of commands like ping and host do make sense.  In particular, 
ping is checking /etc/hosts, but host is specifically intended as a DNS 
checker, so has no reason to consult /etc/hosts.


But your main problem lies with Postfix, and that is a whole different 
can of worms.  The command 'postconf -d' reveals several configuration 
items relating to 'resolve' and 'dns'.  Furthermore I found this link:


http://www.linuxquestions.org/questions/linux-software-2/force-postfix-to-refer-etc-hosts-857662/

which I think describes your problem - and supplies an answer. 
Hopefully it will help...


Chris


--
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] hosts bind order?

2013-03-03 Thread chris


 I have in host.conf

 # cat /etc/host.conf
 order hosts,bind
 multi on

 but, I seem to resolve with bind and ignore /etc/hosts..?
 what else do I need to check ?

I have come across this too.  The answer may lie in
   /etc/nsswitch.conf
which is said to be a more up-to-date alternative to /etc/hosts, and to 
various other name resolution mechanisms.


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


Re: [SLUG] script to analyse syslog in realtime

2013-02-14 Thread Chris Barnes
that looks exactly like the type of script I'm looking for.

I'll give it a crack later tonight.

thanks very much!




On Fri, Feb 15, 2013 at 2:20 PM, Matthew Hannigan m...@zip.com.au wrote:

 If you want something light for ad-hoc checks I use a bit of perl like
 this that uses a dumb match of part of the date-time string as a key into a
 hash of counts:

   #!/usr/bin/perl
   #
   #
   use strict;
   use warnings;

   my %events_per_minute;
   while()
   {
   chomp;
   if (m,to svrdmz:NTP/123 \(NTP/123\),) {
   $events_per_minute{substr $_, 0, 12}++;
   }
   }

   my $key;
   foreach $key (keys %events_per_minute) {
   print minute: $key count: $events_per_minute{$key}\n;
   }

 Of course you can improve this e.g. pass the event to match as an arg.
 Pipe to the usual sort -rn | head to get the top minutes by number of
 events.
 Preceded it with the tool since to only apply to events since the last
 time you checked.

 For fancier setups, use the tools mentioned by others or the venerable
 swatch

 Regards,
 Matt



 On Thu, Feb 14, 2013 at 11:48 AM, Chris Barnes 
 chris.p.bar...@gmail.comwrote:

 Hi everyone,

 my firewall logs everything to a syslog server - new connections,
 terminated connections, etc

 basically what im trying to do is analyse the syslog in realtime looking
 for a specific string which indicates a new connection has been
 established, and to count the number of occurrences of that string to get
 an idea of how many connections per minute im getting for a particular
 internet service so that I can graph it.

 An example of the significant line in syslog im looking for is:

 Feb 14 11:42:52 10.1.1.1 : Feb 14 11:19:47 EDT: %PIX-session-6-302015:
 Built inbound UDP connection 3523357 for Outside:124.178.41.91/123 (
 124.178.41.91/123) to svrdmz:NTP/123 (NTP/123)

 I can use the following to watch the log for the specific event

 tail -f /var/log/syslog | grep to svrdmz:NTP/123 (NTP/123)


 But I cant figure out a way to programatically count how many of these
 events occur per minute.

 any suggestions?

 --
 Kind Regards,

 Christopher Barnes

 e. chris.p.bar...@gmail.com
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




 --
 m a t t h e w   l i n u s   h a n n i g a n




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] script to analyse syslog in realtime

2013-02-13 Thread Chris Barnes
Hi everyone,

my firewall logs everything to a syslog server - new connections,
terminated connections, etc

basically what im trying to do is analyse the syslog in realtime looking
for a specific string which indicates a new connection has been
established, and to count the number of occurrences of that string to get
an idea of how many connections per minute im getting for a particular
internet service so that I can graph it.

An example of the significant line in syslog im looking for is:

Feb 14 11:42:52 10.1.1.1 : Feb 14 11:19:47 EDT: %PIX-session-6-302015:
Built inbound UDP connection 3523357 for Outside:124.178.41.91/123 (
124.178.41.91/123) to svrdmz:NTP/123 (NTP/123)

I can use the following to watch the log for the specific event

tail -f /var/log/syslog | grep to svrdmz:NTP/123 (NTP/123)


But I cant figure out a way to programatically count how many of these
events occur per minute.

any suggestions?

-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] ISP Recommendation

2013-02-06 Thread Chris Barnes
Why would you phone go flat?

Like another person pointed out, if there is a queue, you can opt to have a
representative call you back. you dont lose your place in the queue. much
easier.

and what is this monthly usage you're referring to? Your ADSL usage or your
mobile phone usage? If thats your ADSL usage, why is 20-50 gigs a problem?
i dont know many (if any) ADSL plans that come with a quota that small.


On Thu, Feb 7, 2013 at 3:34 PM, James Linder j...@tigger.ws wrote:


 On 07/02/2013, at 9:00 AM, slug-requ...@slug.org.au wrote:

  I can't speak highly enough of iinet - good support, not too expensive
  (although,  to be honest,  you need to bundle to get the most out of
 their
  plans), Aussie company.
 
  Well worth looking at.

 Dazza sorry to disagree with you again :-)
 3 times in the last 10 years my ISP has been bought by iinet and each time
 I've moved on ...

 iinet DO speak english
 they are aware eg they know linux exists
 they do provide good service

 but

 my phone battery has gone flat waiting for their help desk many times
 my monthly usage (over the years) has been double, 20-50G, instead of the
 1-10G with every body else

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] ISP Recommendation

2013-02-05 Thread Chris Barnes
depends how much you'd like to spend, how do you feel about needing static
ip addresses, ipv6 support, etc.

but basically, take a look at the Whirlpool Broadband Choice website.
You can punch in your phone number and it will present you with a list of
available internet providers and their plans. You can filter the results so
you can exclude bundle plans, cap the monthly spend, specify your minimum
download quota, etc

http://bc.whirlpool.net.au/


i currently use Internode, im on a 200gig plan (no offpeak or onpeak) with
land-line phone included. They do dual-stack ipv4 and ipv6 on their ADSL2+
service which is good if you want to start using ipv6. and you can also
apple for a static ipv4 address which comes with a complementary sub-domain
(WhatEverYouLike.power.on.net) to point to your static ip.

Service is good, never had a problem. Only been with them a year though.

Before that I was with iiNet. Really Good. Very fast. I had a similar plan
to the internode plan except with onpeak and offpeak quotas, but iiNet dont
do static ips for residential plans, or ipv6 (last i checked).




On Wed, Feb 6, 2013 at 1:47 PM, gonzo01 gonz...@fastmail.fm wrote:

 Currently I have a 100/100gb (peal/offpeak) ADSL 1500/256 account with
 PeopleTelecom (previously SwiftDSL some years ago when I first subscribed)..

 They are about to become part of the Commander (M2 Commander Pty Ltd )
 brand.

 Both PeopleTelecom and Commander are principally business oriented
 communications providers.

 They do not provide ADSL2 in my area.

 I am considering changing ISPs but want a reliable service with at least
 100gb month, no throttling, preferrably ADSL2+, though have considered
 Telstra and Optus cable. Not particularly interested in bundled accounts
 as we only use prepaid mobiles and now get pensioner discount on landline.

 Experiences/recommendations appreciated.

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] newbie to writing programs

2013-01-18 Thread Chris Barnes
Right. That explains it then. I couldn't see that documented anywhere but
it makes sense.

Thanks everyone!
On Jan 19, 2013 12:54 AM, Nick Andrew n...@nick-andrew.net wrote:

 On Fri, Jan 18, 2013 at 05:57:09PM +1100, Chris Barnes wrote:
  What i mean is if the parent forked at the line
  pid = fork();
  Then the child would begin executing at the next instruction. In this
 case
  If(pid  0){ exit(EXIT_SUCCESS); }

 Both parent and child resume/start executing at the next instruction, which
 is the if() test. The child gets a return value of 0 from fork() whereas
 the
 parent gets a non-zero positive value. So in the parent, pid  0 whereas
 in the child, pid = 0. All other variables (all memory contents) are
 identical between the parent and the child.

 Nick.

-- 
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] newbie to writing programs

2013-01-17 Thread Chris Barnes
Yeah I've read the man page and web sites looking for an answer.

The what i dont understand is that if the child is an exact copy of the
parent, why doesnt the child spawn a child and exit?

The only explanation i can think of is that when fork() is called the
forked process starts from the position in the program where the parent was
when it forked.

What i mean is if the parent forked at the line

pid = fork();

Then the child would begin executing at the next instruction. In this case

If(pid  0){ exit(EXIT_SUCCESS); }

Rather than the child begining begining execution at

int main(void){

And since the child process wont have a value for pid it wont exit, but the
parent will.

Does that make sense?

Chris Barnes wrote:

I can daemonise processes, the problem I've got is I cannot for the life of
me understand HOW it works.

Have you read the man page for fork? On my Mac (BSD unix) it says:

  Fork() causes creation of a new process.  The new process (child process)
  is an exact copy of the calling process (parent process) except for the
  following:  ...

and so on.

from what I understand about fork() is that it copies the parent process to
a new memory location, and gives it a new PID.

correct

But based on this example it reads to me like the child AND parent should
terminate after forking another copy of themselves, over and over.

nope.

The parent receives a non-zero pid of the child as the return value from
fork()
and continues executing as the original process. The child process receives
a zero as the return value and continues executing as the child process.
There
are now two independent processes running, except that they are sharing a
few
things like open file handles. That is why the child process closes the std
I/O
files.

I've tried this code and it works perfectly so I'm not seeing an endless
loop of forking and terminating processes.

Where is this endless loop of which you speak? In the example you give,
the parent process exits after the fork. So it is gone. Dead. Terminated.
The child goes on and daemonises itself. And then enters its unspecified
work loop.

 /* Fork off the parent process */
 pid = fork();
 if (pid  0) {
 exit(EXIT_FAILURE);
 }

If fork() returns -1 then the call failed, no child process was
created. I don't think a test for  0 is correct, BTW.

 /* If we got a good PID, then
we can exit the parent process. */
 if (pid  0) {
 exit(EXIT_SUCCESS);
 }

In the above code segment, the parent exits. We know we are in the
parent process if pid is not zero. Thus, the parent exits.

Now, the code below is only executed by the child process.

Read the man page for setsid() for more info about creating a
new independent process group.

fork() is a powerful tool for multi-processing. The example you gave
is the Unix wizardry used to turn a process into a stand-alone
daemon in its own process group. There might be other ways to accomplish
this, but I leave that to the wizards.

Another comon use of fork() is to create child processes to do some
work in parallel to the parent process, perhaps on other CPU cores,
and then wait for the kids to finish, and co-ordinate the results.

cheers and I HTH!
rick w

-- 

Rick Welykochy || Vitendo Consulting

Nothing is more symmetric than nothing.
 -- Frank Wilczek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Tuning Systems and Energy Use (Sys Admin Roles and Responsibilities)

2012-10-21 Thread Chris Barnes
I'm curious to know which processor and disk you've got in your laptop

On Mon, Oct 22, 2012 at 9:28 AM, Marghanita da Cruz marghan...@ramin.com.au
 wrote:

 Jake Anderson wrote:
 snip

 I don't know who is saying desktop pc's are pulling 12W but I haven't
 seen a system that will pull that from the wall outside a laptop.

 snip

 On 18/10/12 20:51, Jeremy Visser wrote:

 On 18/10/12 10:58, David Lyon wrote:

 In the last few days, I've been reading studies showing that
 average power consumption of a PC is about 12W. Which
 is not incredibly high.

 Makes me wonder how much I’m killing the planet
 with the 700W power
 supply in my PC.


  Anecdotally (no calibration of the Meter):

 My AL511 Acer Monitor is pulling 7watt on standby and 22-24W in use.
 Router/USB 3G Dongle isn't registering.

 The Laptop running with battery, external keyboard and mouse,  plugged into
 power supply is pulling 14-19W.

 It is worth noting, that to maximise battery operation, a lot of research
 and
 development has gone into developing energy efficient laptops.

 I also buy the maximum RAM available, when I purchase any computer.

 Removing the Battery and running off mains power, the Netbook is
 drawing 17W, it spiked to 24W when the fan came on but returned
 to 17W (with fan still on, while I wrote this email).

 The power use rose to 19 W, with a spike to 24W, when I fired up firefox.

 When I opened up Open Office, it spiked to 24W then dropped back to 17,
 then back to 19W.

 Firing up GIMP it goes spiked at 22W.

 Opening a document in the PDF viewer - the energy use spiked to 26W, before
 dropping back to 17W

 Loading ramin.com.au the power use is fluctuatint between 17-19W, for
 slug.org.au 17-22W.
 nsw.gov.au 19-24W

 Writing this email, with Firefox, GIMP, PDF viewer and Open office running
 in background,
 fan came on and electricity use is fluctuating between 17-19W.


 Marghanita
 --
 Marghanita da Cruz
 Ramin Communications (Sydney)
 Website: http://ramin.com.au
 Phone:(+612) 0414-869202
 ---
 Eco-Annandale 2012 on the Theme of Energy
 http://ramin.com.au/annandale/**eco-annandale-2012http://ramin.com.au/annandale/eco-annandale-2012






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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] clone system to a vm?

2012-09-26 Thread Chris Barnes
Take a look at Ghost4Linux (G4L)

Its not necessarily fast, but its got a pretty comprehensive suite of tools.

On Tue, Sep 25, 2012 at 6:55 AM, li...@sbt.net.au wrote:

 On Sun, September 2, 2012 7:21 pm, Ross Mitchell wrote:
  I suggest that you install VirtualBox, then install your Centos 4 os
  within it. * You don't risk your established data etc.
  * The Centos 4 will have its own IP address, your legacy system
  will be fine, of course it will have the security vulnerabilities that go
  with the old OS, but these won't infect your broader systems. * by the

 I have a Centos 4 machine, I'd like to try cloning it from a physical
 machine to a VM on another system, I've installed Centos 6 on the new
 machine, and, learning how to setup VM

 how would I clone existing system across LAN to VM ?

 thanks for any tips

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Recycling/Disposing of old PC's - Send to kids in Africa for their schools

2012-08-13 Thread Chris Barnes
Its probably a long shot but would they be interested in networking gear?
I've got a couple of Cisco Routers (2600 series) and a couple of Cisco
Switches (3550XL) in good working condition I dont need anymore.


On Tue, Aug 14, 2012 at 7:30 AM, David Lyon david.lyon.preissh...@gmail.com
 wrote:

 If anybody has PC's to throw out, let me know. I can come pick
 them up.

 It turns out my friend is looking for such things and will send them
 to Sierra-Leone in Africa to teach kids about computers.
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Re: Agora

2012-07-03 Thread Chris Barnes
After months of waiting my Pi arrived at the post office this week ready
for me to collect.

I was only allowed to order 1.

I'm hoping i wont have to wait months again if i want to order another.

Kind Regards.
On Jul 3, 2012 11:25 PM, Geoffrey Cowling geoffrey.cowl...@gmail.com
wrote:

 4. Re. GPS Timing Notes (Adam Bogacki)
 5. Agora Smart TV HDMI Dongle (Tom Worthington)
 6. Re: Agora Smart TV HDMI Dongle (Amos Shapira)
 


 What is the situation in Sydney for Raspberry Pi?  Available?

 I am in USA and have laid my hands on some.  If not available in
 Sydney, I would be happy to donate a couple to anyone (pref. student
 or teacher) who cannot get one and would give them a good home.
 It has good HDMI!
 Geoffrey
 --
 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] PyCon Australia 2012 Conference Programme Revealed!

2012-06-24 Thread Chris Neugebauer
(Hobart Tasmania, 15 June 2012) With both of our keynotes announced, PyCon
Australia is very proud to be able to reveal the programme for the 2012
conference, to be held on Saturday 18 and Sunday 19 August 2012 in Hobart,
Tasmania.

Following an impressive response to our Call for Proposals the conference
will feature three full tracks of presentations and tutorials, across two
days, covering all aspects of the Python ecosystem, presented by experts
and core developers of key Python technology.

Our keynote presenters, Mark Ramm, Engineering Manager on Juju at Canonical
[1], and Kenneth Reitz, Python lead at Heroku [2] will be joined by a wide
array of presenters covering a broad range of backgrounds, including
industry, research, government and academia.

As ever, PyCon Australia is a great place to keep up-to-date with the
latest trends in Python web technology: From Heroku, Lincoln Stoll will be
presenting on the 12 Factor Method for building software-as-a-service apps
[3]. Other web related topics include deployment and testing techniques for
Django applications and techniques for asynchronous web programming.

There's also a wide range of talks for the rapidly growing community of
developers using Python in science. Edward Schofield's survey of the latest
developments in Python for Science and Engineering [4] will get you up to
scratch on what tools and techniques are shaping the Python world for
scientists. From there, case studies and introductory talks will delve into
all aspects of Python in science: including techniques for handling large
scientific data sets, natural language processing, and data visualisation
-- attendees working with Python in all fields of science will gain
something from PyCon Australia 2012.

Finally, for newcomers to Python looking to quickly enhance their Python
skillset, Graeme Cross' tutorials [5] in our Classroom stream will help you
to rapidly enhance your knowledge of Python -- you can then attend our
general stream talks to glean a snapshot of the state of the art in Python.

PyCon Australia 2012 programme committee chair, Richard Jones, was
impressed with the level of response to the Call for Proposals, which
closed in early May: We had an unprecedented response to our Call for
Proposals this year, and this has helped us to put together one of the
strongest programmes ever at PyCon Australia. There's something for every
developer working with Python in this year's programme -- be they working
in web technology, in research, or even if they're just a Python enthusiast
who wants to learn more about their favourite language.

The full schedule for PyCon Australia 2012 can be found at
http://2012.pycon-au.org/programme/schedule

Registrations for PyCon Australia 2012 are now open, with prices starting
at AU$44 for students, and tickets for the general public starting at
AU$198. All prices include GST, and more information can be found at
http://2012.pycon-au.org/register/prices

We're looking forward to seeing this excellent programme brought to life at
PyCon Australia 2012, in Hobart, in August.

[1] http://2012.pycon-au.org/media/news/24
[2] http://2012.pycon-au.org/media/news/18
[3] http://2012.pycon-au.org/schedule/59/view_talk?day=sunday
[4] http://2012.pycon-au.org/schedule/67/view_talk?day=saturday
[5] http://2012.pycon-au.org/schedule/56/view_talk?day=saturday

=== About PyCon Australia ===

PyCon Australia is the national conference for the Python Programming
Community. The third PyCon Australia will be held on August 18 and 19, 2012
in Hobart, Tasmania, bringing together professional, student and enthusiast
developers with a love for developing with Python. PyCon Australia informs
the country’s Python developers with presentations, tutorials and panel
sessions by experts and core developers of Python, as well as the libraries
and frameworks that they rely on.

To find out more about PyCon Australia 2012, visit our website at
http://pycon-au.org or e-mail us at cont...@pycon-au.org.

PyCon Australia is presented by Linux Australia (www.linux.org.au) and
acknowledges the support of our Gold sponsors: Google Australia (
www.google.com.au), and the Australian Computer Society (Tasmanian Branch) (
www.acs.org.au); our Event partners: Kogan, and Secret Lab; and our Silver
sponsors: the Python Software Foundation, the Django Software Foundation,
Anchor Systems, 99designs, Red Hat, ekit, RimuHosting, and CSIRO.

--
--Christopher Neugebauer
Conference Coordinator and Sponsor Liaison

PyCon Australia: Hobart 2012 -- http://2012.pycon-au.org -- @pyconau
Conference registration and accommodation deals now available! See our
website for details.

Jabber: chris...@gmail.com -- IRC: chrisjrn on irc.freenode.net -- WWW:
http://chris.neugebauer.id.au -- Twitter/Identi.ca: @chrisjrn
--
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] disabling ipv6 on centos? telnet localhost fails

2012-06-20 Thread Chris Deigan
On 20/06/2012, at 2:36 PM, li...@sbt.net.au wrote:
 BUT, I can not telnet to policyd on 10031, getting same 'telnet gets tied
 up, can't quit till process killed':
 
 # telnet localhost 10031
 Trying ::1...
 telnet: connect to address ::1: Connection refused
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 
 after I shut down policyd, shell returns

Sounds like your problem is with policyd, or Postfix's interaction with policyd 
then. The only reason you're being returned to the shell is because policyd 
will close the TCP connection when it is terminated. Pressing Ctrl+] would also 
get you back to a prompt for telnet.

You have checked the postfix and policyd logs, right? :-)

-Chris.

--
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] disabling ipv6 on centos? telnet localhost fails

2012-06-19 Thread Chris Deigan
On 20/06/2012, at 1:47 PM, li...@sbt.net.au wrote:
 I'm setting up postfix on centos 6, struck some weird (to me) issues;
 
 at first, I was able to telnet localhost 25/ehlo etc
 
 but, now I can telnet anymore, telnet session gets hunged till I kill
 postfix, and, I get ipv6 :::1 line after executing telnet
 
 so I guess..? I should disable ipv6...?

I'd disagree. Something is broken, and IPv6 probably isn't it. If disabling 
IPv6 fixes it, then you're merely working around the symptoms and not fixing 
the problem.

You can explicitly connect using IPv4 by using '127.0.0.1' instead of 
'localhost'. That should indicate if there is a problem with connecting via 
IPv6 or not.

-Chris.

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


[SLUG] Samba question

2012-05-22 Thread Chris Allen


  
  
At work I (and others) log on to a Unix system from a M$ desktop via
Samba.
Every file I we create via this connection has has the access rights
of 744.
We would prefer this be to be 664

I have tried this with create mask and force create
  mode but it does not work.
Can any one suggest a solution.

PS. Is there a reference book the explains Samba in simple
and plain language?
Every time I read literature on Samba, it is always written in
complex dialect compubabale that only alpha geeks can understand.
That approach does not help persuade the general public to take up
Samba

Chris Allen

  

-- 
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 Chris Barnes
I'm not sure about that.

The subject of the original post seems to suggest Patrick is interested in
scanning bar codes as opposed to whole books.

On Mon, Apr 16, 2012 at 1:01 PM, Gonzalo Servat gser...@gmail.com wrote:

 I think the OP wants to scan actual books, not barcodes?

 This might help:

http://www.danielstender.com/granthinam/564/

 - Gonzalo

 On Mon, Apr 16, 2012 at 12:54 PM, Menno Schaaf amano.gi...@gmail.com
 wrote:

  You could us an app with a camera, but you'll find it generally slow and
  not so reliable. Most barcode scanners act as normal input devices so
 work
  fine in Linux.
 
  Have a look at www.dealextreme.com for barcode readers. I have this one
 -
 
 
 http://www.dealextreme.com/p/acan-8100-short-range-handheld-usb-barcode-scanner-210cm-cable-length-25058?item=37which
  works fine on book barcodes, but you'll find laser ones for cheaper
  now on there.
 
  Shipping does take a while from them though, so if you're in a rush not
  ideal.
 
  Contact me off list if you want to discuss borrowing mine.
 
  Menno
 
  On 16 April 2012 12:38, Christopher Barnes chris.p.bar...@gmail.com
  wrote:
 
   Or a web cam. There's quite a few apps for pc (maybe even linux) that
  will
   scan all types of barcodes.
  
   Sent from my Android
  
   - Reply message -
   From: David Gillies da...@dorja.com
   To: slug@slug.org.au
   Subject: [SLUG] Bar Code scanners
   Date: Mon, Apr 16, 2012 12:05 pm
  
  
   On 16/04/12 11:45, Patrick Elliott-Brennan 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?
   
   If you've got a smart phone (android, ios) with a camera in it, there's
   tonnes of apps that scan barcodes.
   --
   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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Re: Ubuntu instalation

2012-04-01 Thread Chris Barnes
Ok heres the link to Boot Repair.

https://help.ubuntu.com/community/Boot-Repair

Give it a try. If you still cant get Ubuntu running give us a shout.

On Mon, Apr 2, 2012 at 1:30 PM, Christopher Barnes chris.p.bar...@gmail.com
 wrote:

 Hi Johannes,

 I have a link to a cdrom you can download to fix grub boot probs with
 Ubuntu. Ill dig it up and send it to the list.

 Failing that, I'm just over at Annandale so it shouldn't be too far for me
 to travel to take a look at your lappy.

 Sent from my BlackBerry

 -Original Message-
 From: Johannes Nielsen bammeb...@gmail.com
 Sender: slug-boun...@slug.org.au
 Date: Mon, 2 Apr 2012 13:18:11
 To: Michael Foxmicha...@heimic.net
 Reply-To: bammeb...@gmail.com
 Cc: slug@slug.org.au
 Subject: Re: [SLUG] Re: Ubuntu instalation

 Hi Michael
 Yes it is a lap top and I would do that only my brother has terminal cancer
 and he is back in hospital and so I am now packing to go to support him in
 the final hours of his life on this Earth

 Yours in Wellness
 Johannes Nielsen CEO
 BAMedia
 Wellness Marketing and Event Management
  ABN 32 071 013 220

 bammeb...@gmail.com

 + 61 (0) 451 326 960 (Optus Cell Phone)

 ICQ 70972773
 Skype fuzzy8561

 Excellence in Service Provision

 http://bikedaddybike.blogspot.com/



 On 2 April 2012 13:03, Michael Fox micha...@heimic.net wrote:

  Hello,
 
  If this is a laptop based machine, you should take it along to the next
  SLUG meeting, as someone should be able to help on the spot.
 
  Thanks
 
 
  On Mon, Apr 2, 2012 at 12:29 PM, Johannes Nielsen bammeb...@gmail.com
 wrote:
 
  Hi all
  Who is on the list that is around the Balmain area happy to travel that
  would be willing to support me with getting Ubuntu to run off of my HDD
 I
  managed to install it successfully as I did the last time.
 
  As far as I am aware it was a Grub loader issue and when I boot from the
  HDD it comes up to a blank screen and blinking cursor
 
  Yours in Wellness
  Johannes Nielsen CEO
  BAMedia
  Wellness Marketing and Event Management
   ABN 32 071 013 220
 
  bammeb...@gmail.com
 
  + 61 (0) 451 326 960 (Optus Cell Phone)
 
  ICQ 70972773
  Skype fuzzy8561
 
  Excellence in Service Provision
 
  http://bikedaddybike.blogspot.com/
 
 
 
  On 2 April 2012 01:52, Johannes Nielsen bammeb...@gmail.com wrote:
 
   Hi all
   I had a HDD failure which wiped out my Ubutnu install and I have put a
  new
   HDD in and installed Ubuntu and what comes up when I boot from the HDD
  is a
   blank screen and the cursor.
  
   Someone was kind enough the support me in getting Ubuntu running the
  last
   time and I would really appreciate if someone could guide me through
 the
   process now.
  
   Yours in Wellness
   Johannes Nielsen CEO
   BAMedia
   Wellness Marketing and Event Management
ABN 32 071 013 220
  
   bammeb...@gmail.com
  
   + 61 (0) 451 326 960 (Optus Cell Phone)
  
   ICQ 70972773
   Skype fuzzy8561
  
   Excellence in Service Provision
  
   http://bikedaddybike.blogspot.com/
  
  
  
   On 30 March 2012 20:43, Jim Donovan j...@aptnsw.org.au wrote:
  
   From the Westpac site this evening:
  
   
   Online Banking will be unavailable from 02:50 am Sydney time for 1
  hour
   25 minutes on Sunday 1 April 2012 due to scheduled maintenance.
   
  
   Meanwhile, NAB says:
  
   
   Due to scheduled maintenance Internet Banking will be unavailable on
   Sunday 1 April from 1AM-5AM AEDT.
   
  
   We discussed this before. Looks like banks still haven't worked out
 how
   to handle changing timezones. And NAB doesn't understand that there
  simply
   won't be 5AM AEDT on 1 April.
  
   Jim Donovan
   --
   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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Re: Raspberry Pi

2012-03-05 Thread Chris Barnes
Havent ordered one yet, my b/day is coming up at the end of the month so I
asked for one (I know its going to be late).

I've got a few ideas for mine, retrofit my car with one of those fancy
navigation and media systems like what you find in the euro cars - ipod
doc, satnav, bluetooth handsfree and voice-dialing, news reader with
text-to-speech, maybe even car vitals like distance to empty, trip, speed
warning, reversing camera. - would probably need it to be controlled via a
touch-screen because im not sure how I could put useful controls into the
dash/console without ruining the plastics.


Also been thinking about building an arcade game cabinet and powering it
with the Pi



On Tue, Mar 6, 2012 at 10:17 AM, Michael Fox micha...@heimic.net wrote:

 Hello All,

 Been a long time since I got back on the list.

 Anyone ordered a Raspberry Pi? Curious to see what folks that get one end
 up doing with it. When I saw them announced, I was very tempted.

 Thanks

 On Tue, Mar 6, 2012 at 10:04 AM, Edwin Humphries 
 edw...@netsensecomputers.com.au wrote:

  Martin,
 
  I'd agree with you in general; however, I'm an Atrix owner, and I really
  don't see how it can claim to be in any way functionally equivalent to a
 
 
  NetSense Computers logoRegards,
  Edwin Humphries
  Mobile: 0419 233 051
  NetSense Computers (Ironstone Technology Pty Ltd)
  79 Barney St (P. O. Box 423), Kiama, NSW, 2533
  Phone: +61 (0)2 4233 2285
  Fax: +61 (0)2 4233 2781
  Web: http://www.netsensecomputers.**com.au
 http://www.netsensecomputers.com.au
 
 
  --
  This email is intended for the named addressee/s only and may contain
  confidential or privileged information. If you are not a named addressee
  please delete it and notify the sender.
  --
 
  /At every moment he beholdeth a wondrous world, a new creation, and
 goeth
  from astonishment to astonishment, and is lost in awe at the works of the
  Lord of Oneness./ Baha'u'llah, The Seven Valleys
  ./.. humans are interesting. With all the wonders there are in the
  Universe, they invented boredom./ Terry Pratchet, Hogfather
  /The most beautiful thing we can experience is the mysterious. It is the
  source of all true art and all science. He to whom this emotion is a
  stranger, who can no longer pause to wonder and stand rapt in awe, is as
  good as dead: his eyes are closed./ Albert Einstein
  /Stuff your eyes with wonder ... live as if you'd drop dead in ten
  seconds. See the world. It's more fantastic than any dream made or paid
 for
  in factories./ Ray Bradbury
 
 
  On 5/03/2012 5:22 PM, Martin Visser wrote:
 
  Doesn't a SoC board, with a few USB ports, ethernet, video and audio
 out,
  just become a PC with the addition of a USB hub providing fanout to a
  keyboard, mouse and a bit more storage?
 
  Just like the mobile device manufacturers (to wit Motorola with Atrix
 and
  Asus with Transformer ) want us to think, the distinct category of PC
 is
  fast disappearing.
 
  Regards, Martin
 
  martinvisse...@gmail.com
 
 
  On 2 March 2012 07:57, Edwin Humphriesedwinh@**
 netsensecomputers.com.auedw...@netsensecomputers.com.au
  **wrote:
 
   Sorry to be so ignorant, but I haven't heard of the Raspberry Pi
 before.
  The posts seems to indicate it as a mini PC; however, it seems to be
  just a
  SoC board?
 
  NetSense Computers logoRegards,
  Edwin Humphries
  Mobile: 0419 233 051
  NetSense Computers (Ironstone Technology Pty Ltd)
  79 Barney St (P. O. Box 423), Kiama, NSW, 2533
  Phone: +61 (0)2 4233 2285
  Fax: +61 (0)2 4233 2781
  Web: http://www.netsensecomputers.com.auhttp://www.**
  netsensecomputers.com.au http://www.netsensecomputers.com.au
 
  --
  This email is intended for the named addressee/s only and may contain
  confidential or privileged information. If you are not a named
 addressee
  please delete it and notify the sender.
  --
 
  /At every moment he beholdeth a wondrous world, a new creation, and
  goeth
  from astonishment to astonishment, and is lost in awe at the works of
 the
  Lord of Oneness./ Baha'u'llah, The Seven Valleys
  ./.. humans are interesting. With all the wonders there are in the
  Universe, they invented boredom./ Terry Pratchet, Hogfather
  /The most beautiful thing we can experience is the mysterious. It is
 the
  source of all true art and all science. He to whom this emotion is a
  stranger, who can no longer pause to wonder and stand rapt in awe, is
 as
  good as dead: his eyes are closed./ Albert Einstein
  /Stuff your eyes with wonder ... live as if you'd drop dead in ten
  seconds. See the world. It's more fantastic than any dream made or paid
  for
  in factories./ Ray Bradbury
 
 
 
  On 2/03/2012 3:40 AM, Richard Ibbotson wrote:
 
   On Thursday 01 March 2012 16:20:15 Geoffrey Cowling wrote:
 
   Will Microsoft be able to lock this down?
 
   In some ways this is a good question.  As far I understand it M$
  attempts to lock down the Arm platform in Europe will fail due to EU
  law.  

Re: : [SLUG] Re: Raspberry Pi

2012-03-05 Thread Chris Barnes
Have you looked at the Parallax Propeller?
32 gpio pins

it also has 8 cores (or what they call Cogs)
32bit
80Mhz top speed with external clock source, or 12Mhz with internal osc.
3.3v power
boot from i2c eeprom or serial

ive been playing around with one. The only downside - they invented a new
programming language for it - SPIN - which is nothing short of disgusting
to learn and use. It leaves a foul taste in my mouth just thinking about it.

the free ide also allowes for parallax assembler code.

and theres third party compilers for other languages - C, assembler, et al



On Tue, Mar 6, 2012 at 4:11 PM, Bruce Hodsdon bhods...@rhmeng.com wrote:

 The Raspberry pi is supposed to have 17 I/O pins max according to the wiki
 (if you turn all the i2c  SPI busses off).

 Given how often I run out of pins on an arduino, I could use the expansion

 Yours,
 Bruce Hodsdon
 Senior Engineering Consultant
 RHM Consultants Pty Ltd
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] one entity with two tld domains web setup?

2011-10-04 Thread Chris Barnes
At the DNS level point the www 'A' record on both domains to the same ip
address where the web server is hosted.
or make the www record for name.com.au a 'cname' record and point it to the
www record for name.com

e.g.
www.name.com - 111.222.333.444
www.name.com.au - www.name.com


Does that help?


On Wed, Oct 5, 2011 at 2:28 PM, Voytek Eymont li...@sbt.net.au wrote:

 I need to set up a web host for one entity that has same domain name in
 .com as well as .com.au, .com is meant to be the real one, .com.au is to
 prevent cyber squaters, what is the best way to set up web host?

 www.name.com is the web host, so, do I set a www.name.com.au host with
 permanent redirect ? or how ? (I used in the past httpd directive to point
 both hosts at same http/path/to/index.html, though I'm not sure that is a
 good idea ?)



 --
 Voytek

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Re: SUSE 11.4 failsage boot only after a first update (Joseph Buk)

2011-09-26 Thread Chris Barnes
of course. direct/nat'd tcp/ip connection from the unsafe internet to the
private lan is really the only attack vector anyone half malicious would
try...

http://it.slashdot.org/story/11/09/26/2218238/mysqlcom-hacked-made-to-serve-malware

On Tue, Sep 27, 2011 at 12:38 PM, James Linder j...@tigger.ws wrote:


 On 27/09/2011, at 10:00 AM, slug-requ...@slug.org.au wrote:

 
  * James Linder j...@tigger.ws [2011-09-25 10:44:47 +0800]:
  my words will generate hows of anguish from the slug-cognoscii, but
  your questions show that you are a new user so... , this is what I'd
  do:
  ..
  Never turn on automatic updates. What for? They all too often break
  things, despite the hype don't do anything for you.
 
  cough if you going to take this path, at least install security
  patches. For example in Ubuntu, Install Security Updates without
  Confirmation.

 One does not naively say stupid words :-) so this is why I say them:

 I recon if I had $1 for every time I've read 'I updated/installed updates
 

 The most likely scenario here is a machine on a private network behind a
 router
 Now if you're savy enough to enable some services through your router to
 your machine then you are savy enough to take care.

 If you've not forwarded any services, then the outside world can't reach
 your machine. It is not there.

 I would guess that most of our wives/partners/housemates are not going to
 hack our machines

 That leaves established/related back into the machine.
 A very small risk for a great deal of heartache.

 My own experience is over 100 un-updated-server-years with never an
 incident
 One server in the Phillipines is regularly hacked every year or 2, but lots
 of staff know root passwd !!

 For your machine, at home, behind a router, by all means play, but don't
 think no-updates means hacked my morning

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] Multifunction printers vs dedicated sheet-feed scanners?

2011-09-05 Thread Chris Barnes
I cant say I have a lot of experience with the dedicated scanners but
from what I've seen the expensive ones are very fast and very
reliable. They also come with a scsi interface option.

i worked at a mortgage lender years back and one of the departments
had these expensive scanners because they would scan piles of 20+ page
contracts all day with lightening speed.

The other place i came accross them was at a medical center where
patient forms were scanned in while the patient checked in.

They were extremely reliable. The only problems I ever saw with the
scanners was the software capturing the images.


On Tue, Sep 6, 2011 at 10:34 AM, Jon Jermey jonjer...@gmail.com wrote:
 I'll try that, thanks. I'm mainly just curious as to what the extra $300 for
 a dedicated scanner is supposed to buy. Is it a case of paying more for
 less?

 Jon.

 On 06/09/11 09:39, David Lyon wrote:

 I have a client that runs really old printers. HP1300's, HP1100's and
 even older.

 Keep in mind that these things are just (electro)-mechanical devices.

 Lubrication gets dry after a while. Most of the materials in these devices
 are usually excellent quality. The metal or nylon doesn't usually wear
 out.

 Screwdriver, vacuum-cleaner in reverse (blow out the dust and dirt)
 and some lubricating spray, and you have a good chance that you
 can keep your device going for another year, two, three or four.

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




-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] non-root users cant use network

2011-08-29 Thread Chris Barnes
...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(3)                                = 0
write(2, Connecting to 127.0.0.1:80... , 30) = 30
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = -1 EACCES (Permission denied)
write(2, failed: Permission denied.\n, 27) = 27
END INTERESTING SECTION
gettimeofday({1314647403, 986997}, NULL) = 0
stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2102, ...}) = 0
write(2, Giving up.\n\n, 12)          = 12
close(2)                                = 0
exit_group(4)                           = ?

On Mon, Aug 29, 2011 at 1:46 PM, Nick Andrew n...@nick-andrew.net wrote:
 On Mon, Aug 29, 2011 at 01:06:34PM +1000, Chris Barnes wrote:
 cpbarnes@netbook:~$ ping 127.0.0.1
 socket: Permission denied
 cpbarnes@netbook:~$ wget http://127.0.0.1/
 Connecting to 127.0.0.1:80... failed: Permission denied.

 Interesting.

 Try strace wget http://127.0.0.1/; and see which system calls are failing.

 My guess is bad permissions on /dev, /sys or /proc. Backup guesses are:
 something to do with selinux, out of memory, bad capabilities, or some
 important module not loaded!

 Nick.





--
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] non-root users cant use network

2011-08-29 Thread Chris Barnes
Wasnt too sure what to check when it came to locales.

echo ${LANG} returned blank so I set LANG=en_AU.iso88591

didnt make any difference to wget or what strace shows when running wget.

but interestingly i ran strace with ifconfig and that shows a few
interesting bits. not quite sure what it means at this stage.


SNIP
open(/usr/lib/locale/locale-archive, O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open(/usr/share/locale/locale.alias, O_RDONLY) = -1 ENOENT (No such
file or directory)
open(/usr/lib/locale/en_AU.iso88591/LC_IDENTIFICATION, O_RDONLY) =
-1 ENOENT (No such file or directory)
open(/usr/lib/locale/en_AU/LC_IDENTIFICATION, O_RDONLY) = -1 ENOENT
(No such file or directory)
open(/usr/lib/locale/en.iso88591/LC_IDENTIFICATION, O_RDONLY) = -1
ENOENT (No such file or directory)
open(/usr/lib/locale/en/LC_IDENTIFICATION, O_RDONLY) = -1 ENOENT (No
such file or directory)
uname({sys=Linux, node=netbook, ...}) = 0
access(/proc/net, R_OK)   = 0
access(/proc/net/unix, R_OK)  = 0
socket(PF_FILE, SOCK_DGRAM, 0)  = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = -1 EACCES (Permission denied)
access(/proc/net/if_inet6, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/ax25, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/nr, R_OK)= -1 ENOENT (No such file or directory)
access(/proc/net/rose, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/ipx, R_OK)   = -1 ENOENT (No such file or directory)
access(/proc/net/appletalk, R_OK) = -1 ENOENT (No such file or directory)
access(/proc/sys/net/econet, R_OK)= -1 ENOENT (No such file or directory)
access(/proc/sys/net/ash, R_OK)   = -1 ENOENT (No such file or directory)
access(/proc/net/x25, R_OK)   = -1 ENOENT (No such file or directory)
open(/proc/net/dev, O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4002
read(4, Inter-|   Receive   ..., 1024) = 692
read(4, , 1024)   = 0
close(4)= 0
munmap(0x4002, 4096)= 0
write(2, warning: no inet socket availabl..., 61) = 61
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = -1 EACCES (Permission denied)
access(/proc/net/if_inet6, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/ax25, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/nr, R_OK)= -1 ENOENT (No such file or directory)
access(/proc/net/rose, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/ipx, R_OK)   = -1 ENOENT (No such file or directory)
access(/proc/net/appletalk, R_OK) = -1 ENOENT (No such file or directory)
access(/proc/sys/net/econet, R_OK)= -1 ENOENT (No such file or directory)
access(/proc/sys/net/ash, R_OK)   = -1 ENOENT (No such file or directory)
access(/proc/net/x25, R_OK)   = -1 ENOENT (No such file or directory)
ioctl(3, SIOCGIFCONF, {64, {{lo, {AF_INET, inet_addr(127.0.0.1)}},
{eth2, {AF_INET, inet_addr(10.42.43.55)) = 0
/SNIP

The bit of particular interest to me is that the last line shows the
ip address of the interfaces lo and eth2 and yet outside of strace
this appears to be the only piece of information ifconfig doesnt
display to regular users.


and this is strace of ifconfig run as root

unlike the strace run as the regular user this strace didnt show any
lines like the first 6 above relating to locale files.

SNIP
uname({sys=Linux, node=netbook, ...}) = 0
access(/proc/net, R_OK)   = 0
access(/proc/net/unix, R_OK)  = 0
socket(PF_FILE, SOCK_DGRAM, 0)  = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
access(/proc/net/if_inet6, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/ax25, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/nr, R_OK)= -1 ENOENT (No such file or directory)
access(/proc/net/rose, R_OK)  = -1 ENOENT (No such file or directory)
access(/proc/net/ipx, R_OK)   = -1 ENOENT (No such file or directory)
access(/proc/net/appletalk, R_OK) = -1 ENOENT (No such file or directory)
access(/proc/sys/net/econet, R_OK)= -1 ENOENT (No such file or directory)
access(/proc/sys/net/ash, R_OK)   = -1 ENOENT (No such file or directory)
access(/proc/net/x25, R_OK)   = -1 ENOENT (No such file or directory)
open(/proc/net/dev, O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4002
read(5, Inter-|   Receive   ..., 1024) = 692
read(5, , 1024)   = 0
close(5)= 0
munmap(0x4002, 4096)= 0
ioctl(4, SIOCGIFCONF, {64, {{lo, {AF_INET, inet_addr(127.0.0.1)}},
{eth2, {AF_INET, inet_addr(10.42.43.55)) = 0
/SNIP

so i does 

Re: [SLUG] non-root users cant use network

2011-08-29 Thread Chris Barnes
Hi Peter,

You're absolutely right. I was tired as hell when i posted the email
last night and realised this morning in the shower the real error was
the one you pointed out.

I think you're right about it being an Android derived kernel as the
installers provided by the Netbook manufacturer for the Debian system
and the Android system both contain the same customised kernel.

I'll do what you suggested shortly and let you know how it goes.


On Tue, Aug 30, 2011 at 9:11 AM,  pe...@chubb.wattle.id.au wrote:

 It's nothing to do with locales.

 This line:

 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = -1 EACCES (Permission denied)

 is your problem.

 My guess is you're using an android derived kernel, and you have
 CONFIG_ANDROID_PARANOID_NETWORK set.  In this case you need to create
 a group called aid_inet and add yourself (and any other users wanting
 to use the network) to that group:

 As root:
  groupadd -g 3003 aid_inet
  usermod -G aid_inet your_login_name

 See http://elinux.org/Android_Security#Paranoid_network-ing

 y





-- 
Kind Regards,

Christopher Barnes
Microsoft Certified Systems Engineer
Microsoft Certified IT Professional

e. chris.p.bar...@gmail.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] non-root users cant use network [FIXED]

2011-08-29 Thread Chris Barnes
SUCCESS!

regular users can see all info from /sbin/ifconfig, ping 127.0.0.1
gets replies, and wget no longer throws Permission denied.

I had been trying to figure this problem out for months.

I thought the only customisations made to the kernel were around the
hardware - ARM SOC platforms, integrated peripherals, etc. I didnt
have any clue that extra network security bits had been added.

I had looked through the /proc/config.gz but completely missed the
line that says CONFIG_ADROID_PARANOID_NETWORK=y

Thanks very much to everyone for your help!

On Tue, Aug 30, 2011 at 9:11 AM,  pe...@chubb.wattle.id.au wrote:

 It's nothing to do with locales.

 This line:

 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = -1 EACCES (Permission denied)

 is your problem.

 My guess is you're using an android derived kernel, and you have
 CONFIG_ANDROID_PARANOID_NETWORK set.  In this case you need to create
 a group called aid_inet and add yourself (and any other users wanting
 to use the network) to that group:

 As root:
  groupadd -g 3003 aid_inet
  usermod -G aid_inet your_login_name

 See http://elinux.org/Android_Security#Paranoid_network-ing

 y





-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] non-root users cant use network

2011-08-29 Thread Chris Barnes
Problem resolved.

but for your amusement heres some info about the netbook and processor.

It features a WonderMedia 8505 SOC which is an ARM926EJ-S rev 5
compatible proc. 174.48bogomips, features swp, half, thumb, fastmult,
edsp, java

From what I understand the thumb and java features mean it can execute
native ARM and Java bytecode.

Its got a whole 128Megs of ram, or more like 100megs usable after the
kernel and everything is loaded. It'll start to swap when using
Aptitude :)

its got 2gig nand flash as internal storage which is presented to the
system as a usb disk...so booting is nice and fast - /dev/sda2
rootdelay=7 :|

built-in fastethernet and b/g wifi


Thanks again for your help.

On Tue, Aug 30, 2011 at 8:57 AM, Nick Andrew n...@nick-andrew.net wrote:
 Your problem is here:

 On Mon, Aug 29, 2011 at 08:52:42PM +1000, Chris Barnes wrote:
 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = -1 EACCES (Permission denied)
 write(2, failed: Permission denied.\n, 27) = 27
         END INTERESTING SECTION    

 My wget trace here shows:

        socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
        connect(3, {sa_family=AF_INET, sin_port=htons(80), 
 sin_addr=inet_addr(127.0.0.1)}, 16) = 0
        write(2, connected.\n, 11)            = 11

 Your problem is definitely in the kernel, and not locales (which is just
 message printing). But just why the kernel is refusing to create a TCP
 socket for you is a mystery.

 Can you send the contents of /proc/net/dev please.

 Is there a way you can find out what kernel capabilities your process has?

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




-- 
Kind Regards,

Christopher Barnes
Microsoft Certified Systems Engineer
Microsoft Certified IT Professional

e. chris.p.bar...@gmail.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] non-root users cant use network

2011-08-28 Thread Chris Barnes
Hi everyone,

I'm fairly new to the list.

I've got what I would consider an interesting issue with a little
netbook I've been playing around with.

basically regular users cannot make any outbound network connections.

for example:

cpbarnes@netbook:~$ ping 127.0.0.1
socket: Permission denied


and

cpbarnes@netbook:~$ wget http://127.0.0.1/
Connecting to 127.0.0.1:80... failed: Permission denied.


doing the same as root works.



Interestingly when i do:

root@netbook:~# /sbin/ifconfig

i can see the loopback interface AND its ip address 127.0.0.1


however as a regular user i get:

warning: no inet socket available: no such file or directory

i can see the loopback interface but there is no ip address.


heres a little background.
The netbook features an ARM processor, 128meg RAM, and the main
storage is a USB thumb drive wired straight on to the mainboard.
It came pre-loaded with Windows CE 6 however, as stunning and feature
rich as it was, i got my hands on the vendors linux install for the
netbook and installed that.

The vendors Linux install is Debian based, ive got 2 varients, Debian
5 and Debian 6. Both present the same problem. I've tried updating the
installed packages but the problem persists.

The Linux kernel supplied appears to be a customised 2.6 and pretty
much all the modules are compiled in.



ive done a stack of searching on the interwebs. a lot of people talk
about needing to setuid on the ping bin, but this is already done

root@netbook:~# ls -l /bin/ping
-rwsr-xr-x 1 root root 34984 oct 14 2010 /bin/ping


and besides, its not just ping that isnt working.



i get this problem with the loopback interface, with the ethernet
interface, and with the wireless interface.


/sbin/route shows no entries, not even locally connected networks but
even after adding one problem persists.

e.g.
route add -net 127.0.0.0/8 lo


some people have also suggested ip tables could be the problem but as
far as I can tell no rules are installed. it doesnt even look like
iptables support is compiled into the kernel

root@netbook:~# /sbin/iptables -L
iptables v1.4.8: can't initialize iptables table `filter`: iptables
who? (do you need insmod?)
Perhaps iptables or your kernel needs to be upgraded.


I've never seen a problem like this. Does anyone have any ideas or
suggestions on what to look for or what to try next?

Thanks or your time.

--

Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.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] script help with unexpected token/variable

2011-08-21 Thread Chris Donovan
 for j in *@*
do
  sudo -u#5000  archivemail -d90 $j
 done

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


Re: [SLUG] How do I add a file (zip) to a package without compressing it

2011-07-27 Thread Chris Donovan
2011/7/28 Marghanita da Cruz marghan...@ramin.com.au:
 To create the epub package, I need to create a .zip file and then change the
 extension from  .zip to .epub.

 The problem is that one of the files to be added must not be compressed.

I would use tar then.  It might be possible with zip (seems unlikely
though), but tar sounds like what you're looking for.

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


Re: [SLUG] Bash Script: Spaces in file names

2011-07-13 Thread Chris Donovan
Hi Nigel,

You shouldn't be quoting the escaped string.  Due to the fact that
you're quoting the $TGT, you don't need the second TGT declaration
using the builtin bash regex.  So, either don't quote, or don't escape
the spaces...

Chris-

On Thu, Jul 14, 2011 at 7:15 AM, Nigel Allen d...@edrs.com.au wrote:

 Greetings

 I have started to write a bash script whoise first  task is to find out if a
 file exists.

 A typical path for this file would be:

    /home/username/Maildir/.MyspacePlans.spacespacespace125

 when I run the script I get a no such file or directory but when I run the
 ls command from the command line it works fine.

 The script is below. When I run it I see this:

 [root@sydsrv56 bin]# sh email_sp 125
 After padding SP = ' 125'
 TGT=/home/*/Maildir/.My\ Plans.\ \ \ 125
 ls: /home/*/Maildir/.My\ Plans.\ \ \ 125: No such file or directory

 But when I run the same thing from the command line thus:

 [root@sydsrv56 bin]# ls -ld /home/*/Maildir/.My\ Plans.\ \ \ 125
 lrwxrwxrwx 1 davidt davidt 27 Apr 17  2010 /home/davidt/Maildir/.My Plans.
 125 - /home/plans/Maildir/.   125

 Would someone like to stop me from pulling my hair out?

 TIA

 Nigel.


 #       Usage: email_sp Strataplan [User1] [User2]
 #
 #       Can be used for three purposes.
 #
 #       1. Only a Strata Plan Number is supplied.
 #               In this case we look for a symlink in any user's
 home/Maildir folder
 #               and display what we find
 #
 #       2. For a brand new plan (Only one user supplied):
 #               Creates a symlink to the manager's Maildir folders under My
 Plans
 #
 #       3. For a transfer from one manager to another (Two users supplied)
 #               In this case it needs to copy the symbolic link from one
 user's Maildir to
 #               another, chown the symlink (-h), remove from the first
 user's subscriptions
 #               and insert into the subscriptions file of the recipient.
 #

 function usage(){
   echo Usage: $0 spno [user1] [user2]
   exit 1
 }


 function display_sp(){

   PTH=/home/*/Maildir/.My Plans.
   TGT=${PTH}$SP
   TGT=${TGT// /\\ }
   DEBUG echo TGT=$TGT
   ls -ld $TGT
   return
 }

 function new_sp() {
   return
 }

 function transfer_sp(){
   return
 }

 function DEBUG()
 {
  [ $_DEBUG == on ]   $@
  }

 _DEBUG=on

 # Did we get the correct number of arguments?

 [[ $# -eq 0 || $# -gt 3 ]]  usage

 SP=`printf %6s $1`                  # pad the input strata plan to 6
 characters with spaces so 125 becomes    125

 DEBUG echo After padding SP = '$SP'

 if [ $# -eq 1 ]
 then
   display_sp
 elif [ $# -eq 2 ]
 then
   FR=$2
   new_sp
 elif [ $# -eq 3 ]
 then
   TO=$3
   transfer_sp
 fi

 --
 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] Regenerate OpenSSH host keys on cloned/replica server

2011-07-03 Thread Chris Donovan
On Mon, Jul 4, 2011 at 10:53 AM, Simon Males s...@sime.net.au wrote:
 I feel that it's best/better practice to regenerate OpenSSH host keys
 on a clonsed/replica server.

 The closest thing to a reason I have is that keys are meant to be unique?

 http://www.cyberciti.biz/faq/howto-regenerate-openssh-host-keys/

 Is my logic in check?

Yes, it is.  The identification for your host should be unique on a
network, and so sharing an identity with another host, doesn't allow
it to be unique.  If it's not unique it may make identification of
that host a bit more complex.

Chris-
-- 
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] webhost needed with ssh access

2011-06-10 Thread Chris Deigan
On 10/06/2011, at 7:28 AM, Jim Donovan wrote:
 Can someone recommend a host that allows ssh access (and perl and email), 
 please? It's for a small website. I've been using Smartyhost but their ssh 
 server is being retired and not replaced.

Anchor*
http://anchor.com.au/

-Chris.

*conflict of interest: I work there. 
But all our shared hosting on Linux has fairly unrestrictive SSH access 
included. Servers in Sydney.--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] script permissions, etc

2011-05-08 Thread Chris Donovan
It's a good idea to use variables for storing the filenames used.
It's also a good idea to use an absolute path when accessing the file.
eg:

my_user = voytek
ccc_final = /var/tmp/ccc
ccc_html = http:.../ccc.html
ccc_txt = /var/tmp/ccc.txt
ccc_bod = /var/tmp/ccc.bod

wget ... $ccc_html
...
links -dump $ccc_html  $ccc_txt
...
awk '/Page/, /References/  { print }' $ccc_txt   $ccc_bod
...
mail -s ccc list $my_user  $ccc_final

etc.

Chris-

On Mon, May 9, 2011 at 8:59 AM, Voytek Eymont li...@sbt.net.au wrote:
 I'm trying to put together a basic script, it works fine when I run it as
 root, but, I'm having issues when I try to run as 'voytek'

 $ ls -al /usr/local/bin/ccc
 -rwxr-x--- 1 root voytek 1409 May  9 08:19 /usr/local/bin/ccc


 /usr/local/bin/ccc: line 16: ccc.txt: Permission denied
 mv: overwrite `ccc.old', overriding mode 0644?
 rm: remove write-protected regular file `logout.html'?
 rm: remove write-protected regular file `logout.html'?
 logout.html: Permission denied


 script fetches a html page, parses it several times, then emails some text
 from it

 when starting the script should I say 'cd /var/tmp' (to have temp files
 in/var/tmp?)

 should I prefix full path to intermediate files ( /var/tmp/body.txt?)

 ---
 wget  http://dom.tld/main.htm
 wget  ccc.html

 echo dump to text, get rid of blanks 
 links -dump ccc.html  ccc.txt

 ## get rid of blank lines
 awk '/Page/, /References/  { print }' ccc.txt   ccc.bod

 ## Better remove all leading and trailing whitespace from end of each line:
 sed 's/^[ \t]*//;s/[ \t]*$//' ccc.bod  ccc.1

 # delete lines matching pattern
 sed '/INT/d' ccc.1  ccc

 mail -s ccc list voytek  ccc

 mv ccc ccc.old
 rm main.htm
 rm logout.html
 rm ccc.1
 rm ccc.bod
 rm ccc.html
 rm logout.html
 rm my-cookies

 ---

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


[SLUG] Announcing Devops Down Under 2011/Call for proposals

2011-04-06 Thread Chris Bushell
Following the success of Devops Down Under 2010, we're pleased to announce
Devops Down Under 2011, to be held on July 22/23 in Melbourne.

Our aim for the conference is to build on the current momentum within the
Devops community and to work towards uniting developers and
sysadmins/operations.

To make this event happen, we need your help. If you have a topic you'd like
to present, a speaker you'd like to see present, or a subject you'd like to
see discussed at the conference, please let us know
herehttp://www.surveymonkey.com/s/FNF8MKL.
If you or your organisation is interesting in sponsoring the event, also
please let us know here http://www.surveymonkey.com/s/FNF8MKL.

Registration and ticket details will be available the first week in May, but
for now, please save the date for Devops Down Under 2011 - we look forward
to seeing you there!


Lindsay Holmwood, Chris Bushell, Natalie Drucker

cont...@devopsdownunder.org
www.devopsdownunder.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] XHTML to PDF

2011-04-03 Thread Chris Allen

Is there an application that created a PDF file from an XHTML.
I'm looking for something the woks form the $ prompt, even better if it 
is available in Unix (Sun Solaris).


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


[SLUG] Virus Scanner

2011-04-03 Thread Chris Allen
What is the current consensus on using a virus scanner for Linux 
(specifically Ubuntu 10.10)?
When I last asked this (about 2 years ago) the general opinion was, 
waste of time, Linux did' need it

If scanners are recommended now, which is the favourite?

Chris Allen
--
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] Dates and Bash Scripts

2011-04-03 Thread Chris Donovan
 Basically what I these are supposed to do is to set to dates, the first for
 the first day of the previous month and the second to set the last day of
 the previous month.

 Here is what I have been using:

 DAYS=`date +%e`
 let XDAYS=DAYS -1
 FIRSTDAY=`date --date=$XDAYS days 1 month ago +%d%m%y`


XDAYS=-$(($DAYS-1))
ie: use a negative number for the days..

Chris-
-- 
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] Server licences

2011-02-21 Thread Chris Donovan
I believe Dell would be requiring a license for openmanage, and while
I'm not sure about HP, I would think they had some similar licensing
as well.  As for putting it on the network, that doesn't require a
license for it (as far as I know), but just the openmanage stuff.

Chris-

On Tue, Feb 22, 2011 at 9:50 AM, Jim Donovan j...@aptnsw.org.au wrote:
 A client who needs a server on which to run a Linux system. She reports that 
 both Dell and HP in their quotes for supplying a suitable box insist that 
 licences are required before the server can be connected to another 
 computer. Apparently different licences are needed for terminal servers, 
 whatever that may be, and virtualisation servers.

 Can anyone explain what these licences are about, please?

 Jim Donovan
 --
 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] Finding modules..

2011-02-13 Thread Chris Donovan
Just in case you've got a usb device, or other hardware type device...
Running lshw as root (eg: sudo lshw), will provide you with the driver
name as well as most everything else.

Chris-

On Mon, Feb 14, 2011 at 11:23 AM, Peter Chubb peter.ch...@nicta.com.au wrote:
 DaZZa == DaZZa  dagi...@gmail.com writes:

 DaZZa Learned folks...  Can someone shed some light for me on finding
 DaZZa which kernel module is loaded/providing the eth0 interface?

 as root, do
   lspci -v

 It'll tell you which driver module is associated with each PCI device.

 --
 Dr Peter Chubb                                  peter DOT chubb AT 
 nicta.com.au
 http://www.ertos.nicta.com.au               ERTOS within National ICT 
 Australia
 All things shall perish from under the sky/Music alone shall live, never to 
 die
 --
 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] Upgrading OS RAID

2011-01-09 Thread Chris Donovan
 I posted this a long time ago to slug:  (Tried to find a copy on the slug
 website but apparently slug no longer has its own online archives?)
  http://www.mail-archive.com/slug@slug.org.au/msg41286.html

This.  Do this and you'll save time, and effort.  Don't use dd, that's
just a terrible waste of time, and heat.  I'm sure if you set up your
first software raid, that you'll be able to figure out any differences
or changes since Jamie's post above, and of course if you're unable to
figure out those differences, ask more questions (:

Chris-
--
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] Python, XML, and Splitting a 750M XML File?

2011-01-05 Thread Chris Donovan
I was a bit bored, and this works for me...

http://pastebin.com/srPxwvSm

Chris-

On Thu, Jan 6, 2011 at 4:12 PM, Peter Miller pmil...@opensource.org.au wrote:
 On Thu, 2011-01-06 at 15:50 +1100, Peter Miller wrote:
  Datum 'Datum' are non-trivial, containing extensive subtrees./Datum
  Datum ...etc... /Datum
  TrivialFooter blah /TrivialFooter
  /BigFile

 XML is plain text, use a text tool.
 If the line breaks are as indicated, use split(1)
 and then hand edit the headers and footers.

 Or, use awk(1) and split on lines containing /.Datum/
 using awk's ability to write to more than one file.
 I suppose much the same could be done in Perl, too, but I'm older than
 such new-fangled things as Perl.

 --
 Regards
 Peter Miller pmil...@opensource.org.au
 /\/\*        http://miller.emu.id.au/pmiller/

 PGP public key ID: 1024D/D0EDB64D
 fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
 See http://www.keyserver.net or any PGP keyserver for public key.

 A data structure is just a stupid programming language. -- R. Wm. Gosper
 --
 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] How do I create same IP address in Local Address and Foreign Address in netstat ?

2011-01-02 Thread Chris Donovan
 Anyway, do you know why your telnet command says Trying 127.0.0.1... and 
 mine says Trying ::1... ? is it something to do with ipv6 ?

Yes, that's an IPv6 address.  It looks like your /etc/hosts may be in
a different order than what you'd want / expect.  Mine essentially
looks like this:
---
127.0.0.1   localhost.localdomain   localhost
::1 ip6-localhost ip6-loopback
---

Your /etc/hosts might look something like this:
---
::1 localhost loopback
127.0.0.1   localhost.localdomain   localhost
---

Chris-
-- 
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] dos2unix

2010-12-26 Thread Chris Rennie
It seems to have disappeared.  I now use (on Ubuntu) the package 
'tofrodos'.  The two programs are

   fromdos [ options ] [file...]
   todos [ options ] [file...]
Chris

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


[SLUG] Starting Apache on Ubuntu 10.10

2010-12-26 Thread Chris Allen
On Ubuntu 10.10, I have started to learn PHP MySQL and XHTML (et al) 
with the aid of a book from Wrox.
The import package to install is lamp, a combined package of 
everything I need including the apache web server.


The installs appears to have gone well.  The next step is starting apache.
The book says I can do this form the menu under System  Administration 
 Services
Unfortunately I cannot find Services in any of the menus.  nor Can I 
see it listed a standard option in the Menu maintenance tool.


Can any one advise how to resolve this issue?

Chris Allen

PS
I'm pretty sure I remember seeing Services as a menu option in earlier 
versions of Ubuntu

--
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/Ubuntu way of having multiple memcached daemon's

2010-12-19 Thread Chris Donovan
 Now if memcached has a security update, apt-get will restart the
 original packaged daemon, not my second instance. How can I make my
 second instance upgrade friendly?

According to the debian packaging rules if there is a configuration
change required for an update, and the configuration has been changed,
dpkg is required to ask what to do.  At that point there are plenty of
options to determine what you want to do eg: Install maintainers
config, keep your config etc.

http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3

... must not overwrite or otherwise mangle the user's configuration
without asking ... 

In short, your locally changed config file should be safe.  If you're
using a for of debian that does not adhere to this policy, then all
bets are off (I'm not aware of any distro ignoring this policy).

Chris-
-- 
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/Ubuntu way of having multiple memcached daemon's

2010-12-19 Thread Chris Donovan
On Mon, Dec 20, 2010 at 3:16 PM, Simon Males s...@sime.net.au wrote:
 http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3

 ... must not overwrite or otherwise mangle the user's configuration
 without asking ... 

 In short, your locally changed config file should be safe.  If you're
 using a for of debian that does not adhere to this policy, then all
 bets are off (I'm not aware of any distro ignoring this policy).

 Sorry I need to be a little specific. After a memcached upgrade, dpkg
 will (to the best of my knowledge) perform something like the
 following:

 /etc/init.d/memcached restart

 Is it possible to convince dpkg to perform a similar action on my own
 init.d script?:

Not really clean, but perfectly functional...
You can edit the original rc script to start any others you need, and
therefore if one gets restarted then they all get restarted.

Alternatively, if you decide to make a clean change, you could check
this tool out...
http://packages.debian.org/stable/admin/dpkg-repack

Chris-
--
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] Unrecogniseable disks.

2010-10-09 Thread Chris Donovan
Hi,

A few things come to mind.

 Put a disc in the laptop's DVD reader. No result whatsoever. Went to
 /media. There is something there, but I was refused access.

What does `fdisk -lu` say?  Do you have appropriate access to /media
(ls -ld /media)?

Chris-
-- 
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] Escaping illegal characters in filenames - how?

2010-10-06 Thread Chris Donovan
 I've got an idiot user who has created a file on a Linux filesystem named

 -.mxf

 I need to rename this file, but can't for the life of me remember how
 to escape the - character so mv doesn't regard it as an option
 identifier.

 Insert ./ in front of it so mv doesn't see the - at the beginning
 of the string and tries to interpret it as a flag.

 So the command could be mv ./-.mxf newname.mxf.

Another way that you may find handy in the future when using system
utilities is the -- argument eg: rm -- -filname.  The example
removes the file -filename.  The argument -- often signifies end of
arguments, and anything after that is translated as non-arguments to
the command.  It's used quite a bit in GNU tools, and I'd guess maybe
more tools.

Chris-
-- 
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] MySQL Mono

2010-09-01 Thread Chris Deigan
On 25/08/2010, at 8:13 PM, Chris Allen wrote:
 Can any one recommend good books / courses (in Sydney) for learning both of 
 these?

How do you place yourself as a programmer already?

If you're fairly familiar with object oriented programming and C-style syntax, 
then C# should be pretty easy for you to pick up. If you've used Java before, 
then that's even better.

Last time I was in Basement Books (http://basementbooks.com.au/) there was a 
good range of C# books from Apress. I don't know about the quality, but they 
were pretty cheap (most less than $5 or $10). They were all aimed for .NET 
development using Visual Studio, but I imagine the code itself should be about 
the same on mono (or at least that's the idea of Mono, or so I understand).

If you're after a course, again, most will be for Visual Studio environments. 
I know UTS runs a short course on .NET development - see 
http://www.it.uts.edu.au/courses/short/programming/dotnet.html 

I've vaguely heard TAFE has some teachings in .NET, but with a quick search I 
only found some VB.NET subjects.

-Chris.

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


[SLUG] MySQL Mono

2010-08-25 Thread Chris Allen

I'd like to start learning MySQL and MONO for some serious development.
As yet, neither are installed on my system (Ubuntu 10.4)
Can any one recommend good books / courses (in Sydney) for learning both 
of these?


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


Re: [SLUG] how to find an alternative superblock

2010-08-12 Thread Chris Donovan
On Fri, Aug 13, 2010 at 9:43 AM, Ben Donohue donoh...@icafe.com.au wrote:

 Anyway to find the other superblocks I found the answer on...

 http://www.cyberciti.biz/faq/recover-bad-superblock-from-corrupted-partition/

 |dumpe2fs /dev/sda2 | grep superblock|

 ...gives the locations of alternate superblocks.

Another alternative is to use:
mke2fs -n device

Taken from the man page:
man mke2fs

In fact a variant of the mke2fs (mkfs) command is available on a few
Unix operating systems, and typically use the -n option to print out
what's going to happen when you run the mkfs / mke2fs command, without
creating it.

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


Re: [SLUG] how to find an alternative superblock

2010-08-12 Thread Chris Donovan
A bit off topic but...

  Removed using the tools.

As in:
vmware-cmd /vmfs/volumes/datastore/guest/guest.vmx removesnapshots

or the guest tools?

If you use the vmware-cmd on an esx server you shouldn't see any
corruption of the underlying system, or at least I've never seen any
problems using that command.

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


Re: [SLUG] how to find an alternative superblock

2010-08-12 Thread Chris Donovan
On Fri, Aug 13, 2010 at 12:04 PM, Ben Donohue donoh...@icafe.com.au wrote:
  Removed using the VMware Infracture Client GUI front end. Using ESXi but
 this should be no difference.

ESXi doesn't include the vmware CLI tools, but you can install them on
the unsupported COS.

 Don't see what the difference would be using the command line however I'll
 try the command line next time.

 Also probably remove snapshots one by one.

Not sure if there is a difference either, and to my knowledge with
vmware-cmd ... removesnapshots, it removes _all_ snapshots, and not
just a single one.

 If using the command line, does the guest need rebooting?

I've never had to reboot, but that doesn't mean much I suppose.

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


Re: [SLUG] [OT] vmware snapshots WAS: how to find an alternative superblock

2010-08-12 Thread Chris Donovan
On Fri, Aug 13, 2010 at 12:35 PM, Ben Donohue donoh...@icafe.com.au wrote:
  with ESXi you can get to the command line.

 on the ESXi server you can get to a command window by a key sequence and
 edit a config file and turn on ssh.

 Then use putty to get a command line remotely.

 Everyone does it. Just can't find my notes on where to do it... I'll keep
 searching... gogle it.

 I use the cli to clone vms etc. Just didn't think to do remove snapshots
 when the GUI had a point and click!

I suppose I wasn't clear (:  I meant that the command _vmware-cmd_
isn't available normally (without admin installation) on the COS, at
least it's not on my ESXi servers.

ESX:
[r...@blah ~]# which vmware-cmd
/usr/bin/vmware-cmd
[r...@blah ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[r...@blah ~]#

ESXi:
~ # which vmware-cmd
~ # echo $PATH
/bin:/sbin
~ # ls -l /usr/bin/vmware-cmd
ls: /usr/bin/vmware-cmd: No such file or directory
~ #

Sorry for the confusion...

Chris-
--
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] Reply-to address on SLUG posts

2010-07-29 Thread Chris Deigan
On 27/07/2010, at 2:08 PM, Jon Jermey wrote:
 I've been caught by that a few times, mainly because this is the only mailing 
 list I currently subscribe to (out of a dozen or so) that doesn't 
 automatically set the reply-to address to the list. I have a vague memory of 
 this issue being raised before, and I'm sure there were good reasons given 
 why that was the case. But I still find it really annoying. Is there any 
 support for a re-think on this?

http://www.slug.org.au/mailinglists.html#q9

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


[SLUG] Task bar not working

2010-07-22 Thread Chris Allen

I am using Ubuntu 10.4
Since yesterday my task bar (@ bottom of Gnome screen) has been unworkable.
It is still there but is always black on black.  When I minimise a 
window, I see it shrink and disappear into the task bar but after that I 
see no trace of it.  It almost impossible to recall it again from the 
task bar.


Is there any explanation / fix for this?

Chris Allen
--
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 Lenny HAL Config

2010-04-23 Thread Chris Perry

Hello Rodolfo,
That works!

After reading some documentation, I have found that pluralisation of 
anything means that the search looks for matches further up the tree.  
The match does not have to be on the local node.  So ATTR matches this 
node and ATTRS matches up the tree.  Same for DEVICE and DEVICES.


Your description of the relationship between HAL and UDEV makes sense.

A small issue I have now is that when I remove and reinsert the TOSHIBA 
device, df reports the file system is mounted twice.  It's still usable 
though.


When the device is removed, it does cause /dev/toshiba1 and 
/mnt/toshiba1to be removed, thus leaving /mnt/thoshiba1 high and dry.


It seems there needs to be a remove event triggered to perform the umount.

Thanks and regards,
Chris.

Rodolfo Martínez wrote:

Hi Chris,

As with almost any other software, developers will ask you to test the
latest version. I think HAL reads the gconf configuration correctly
since 5.14. Anyway, don't spend too much time with HAL; it is
deprecated.


udev is a device manager. It creates the files (device nodes) in the
/dev/ directory and doesn't care what you do with the device. For
example, it creates the /dev/sdb* devices and that's it. With udev you
can setup the permission for the *device node*, but you cannot specify
how to mount the device.

hal is intermediate/extra layer between the physical devices (/dev/*)
and the applications that allows the applications to use the hardware
without knowing anything about the physical device.


This is how I would achieve what you want to do:
1. Create a udev rule to rename the block device.
2. Specify the mount options in the /etc/fstab using the new device name.


1. The udev rule:
Create the file /etc/udev/rules.d/99-usb.rules with the following lines:
KERNEL==sd?, BUS==usb, ATTRS{serial}==0220787042A168B4, NAME=toshiba
KERNEL==sd?1, BUS==usb, ATTRS{serial}==0220787042A168B4, NAME=toshiba1


2. The mount options:
Add the following line to the /etc/fstab file
/dev/toshiba1  /mnt/toshiba1  vfat
defaults,user,noauto,uid=1000,gid=1004,noatime  0 0

and create the directory /mnt/thoshiba1

From now on, it doesn't matter who mounts the device, it will be
mounted under /mnt/toshiba1 with the desired options.

  

BTW, what/why is there a difference between SUBSYSTEM and SUBSYSTEMS?




SUBSYSTEMS is plural :P

Not sure, I have never used SUBSYSTEMS.
[rmt...@amartir01 ~]$ grep SUBSYSTEMS /etc/udev/rules.d/*
[rmt...@amartir01 ~]$

Rodolfo Martínez
  


--
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] Help with a modem installation, please.

2010-04-19 Thread Chris Donovan
Hi,

 I've :
 1) downloaded the latest usb_modeswitch file as directed.
 2) clicked and selected extract here. Which it did.

Did you download this one:
http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.2.tar.bz2
?  For some reason the stuff you've pasted looks like something else.
Try that, I've successfully downloaded and installed it via the
directions on this page: http://www.draisberghof.de/usb_modeswitch/ .
Also if you're using a debian based distribution, there is a .deb you
can download on that page as well.

Chris-
-- 
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 Lenny HAL Config

2010-04-17 Thread Chris Perry

Rodolfo,
This did the trick.  You would not believe how close I was to working 
this out before.  I was just missing the =.  Oh well.


The hal version:
peterpan:/etc/hal/fdi/policy# hald --version
HAL package version: 0.5.11

I guess the problem I am experiencing is a bug on the package.  Are you 
a good person to take this information to the appropriate Team?


I have spent some time attempting to figure out the relationship between 
udev and hal.  It seems that udev gets things first and passes a result 
to hal.  Right?  I say this because the last udev rule says:

RUN+=socket:/org/freedesktop/hal/udev_event
It also seems to me that udev sets the group permissions for the mount 
command, but the config in gconf (as used by hal) was blanking it out.  
If this is right I must say I had lots of trouble working it out because 
I cannot figure how to insert and use debug statements to check things, 
or where low level logging might go.


If you could assist with a udev rule to permanently mount a usb card for 
my user, I would really appreciate it.  As I said I have made a few 
tentative additions to existing rules and observed no discernible change 
in system behavior.  I'm looking at:

http://reactivated.net/writing_udev_rules.html

Relevant output from udevinfo -a -p $(udevinfo -q path -n /dev/sdc1)
 looking at parent device '/devices/pci:00/:00:02.1/usb2/2-6':
   KERNELS==2-6   
   SUBSYSTEMS==usb

   DRIVERS==usb   ===
   ATTRS{configuration}==
   ATTRS{bNumInterfaces}== 1
   ATTRS{bConfigurationValue}==1
   ATTRS{bmAttributes}==80
   ATTRS{bMaxPower}==200mA
   ATTRS{urbnum}==370236
   ATTRS{idVendor}==0930  ==
   ATTRS{idProduct}==6545 ==
   ATTRS{bcdDevice}==0110
   ATTRS{bDeviceClass}==00
   ATTRS{bDeviceSubClass}==00
   ATTRS{bDeviceProtocol}==00
   ATTRS{bNumConfigurations}==1
   ATTRS{bMaxPacketSize0}==64
   ATTRS{speed}==480
   ATTRS{busnum}==2
   ATTRS{devnum}==28
   ATTRS{version}== 2.00
   ATTRS{maxchild}==0
   ATTRS{quirks}==0x0
   ATTRS{authorized}==1
   ATTRS{manufacturer}==TOSHIBA   ===
   ATTRS{product}==TransMemory===
   ATTRS{serial}==0220787042A168B4

BTW, what/why is there a difference between SUBSYSTEM and SUBSYSTEMS?

Regards,
Chris

Rodolfo Martínez wrote:

Hi Chris,

The line should be:

append key=volume.mount.valid_options type=strlistgid=/append

Note the '=' after 'gid'. The '=' means that HAL accept any value for that key.

And the gconf mount options should include  'gid=1004'.

  

On a related but different topic, how do I force hal to always mount the usb
card as me (chris).  I am not the only user on the console, I have to play
round robin and a game of chance for the card to be mounted under my uid.



The only solution for this is to specify the mount options (uid, gid,
etc.) in /etc/fstab. HAL will search for an entry that matches the
device that will be mounted, if none matches, it will mount the device
using the default values/options. The default is to mount the device
on behalf of the user that invoked the mount petition.

The problem is that the device block won't be always the same, it
could be /dev/sdc1, /dev/sdd1 and so on, but this can be easy
addressed with a udev rule, let me know if you need help with this.

BTW, what version of HAL are you using?


--
Rodolfo Martínez
  


--
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 Lenny HAL Config

2010-04-14 Thread Chris Perry

Hello Rodolfo,
Replied earlier, but its gone somewhere.  I looked at the doco.  Thanks 
for the reference. Did you update it just for me? [Thanks.]
I used the doco to add a local rule for accepting guids in the mount 
command, as configured via gconf.  A mount controlled by goconf now 
accepts a guid where as it did not before (I had already tried to fiddle 
with gconf).  But, the group is still set to root after the mount.

gconf mount options for vfat now are:
[shortname=mixed,uid=,gid=]
In user-options.fdi I have:
   match key=volume.fsusage string=filesystem
 match key=volume.fstype string=vfat
   append key=volume.mount.valid_options 
type=strlistusefree/append

   append key=volume.mount.valid_options type=strlistgid/append
 /match
   /match

On a related but different topic, how do I force hal to always mount the 
usb card as me (chris).  I am not the only user on the console, I have 
to play round robin and a game of chance for the card to be mounted 
under my uid.


Thanks and regards,
Chris.

Rodolfo Martínez wrote:

Hi Chris,

The Changing default mount options section at
http://www.linuxfromscratch.org/blfs/view/cvs/general/hal.html may
help.


--
Rodolfo Martínez



On Mon, Apr 12, 2010 at 6:39 AM, Chris Perry chris42pe...@gmail.com wrote:
  

Hello,
I have used Debian for over a decade and can work most things out.  But I
have a problem.
I use a usb memory card to take a rsync backup of my most important files
every day.  This used to work perfectly.

I recently upgraded from etch to lenny.  After ironing out some wrinkles I
am left with one insoluble problem:

The usb memory card is always auto mounted with group ownership of root at
the mount point.  This stops me from refreshing the cards contents.

In etch ownership after auomount would be chris:perry  This is as expected
and worked fine.
In lenny ownership after automount is chris:root  This is the problem.

My primary group is still perry, btw.

I have googled and searched far and wide, I cannot find posts that describe
adequately how hal and then udev get themselves sorted and apply some action
to perform the mount.  I cannot work out where the action is defined in the
system config.  I cannot work anything out, I've not been so stumped in a
long time.

I have determined the following work-around to use after automount has
completed:
umount /media/TOSHIBA
mkdir /media/TOSHIBA
mount -t vfat -o
rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=1000,gid=1004 /dev/sdc1
/media/TOSHIBA

I am not able to determine the output of mount for the same device in etch.
 My backup etch partition has passed on.

If someone can point me at the right doco, or desribe how this works, I
would appreciate it.
Thanks and regards,
Chris.
--
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] Debian Lenny HAL Config

2010-04-12 Thread Chris Perry

Hello,
I have used Debian for over a decade and can work most things out.  But 
I have a problem. 

I use a usb memory card to take a rsync backup of my most important 
files every day.  This used to work perfectly.


I recently upgraded from etch to lenny.  After ironing out some wrinkles 
I am left with one insoluble problem:


The usb memory card is always auto mounted with group ownership of root 
at the mount point.  This stops me from refreshing the cards contents.


In etch ownership after auomount would be chris:perry  This is as 
expected and worked fine.

In lenny ownership after automount is chris:root  This is the problem.

My primary group is still perry, btw.

I have googled and searched far and wide, I cannot find posts that 
describe adequately how hal and then udev get themselves sorted and 
apply some action to perform the mount.  I cannot work out where the 
action is defined in the system config.  I cannot work anything out, 
I've not been so stumped in a long time.


I have determined the following work-around to use after automount has 
completed:

umount /media/TOSHIBA
mkdir /media/TOSHIBA
mount -t vfat -o 
rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=1000,gid=1004 /dev/sdc1 
/media/TOSHIBA


I am not able to determine the output of mount for the same device in 
etch.  My backup etch partition has passed on.


If someone can point me at the right doco, or desribe how this works, I 
would appreciate it. 


Thanks and regards,
Chris.
--
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] Beating the filter

2010-04-07 Thread Chris Deigan
On 06/04/2010, at 7:25 AM, Alan L Tyree wrote:
 Maybe everyone in SLUG already knows how to do this, but I don't. Maybe
 some kind slugger would write a very short tutorial and we could email
 it to everyone that we know.


There's a dozen different ways, none too difficult to figure out (I have no 
doubt there's a plethora of sites around with instructions on how to see 
Facebook from behind corporate filters/whatnot).

So many that I've seen, however, give no warning or even thought to the 
security implications of the methods involved. 

Realistically, people who wish to bypass the filter usually aren't going to 
want to pay money to do so; and the general principle for bypassing it is to 
use a remote system which
(a) You can access
(b) Is not affected by the filter
to relay data on your behalf. The end result: people use whatever they can find 
for free.

I haven't seen much argument to agree with me, but unfortunately I doubt most 
in the general public might realise the potential for abuse this holds if 
instructions circulate to the effect of use some random proxy/vpn. 

Incase it isn't clear, anything you transmit/receive will be readable by the 
proxying machine. Whether the administrator of that machine will be reading 
your data is another question entirely, but the concern is that they can. 
Couple this with how they intend to produce revenue to support such a service 
(after all, hardware/power/bandwidth isn't free) and such a service becomes 
even more questionable.

So remember kids, evade censorship responsibly.

- Chris--
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] SLUG Membership decline

2010-04-06 Thread Chris Johns

On 6/04/2010 2:06 PM, Dean Hamstead wrote:


2. Slug has become less technical





However the truth of the other half and point 2 is extremely subjective.



Just to balance the discussion, my work is technical but in a different 
computing area and operating system to Linux so I find some of the 
discussions and solutions enlightening. I use Linux and have done since 
the early to mid 1990 but I do not follow all the details and what is 
presented I find useful. The chat about local suppliers and services is 
also useful.


Chris
--
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 Chris Donovan
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?

Chris-
--
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-26 Thread Chris Deigan

On 26/02/2010, at 11:16 AM, Ashley Glenday wrote:
 I ended up purchasing DNS hosting as my registrar didn't seem to be able to 
 set the glue records up properly.

That's pretty poor form, perhaps it's time to find a new registrar who know 
what they're doing ;)

(FWIW, AusRegistry has a fairly straight-forward interface to manually change 
these things around that your registrar should have access to. It's not black 
magic or anythin')

-Chris.--
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] nzb program

2010-02-09 Thread Chris Deigan

On 10/02/2010, at 12:14 AM, Lee Isaacson wrote:
 I am using Ubuntu 9.10 and I am looking for a program to download nzb
 files similar to grab it for windows. I have tried to install hellanzb
 but the file stays at 0. Do I need to look at another distro or is
 there another application that works better?

Depends on how complex you want your setup (which is probably in correlation to 
how often you grabs things using NZB files).

From a less-frequent use case, I use the text-based tool nzbget 
(http://nzbget.sourceforge.net/).
For a GUI application, I believe Pan (http://pan.rebelbase.com/) is supporting 
NZB files nowadays.

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


[SLUG] IE on Ubunto

2010-02-02 Thread Chris Allen

I have Ubuntu 9.10 installed and use Firefox for browsing the web.

Every so often some one tells me You must look at this but this is 
coded for IE only.
I am not inclined to buy another PC just to look at the occasional web 
site in IE

Is there a simple solution (cheap) to this dilemma?

Chris Allen

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

2010-02-02 Thread Chris Watkins
Have you noticed a difference when you run or don't run certain programs?

I had big overheating problems, which I finally solved by installing
Flashblock on Firefox. It was a case of too many tabs plus flash not running
well in Linux.

Before I discovered Flashblock, I took to stopping whatever applications
were using the most CPU% according to my task manager, which was usually
Firefox (in the task manager, right click - stop, so I could easily restart
again the same way). The temperature would drop very quickly.

Chris

On Tue, Feb 2, 2010 at 20:31, Ken Foskey kfos...@tpg.com.au wrote:

 On Tue, 2010-02-02 at 14:24 +1100, Mark Walkom wrote:
  Well the grease is needed as it facilitates a higher efficiency of heat
  transfer from the chip to the heatsink.
 
  Is this a laptop or a desktop PC?
  What are the CPU and GPU chips?

 Desktop.

 The CPU fan has been removed and replaced twice.  Under load it jumps
 from 30 to 40 and with a hot ambient (no aircon at all) climbs to 80 and
 stops.  Right now sitting on 29 and 26.

 The Nvidia card has a lot of cowling around the fans so I wonder how
 clogged it will be.  Previously I had carpet and was in Campsie which
 was bad for dust.

 In summary:

 - I will try and clean the heatsink on the Nvidia without removing it
 and no worry too much.

 - I will clean off grey goo on CPU and replace it with a thermal paste.

 Thanks
 Ken

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




-- 
Chris Watkins

Appropedia.org - Sharing knowledge to build rich, sustainable lives.

blogs.appropedia.org
community.livejournal.com/appropedia
identi.ca/appropedia
twitter.com/appropedia
-- 
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] Copying HDD

2010-01-17 Thread Chris Deigan
On 18/01/2010, at 11:34 PM, Heracles wrote:
 Do I need to use dd or is there a simple gui way. I need to copy ALL the
 files across.

cp (or rsync, depending on your circumstances) would work between filesystems. 
Just check the manpage for switches to preserve the file attributes.

-Chris.--
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   3   4   5   6   7   8   >