Re: [SLUG] Listing local wifi access points?

2010-10-04 Thread Mick Pollard
Hello all,


On Mon, 4 Oct 2010 17:15:55 +1100
Erik de Castro Lopo mle+s...@mega-nerd.com wrote:

 I have absolutely no interest in cracking other peoples wifi. What
 I'd like to do if figure out which channel in my local area is the
 least congested so I can park my AP on that channel.

If you have an Android phone then there is a great app that does everything you 
have asked for plus some more.
http://www.android.com/market/#app=com.farproc.wifi.analyzer

It even has a mode that will suggest the best channel for you.

 
 Erik
 
 [0] http://www.aircrack-ng.org/doku.php?id=getting_started)
 
 -- 
 --
 Erik de Castro Lopo
 http://www.mega-nerd.com/


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Fatal Firmware Anomaly


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

2010-02-10 Thread Mick Pollard
Hi

On Wed, 10 Feb 2010 20:15:21 +1100
david da...@kenpro.com.au wrote:

 Does anybody have an opinion about postgrey? Does it annoy legitimate 
 users? Slow down the system? Create false positives? Work as intended? 
 Any other thoughts?
It has proved to reduce UCE/UBE alot for me over the years but a downside that 
may or may not bother you/your users is the delay it brings to emails from new 
people.
My personal emails this is not a problem but in the workplace it may not be an 
option.
eg: If your on the phone with someone new you can't have an email sent to you 
during the phone call and continue your call around the email as the grey 
listing will get it and be delayed.

 
 thanks
 
 David.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Redundant Hardware Destabilisation Warning


-- 
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] Mini-itx Smoothwall

2009-12-05 Thread Mick Pollard
On Fri, 4 Dec 2009 11:30:52 +1100
Meijer, Luke luke.mei...@det.nsw.edu.au wrote:

 Hello
Hi,
 
 I want to build a mini-itx box for smoothwall 3.0
Nice idea. I'm looking at a similar setup for here.
Does it have to be smoothwall ?
An alternative to smoothwall is zeroshell - http://www.zeroshell.net/eng
 
 Hardware compatibility seems to be hit and miss in terms of NIC support / 
 SATA.
It can. 
Does smoothwall publish anything like a hardware compatibility guide ?
Zeroshell has a hardware guide up at http://www.zeroshell.net/eng/hw/
www.yawarra.com.au sells the hardware mentioned in the Zeroshell hardware guide.
 
 Anyone running such a solution and wish to share specs?


I'm not currently running this but it looks to be pretty good and I have it on 
my todo for the near future. 

 Cheers
 Luke

HTH
-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Bidirectional Parameter Override


-- 
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] exclude commented lines from output ?

2009-08-19 Thread Mick Pollard
On Thu, 20 Aug 2009 11:09:07 +1000 (EST)
Voytek Eymont li...@sbt.net.au wrote:

 how can I output a config file with only the valid directives, but not all
 the '#' commented lines ?
 
 # cat /etc/sysconfig/iptables-config
 
 # Load additional iptables modules (nat helpers)
 #   Default: -none-
 # Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
 # are loaded after the firewall rules are applied. Options for the helpers
 are
 # stored in /etc/modules.conf.
 IPTABLES_MODULES=
 
 
 so to get only
 IPTABLES_MODULES=
 ...
This is another way of doing it.
   grep ^[^#] file

It removes blank lines and lines starting with a #
It doesn't help with indented lines that start with a #



-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Delayed Comms Stackdump Error




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

Re: [SLUG] Clients accessing web server

2009-04-17 Thread Mick Pollard
Hi, 

On Fri, 17 Apr 2009 12:00:29 +1000
Rick Phillips r...@greyheads.net wrote:
 
 Thanks to all who replied.  I have had fun looking at the suggestions
 and trying some of the cpanel type replacements.  VHCS http://vhcs.net/
 is very good and very complete from what I can see but like a lot of
 open source stuff, very lacking in documentation.  I would have opted
 for that except that in the absence of really good detailed
 documentation, I decided that the customers would be as confused as one
 could possibly get.  If I had the luxury of time, I would have put it on
 a spare machine and written some docos myself, and that may happen yet,
 but not right now.
 
Just an FYI. VHCS was forked a little while ago and you will find it at
isp-control.net. ispCP has a few of the 'bugs' fixed and is moving at a
faster rate than VHCS is. I used vhcs to host about 200 domains for a
couple of years and didn't have any massive problems but like any
control panel there was a few short falls. With a little massaging it
was a nice system. Much nicer than the commercial ones and less bloat
for the customers to 'fiddle' with.
If you do decide to install VHCS or it's fork feel free to fire of a
question or two if you get stuck on anything.



 In the end, I opted for vsftpd in a chrooted environment.
 
Some times simple is the best. Less overheads to manage.

 Thanks again.
 
 Rick
 

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Insufficient Peripheral Interrupt Error




pgpluCTVOVx7E.pgp
Description: PGP signature
-- 
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] Booting (and logout) problem

2009-04-07 Thread Mick Pollard
On Tue, 7 Apr 2009 12:54:07 +1000
Jobst Schmalenbach jo...@barrett.com.au wrote:

 
 
 Hi.
Hi,

 
 I just upgraded to FC10 and everything works BUT 1 thing.
 
 When I look at the first mingetty (CTRL-ALT-F1) session the
 boot process has not cleanly finished as the last lines of the
 boot process are still clearly visible and the login screen
 that SHOULD be there is not there.
 
 This is not the case for all the other login screens and X is there too
 (as I am typing this from a X based mutt session).
 
 I normally enable only 2 mingettys in inittab but it looks
 too that inittab still has started all 6.
 
 When I log out then X returns to the first login screen
 (the unfinished boot process visbile) but does NOT respawn
 a new X session and the only two things I can
 do is to use one of the mingetty's to login in and use
 startx or reboot the machine to get a new X login screen.
 
 Anybody knows what this might be?


I believe FC now uses upstart (eventd) for its init system now. 
I don't have FC10 handy so will be using Ubuntu as my guide.
Directories and files may be in a different location. 

To change what getty's are started up go into /etc/event.d
and you should find a file for each instance of getty you want started.
ie) tty1, tty2, tty3..

Hope this helps you out.

 
 Jobst
 

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Undiagnosable Syntax Dump




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

Re: [SLUG] Clients accessing web server

2009-03-25 Thread Mick Pollard
On Wed, 25 Mar 2009 21:07:23 +1000
Rick Phillips r...@greyheads.net wrote:
Hi,

 I have a small mail and web server which is used by some paying
 customers and also some friends.  It currently is running Mandriva
 Server 3 which is getting old and I am in the throws of setting up a new
 server using Centos 5.2.
 
 Most of the web based stuff that I serve is based on Joomla but one
 customer has had a professional web designer create a new site for him
 which I have uploaded and all is working just fine.
 
 I have never allowed FTP, SFTP nor SSH access to the server for security
 reasons (other than myself) but this customer wants to directly edit his
 new web site from time to time.  I don't run C Panel (can't afford it)
 nor can I run ISPConfig which has some features missing such as mailing
 lists which a couple of clubs I host use.  I am looking for suggestions
 as to what members might think would be an easy but secure way for this
 customer to do what he wants to do - make changes to his web site
 directly on the server.
 
 I run name based virtual domains and I guess I could set all other
 folders which other customers use with chmod 700 and perhaps set up his
 folder as 750 and make his username part of the apache group.  I would
 then make his home area his web page folder but I am looking for a
 better way - if there is one.
 
 Would webdav be the ticket although I have never successfully set this
 up or is it just as easy for him to use an FTP client using SFTP to
 access his web root and make changes?
 
Webdav (with https for security ) could help you here but with chroot
capabilities in openssh you could allow the user in via ssh
or sftp and chroot them to their $HOME. This way they don't get to see
who else is on your server.
http://blogs.techrepublic.com.com/opensource/?p=229 has all the info
you should need.

 Thanks, 
 
 Rick

HTH

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Dynamic Integrity Invalidation Signal




pgp3P2dnzhZVl.pgp
Description: PGP signature
-- 
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] SMS messages.

2008-12-08 Thread Mick Pollard
On Mon, 08 Dec 2008 15:18:27 +1100
Chris Allen [EMAIL PROTECTED] wrote:

 Can any one recommend an application that I can use with Hardy Heron to 
 send an SMS message to a lot of mobile phones?
Depending on your needs but don't forget to look into things like
Clickatel and other online email2sms gateways. No real special
application or hardware needed then.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Dual-Homed Streaming Stackdump




pgpdtVOOBDPH6.pgp
Description: PGP signature
-- 
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] Requesting IPv6 address space

2008-10-09 Thread Mick Pollard
On Wed, 8 Oct 2008 23:38:33 +1100
Jeremy Visser [EMAIL PROTECTED] wrote:

 G'day SLUG,
 
Hi Jeremy,
 
 I'd actually like to get my hands on a small chunk of address space
 that I could play with and make my own. Unfortunately, according to
 the APNIC website:

Enjoy playing with IPv6 but don't forget an IPv6 capable firewall is
needed. ( ip6tables )

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


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Inherent Encryption Dump




pgpIi55RixpnC.pgp
Description: PGP signature
-- 
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] mt for backup to DAT tape

2008-09-14 Thread Mick Pollard
On Sun, 14 Sep 2008 15:28:16 +1000
Ben Donohue [EMAIL PROTECTED] wrote:

 Hi Daryl,
 Also anyone know of a GUI front end to get point and click backups working.
Not a gui but a simple HOWTO to get you started.
http://www.cyberciti.biz/faq/linux-tape-backup-with-mt-and-tar-command-howto/
There used to be a simple,good curses 'gui' called 'taper' but it seems
to have stalled. 
 
 Thanks.
 Ben
 

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Asynchronous Integrity Condition Error


-- 
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] mt for backup to DAT tape

2008-09-14 Thread Mick Pollard
On Sun, 14 Sep 2008 00:28:36 +1000
Daryl Thompson [EMAIL PROTECTED] wrote:

 Hi Ben
 
 you should be able to install the mt with
 
 yum install mt
make that
yum install mt-st
It is in the base repo of CentOS 5.2
 
 note this will need to be run as root
 

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Deprecated Memory Expiry Error


-- 
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] MX problem ?

2008-06-09 Thread Mick Pollard
Hi all,

On Tue, 10 Jun 2008 07:44:45 +1000 (EST)
Voytek Eymont [EMAIL PROTECTED] wrote:

 one of my users received a reject from an attempted inbound mail as below,
 I'm a bit perplexed as to where from is remote mail server looking for
 host autopack.com.au ?
 
 domain's mx is 'bilby.sbt.net.au', and, there is no probs that I can see,
 any thoughts ?
 
 --
  BELOW IS THE REJECT INFO RECEIVED ON MY LAST JUNE 4th EMAIL.
 
 
  -Mensaje original-
  De: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
  Enviado el: MiƩrcoles, 04 de Junio de 2008 02:27 p.m.
  Para: [EMAIL PROTECTED]
  Asunto: failure notice
 
 
  Hi. This is the qmail-send program at
  smtpauth19.prod.mesa1.secureserver.net. I'm afraid I wasn't able to
  deliver your message to the following addresses. This is a permanent
  error; I've given up. Sorry it didn't work out.
 
  [EMAIL PROTECTED] :
  Sorry, I couldn't find any host named autopack.com.au?. (#5.1.2)
 
One thing I can see here is the space at the end of the address, which then 
ends up looking like autopack.com.au?
Notice the ? 
This may be the problem.


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Legacy Backplane Overflow


pgptZ3pu97lnL.pgp
Description: PGP signature
-- 
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] Cat5 STP anywhere?

2008-06-05 Thread Mick Pollard
Hi,

On Fri, 6 Jun 2008 08:33:19 +1000
James Gray [EMAIL PROTECTED] wrote:

 Hi All,
 
 I have a non-networking project that requires category 5/5e STP (not  
 UTP!! - I *need* the shielded variety).  No big deal, except I can't  
 find anywhere that will sell it to me in arbitrary lengths.  They all  
 want to provide either a patch cable (that isn't long enough) or a  
 bulk roll (100m usually).  I need approximately 15m - second hand is  
 fine, stranded or solid core is not important; either will suffice.
 
 For the curious; I'm re-wiring an electronic anemometer which has  
 problems with interference from low frequency EMI.  The system uses a  
 high impedance, low voltage signalling technique over 2 pair  
Have you rung and spoke to Brett @ Boztek Solutions ?
This guy specialises in Weather sensors and remote telemetry and I am sure will 
be able to help you.
I know he has done the exact same mod before. 
  Weather Stations
  unit 2/100 Ham Street,
  South Windsor
  NSW, 2756, AU
  Phone: 02 4577 6269
 
 Cheers,
 
 James


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Viral Proxy Interruption


pgpNdBv3x8UE1.pgp
Description: PGP signature
-- 
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] opening com port in terminal

2008-05-28 Thread Mick Pollard
On Mon, 26 May 2008 19:28:59 +1000 (EST)
Voytek Eymont [EMAIL PROTECTED] wrote:


 
 Kevin, thanks
 
 that was the 1st thing I've done, set it to 2400 8N1
 after that, I've set h/w hs to 'off' [was 'on']
 
 # dmesg | grep tty
 Xen virtual console successfully installed as ttyS0
This here is what might be a problem.
This says xen has taken over /dev/ttyS0 ( com1)
What external com port are you trying to use ?
Is it an actual serial port or a USB2serial ?
I had some trouble with some weather gear using a USB2serial.

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


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Redundant Backplane NMI Error


pgpWqAOobwYM4.pgp
Description: PGP signature
-- 
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] opening com port in terminal

2008-05-28 Thread Mick Pollard
On Wed, 28 May 2008 12:29:55 +1000 (EST)
Voytek Eymont [EMAIL PROTECTED] wrote:


  Xen virtual console successfully installed as ttyS0
 
  This here is what might be a problem.
  This says xen has taken over /dev/ttyS0 ( com1)
  What external com port are you trying to use ?
  Is it an actual serial port or a USB2serial ?
  I had some trouble with some weather gear using a USB2serial.
 
 Mick,
 the single physical comm port, on the mainboard, com1
 how do I get rid of xen, (and, what it is?)
Xen is server virtualisation software.
If you don't know what it is then fair chance is you aren't using it.
During CentOS bootup grub should give you a choice of a xen kernel and a non 
xen kernel.
If not you will need to install the non xen kernel. ( yum will help you here )
 -- 
 Voytek
 
-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Invalid Retrieval Failure Signal


pgp7hX9VrKd6n.pgp
Description: PGP signature
-- 
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] simple text formatting language

2008-05-28 Thread Mick Pollard
On Thu, 29 May 2008 10:27:39 +1000
Sonia Hamilton [EMAIL PROTECTED] wrote:

 Can anyone recommend a simple text formatting language/package?
 
 To explain a bit more: I want a formatting language that's text based 
 (so it's easier to keep track of diffs in source control, and editable 
 in vim), for doing stuff you'd usually do in Open Office Word Processor 
 - bullet points, bold/italic, tables, etc. I'd like output in pdf, so 
 it's easily printable cross-platform.
 
 I've briefly thought about things like LaTeX, postscript and Docbook, 
 but they all seem overkill for what I want to do, and will take too much 
 time to learn.
 
Lyx may be useful to you. http://www.lyx.org/
LyX is a document processor that encourages an approach to writing based on 
the structure of your documents (WYSIWYM), and not simply their appearance 
(WYSIWYG).

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Dynamic Software Corruption


pgpN28hbEy03j.pgp
Description: PGP signature
-- 
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] opening com port in terminal

2008-05-25 Thread Mick Pollard

On Sat, 24 May 2008 09:13:58 +1000 (EST)
Voytek Eymont [EMAIL PROTECTED] wrote:

 how do I open com1 @ 2400 8N1 in a terminal ?
minicom will do the trick.( Don't run from inside of a screen
session with default key bindings )
You can set up the com port paramters inside of minicom aswell. 
I have used it before with some weather sensors sucessfully. 
 I've hooked up a temp sensor, and, would like to check it's outputting data,
 sensor continualy outputs data every 1 sec
Curious, what sensor(s) do you have ?
 Voytek

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Static Streaming Seizure

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Temporary Media Stackdump




pgpecM2VLlyra.pgp
Description: PGP signature
-- 
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] opening com port in terminal

2008-05-25 Thread Mick Pollard
On Sun, 25 May 2008 19:46:29 +1000 (EST)
Voytek Eymont [EMAIL PROTECTED] wrote:

 
 
  how do I open com1 @ 2400 8N1 in a terminal ?
  minicom will do the trick.( Don't run from inside of a screen session with
  default key bindings ) You can set up the com port paramters inside of
  minicom aswell. I have used it before with some weather sensors
  sucessfully.
 
 how do I make minicom go 'online' ?
If you have the serial port setup correctly then it should 'come online' 
automagically.
CTRL-a M tells minicom to reset the 'modem'. 
You may sometimes need to send a break to the serial device to wake up the 
comms. CTRL-a F

 
 
 what wether sensor did you use ?
It was more stations than sensors. Mix of davis and lacrosse and an old WMR918.
 
 
There is a few different opensource packages out there that work with different 
weather stations/sensors that make for some helpfull reading even if you don't 
end up using their software you can learn about the serial protols etc for your 
sensor. 
Not knowing what sensor(s) you are using I can't recommend any thing specific 
to read.
The dallas 1-wire sensors I believe have support in the current kernel but I 
haven't tested this out.
http://oww.sourceforge.net/
http://freshmeat.net/projects/wview/
http://www.lavrsen.dk/twiki/bin/view/Open2300/WebHome
http://freshmeat.net/projects/meteo/

If you are ever after any info/help/products in this arena I have a friend that 
specialises in WX monitoring and telemetry systems, feel free to contact me 
offlist.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Total Transmission Anomaly


pgpeTiDOjmEZP.pgp
Description: PGP signature
-- 
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] search engine for company network (OT)

2008-05-13 Thread Mick Pollard
On Wed, 14 May 2008 07:10:01 +1000
Sebastian Spiess [EMAIL PROTECTED] wrote:

 On our company network we have a daily growing number of documents in lots of 
 folders and stuff. Most of it is organised in 
 project folders and has reoccurring folder structures and file names.
 
 I want to suggest to install a search engine which will index our existing 
 files so that employees can crawl quickly though 
 projects history.
 
 I've heard of the various desktop search engines like beagle, tracker and 
 google desktop but are there open source engines 
 which can be run on a server so that many can connect to it and search?
 
 Sadly we are relying on MS office (2001), AutoCAD (R16 to 2008) and other 
 proprietary software in our daily work so those 
 kind of files would need to be indexed.
 
 
 Does anyone has a idea, something I could investigate further? a software 
 name?
 
Sounds like a document management system is what you might be better off with. 
This allows for searching of documents complete with an ACL system to protect 
private documents.
Have you had a look at http://www.knowledgetree.com/. 
This http://bitnami.org/stack/knowledgetree is a simple way of installing it 
all. I find Bitnami stacks are great for evaluating a package before deploying 
it the traditional way.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Asynchronous Memory Expiry


pgp6cR714KLIB.pgp
Description: PGP signature
-- 
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] Easy way to duplicate a setup?

2008-04-27 Thread Mick Pollard
On Mon, 28 Apr 2008 12:51:47 +1000
DaZZa [EMAIL PROTECTED] wrote:

 OK guru's. :-)
 
 I'm in a situation where I need to duplicate on a mass basis - to the
 order or 3000-5000 units - a Linux setup off a headless box.
Are they all in the same geographical location / network ? If so then some sort 
of multicast solution.
Clonezilla supports multicast I believe. Worth a look. 
http://www.clonezilla.org/
 
 3+ hours over 5000 machines is not really acceptable. :-)
 
 Is there a better way to do this? Something which will make a smaller
 image and dump back quicker - most of the disk is empty, there's only
 about 15 gig of actual data/setup on a 160 gig drive - and still
 maintain the partition setup/bootability like using DD does?
 
 Willing to listen to anyone who has a cluestick and is willing to apply it.


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Static Initialisation Unavailability Warning


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

[SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Mick Pollard
On Mon, 21 Apr 2008 15:18:13 +1000
Craig Dibble [EMAIL PROTECTED] wrote:

 Quoting [EMAIL PROTECTED]:
 
  maybe a quick and nasty shell/python/perl script to  
  change/update/swap your configuration file is what you need
 
 Indeed.
 
 I've done it this way in the past, usually just by running the script  
 manually, but you could attach it to an if-up script or even your  
 .profile to work out where you are and make the changes automatically.
 
 Craig
To automate this 'script' you could build a simple smtp profile system.
Grub allows you to pass extra info to it and this is made available to
the init process in shell variable $CMDLINE. 
So have a couple of entries in grub with different SMTP_profiles
( SMTP_profile=uni ) and then test for that in the init process
and trigger a script or run the necessary 'postconf -e' commands.

snippet from my grub/menu.lst

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro SMTP_profile=uni
initrd /kernel26.img

Results:
$CMDLINE on my system: root=/dev/sda3 ro SMTP_profile=uni


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Unregistered Service Timeout Problem




pgpF8YPTzajNN.pgp
Description: PGP signature
-- 
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: Sending mail from within a highly locked down network

2008-04-21 Thread Mick Pollard
On Mon, 21 Apr 2008 17:25:30 +1000
Sonia Hamilton [EMAIL PROTECTED] wrote:

 On Mon, 2008-04-21 at 16:31 +1000, Mick Pollard wrote:
  To automate this 'script' you could build a simple smtp profile system.
  Grub allows you to pass extra info to it and this is made available to
  the init process in shell variable $CMDLINE. 
 
 So would one access $CMDLINE in /etc/rc.local (Ubuntu), or elsewhere?
 
I am not sure on Ubuntu ( never used it or upstart ), I can't see why it
wouldn't, but on sysv init/bsd init I know it works. 
On arch linux I edit /etc/rc.multi and its available there.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Unreplicatable Proxy Interruption Signal




pgpq4Eh2gWGka.pgp
Description: PGP signature
-- 
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] Sending mail from within a highly locked down network

2008-04-20 Thread Mick Pollard
On Mon, 21 Apr 2008 12:06:54 +1000
Mary Gardiner [EMAIL PROTECTED] wrote:

 Background: my normal mail setup uses Postfix on my laptop to send
 outgoing mail. My university has blocked all outgoing ports except 80
 (and they may have a transparent proxy in front of that) and 443 on
 their wireless network. My laptop cannot contact its normal mail servers
 on any port. (I happen to run those servers, but I already have
 processes listening on 80 and 443 on the relevant servers!)
 
Courier Imap allows the sending of mail from IMAP. I haven't tried this myself 
so therefore cannot vouch for it.

This is a snip from the courier imap config file: 
/usr/lib/courier-imap/etc/imapd

##NAME: SENDMAIL:0
#
# If OUTBOX is defined, mail can be sent via the IMAP connection by 
copying
# a message to the INBOX.Outbox folder.  For all practical matters,
# INBOX.Outbox looks and behaves just like any other IMAP folder.  If 
this
# folder doesn't exist it must be created by the IMAP mail client, just
# like any other IMAP folder.  The kicker: any message copied or moved 
to
# this folder is will be E-mailed by the Courier-IMAP server, by running
# the SENDMAIL program.  Therefore, messages copied or moved to this
# folder must be well-formed RFC-2822 messages, with the recipient list
# specified in the To:, Cc:, and Bcc: headers.  Courier-IMAP relies on
# SENDMAIL to read the recipient list from these headers (and delete 
the Bcc:
# header) by running the command $SENDMAIL -oi -t -f $SENDER, with the
# message piped on standard input.  $SENDER will be the return address
# of the message, which is set by the authentication module.
#

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Replicated Systems Incompatibility


pgpm3wCwMVwkC.pgp
Description: PGP signature
-- 
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] working wvdial.conf file for Vodafone Huawei E220?

2008-04-15 Thread Mick Pollard
Hi Sonia,

On Tue, 15 Apr 2008 16:42:37 +1000
Sonia Hamilton [EMAIL PROTECTED] wrote:

 I've just bought a 3G Mobile Broadband plan from Vodafone. Anyone got a
 working wvdial.conf file?

I will be home in an hour and will post mine if someone doesn't beat me to it.

 
 -- 
 Thanks,
 
 Sonia Hamilton
 http://soniahamilton.wordpress.com
 http://www.linkedin.com/in/soniahamilton
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Extraneous Swapfile Bug Error


pgp3Py46rF659.pgp
Description: PGP signature
-- 
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] working wvdial.conf file for Vodafone Huawei E220?

2008-04-15 Thread Mick Pollard
Hi,

On Tue, 15 Apr 2008 16:50:05 +1000
Mick Pollard [EMAIL PROTECTED] wrote:

 Hi Sonia,
 
 On Tue, 15 Apr 2008 16:42:37 +1000
 Sonia Hamilton [EMAIL PROTECTED] wrote:
 
  I've just bought a 3G Mobile Broadband plan from Vodafone. Anyone got a
  working wvdial.conf file?
 
 I will be home in an hour and will post mine if someone doesn't beat me to it.
 
I'm actually using ppp and not wvdial. After creating these two files.
I just then use 'pon voda3g' or 'poff' to start/stop the link.
Make sure you have the necessary /dev/ppp ( mknod /dev/ppp c 108 0 )
I believe you need a kernel  2.6.20 for this to work. 
I do not need to enter a password at all.

[EMAIL PROTECTED] /etc/ppp/peers] cat  /etc/chatscripts/voda3G 

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
'' ATZ
OK-AT-OK ATDT*99#
CONNECT \d\c

[EMAIL PROTECTED] /etc/ppp/peers]# cat voda3G 
hide-password 
noauth
connect /usr/sbin/chat -v -f /etc/chatscripts/voda3G
debug
/dev/ttyUSB0
460800
defaultroute
noipdefault 
user guest
# Yes I use the username guest
ipparam voda3G
usepeerdns



-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Fatal Programming Condition Problem




pgpKQVWv0qORw.pgp
Description: PGP signature
-- 
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] Disk Full Message - help pls

2008-04-15 Thread Mick Pollard
Hi,

On Wed, 16 Apr 2008 08:25:36 +1000
bill [EMAIL PROTECTED] wrote:

 
 I;m running Kubuntu Hardy 8.40 beta.
 
 I have / on a 10 gb partition and /home on a separate 10gb partition.
 
 I am suddenly getting messages that there is not enough room in /tmp 
 or that my partition is full.

SNIP

 Ideas and suggestions please.
 
 Bill
I have this as a quick script. 
I mainly use it for finding who the top $HOME 'hogs' are ( excluding my $HOME 
of course ).
[EMAIL PROTECTED] ~]$ cd /home  sudo /usr/local/bin/findhogs
1000K   ./foo1/public_html
996K./foo2
988K./foo3
980K./foo4
944K./foo5
...
...
...


[EMAIL PROTECTED] home]$ sudo cat /usr/local/bin/findhogs 
#!/bin/bash
du -akh | grep -v lunix | sort -nr | head -20

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Minor Retrieval Bug


pgp17WF3yAphv.pgp
Description: PGP signature
-- 
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] restricting ssh private key to access sftp only

2008-04-13 Thread Mick Pollard
Hi,

On Mon, 14 Apr 2008 12:18:06 +1000
Amos Shapira [EMAIL PROTECTED] wrote:

 Hello,
 
 I'm setting up a script which uses sftp to manipulate remote files
 through ssh. I created a private/public key pair for it without a pass
 phrase on it, installed the public key on the remote server and now I
 can use both ssh and sftp to login to it.
 
 I'd like to restrict this key to be able to use only sftp and nothing else.
 
 According to man sshd, the command option should do that:
 
 command=command
   Specifies that the command is executed whenever this key is used
   for authentication.
   ...Note that this option applies to shell, command or subsystem execution.
 
 So I added a command=sftp to that key's line but this causes the
 entire session to abort. When I remove the command part I can use
 sftp and ssh again.
http://troy.jdmz.net/rsync/index.html has an example.

from=10.1.1.1,command=/home/remoteuser/cron/validate-rsync ssh-dss B3Nza
C1kc3MAAAEBAKYJenaYvMG3nHwWxKwlWLjHb77CT2hXwmC8Ap+fG8wjlaY/9t4uA+2qx9JNorgdrWKhH
SKHokFFlWRj+qk3q+lGHS+hsXuvta44W0yD0y0sW62wrEVegz+JVmntxeYc0nDz5tVGfZe6ydlgomzj1
bhfdpYe+BAwop8L+EMqKLS4iSacNjoPlHsmqHMnbibn3tBqJEq2QJjEPaiYj1iP5IaCuYBhuTKQGa+oy
H3mXEif5CKdsIKBj46B0tCy0/GC7oWcUN92QdLrUyTeRJZsTWsxKpRbMliD2pBh4oyX/aXEf8+HZBrO5
vQjDBCfTFQA+35Xrd3eTVEjkGkncI0SAeUVAMZSASmQ9Pi38mdm6oiVXD55Kk2rAAABAE/bA402V
SNIP

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Non-Static Checksum Dereferencing


pgpzCi5UD97zO.pgp
Description: PGP signature
-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Mick Pollard
On Sat, 05 Apr 2008 09:52:55 +1100
Crossfire [EMAIL PROTECTED] wrote:

 I've just spent some time quickly researching this to no real satisfaction.
 
 What I'm looking for is a way to do real-time hot-replication of a whole 
 filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) 
 without STOMITH[1].
 
 The scenario is I have two identical systems with local (software) 
 RAID1.  They will be tethered onto their internet feed via ethernet, and 
 can optionally be tethered to each other via Gig.
 
Have you had a look at http://www.drbd.org/ ?
It basically mirrors a blockdevice over ethernet. 
A raid1 of sorts.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Intermittant Checksum Invalidation Error


pgpPPkdV5wNbV.pgp
Description: PGP signature
-- 
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] Gigabyte Motherboards

2008-03-22 Thread Mick Pollard
Hi all,

On Sat, 22 Mar 2008 10:51:39 +1100
Murray Waldron [EMAIL PROTECTED] wrote:

 I was thinking of using the GA-P35-DS3P M/B that comes with Realtek 
 ALC889A codec for sound and Realtek 8111B chip for LAN. Going to run 
 Ubuntu 7.10 on it. Has anyone had compatibility issues with these 
 boards. Can only find questions on parts not working on the net!
A member of our lug just recently got a new mobo and it has a Realtek
ethernet port onboard. It doesn't work out of the box with either Ubuntu
or Centos. I believe he has found a 3rd party module he had to compile
and insert into the kernel.
I will find out the details when he gets home tomorrow and post here.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Unvalidated Retrieval Failure




pgplFyhKgjY8B.pgp
Description: PGP signature
-- 
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] which process holding port

2008-03-17 Thread Mick Pollard
On Mon, 17 Mar 2008 17:58:34 +0900
Hasnain [EMAIL PROTECTED] wrote:

 Hi Everyone,
 
 Is there anyway how to find which process is holding a tcp port in linux?
 Say for instance, i checked
 
 netstat -a |grep ###. but i dont know which process has opened or hold that
 port currently. Is there anyway to find out this?
 
Hi Hasnain,
A netstat -pl will show listening ports and the PID's of each entry.
Hope this helps.
example output:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp0  0 *:smtps   :*  LISTEN 4442/master 

 Thanks in advance,
 
 Hasnain
q
-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Duplicated Paging Interruption Error





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