Re: [SLUG] HOT SWAPPING - Internals of the sync/umount call

2009-05-16 Thread Alex Samad
On Sun, May 17, 2009 at 11:04:33AM +1000, Grahame Kelly wrote:

 On 16/05/2009, at 5:53 PM, Adrian Chadd wrote:

 On Sat, May 16, 2009, Grahame Kelly wrote:

 Rather than stating what I suspect is just a belief, have you look
 at the Kernel source code at all? If so I would be very interested at

[snip]

 I am not disputing that some drives or controllers may not be standards 
 conforming (at times this is more than likely). If and only if a drive, 
 or/and its controller conform to such standards, then whatever data 
 stream needs to be written by the subsystem on the completeion of a 
 sync or in response to a umount is suppose to ensure that such data 
 is stored on the media either before the status response is returned to 
 the driving s/w or is warranted to have done so.  If this didn't happen 
 then all hell would break loose (which is what your saying).

 I don't believe much if anything at all.

 We both have discovered via our experiences when things don't work  
 a.k.a. don't conform to a standard - this is when structures or such  
 methodologies break.
 Under POSIX umount is suppose to warrant such for the device, its  
 controlling structures and associated kernel drive tables.  If the  
 system(s) don't - then they simply are non-conforming implementations - 
 That is ALL.

I think you missed the point about partitions sitting on LVM sitting on
raid.  if you umount a lvm partition the block device provided by lvm is
unmounted - but the lvm group and potentially the raid device underneath
isn't.

Your about statement is only really true when we used drive directory
and not via DM or LVM

[snip]

 Cheers.
 Grahame


 Adrian




-- 
The legislature's job is to write law. It's the executive branch's job to 
interpret law.

- George W. Bush
11/22/2000
Austin, TX


signature.asc
Description: Digital 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] chmod probs.

2009-04-10 Thread Alex Samad
On Fri, Apr 10, 2009 at 01:00:10PM +1000, Daniel Pittman wrote:
 Kyle k...@attitia.com writes:
 

[snip]

 
 There is a limit to the number of arguments you can pass to chmod,
 though, so it is generally speaking better to structure that like this:
 
   find -name '*.jpg' | xargs chmod -R 644
 
 That falls apart if any of your filenames have spaces in them, though,
 since xargs splits on *any* whitespace; to work around that use:
 
   find -name '*.jpg' -print0 | xargs -0 chmod -R 644
 
 See the manual pages for the fine detail, obviously.


find \( -name '*.jpg' -a -exec chmod 644 {} \; \) -o \( -type d -exec
chmod 775 {} \; \)

but this execs for each file rather inefficient, but no worries about
command line length nor about white spaces.

One tool many paths

Alex

I intentionally left out the second -a 

 
 Regards,
 Daniel

-- 
The major advances in civilization are processes that all but wreck the
societies in which they occur.
-- A. N. Whitehead


signature.asc
Description: Digital 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] chmod probs.

2009-04-10 Thread Alex Samad
On Sat, Apr 11, 2009 at 07:57:09AM +0800, jam wrote:
 On Saturday 11 April 2009 00:06:56 slug-requ...@slug.org.au wrote:
 [snip]
   What am I missing?
 
  find(1), which is used to locate a list of files matching a given set of
  criteria, allowing you to do something like this:
 
    chmod -R 644 `find -name '*.jpg'`
 
  (Note the single-quotes around the glob pattern?  Without that the shell
   would expand the pattern, which would cause a syntax error for the find
   command, and not do what you want.)
 
  There is a limit to the number of arguments you can pass to chmod,
  though, so it is generally speaking better to structure that like this:
 
    find -name '*.jpg' | xargs chmod -R 644
 
  That falls apart if any of your filenames have spaces in them, though,
  since xargs splits on *any* whitespace; to work around that use:
 
    find -name '*.jpg' -print0 | xargs -0 chmod -R 644
 
  See the manual pages for the fine detail, obviously.
 
 Um sure, but in this context too complicated IMHO
 find . -type d -exec chmod 775 {} \;
 find . -type f -exec chmod 664 {} \;

need  around the {} for filenames with spaces

 
 which does what he said he wanted to do without fussing about jpgs etc
 I have a bunch of directories with a bunch of files (pictures) in each. 
 I want to set directories to 775 and files to 664.
 
 James

-- 
This very week in 1989, there were protests in East Berlin and in Leipzig. By 
the end of that year, every communist dictatorship in Central America had 
collapsed.

- George W. Bush
11/06/2003
Washington, DC


signature.asc
Description: Digital 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] virtualisation solutions?

2009-03-19 Thread Alex Samad
On Thu, Mar 19, 2009 at 04:08:19PM +1100, Tony Sceats wrote:
 with VirtualBox 2.1.4 you don't have to setup any bridging, at least not to
 be on the same LAN (ie, my VirtualBox machine is on the same subnet as my
 the physical machine)
 
 basically you just say use eth0 (or whatever) in the Virtual Machine config,
 and it doesn't setup any bridge interfaces
 
 very very easy

true main reason I use it on my laptop like this is when i moved from
lan to wireless, bridged routing works and seamless (with the help of
SNAT)

 
 

[snip]

 
  this is mine for virtualbox on debian
  auto brVB
  allow-hotplug brVB
  # All the vbox interfaces will attach to this interface
  iface brVB inet static
 bridge_ports none
 address 192.168.1.1
  netmask 255.255.255.0
 
  I then just use routing
 

[snip]

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

-- 
Sic transit gloria Monday!


signature.asc
Description: Digital 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] mutt and imap folder hooks?

2009-03-18 Thread Alex Samad
On Thu, Mar 19, 2009 at 11:43:00AM +1100, Sonia Hamilton wrote:
 I'm trying to set mutt folder hooks on an IMAP folder, and I'm not
 having much luck. I haven't been able to google up any examples. 
 
 For example:
 
 folder-hook . set from=so...@foo.com
 folder-hook imaps://my.mailserver.net/INBOX/blah set from=so...@bar.com

try folder-hook . set from=so...@foo.com
folder-hook imaps://my.mailserver.net/INBOX/blah set from=so...@bar.com

 
 Anyone got any ideas why this is wrong, or got a working example?
 
 Thanks,
 Sonia.



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

-- 
I'm thrilled to be here in the bread basket of America because it gives me a 
chance to remind our fellow citizens that we have an advantage here in America 
-- we can feed ourselves.

- George W. Bush
08/23/2002
Stockton, CA


signature.asc
Description: Digital 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] virtualisation solutions?

2009-03-18 Thread Alex Samad
On Thu, Mar 19, 2009 at 01:09:47PM +1100, Jeff Waugh wrote:
 quote who=Sridhar Dhanapalan
 
  It still looks like having proper network bridging (so the VMs are
  directly on the network just like any other host) is a pain in the bum.
  The solutions I've seen involve performing some arcane rituals with brctl
  and co.
 
 Bridging is brain-meltingly simple on Debian-based systems. Quick example of
 /etc/network/interfaces with a single bridge set up:
 
   auto br0
   iface br0 inet static
 address 192.168.10.200
 netmask 255.255.255.0
 gateway 192.168.10.1
 bridge_ports eth0 eth1 eth2
 
 ^ Only *ONE* extra line to say sudo make me a bridge, xkcd-style ;-)

this is mine for virtualbox on debian
auto brVB
allow-hotplug brVB
# All the vbox interfaces will attach to this interface
iface brVB inet static
bridge_ports none
address 192.168.1.1
netmask 255.255.255.0

I then just use routing 

 
 (There are additional parameters you can add if you want to, but they're all
 optional.)
 
 - Jeff
 
 -- 
 linux.conf.au 2010: Wellington, NZ   http://www.penguinsvisiting.org.nz/
  
 The postmodern version is: If all you have is duct tape, everything
starts to look like a duct. Right. When's the last time you used duct
tape on a duct? - Larry Wall
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
And I am an optimistic person. I guess if you want to try to find something to 
be pessimistic about, you can find it, no matter how hard you look, you know?

- George W. Bush
06/15/2004
Washington, DC


signature.asc
Description: Digital 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] Latest or recommended ways to display Gnome Desktop from Windows boxes.

2009-03-18 Thread Alex Samad
On Thu, Mar 19, 2009 at 03:05:42PM +1100, Michael Lake wrote:
 Hi all

 I need get get several MS Windows users access to a Fedora Linux box.
 I have nxserver from nomachine on at present and it works very well but 
 it's limited to just two users. I had tried previously using freenx but I 
 could not get it to work as there seemed to be many library problems in 
 the package.

 This review here shows a lot more than I wanted to see!
 http://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software#cite_note-SSHwithX_sessions-4

 I basically want a free/open source server for Linux and a free client 
 for Windows for several users to display a Gnome desktop. Plain ssh -X is 
 not sufficient.

 What have you found that is modern and works well that you have tried?

vncserver and ultravnc , the former on the linux box and the later on
windows boxes


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




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

 Think. Green. Do.

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


-- 
We all know that no one understands anything that isn't funny.


signature.asc
Description: Digital 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] Any Active Directory LDAP gurus?

2009-03-17 Thread Alex Samad
On Wed, Mar 18, 2009 at 12:45:41PM +1100, Grant Parnell wrote:

[snip]

 Like, I started here...
 http://msdn.microsoft.com/en-us/library/ms675085(VS.85).aspx

have a look here http://www.padl.com/  


 Also would be interested in finding other products (open or not) that do  
 this running on Ubuntu Hardy preferably.

 -- 
 Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox  
 Valley Rd Wahroonga  NSW  2076  |
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
Will the highways on the Internet become more few?

- George W. Bush
01/29/2000
Concord, N.H.


signature.asc
Description: Digital 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] NAS storage compatibility

2009-03-14 Thread Alex Samad
On Sat, Mar 14, 2009 at 05:29:22PM +1100, Barrie Hall wrote:
 I must say after years of filling up old Compaq servers with SATA disks 
 and then having said servers die after 18 months, I just gave up and went 
 and bought a Dlink DNS-343 and put 4 x 1TB disks in it RAID 5.

 It's great.

 It's shuts down the arrray after xx mins of inactivity, uses very little  
 power and makes hardly any noise. It runs a 2.6 kernel, uses Linux 
 software RAID, it's quick and took less than 10 mins to set up. The 
 filesystem is ext3 and the box runs Samba. On start up, it looks for a 
 script to run which allows you do install extra software, ssh, ftp, 
 telnet, apache, anything you need (It is intended as a NAS though) so 
 it's infinetely hackable if thats what you want to do.

what sort of performance do you get from it ?


 Since I turned off my DL380 filer server for the last time, my power bill 
 has gone down, my garage is quite and I have a neat solution I can grab 
 in case of a bush fire (we live close to bush in northern sydney).

 Highly recommended.

 Barrie


[snip]


-- 
After standing on the stage, after the debates, I made it very plain, we will 
not have an all-volunteer army. And yet, this week we will have an 
all-volunteer army!

- George W. Bush
10/16/2004
Daytona Beach, FL


signature.asc
Description: Digital 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] IPv6 question

2009-03-03 Thread Alex Samad
On Tue, Mar 03, 2009 at 10:55:27PM +1100, Robert Barnett wrote:

 Just for fun, I'm setting up a FC10 machine with as an IPv6 router.
 The tunnel device (tun0) is automatically created using a script (aiccu)

is this a 6to4 sit or are you using a tunnel broker ?


You can use ip -6 r g ipv6.google.com

or ping6 

ping6 ipv6.google.com
PING ipv6.google.com(2001:4860:c003::68) 56 data bytes
64 bytes from 2001:4860:c003::68: icmp_seq=1 ttl=60 time=387 ms

i use 6to4 addressing because I have a static ipv4 adsl address

 ip -6 r
::/96 via :: dev ppp06to4  metric 256  mtu 1440 advmss 1380 hoplimit
4294967295
unreachable 2002:3cf1:f856:8::1 dev lo  proto kernel  metric 256  error
-128 mtu 16436 advmss 16376 hoplimit 4294967295
2002:3cf1:f856:11::/64 dev eth0.0  proto kernel  metric 256  mtu 1500
advmss 1440 hoplimit 4294967295
2002::/16 dev ppp06to4  proto kernel  metric 256  mtu 1440 advmss 1380
hoplimit 4294967295
2000::/3 via ::192.88.99.1 dev ppp06to4  metric 10  mtu 1440 advmss 1380
hoplimit 4294967295
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev eth1  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev eth0.0  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev eth0.1  proto kernel  metric 256  mtu 1460 advmss 1400
hoplimit 4294967295
fe80::/64 dev ppp06to4  proto kernel  metric 256  mtu 1440 advmss 1380
hoplimit 4294967295
unreachable fe80::/64 dev lo  proto kernel  metric 256  error -128 mtu
16436 advmss 16376 hoplimit 4294967295
fe80::/64 dev wlan0  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev tap0  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295

6to4 addresses are inthe 2002::/16 space

 ifconfig ppp06to4
ppp06to4  Link encap:IPv6-in-IPv4
  inet6 addr: 2002:3cf1:f856::1/16 Scope:Global
  inet6 addr: ::60.241.248.86/128 Scope:Compat
  UP RUNNING NOARP  MTU:1440  Metric:1
  RX packets:9712 errors:0 dropped:0 overruns:0 frame:0
  TX packets:13236 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:2045103 (1.9 MiB)  TX bytes:1264034 (1.2 MiB)


i create it with 
$IP tunnel add $TUNNAME mode sit ttl 32 remote any local $IPV4ADDR
  
if you are using a broker then it will setup the interface



 I want to allow other machines to use this box as a gateway, but I think 
 I have the config wrong

 1: lo: LOOPBACK,UP,LOWER_UP mtu 16436
 inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
 2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qlen 100
 inet6 2001:1938:83:52::3/64 scope global
valid_lft forever preferred_lft forever
 inet6 fe80::20d:57ff:fd9b:4b24/64 scope link
valid_lft forever preferred_lft forever
 40: tun0: POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP mtu 1280 qlen 500
 inet6 2001:1938:83:52::2/64 scope global
valid_lft forever preferred_lft forever
 inet6 fe80::1838:83:52:2/64 scope link
valid_lft forever preferred_lft forever

 2001:1938:83:52::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 
 1440 hoplimit 4294967295
 2001:1938:83:52::/64 dev tun0  proto kernel  metric 256  mtu 1280 advmss 
 1220 hoplimit 4294967295
 fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440  
 hoplimit 4294967295
 fe80::/64 dev tun0  proto kernel  metric 256  mtu 1280 advmss 1220  
 hoplimit 4294967295
 default via 2001:1938:83:52::1 dev tun0  metric 1024  mtu 1280 advmss  
 1220 hoplimit 4294967295

 I have radvd running and everything works well on the LAN using the  
 stateless addresses.

 --

 I've tried many combinations of a few things to solve the problem

 turning off /etc/init.d/iptables

 turning off /etc/init.d/ip6tables

 sysctl -w net.ipv6.conf.default.forwarding=1

 sysctl -w net.ipv6.conf.all.forwarding=1

 Restricting prefix of tun0
 # /sbin/ip -6 addr del 2001:1938:83:52::2/64 dev tun0
 # /sbin/ip -6 addr add 2001:1938:83:52::2/126 dev tun0

 Changing the global ip on eth0 to the same as tun0

 Any thoughts?

 Thanks

 Robbie Barnett

 rob...@barnett.id.au
 0431864709
 Skype Name: retsil42

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


-- 
I glance at the headlines just to kind of get a flavor for what's moving. I 
rarely read the stories, and get briefed by people who are probably read the 
news themselves.

- George W. Bush
09/21/2003
Washington, DC


signature.asc
Description: Digital 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] MEncoder experience

2009-03-02 Thread Alex Samad
On Sun, Mar 01, 2009 at 09:41:18PM +1100, Sebastian Spiess wrote:
 Hi all,
 
 I've started using mencoder to reduce size of the videos I take with my
 digicam.
 
 up to now I've used something along the line of 
 mencoder P1020451.MOV -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000
 -oac mp3lame -lameopts cbr:br=96:mode=3  -of avi -o wallaby.avi
 
 as I have not much of a clue I used these settings and they gave me much
 smaller videofiles which play on my ubuntu with no problems.
 
 But as you can see I use mpeg4 and not ogg. What would be a good setting
 for ogg?
 
 Do you have any suggestions for optimising the video compacting?
 
 BTW: I tried using some of the MEncoder GUIs all to no avail. they where
 all complicated to install, dependencies etc... suggestions are welcome!

any reason for using ogg, the guys on the mailing list are rather not
happy with ogm and ogg for video.  I would suggest moving to x264 and
aac in a mkv container.

this is what i use on my video files from my digital camera (power shot
g10 - cannon). my requirement was ease of view from over the internet.

also I use 2 pass encoding and mp4 and scales to quarter pal ~ 300bits (this is 
a cut and paste from the
output of my scripts lanrisk.addr is the input file)


Video Pass 1/2
nice mencoder -really-quiet -vf 
scale=::qpal,hqdn3d=2:1:2,pp=de,uspp=5,harddup  -af volnorm=1\
 -ovc x264  -x264encopts \
pass=1:turbo=2:nob_pyramid:bframes=1:subq=6:frameref=3:partitions=all:me=umh:weight_b:threads=auto:qcomp=0.75:mixed_refs:nofast_pskip:trellis=2:nodct_decimate:nopsnr:brdo:bitrate=300
-oac faac  -faacopts br=128:object=2:tns:mpeg=4  -passlogfile \
/tmp/user/1000/myConvert.14Xa4/divx2pass.log -o /dev/null \
lanrisk.addr -idx/tmp/user/1000/myConvert.14Xa4/stdout.txt \
2/tmp/user/1000/myConvert.14Xa4/stderr.txt


nice mencoder -really-quiet  -vf
scale=::qpal,hqdn3d=2:1:2,pp=de,uspp=5,harddup  -af volnorm=1  -ovc
x264  -x264encopts
pass=2:nob_pyramid:bframes=1:subq=6:frameref=3:partitions=all:me=umh:weight_b:threads=auto:qcomp=0.75:mixed_refs:nofast_pskip:trellis=2:nodct_decimate:nopsnr:brdo:bitrate=300
-oac faac  -faacopts br=128:object=2:tns:mpeg=4  -passlogfile
/tmp/user/1000/myConvert.14Xa4/divx2pass.log -o
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.avi lanrisk.addr -idx
/tmp/user/1000/myConvert.14Xa4/stdout.txt
2/tmp/user/1000/myConvert.14Xa4/stderr.txt

nice MP4Box -aviraw video
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.avi -out
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.h264
/tmp/user/1000/myConvert.14Xa4/stdout.txt
2/tmp/user/1000/myConvert.14Xa4/stderr.txt

nice MP4Box -aviraw audio
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.avi -out
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr.aac
/tmp/user/1000/myConvert.14Xa4/stdout.txt
2/tmp/user/1000/myConvert.14Xa4/stderr.txt

nice  mv
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_audio.raw
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_audio.aac
/tmp/user/1000/myConvert.14Xa4/stdout.txt
2/tmp/user/1000/myConvert.14Xa4/stderr.txt

nice MP4Box -add
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_video.h264 -add
/tmp/user/1000/myConvert.14Xa4/lanrisk.addr_audio.aac -new
lanrisk.addr.mp4   /tmp/user/1000/myConvert.14Xa4/stdout.txt
2/tmp/user/1000/myConvert.14Xa4/stderr.txt

nice touch -r lanrisk.addr lanrisk.addr.mp4
/tmp/user/1000/myConvert.14Xa4/stdout.txt
2/tmp/user/1000/myConvert.14Xa4/stderr.txt


 
 
 Cheers,
 
 Seb



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

-- 
Over 75 percent of white Americans own their home, and less than 50 percent of 
Hispanos and African Americans don't own their home. And that's a gap, that's a 
homeownership gap. And we've got to do something about it.

- George W. Bush
07/01/2002
Cleveland, OH


signature.asc
Description: Digital 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] compress videos post Kino?

2009-03-02 Thread Alex Samad
On Mon, Mar 02, 2009 at 08:01:35AM +1100, Sonia Hamilton wrote:
 I've been using Kino to record videos of my BJJ training and
 competitions [1]. Kino's all working nicely but I've noticed that the
 videos (.avi version 2) are large - too large to record to dvd for backup.

 What's the canonical way of compressing videos? Any tool people would
 recommend?

have a look at avidemux


 [1] http://en.wikipedia.org/wiki/Bjj

 -- 
 Sonia Hamilton.


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


-- 
I don't have people coming in the rope line saying, 'I'd like a new bridge, or 
how about some more highway money.'  They're coming to say, 'I'm coming to tell 
you, Mr. President, I'm praying for you.'

- George W. Bush
09/12/2006
Washington, DC
said to journalists in the Oval Office (as reported by the National Review)


signature.asc
Description: Digital 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] Need a lesson in routing [WAS: memory]

2009-02-25 Thread Alex Samad
On Thu, Feb 26, 2009 at 06:56:57AM +1100, Kyle wrote:
 Only just saw this msg.

 I did indeed load up wireshark and was using it. But I couldn't see any  
 packet identifying itself as an ipv6 packet. I realise that is  
 illogical. Every IP address registered by Wireshark was definitely an  
 ipv4 format.

there might not have been an ipv6 request unless yuo had ipv6 routing
setup.

your machine would have made a dns request for a 


 I s'pose I could switch it back on and go again, but at this point it  
 works. Once I read up on v6, I'll give it another shot.

 Thanks again folks.
 
 Kind Regards

 Kyle


 Martin Visser wrote:
 Well done Michael!

 If you were using a wireshark to look at you application flow you would 
 have seen the IPv6 query going out (but not getting an answer) and then 
 a followup with a working IPv4 query and then a quick response.



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


-- 
Falling rock.


signature.asc
Description: Digital 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] Need a lesson in routing [WAS: memory]

2009-02-19 Thread Alex Samad
On Fri, Feb 20, 2009 at 12:35:09PM +1100, Peter Chubb wrote:
  Kyle == Kyle  k...@attitia.com writes:
 
 Kyle So I guess I need to look elsewhere as to why my experience is
 Kyle slow. To clarify my thinking, my 'slow' experience relates to
 Kyle the Server/Router routing to/from the hosts behind it.
 
 Is this on individual connexions or after a connection is established?
  If the former, I'd be looking at DNS services and timeouts.  If the
 latter, then measuring on the server box.
 
 Kyle Hosts behind the box timeout frequently when contacting the mail
 Kyle server. Likewise HTTP calls through the box seem unusually slow
 Kyle despite an ADSL2+ running at ~ 15Kbps D'Load connection (noise
 Kyle margin and attentuation seem in reasonable levels).  Yet an HTTP
 Kyle call from the Server itself loads fairly quickly.

jumping into the discussion, have you got an mtu problem ?

 
 The mail server *is* the box?  Is this box also serving DHCP?  Who
 serves DNS inside your firewall?
 ==
 Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
 http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
 A university is a non-profit organisation only in the sense that it
 spends everything it gets  ... Luca Turin.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
You believe in the Almighty, and I believe in the Almighty. That's why we'll 
be great partners.

- George W. Bush
12/10/2002
Washington, DC
to Turkish Prime Minister Recap Tayyip Erdogan,


signature.asc
Description: Digital 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] How to get files off hard drive?

2009-02-13 Thread Alex Samad
On Fri, Feb 13, 2009 at 03:25:08PM +1100, Leslie Katz wrote:
 Thanks for replying so quickly, Jake.

[snip]


 I think that's my best shot, because I haven't got a clue about how I  
 might get the CPU fan on computer A going again. If I knew that, I would  
 also have known enough not to accept the default installation in Fedora  
 9, in so far as it used LVM!!

if its only to get the stuff of the drives. open the case leave it open
- maybe get an external house fan and point it at the open case
  (although with the temp right now it might not be a problem)

and just turn it on, should last long enough to start up and copy the
files over 


 Thanks again,

 Leslie

[snip]

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


-- 
I don't have to accept their tenants. I was trying to convince those college 
students to accept my tenants. And I reject any labeling me because I happened 
to go to the university.

- George W. Bush
02/23/2000
Today


signature.asc
Description: Digital 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] Ask SLUG - IP Telephony

2009-02-09 Thread Alex Samad
On Tue, Feb 10, 2009 at 07:21:32AM +1100, Ben Donohue wrote:
 Hi all,

 (this is a bit like an ask Slashdot... maybe we can have an ask SLUG)

 my work is looking at rationalizing phone/mobile usage with possibly  
 VOIP between offices. I've suggested setting up Linux boxes and using  
 Asterix.

 As usual FOSS is a bit unknown to the higher ups and they are also  
 looking to external suppliers.

 Just a general question/thread on what have others done to get down the  
 phone bills of...
 inter-office calls
 calls to and from mobiles
 conferencing (mainly inter-office Australia/NZ and many Asian offices)
 Blackberry/Windows Mobile

 Idea's on how others have used Linux and FOSS applications to solve this  
 problem.
 Anyone do this for a living? (perhaps come in or give an intro on what  
 you can do for us?)

the simple steps I did to get voip (not necessarily foss ) into the
places I manage

1) played with it a home - get to know your hardware/software/ acronyms
2) I went with a sipuria ata 3000 - if fits between you phone and the
exchange no need to change the phone or phone line - you do need an
internet service capable of handling voip.  Note I have also placed it
between a pabx and exchange.  sipuria got bought out by linksys now
cisco the current module is a spa3102.

The really good thing about them is once they are in place if anything
goes wrong, just pull the power and the fall back to straight through
connections to the pstn - as if the device wasn't there.

Now just route all your outgoing calls with a VSP. I would suggest
pennytel for one reason, they can make you number (CID) look like your pstn
number, my net phone can't so outgoing calls looks like they came from
your normal land line.

you will probably save most of your cost with the above setup.
(depending on the number of lines and simultaneous calls etc etc0

once you happy with this then maybe move forward with voip / ip handset




 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




signature.asc
Description: Digital 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] dns attack

2009-01-28 Thread Alex Samad
On Wed, Jan 28, 2009 at 08:31:35PM +1100, Daniel Pittman wrote:
 Alex Samad a...@samad.com.au writes:
  On Wed, Jan 28, 2009 at 10:40:14AM +1100, Kyle wrote:
  Alex Samad wrote:
   On Tue, Jan 27, 2009 at 01:15:25PM +1100, Daniel Pittman wrote:
  
   doesn't stop them getting down my adsl link, but atleast it keeps them
   off my dns server :{
 
  Which begs the question;
 
  IF it is your personal DNS, it is surely only caching the outside
  world and updating for your internal world. Why have you got 53 open
  to the outside world in the first place?
 
  its not, its a primary and tertiary  for another
 
 The guide to securing bind9 available from the SANS link I posted has a
 good template for configuring your system to act safely, even if you use
 a single system as a resolver *and* an authoritative DNS server.
 
 I used it, (urgently since my systems were participating) and it has
 resolved the issue: rimspace.net no longer responds inappropriately to
 outside queries, but is a recursive and authoritative resolver.
 
 I highly recommend their guides.
yeah I have been through it, had it mostly configured that way - but
nothing majour missing.

I was more sort of interested to see if other members were seeing it,
sort of like when there is a comparison of ssh and spam numbers

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

-- 
Will the highways on the Internet become more few?

- George W. Bush
01/29/2000
Concord, N.H.


signature.asc
Description: Digital 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] dns attack

2009-01-27 Thread Alex Samad
On Wed, Jan 28, 2009 at 10:40:14AM +1100, Kyle wrote:
 Alex Samad wrote:
  On Tue, Jan 27, 2009 at 01:15:25PM +1100, Daniel Pittman wrote:
 
  doesn't stop them getting down my adsl link, but atleast it keeps them
  off my dns server :{
 
 

 Which begs the question;

 IF it is your personal DNS, it is surely only caching the outside world  
 and updating for your internal world. Why have you got 53 open to the  
 outside world in the first place?

its not, its a primary and tertiary  for another



 
 Kind Regards

 Kyle


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


-- 
Science is built up of facts, as a house is with stones.  But a collection
of facts is no more a science than a heap of stones is a house.
-- Jules Henri Poincar'e


signature.asc
Description: Digital 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] dns attack

2009-01-26 Thread Alex Samad
Hi 

I was wondering how many other people are getting flooded with 


named[29134]: client 63.217.28.226#17705: query (cache) './NS/IN' denied


dns DDOS attacks ?

-- 
Mr. Vice President, in all due respect, it is--I'm not sure 80 percent of the 
people get the death tax. I know this: 100 percent will get it if I'm the 
president.

- George W. Bush
10/18/2000
St. Louis, MO
During the third presidential debate


signature.asc
Description: Digital 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] dns attack

2009-01-26 Thread Alex Samad
On Tue, Jan 27, 2009 at 01:15:25PM +1100, Daniel Pittman wrote:
 Alex Samad a...@samad.com.au writes:
 
  I was wondering how many other people are getting flooded with 
  named[29134]: client 63.217.28.226#17705: query (cache) './NS/IN' denied
  dns DDOS attacks ?
 
 Everyone; it is hugely prevalent at the moment, and it can be very hard
 to handle the situation nicely with the currently available tools.
 
 http://isc.sans.org/diary.html?storyid=5713

interesting, I have modified my firewall (based on my ssh filtering)

IPT='/usr/sbin/iptables'
if [ ! -e $IPT ]
then
echo Unable to find $IPT setting to #
IPT='#'
fi


#$IPT -t filter --new-chain DNS
$IPT -t filter --flush DNS

# DNS
$IPT -t filter -A DNS -m recent --set --name DNS 
$IPT -t filter -A DNS -m recent --name DNS ! --rcheck --seconds
3600 --hitcount 8 --jump ACCEPT
# Well, the NEW connection has been seen so let's update the DNS
# recent list.
$IPT -t filter -A DNS -m recent --name DNS --update
$IPT -t filter -A DNS -m recent --set --name DNSLOG 
$IPT -t filter -A DNS -m recent --name DNSLOG ! --rcheck
--seconds 3600 --hitcount 4 --jump ULOG $ULOG_OPTIONS --ulog-prefix
sydrt01 (DNS)
# Well, the NEW connection has been seen so let's update the DNS
# recent list.
$IPT -t filter -A DNS -m recent --name DNSLOG --update
#$IPT -t filter -A DNS -j DROP
#$IPT -t filter -A DNS -j REJECT --reject-with
icmp-port-unreachable
$IPT -t filter -A DNS -j REJECT --reject-with
icmp-host-unreachable


I kind of figure that the dns records should be cached for more than an
hour anyway so.

doesn't stop them getting down my adsl link, but atleast it keeps them
off my dns server :{


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

-- 
I don't see why it matters what is written. Not when it's about people.
It can always be crossed out.
-- (Terry Pratchett  Neil Gaiman, Good Omens)


signature.asc
Description: Digital 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] VLC to TV

2009-01-07 Thread Alex Samad
On Wed, Jan 07, 2009 at 06:35:02PM +1100, Ben Donohue wrote:
 Hi all,

 I'm looking to setup a pc with an output to a tv (big flatscreen) to  
 play video files. Sort of like home theatre.

 or video files over a lan connection from a server.

 recording tv is not necessary but may be good.

 Is there a Linux distro that does this or do people go for a hardware  
 appliance?

I have a mac mini with plex on it.  PLex is a fork of Xboc Media Center
- originally for the xbox, it has bee ported to linux, great for filing
  tv shows and movies and pictures and music, doesn't do TV recording
:(.  If you don't care about the later I would recommend having a look
at XBMC

Alex


 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


-- 
Families is where our nation finds hope, where wings take dream.

- George W. Bush
10/18/2000
LaCrosse, WI


signature.asc
Description: Digital 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] NAS device for home?

2008-12-19 Thread Alex Samad
On Fri, Dec 19, 2008 at 02:51:35PM +1100, Daniel Pittman wrote:
 Sonia Hamilton so...@snowfrog.net writes:
 

[snip]

 
  If so, any recommendations for a mobo that takes a large number of
  SATA drives (eg 6 or 8) and doesn't have some weird BIOS thing that
  requires Windoze to support said large number of drives?
 
 It is pretty trivial to get a standard AHCI SATA controller for six
 drives, although 8 are less common.  A 4 port AHCI PCIe SATA controller
 is fairly inexpensive though...

I would recommend 

amd 5200+  gigabyte ma78gm-s2h+2gb from fluidtek.com.au, 5 sata and a
Adaptec 1430SA SATA II RAID Controller - 4 Port $199 from techbuy.

I put this together in a tower case with 4G of ram, with 9 x 1T drives
($150 / drive fluidtek). works really well with debian amd etch ( and
above). The one caveat is you have to compile your own nic driver the
one in the kernel doesn't support the one on the motherboard.

or 

ga-m750sli-ds4 (6 sata)  again with the adaptec card (works out the
box).  For a total of 10 x 1Tb (raid6). had some problems with optical
out with this mb, because it was so new, but 1.0.18 fixed that.

both have gige nics

Alex

(recent buys in the last 12 months)


 
 Now for the but:
 
 The NAS devices are generally less power hungry, and sometimes less
 noisy, than building your own NAS solution.  They also (generally) come
 with hot-swap disks rather than fixed.
 
 Building a PC that has hot-swap will generally cost you more than buying
 the NAS.
 
 Finally, the NAS kit usually performs less well than the PC, which
 matters for high IOPS or streaming workloads, but hardly at all for
 normal use.
 
 (Notably: you see somewhere between 1/4 and 1/10th the performance with
  the NAS device compared to local SATA with RAID, depending on the sort
  of testing being done.)
 
 
 Personally, I ended up with a server with hot-swap SATA, and am happy
 with that — but I a new server anyhow, and it cost less than buying a
 new server /and/ NAS storage.
 
 Once it fills up (6 SATA disks, possibly 8 if I get enthusiastic) my
 plan is to start a collection of the NSS4000 units.  They run nothing
 but Linux, are *fully* source-available, and should be able to be
 upgraded to a real distribution if I wanted...
 
 They also do ATAoE, so I can mount their disks via a back-end gigabit
 network and talk to them directly as high latency local disk in my
 server, allowing me to manage them nicely without having to buy an
 NSS6000 and live with their built-in limits...
 
 (Plus, I prefer to have a sensible server doing access control, etc,
  rather than trusting an appliance to do it — it reduces the number of
  places I have to worry about problems cropping up.)
 
 
 Does that help, or just confuse things more?  Feel free to ask if you
 have more questions about any particular part of my writeup.
 
 Regards,
 Daniel
 
 Footnotes: 
 [1]  Sorry for shouting; the vendor does. :/
 
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
We cannot do everything at once, but we can do something at once.
-- Calvin Coolidge


signature.asc
Description: Digital 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: Backup notes from Mary's talk (28 Nov)

2008-11-29 Thread Alex Samad
On Sat, Nov 29, 2008 at 11:14:24AM +1100, Michael Chesterton wrote:

 On 29/11/2008, at 9:59 AM, Mary Gardiner wrote:

 On 2008-11-28, Michael Chesterton [EMAIL PROTECTED] wrote:
 Very minor nitpick, rsync can save older data, and put them in
 whatever dir you want.

 before rdiff-backup i used to use rsync --backup --backup-dir=$date-
 based-dir

 Thanks for that: I am guessing from the rsync man page though that it
 isn't particularly careful to only store the differences and therefore
 may take up more space?

 Right, if a file has changed, it copies the unmodified file to -- 
 backup-dir
 then syncs the file. If a file hasn't changed, it doesn't get copied to 
 --backup-dir.

this is the framework I use

# Latest backup goes into  $DSTB/$BNAME
# Last backup -1 goes into $DSTB/$BNAME-1
# Last backup -x goes into $DSTB/$BNAME-x

OPT=-aS --delete --link-dest=$DSTB/$BNAME-1
if [ -r ${0/sh/exclude} ]
then
EXCL=--exclude-from=${0/sh/exclude}
fi

for x in $( seq $NUMB -1 2 )
do
if [ -d $DSTB/$BNAME-$(( $x - 1 )) ]
then
#echo move [$DSTB/$BNAME-$(( $x -1 ))] to \
[$DSTB/$BNAME-$x]
mv $DSTB/$BNAME-$(( $x - 1 )) $DSTB/$BNAME-$x
#else
#echo [$DSTB/$BNAME-$(( $x -1 ))] doesn't exist
fi
done

[ ! -d $DSTB/$BNAME ]  mkdir $DSTB/$BNAME

if [ ! -d $DSTB/$BNAME-1 ]
then
cp -al $DSTB/$BNAME $DSTB/$BNAME-1
fi

rsync $OPT $EXCL $SRC $DSTB/$BNAME


lets me keep $NUMB previous version.  so for my homealex backup dir I
have 

homealex
homealex-1
homealex-2
homealex-number of days I want to go back





 -- 

 http://chesterton.id.au/blog/
 http://barrang.com.au/


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


-- 
Policeman: So, you like punchin' out old ladies, huh? Well .. I have one 
   question for you... Is this your hat?


signature.asc
Description: Digital 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] Backup notes from Mary's talk (28 Nov)

2008-11-29 Thread Alex Samad
On Sat, Nov 29, 2008 at 06:41:44PM +0900, jam wrote:
 On Saturday 29 November 2008 10:00:05 [EMAIL PROTECTED] wrote:
   the

[snip]

 
 Having pondered the doco I cannot see any benefit other than saving 
 ImportantFile at the cost of quite a lot more complexity. What have I missed?


can't tell if you use --link-dest, which allows for a history of changes


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

-- 
I want to thank you for coming to the White House to give me an opportunity to 
urge you to work with these five senators and three congressmen, to work hard 
to get this trade promotion authority moving. The power that be, well most of 
the power that be, sits right here.

- George W. Bush
06/18/2001
Washington, DC


signature.asc
Description: Digital 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] Best of breed LDAP/directory servers in 2008?

2008-11-20 Thread Alex Samad
On Thu, Nov 20, 2008 at 11:28:31AM +1100, Jeremy Portzer wrote:
 Hello,

 Does anyone have any recent experience with LDAP deployments across
 reasonably large environments (we have 1000+ hosts)?We use LDAP for
 traditional Unix host authentication/authorization, as well as various
 other web apps.  We currently use Fedora Directory Server but are having
 many problems with its multimaster replication, and have hit some walls
 in troubleshooting it.  While I believe we probably can fix it,
 management has asked for us to consider other directory server products
 (including commercial ones), if they would offer better features and
 long-term support.  I'm wondering if anyone can offer their recent LDAP
 deployment experiences?

 Our requirements:
   * Multimaster replication (or similar) for cluster deployment across  
 diverse geographical sites
   * Scalability to 1000's of hosts
   * Some sort of GUI administration (I guess web-based would be
 preferred; Fedora DS's Java-based admin tool is acceptable but painful
 to set up, and very slow over LANs)
   * Runs on RHEL, preferably playing nice with other apps on the same 
 host(s)
   * Sane backup, disaster recovery, and upgrade procedures

openldap used by most of the distro - a majourity of the developers are
also part of company that provides commercial support (the name of which
eludes me right now).  I tend to use phpldapadmin and custom scripts to
manage it.



 Commercial support availability is not a specific requirement, but is
 something we'd consider if it has good cost/benefit so I'd be interested
 in any thoughts on that also.  (Note:  head office is in the US, so  
 AU-based support not really necessary)

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


-- 
caterpallor, n.:
The color you turn after finding half a grub in the fruit you're
eating.


signature.asc
Description: Digital 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] Medical Practice Management Software

2008-11-20 Thread Alex Samad
Hi

There was some talk about this a while back but limited to opensource.

I am looking after a small clinic and they have some 3rd party software
that works some of the time and can be a real pain to get support on.
Its windows based.

I thought I would reach out the list, as there seamed to be some
informed people here.

I would like to find either a package or a reliable (local) company to
talk to that has a software package that can manage a medical clinic
(and manage prescribed drugs)

Alex 


-- 
As crazy as hauling timber into the woods.
-- Quintus Horatius Flaccus (Horace)


signature.asc
Description: Digital 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] X11 Forwarding over ssh

2008-11-17 Thread Alex Samad
On Mon, Nov 17, 2008 at 04:40:11PM +0900, jam wrote:
 On Monday 17 November 2008 10:00:07 [EMAIL PROTECTED] wrote:
  am [EMAIL PROTECTED] writes:

[snip]

 
 Not a trivial question :-) and not as simple as -X 
 
 I'm sitting in front of THIS machine, and logged in
 I run a program on this machine, say xeyes or xmsg
 I want the display of that program on THAT machine

x programs look at the current environment to find out the X display to
display to, set DISPLAY=host:MajourScreen#.MinorScreen# - you will
have to get around firewalls and Xauth as well.

Alex

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

-- 
Neither in French nor in English nor in Mexican.

- George W. Bush
04/21/2001
declining to take reporters' questions during a photo op with Canadian Prime 
Minister Jean Chretien


signature.asc
Description: Digital 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] Setting up pptpd server with filtering

2008-11-05 Thread Alex Samad
Hi

I have setup a pptpd server talking to a windows AD via winbind.so


Now I want to be able to limit access to certain parts of the network
based upon who has vpn'ed in.  

Having a look at the ip-up scripts there is no mention of user id.


I have noticed that pptpd logs to wtmp logins and logout. I was figuring
that i could use the ip-up scripts to capture the ip address of the
client, find the interface and then lookup last to find the user and
then I could set some iptables rules.  and then try and undo what i have
done on logout.

But that seems fraught with too many places it could go wrong.


I don't really want to undo the winbind install and move to radius
(seems like more pain that it would be worth)

It would be nice if I could use the chap-secrets and winbind as the same
time, but that seems to be ruled out by the winbind plugin.


any thoughts  ?

Alex


-- 
Actually, I --this may sound a little West Texas to you, but I like it. When 
I'm talking about-- when I'm talking about myself, and when he's talking about 
myself, all of us are talking about me.

- George W. Bush
05/31/2000
Hardball, MSNBC


signature.asc
Description: Digital 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] System crash resulting in fsck at startup - assistance requested.

2008-10-28 Thread Alex Samad
On Wed, Oct 29, 2008 at 01:27:45AM +1100, elliott-brennan wrote:
 Hi all
 
 I use Dapper at the present.

[snip]

 Could someone please provide me with some
 information about what this may mean?

I would try using smartctl something like 

smartctl -t long -d sat /dev/sda -T permissive
smartctl -d sat /dev/sda --all -T permissive

(just saw this oer in debian-user)

 
 The drive is only about 14 months old and the
 motherboard about a year older.
 
 Many thanks in advance for any assistance provided.
 
 Regards,
 
 Patrick
 
 ***
 df -h
 FilesystemSize Used Avail Use% Mounted on
 /dev/hda2  20G  8.2G   11G  45% /
 varrun689M  152K  689M   1% /var/run
 varlock   689M  4.0K  689M   1% /var/lock
 udev  689M  128K  689M   1% /dev
 devshm689M 0  689M   0% /dev/shm
 lrm   689M   19M  671M   3%
 /lib/modules/2.6.15-52-386/volatile
 /dev/hda3 438G  304G  113G  74% /home
 /dev/hdb1 147G   88G   52G  64% /video
 
 
 
 -- 
 Registered GNU/Linux User 368634
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
You can't learn too soon that the most useful thing about a principle
is that it can always be sacrificed to expediency.
-- W. Somerset Maugham, The Circle


signature.asc
Description: Digital 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] Command Line Arguments

2008-10-20 Thread Alex Samad
On Mon, Oct 20, 2008 at 04:22:41PM +0800, jam wrote:
 Over the years I have seen many offerings on this topic, which I've mostly 
 ignored until I need to do it and discover ITS HARD. Any kind input please:
 
 Oggs are now divided into oga and ogv. Kewl except some tools won't read .oga 
 eg amarok and fiddling the mime types helps not.
 
 Brilliant, I'll just call all ogas oggs. So I've a directory dotted with 
 Music/Jimi Hendrix/The wind calls Mary.oga (whatever) and I want to mv them 
 to 
 .ogg. Hours later, I can make a doit file and quote the args eg
 
  doit 
 mv Music/Jimi Hendrix/The wind calls Mary.oga Music/Jimi Hendrix/The wind 
 calls Mary.ogg
 ...
 ...
 
 but I'd really like to be a bit cleverer.
 James

doit file of

#!/bin/dash

mv -i $1 ${1/.oga/ogg}


and then a command like

find -type f -name '*.oga' -exec doit {} \;



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



signature.asc
Description: Digital 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] Bluetooth a2dp volume control????

2008-10-20 Thread Alex Samad
On Tue, Oct 21, 2008 at 01:06:23PM +1100, Peter Chubb wrote:
 Hi,
   I've bought myself a bluetooth headset and am streaming audio
 to it using mplayer.  How do I control its volume?  Usually, hitting /
 or *  decreases or increases the volume, but mplayer thinks it's
 sending at 0% volume and it's still a little too loud!

have you tried changing the volume with alsamixer, mplayer only changes
1 volume control and it might not be the right one

 
 The hardest part about making this thing to work at all, BTW, was getting
 it to peer.  If you don't use a gui desktop, you seem to be in
 trouble.  And most of the howtos aren't helpful -- they all assume you
 have the GTK libraries or have Gnome or something, or are so old that
 the codebase has moved on a lot.  The trick is to put the MAC/Pin pair
 into /var/lib/bluetooth/DONGLEMAC/pincodes where DONGLEMAC is the mac
 address of the bluetooth adapter.
 
 --
 Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
 http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
In Iraq, no doubt about it, it's tough. It's hard work. It's incredibly hard. 

- George W. Bush
First presidential debate
Repeating the phrases hard work, working hard, hard choices, and other 
hard-based verbiage 22 times in his first debate with Sen. John Kerry


signature.asc
Description: Digital 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] Capturing emails from IMAP folders

2008-10-13 Thread Alex Samad
On Mon, Oct 13, 2008 at 06:56:41PM +1100, Nigel Allen wrote:
 Hi

 We are currently modifying an email system for a customer and have got a  
 little stumped at their latest request.

 Basically what happens now (paraphrasing) is that a customer service rep  
 receives an email from a customer. We have put a plugin into Thunderbird  
 that, when the send button is pressed, prompts the rep for a customer  
 number. That number is embedded into an X-header in the email. At this  
 point on the linux server, mimedefang looks into the email and if it  
 finds a header, it validates the customer code that has been entered. If  
 it is a valid customer number, mimedefang writes a copy to customers  
 (a large email account with hundreds of folders). When the copy arrives  
 in customers, procmail grabs the header value and files away the  
 email into the correct subfolder.

 The problem is that the original email is still sitting in the rep's inbox.

 What the customer has asked for now is for something that will grab  
 the original email from the rep's inbox and file that in the correct  
 place with the response automagically.

 The only identifier which is common across the emails that I can think  
 of using would be the in-reply-to header.

 Does anyone have any thoughts of how on earth we could comb through the  
 user's inbox in real-time and achieve this?

not sure if it will do all of it, but grepmail might be a place to start

 TIA

 Nigel

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


-- 
Any reproduction or redistribution of the Software not in accordance with the
License Agreement is expressly prohibited by law, and may result in severe
civil and criminal penalties.


signature.asc
Description: Digital 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] ssh certificate logins

2008-10-12 Thread Alex Samad
On Sun, Oct 12, 2008 at 09:48:59PM +1100, Owen Townend wrote:
 2008/10/12 Del [EMAIL PROTECTED]:
  Mary Gardiner wrote:
 
  There is one potential disadvantage of non-standard ports: there are a
  few networks with a default-deny outgoing connection policy who open
  port 22, but do not open most ports. (I find 443 the most useful
  alternative port to run SSH on, outgoing to 443/HTTPS is very often
  open!)
 
  OK, raise their hand everyone here who runs an SSH server somewhere out on
  the net on port 443 for the deliberate purpose of tunneling through a
  work-related proxy server / firewall combination to do non-proxy-allowed
  stuff.
 
  (/me sheepishly raises hand)
 
  (/me points at *everyone* at a certain large organisation that will remain
  nameless)

sort of, I use 563 which is nntps and many large org's allow this
through as well, I did this before openvpn could shadow a port so that
you can have 443 be https and openvpn

Alex

 
  :)
 
  Del
 
 /me raises hand
 Though only since contracting at said large organisation[1]... there
 are other ways at uni.
 
 cheers,
 Owen.
 
 Footnotes:
 --
 [1] Assuming we're thinking of the same one... otherwise... it's the same 
 idea.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


signature.asc
Description: Digital 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: Requesting IPv6 address space

2008-10-09 Thread Alex Samad
On Thu, Oct 09, 2008 at 06:49:06PM +1100, Jeremy Visser wrote:
 Thanks for the advice, everyone. It seems the best option is for me to
 simply go request a temporary chunk of addresses through a broker.
 
 I managed to get on with AARNet (a single IP, not a /48, just for
 testing) using some linux.sh script, which was much easier than setting
 up 6to4, which I did about six months ago on one occasion. I was running
 Gentoo, so I needed to enable SIT support in the kernel and install the
 iproute2 package before their linux.sh script would work correctly.
 
 I'm guessing that ticking the Request a /48 prefix box will give me a
 few addresses that I can set up my server to route and advertise the
 scheme via radvd...correct?
 
 Additionally, seeing as though I get assigned a dynamic IP from the ISP,
 I suppose I'll need to do a new request each time my address changes
 when the power goes out.

why not use the already mapped 6to4 address space, each ipv4 is mapped
into a ipv6 network address for auto routing 

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

-- 
Iran would be dangerous if they have a nuclear weapon.

- George W. Bush
06/18/2003
Washington, DC


signature.asc
Description: Digital 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] ssh certificate logins

2008-10-09 Thread Alex Samad
On Fri, Oct 10, 2008 at 03:41:57PM +1100, Michael Chesterton wrote:

 On 10/10/2008, at 10:58 AM, Daniel Pittman wrote:

 Personally, I use fail2ban[1] which uses the cruder, but still
 effective, technique of reading your logs and blocking people who try 
 to
 guess passwords via iptables.


 I use with great success an iptables rule to limit new ssh connections  
 to
 2 or 3 a minute, brute forcers will get a few attempts, then timeout and 
 move
 on.

thats what I have found as well.

for example the rules I am using now are

iptables -A INPUT -i internet interface -p tcp --dport 22 -j SSH

iptables -t filter -A SSH -m recent --set --name SSH 
iptables -t filter -A SSH -m recent --name SSH ! --rcheck --seconds 300 
--hitcount 4 -j RETURN
# Well, the NEW connection has been seen so let's update the SSH
# recent list.
iptables -t filter -A SSH -m recent --name SSH --update
# I like to log on a line by it's self so I don't have to remember
# to do it on my last line prior to the end of my script.
iptables -t filter -A SSH --jump ULOG $ULOG_OPTIONS --ulog-prefix sydrt01 
(SSH)
iptables -t filter -A SSH -j DROP



 -- 

 http://chesterton.id.au/blog/
 http://barrang.com.au/


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


-- 
The truth of that matter is, if you listen carefully, Saddam would still be in 
power if he were the president of the United States, and the world would be a 
lot better off.

- George W. Bush
10/08/2004
St. Louis, MO
Second presidential debate


signature.asc
Description: Digital 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] managing a adaptec 1430sa

2008-10-09 Thread Alex Samad
Hi

I was wondering if any one out there uses one of these to do hardware
raid.

I thought I might set it up in raid10 with 4 1Tb drives.

My questions on this is what software do I use to alert me if there any
problems and will it show up as 1 scsi device (or is it a silly software
raid solution and I have to use dmraid )

Alex


signature.asc
Description: Digital 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] ATO/wine

2008-09-10 Thread Alex Samad
On Wed, Sep 10, 2008 at 12:34:14PM +1000, Dean Hamstead wrote:
 appdb shows a fail

 i spent a few hours on it, until i just drove to my inlaws and used XP.
 seriosly didnt seem worth the effort for a once off usage.

use vnc or rdesktop to get remote access to box !


 Dean

 david wrote:
 Sorry if this has been previously covered. I couldn't find it with a  
 quick search.


 Has anyone had success installing the ATO's Online Services Setup?

 I'm running Crossover. It's the first software I've attempted to 
 install  with Crossover and the resulting log seems to have lots of 
 warnings. Nothing seems to be installed, or if it is I'm looking in the 
 wrong place :(

 thanks...

 David.

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


-- 
We want our teachers to be trained so they can meet the obligations, their 
obligations as teachers. We want them to know how to teach the science of 
reading. In order to make sure there's not this kind of federal -- federal 
cufflink.

- George W. Bush
03/30/2000
Fritsche Middle School, Milwaukee


signature.asc
Description: Digital 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] Performance Tuning

2008-09-07 Thread Alex Samad
On Sun, Sep 07, 2008 at 07:06:08PM +0930, Glen Turner wrote:
 Kyle wrote:
 Ok,

[snip]

  - use jumbo frames (9000B packet  8KB disk block, so very efficient)

I noticed a lot of people have talked about using large 1500 frames,
usually 9k.

I had been using jumbo frames for +8 months and I had found it
beneficial. But since using 2.6.25 (and now 2.6.26), I have been getting
a lot of kernel memory allocation errors, I have been told they where
order 2 and not to worry about them. Cause of fragmented swap space (and
some other description that I can't remember right now, but the jist
being not to worry). I had found that the system behaved a bit
slowly/differently after these events.  usually brought on by high
network load, moving around 40-300G of files, either with scp or nfs.

Since turning off jumbo frames - moving back to standard mtu I have not
had these ooop's.

My question to the list is, do the people who use jumbo frames have you
been seeing these errors.

2 of the servers were using forcedeth and I rtl8168B (using the realteck
driver).  At sites where I haven't used large mtu I have seen the
problem. 

My setup for large mtu, is me just changing the mtu for the interface.
I am guessing there is a leak somewhere.  Another hicup for this site is
it is a mixed mtu site (that fun), I have had to hand code all the
relevant mtu and place them in the routing table with ip r add for ipv4
and ipv6.


alex 

[snip]

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


-- 
Free societies are hopeful societies. And free societies will be allies 
against these hateful few who have no conscience, who kill at the whim of a 
hat.

- George W. Bush
09/17/2004
Washington, DC


signature.asc
Description: Digital 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] route traffic through multiple interfaces

2008-09-07 Thread Alex Samad
On Fri, Sep 05, 2008 at 02:02:25PM +1000, Chris Zhang wrote:
 On Fri, Sep 5, 2008 at 11:16 AM, Daniel Pittman [EMAIL PROTECTED] wrote:
 
  Chris Zhang [EMAIL PROTECTED] writes:
 
 
 Hi Daniel,
 
 
 You were correct in guessing what I was after. I am trying to get VOIP
 working over 3G.

Silly question but isn't voip data more expensive than normal call costs



[snip]

 

-- 
I am here to make an announcement that this Thursday, ticket counters and 
airplanes will fly out of Ronald Reagan Airport. 

- George W. Bush
10/03/2001
Washington, DC


signature.asc
Description: Digital 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] route traffic through multiple interfaces

2008-09-04 Thread Alex Samad
On Thu, Sep 04, 2008 at 08:50:39PM +1000, Chris Zhang wrote:
 Hi list,
 
 
 Suppose I have two NICs on one host, NIC A and NIC B. Is it possible to get
 all traffic to use A, and then route them through B, and finally to outside?
 without the aid of iptables or anything similar, e.g. just changing the
 routing table? Suppose ip forwarding works.

not sure what you mean, but will take a stab

if you had 

A) eth0 192.168.1.1/24 gw 192.168.1.254
B) eth1 192.168.2.1/24 gw 192.168.2.254

you want something like

ip r a default via 192.168.2.254 src 192.168.1.1

so this say's all applications that attempt to open a socket without
binding to and address will get 192.168.1.1 (NIC A's address), but will
route out NIC B

not sure if it will work, might take a bit more work 

 
 
 Just out of curiosity, does anyone know how iPhone restricts VOIP traffic
 over 3G technically? Suppose one can make a tunnel, e.g. IPSec, PPTP (which
 iPhone has native support), to a VPN endpoint, e.g. home computer through
 3G. Is it possible to then run a VOIP app inside the tunnel?
 
 
 Thanks,
 
 
 Chris
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
This foreign policy stuff is a little frustrating. 

- George W. Bush
04/23/2002
as quoted by the New York Daily News


signature.asc
Description: Digital 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] File / Disk Encryption

2008-09-01 Thread Alex Samad
Hi

I am looking for a substitute for truecrypt, why because I don;t like
how they have gone to the insistence for a gui front end on the linux
side of things, the real pain being the how hard it is to compile for
debian, true atleast for 5.x not sure for the new 6.x series.

Currently I have a usb stick that I use on windows and linux, keep my
important doco on it.

Any suggestions for a substitute.  If it was just linux I could just
crypt/openssl/gpg it, but that doesn't work well in windows

Alex

-- 
It's amazing I won. I was running against peace, prosperity, and incumbency.

- George W. Bush
06/14/2001
speaking to Swedish Prime Minister Goran Perrson, unaware that a live 
television camera was still rolling.


signature.asc
Description: Digital 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] File / Disk Encryption

2008-09-01 Thread Alex Samad
On Tue, Sep 02, 2008 at 08:58:39AM +1000, Morgan Storey wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 GPG works fine in windows, it even has a command line version, that is
 similar to the linux one afaik (I love ym Gui's). I have used it to
 sign and encrypt emails in gmail, Outlook2007 and to decrypt gpg
 encrypted files.

I was thinking more along the lines of text files, which I can open with
vim which automaigcally decrypts and re encrypts. But then there is
word/openoffice documents as well not just email


 But being I like Gui's truecrypt and cryptkeeper are my main stays.
 There are debs for both and iirc cryptkeeper disks can be opened on
 windows in truecrypt.

so if I read that right, I can use crypt keeper (fuse based encryption)
with the latest (6.x) truecrypt package, cool, what are the pit falls ?
Can I use cryptkeeper with truecrypt created disk/bin/files ?

Alex
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: http://getfiregpg.org
 
 iD8DBQFIvHOFvNAHEzzZc9cRAgT2AJ0TgQADDRSpBXlTYZhx1npvbM+IZwCfW9y9
 /vRlbJei7HN1hZKkMmAUP74=
 =2gT1
 -END PGP SIGNATURE-
 
 On Tue, Sep 2, 2008 at 7:24 AM, Alex Samad [EMAIL PROTECTED] wrote:
 
  Hi
 
  I am looking for a substitute for truecrypt, why because I don;t like
  how they have gone to the insistence for a gui front end on the linux
  side of things, the real pain being the how hard it is to compile for
  debian, true atleast for 5.x not sure for the new 6.x series.
 
  Currently I have a usb stick that I use on windows and linux, keep my
  important doco on it.
 
  Any suggestions for a substitute.  If it was just linux I could just
  crypt/openssl/gpg it, but that doesn't work well in windows
 
  Alex
 
  --
  It's amazing I won. I was running against peace, prosperity, and
  incumbency.
 
 - George W. Bush
  06/14/2001
  speaking to Swedish Prime Minister Goran Perrson, unaware that a live
  television camera was still rolling.
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.9 (GNU/Linux)
 
  iEYEARECAAYFAki8XYQACgkQkZz88chpJ2MEYwCffG9eJeYr1UF+J3lG5bVX1udS
  qagAn0Tct0kDNjknDLQBDKVqu6GKr4ND
  =/GVV
  -END 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
 
 
 
 
 -- 
 Regards
 Morgan Storey,A+, MCSE:Security.
 Senior Network and Security Consultant.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Ann and I will carry out this equivocal message to the world: Markets must be 
open.

- George W. Bush
03/02/2001
at the swearing-in ceremony for Secretary of Agriculture Ann Veneman


signature.asc
Description: Digital 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: image file reduction batch tool

2008-08-29 Thread Alex Samad
On Fri, Aug 29, 2008 at 07:08:09PM +1000, Ben Donohue wrote:
 Hi Slugs,

 anyone have a favourite tool that they use for reducing image file size?

 Not necessarily reducing image size on the page but the amount it takes  
 up on storage.

 I need something that would crawl the network and attack files over a  
 certain size in target directories.

 Is there such a beast?

not sure exactly what you mean, but it sounds like find is your friend

find dir -size +100M -exec do something {} \;




 Tia
 Ben

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


-- 
I knew it might put him in an awkward position that we had a discussion before 
finality has finally happened in this presidential race.

- George W. Bush
12/02/2000
Crawford, TX
describing a phone call to Sen. John Breaux.


signature.asc
Description: Digital 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] Processor Profiler

2008-08-18 Thread Alex Samad
On Tue, Aug 19, 2008 at 10:36:53AM +1000, Nima Talebi wrote:
 Hi All,
 I've got some performance issues with some VMs where the `system' use was at
 about 50%, and the machine was not actually doing (or asked to do) anything
 useful.
 
 At the moment, I'm not interested in _fixing_ the problem - VMware can do
 that - all I want to do is run a system profiler on a dozen physical
 machine, and also on a dozen VMs, then I'd interpret the results manually;
 factoring in other overheads etc.
 
 For I/O I'm using IO-zone, my main concern at the moment is the processing
 performance.

Can I suggest also looking at bonie++

 
 Has anyone come across a decent tool for this?
 
 Nima
 
 
 -- 
 Nima Talebi w: http://ai.autonomy.net.au/
 p: +61-4-0667-7607 m: [EMAIL PROTECTED]
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
I earned capital in the campaign, political capital, and now I intend to spend 
it. It is my style.

- George W. Bush
11/04/2004
Washington, DC
White House Press Conference


signature.asc
Description: Digital 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] ip6tables config tutorial ... ?

2008-07-29 Thread Alex Samad
On Wed, Jul 30, 2008 at 12:31:34PM +1000, Kyle wrote:
 Thanks Daniel,

 doing a CentOS 5.2 install, so I expect that to have been taken care of.
 
 Kind Regards

 Kyle


 Correct -- assuming you are running a sufficiently recent kernel that
 the IPv4 and IPv6 merge happened in the iptables subsystem; if not I
 strongly advise you to upgrade before you do more firewall work.

 Regards,
 Daniel

remember there is not nat table in ipv6

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


-- 
I hope you leave here and walk out and say, 'What did he say?'

- George W. Bush
08/13/2004
Beaverton, OR


signature.asc
Description: Digital 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 partitioning for lamp: tmp on it's own?

2008-07-24 Thread Alex Samad
On Thu, Jul 24, 2008 at 09:37:56PM +1000, Mary Gardiner wrote:
 On Thu, Jul 24, 2008, Voytek Eymont wrote:
  how do I make it non executable ?
 
 Mount it with the 'noexec' option. It goes in the same column of
 /etc/fstab as other options like 'auto' and 'noauto'.
 
 man mount has the details of various filesystem mount options, under
 the -o flag section.

one thing to be careful when doing this, is some deb's/rpm's expect /tmp
to exec (run into this problem with apt and a noexec /tmp)

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

-- 
She's just trying to make sure Anthony gets a good meal -- Antonio.

- George W. Bush
01/14/2001
NBC Nightly News With Tom Brokaw
on Laura Bush inviting Justice Antonin Scalia to dinner at the White House


signature.asc
Description: Digital 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] mutt procmail and mailing lists

2008-07-20 Thread Alex Samad
On Sun, Jul 20, 2008 at 11:13:04AM +1000, Jeff Waugh wrote:
 quote who=Mary Gardiner
 
  Jeff Waugh's configs are widely used by muttering SLUGers:
 
 Yeah, I'm surprised how often I see my stupid quote style on other people's
 replies. :-) I should probably update those files...

looks good, pity you can't do a similar thing with the subscribe as you
do with the mailbox's.

I was thinking maybe have procmail maintain a files list ID \t
subscribe address then read that in in mutt.



 
 - Jeff
 
 -- 
 OSCON 2008: Portland OR, USA   http://conferences.oreilly.com/oscon/
  
 We're passe with class, eh?
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
I don't want to win? If that were the case, why the heck am I on the bus 
sixteen hours a day, shaking thousands of hands, giving hundreds of speeches, 
getting pillared in the press and cartoons and still staying on message to win?

- George W. Bush
02/28/2000
as quoted in Newsweek


signature.asc
Description: Digital 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] mutt procmail and mailing lists

2008-07-19 Thread Alex Samad
Hi

I have noticed recently that List-Id: is being used more and more in the
lists that I am subscribed to

I was wondering if somebody would share their

procmail recipe and mutt config

for handling lots of mailing lists such that I don't have to go in there
and update .procmail and .mutt all the time, is it possible ?

Alex

-- 
Anything is possible, unless it's not.


signature.asc
Description: Digital 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] Multiple Offices with redundant DSL Connection

2008-07-14 Thread Alex Samad
Hi

I have seen similar setups, I ran on with multiple site, but only base
having multiple gateways (cable and adsl). all the firewalls where
running on openwrt (linksys wrt52Gs careful though they with die under a
lot of openvpn encrypted traffic)



http://lartc.org/howto/ is the place to start with multiple isp's. You
have to decide on your networking policy, is it going to shared, load
balance, fail over. You could also look at setting up a tun device
sitting on top of openvpn and try and aggregate the lines - but very
complex setup.


I would suggest to keep it simple if you have 3 offices A, B  C.and 2
connections at each site (same spec) 1  2

then something like this (forgetting about DMZ's, presuming its all
private traffic)

A2 - B1
B2 - C1
C2 - A1

These can be the primary paths - this is simple to do with weight/metric
is the routing table and then the failback (backup routes)

A1 - B2
B1 - C2
C1 - A2


you could have 2 instances of openvpn running at the same time and
again you will need to setup routing with weights/metrics

so on A you would have something link

(private LAN)

ip r a B/24 via openvpn primary interface addr metric 5 
ip r a B/24 via openvpn secondary interface addr metric 10


this way primary route would be used until it is not available.

NOTE this doesn't do any load balancing, so you don't get the benefit of
2 lines.

as for userid's, is this for vpn login, workstation login ?  What is the
predominant OS used in the company, probably stick with that.  I am not
sure if you can link AD and/or ldap into openvpn with cert's and userid
password.

Alex

On Tue, Jul 15, 2008 at 03:11:57PM +1000, Sven Peters wrote:
 Yes, you're right.

 I'm intending to use simple linux hardware without snmp. Was wondering  
 if heartbeat could be used to see if the hardware breaks and do the  
 activation of the inactive interfaces on a second similar machine.

 VPNwise I was thinking about OpenVPN but still open to any other  
 products which are open source.

 I had already a look at http://lartc.org/howto/ and got some ideas but  
 it'll still be a lot of work to put together all the scripts.

 As it isn't such an uncommon problem I was wondering if somebody else  
 has a similar setup and likes to exchange experiences, ideas and  
 pitfalls. You can reach me off list.

 Sven


 Daniel Pittman wrote:
 Sven Peters [EMAIL PROTECTED] writes:

 G'day Sven.

   
 I'm about to start to set up multiple offices with the normal services
 (SMB, IMAP, etc) in different cities. I want all of them connected via
 VPN and this needs to be as much reliable as possible.  VPN Service
 for people on the road needs to be available as well (with
 Password+Certificates).  I'd love to get all useraccounts into LDAP as
 well later on.

 Therefore I've set up every location with two different DSL lines
 which I now want to use to interconnect the locations. I thought of
 setting up Linux firewalls with multiple interfaces (one internal, one
 DMZ, two for the DSL connections) but not sure what's the best way to
 do it.

 Has anybody experiences in this setup and can provide some hints, help
 or even time to help setting this up in the next weeks?
 

 You have chosen to do some relatively difficult networking for someone
 who needs to ask for basic hints on how to implement it; good luck.

 The best readily available reference I know of for the sort of thing you
 are looking at doing is the Linux Advanced Routing add Traffic Control
 howto, which has not seem much by way of updates in years:

 http://lartc.org/howto/

 The content is still good and it should guide you to the appropriate
 tools for implementing whatever routing and availability policy you want
 to have based on your multiple links, etc.


 In terms of more specific advice, it is unlikely anyone can help you
 yet: you need to tell us an awful lot more, including what (VPN)
 technologies you intend to use for connecting the sites, what routing
 policies you want to use, what hardware is in play, etc.

 After all, recommending that you use SNMP to determine link availability
 for fail-over purposes is going to be useless if your hardware turns out
 to be lacking SNMP capabilities, right?

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


-- 
The person who runs FEMA is someone who must have the trust of the president. 
Because the person who runs FEMA is the first voice, often times, of someone 
whose life has been turned upside down hears from.

- George W. Bush
01/04/2001
Austin, TX


signature.asc
Description: Digital 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: WLAN VoIP phone

2008-07-06 Thread Alex Samad
On Mon, Jul 07, 2008 at 08:34:22AM +1000, Sebastian wrote:
 Hi all,
 
 I came across this
 http://nuke.ip-ware.net/Portals/0/Brochures/ip_phone_WS-C.pdf nice
 phone while I was searching for a new solution to my internet/phone
 setup.

cool phone I am presuming you have to buy from OS ?  maybe could get
enough people together to reduce some costs ?

Alex

 
 I decided to hook myself up with iinet and a naked DSL package. By now
 we still have one of those old yellowish telstra phones, nothing fancy
 but it works.
 
 My question now is do I buy a VoIP router and hook my old phone on or
 is there another option? I thought about a hand set which connects to
 my existing WLAN. Is there something out there like that? Is it
 affordable? I think the link above is the right direction but I am not
 sure.
 
 What will happen to my WPA2 encryption?
 
 Thanks for commenting
 
 Sebastian
 
 PS: Yes I know it is slightly OT
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
I appreciate that question because I, in the state of Texas, had heard a lot 
of discussion about a faith-based initiative eroding the important bridge 
between church and state.

- George W. Bush
01/29/2001
Washington, DC
speaking to reporters


signature.asc
Description: Digital 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] bind attacks

2008-06-25 Thread Alex Samad
Hi

I have been seeing these in my logs

Jun 25 15:19:45 hufpuf named[3574]: client 59.151.50.248#64821: query
(cache) './A/IN' denied
Jun 25 15:19:48 hufpuf named[3574]: client 59.151.50.247#63595: query
(cache) './A/IN' denied
Jun 25 15:20:25 hufpuf named[3574]: client 59.151.50.248#10848: query
(cache) './A/IN' denied
Jun 25 15:20:28 hufpuf named[3574]: client 59.151.50.247#9753: query
(cache) './A/IN' denied


I can understand 1 / day or maybe / hour, but I have a couple of pages
full in side an hour.

can somebody shed some light on what they think they can gain ?





signature.asc
Description: Digital 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] bind attacks

2008-06-25 Thread Alex Samad
On Wed, Jun 25, 2008 at 10:23:36AM -0500, Tony Sceats wrote:
 without knowing what your bind server is doing and what the anem they are
 looking for it's hard to say..

Sorry my presumption that this was a norm of some sort.

I have a dns server that host a public/internet facing domain. only lan
clients can make recursive requests.


 
 eg, is it set up to allow normal DNS queries to only a certain range of
 client IPs? or is it a private DNS server that's authoritative for an
 internal domain that you don't want people external to query?
 
 This could be as simple as someone's laptop set to use your DNS server and
 they go home and are suddenly coming from an external IP but still using
 your DNS server, so any normal DNS queries are being sent to you first (eg,
 www.google.com)
nope = well not set by me atleast

 
 The log itself looks like it's just after an ordinary A record..
 
 If your sure it's an attack it could be someone trying to find names in your
 zone by trying a whole bunch of names a'la brute force, but that's pretty

but they are not requesting anything in my domain ?

 unlikely imho.. by doing that they might be interested in finding internal
 IP ranges so they can play NAT tricks for firewall rule enumeration or
 perhaps finding the IP of certain functional servers, eg names that indicate
 what kind of network service an IP may be providing - eg, samba.example.comor
 printserver.example.com - something that gives them a new attack vector..
 You could also be participating in a DDoS - because DNS is UDP, forged
 source IPs can be used to start sending DNS replies from a whole bunch of
 DNS servers to a target IP, thus using all the targets bandwidth

Just in case I drop their address at the firewall now :) (only 2 -
somewhere in china)

 
 On Wed, Jun 25, 2008 at 3:28 AM, Alex Samad [EMAIL PROTECTED] wrote:
 
  Hi
 
  I have been seeing these in my logs
 
  Jun 25 15:19:45 hufpuf named[3574]: client 59.151.50.248#64821: query
  (cache) './A/IN' denied
  Jun 25 15:19:48 hufpuf named[3574]: client 59.151.50.247#63595: query
  (cache) './A/IN' denied
  Jun 25 15:20:25 hufpuf named[3574]: client 59.151.50.248#10848: query
  (cache) './A/IN' denied
  Jun 25 15:20:28 hufpuf named[3574]: client 59.151.50.247#9753: query
  (cache) './A/IN' denied
 
 
  I can understand 1 / day or maybe / hour, but I have a couple of pages
  full in side an hour.
 
  can somebody shed some light on what they think they can gain ?
 
 
 
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.6 (GNU/Linux)
 
  iD8DBQFIYgG9kZz88chpJ2MRAklTAJ9EglbfqgbT4zr9KBH2FUD9e6Ld3wCg7QVP
  Mh+7tVHJ4dLSPTS4LxvTs0c=
  =Pe1p
  -END 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 - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
See, the irony is that what they need to do is get Syria to get Hezbollah to 
stop doing this shit, and it's over.

- George W. Bush
06/16/2006
St. Petersburg, Russia
to Tony Blair at the G8 summit


signature.asc
Description: Digital 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] Opinions on Sender Policy Framework and Domain Keys

2008-06-16 Thread Alex Samad
On Mon, Jun 16, 2008 at 03:48:39PM +1000, Daniel Pittman wrote:
 Alex Samad [EMAIL PROTECTED] writes:
  On Mon, Jun 16, 2008 at 12:53:09PM +1000, Daniel Pittman wrote:
  Erik de Castro Lopo [EMAIL PROTECTED] writes:
   John Ferlito wrote:
  
   In my opinion SPF pretty much protects you from one thing, joe-job

[snip]

 
 Sure.  I make no claim that it is impossible, simply that it is hard and
 costly.  You don't happen to know what their internal cost for that
 project was, do you?

1 person, left over equipment, maybe  done over 2 weeks as it was done in his
spare time. Motivation sick and tired of the windows machines running out
of resources scanning for virus etc... on spam mail.


This machine was just a smtp gateway, that used spamassassin

 
 (I would bet at least a couple of full time people for a couple of
  weeks, plus planning and management overheads.)
 
 Again, as I wrote:
 
  Which isn't to say that it wouldn't be worth the cost, just that it
  isn't nearly as small as you seem to suggest.  
 
 Regards,
 Daniel
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
On account of being a democracy and run by the people, we are the only
nation in the world that has to keep a government four years, no matter
what it does.
-- Will Rogers


signature.asc
Description: Digital 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] Opinions on Sender Policy Framework and Domain Keys

2008-06-15 Thread Alex Samad
On Mon, Jun 16, 2008 at 12:53:09PM +1000, Daniel Pittman wrote:
 Erik de Castro Lopo [EMAIL PROTECTED] writes:
  John Ferlito wrote:
 
  In my opinion SPF pretty much protects you from one thing, joe-job
  attacks. ie bounces where someone else has used your domain as the
  from address.
 
  Bingo. That alone is worth the (very cheap) price of admission.
 
 While I agree with the other parts of this, the price of admission is
 low *only* for leaf sites, and then only for sites that have a tightly
 controlled user base.
 
 Replacing my email infrastructure, which only services a dozen people,
 would cost me somewhere on the order of twelve hours which I cost at
 around $1,716 -- before overheads like an outage for the process -- in
 order to obtain support for SRS.[1]

why would you need to do that, place a Linux box as a gateway inbetween
your current infrastructure and the internet

 
 
 For someone larger, like many of my clients, this would actually
 increase significantly from there.[2]  Migrating a Lotus Notes or
 Exchange environment to use SRS is hard(tm).
I know of a telco (1 of the top 2), that did the above, they were
invested in exchange (and a range of virus scanning gateways before the
corporate server) all protected by a couple of linux boxes

 
 Regards,
 Daniel
 
 Which isn't to say that it wouldn't be worth the cost, just that it
 isn't nearly as small as you seem to suggest.  
 
 
 Footnotes: 
 [1]  ...without SRS I would need to modify the server to forbid .forward
  style mail forwarding, which would otherwise cause me to send mail
  outside compliance with SPF.  This would be ... difficult, actually.
 
 [2]  In fairness, for others it would be a relatively trivial
  modification to deploy SRS.  It all depends on their platform, and
  how much budget they have for inserting other servers in the
  outbound path...
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
I think it's important to bring somebody from outside the system, the judicial 
system, somebody that hasn't been on the bench and, therefore, there's not a 
lot of opinions for people to look at.

- George W. Bush
10/04/2005
Washington, DC
On the nomination of Harriet Miers to the Supreme Court


signature.asc
Description: Digital 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] LaCie 2TB 2Big Dual + debian (LaCie SATA II PCI-Express eSATA cards)

2008-06-13 Thread Alex Samad
On Fri, Jun 13, 2008 at 10:59:10AM +1000, david wrote:
 On Fri, 2008-06-13 at 08:44 +1000, Alex Samad wrote:
  Hi
  
  I am looking at expanding my disk space on my box. I have turned my eye
  to these little external boxes.
  
  I was wondering has any one else on the list used one of these.
  
  I was hoping to connect to it with esata (the reason for the lacie esata
  controller). A quick google brings me lots of adds to sell but no into
  on the controller and how I will see the drives.
  
  My initial thought is to have them in hardware raid1 ( I am going to
  raid them any way no need to flood the bus with twice the amount of
  traffic).  If i use raid1 and esata will linux only see one drive  and
  how do I tell if there is an error with the drive ?
 
 don't know about this particular unit, but my experience of external
 drives generally has been appalling to the point that I've given up.
 
 Every external firewire/usb drive i've used has ended up giving me hard
 drive failure, and in some cases heart failure. Other people whose
 opinion I respect have come to the same conclusion. I get the impression
 that the problem has to do with power supply on the external device, but
 I haven't figured that out for certain.
 
 I haven't used Lacies. Are they better?

i used to use one previously (about 4 years ago), last quite a long
time, then I put all the drives into my machine. then I bought larger
capacity drives, now I have a sff box and 2 drives and I need more
space, so back to external drives (I had thought about building a file
server but now looking at external drives)

 
 

-- 
The folks who conducted to act on our country on September 11th made a big 
mistake. They underestimated America. They underestimated our resolve, our 
determination, our love for freedom. They misunderestimated the fact that we 
love a neighbor in need.

- George W. Bush
09/26/2001
Washington, DC


signature.asc
Description: Digital 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] wanted: 64bit support for IBCS/sco binaries

2008-06-13 Thread Alex Samad
On Fri, Jun 13, 2008 at 06:48:37PM +1000, Dave Kempe wrote:
 Hi,
 wondering if anyone has any pointers to people/companies/assembler gurus  
 who can assist me in getting 64bit support for the linux-abi project?
 http://sourceforge.net/projects/linux-abi/

 I have a few clients that would like to run sco binaries on 64-bit linux  
 and may have some funding for such a project.

 Any comments on the difficult of running foreign binaries on 64-bit  
 linux would be much appreciated - is this a totally crazy idea or just  
 no one has bothered?

any reason to not use qemu ?


 thanks

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


-- 
When you're married to someone, they take you for granted ... when
you're living with someone it's fantastic ... they're so frightened
of losing you they've got to keep you satisfied all the time.
-- Nell Dunn, Poor Cow


signature.asc
Description: Digital 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] LaCie 2TB 2Big Dual + debian (LaCie SATA II PCI-Express eSATA cards)

2008-06-13 Thread Alex Samad
On Fri, Jun 13, 2008 at 06:51:07PM +1000, Dave Kempe wrote:
 david wrote:
 Every external firewire/usb drive i've used has ended up giving me hard
 drive failure, and in some cases heart failure. Other people whose
 opinion I respect have come to the same conclusion. I get the impression
 that the problem has to do with power supply on the external device, but
 I haven't figured that out for certain.

 I haven't used Lacies. Are they better?

   
 Lacies are better. Still fail after about 1 year though on average.
 They are cheap enough to just buy more of them and rotate them. I use  
 backupninja with rdiff-backup and labelmounts to handle the magic.  
 Backupninja is just a tricky shell script which gives some uniformity to  
 backup scripts - worth checking out.

just had another look at the site and they have a 4 drive external
drive, that attached by esata. That looks cool as well, I am presuming
it takes normal sata II drives so I expand in the future




 dave



-- 
There's Adam Clymer, major-league asshole from The New York Times.

- George W. Bush
09/04/2000
Naperville, IL
to Dick Cheney, thinking the mic was off


signature.asc
Description: Digital 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] LaCie 2TB 2Big Dual + debian (LaCie SATA II PCI-Express eSATA cards)

2008-06-12 Thread Alex Samad
Hi

I am looking at expanding my disk space on my box. I have turned my eye
to these little external boxes.

I was wondering has any one else on the list used one of these.

I was hoping to connect to it with esata (the reason for the lacie esata
controller). A quick google brings me lots of adds to sell but no into
on the controller and how I will see the drives.

My initial thought is to have them in hardware raid1 ( I am going to
raid them any way no need to flood the bus with twice the amount of
traffic).  If i use raid1 and esata will linux only see one drive  and
how do I tell if there is an error with the drive ?

Thanks


-- 
That's Washington. That's the place where you find people getting ready to 
jump out of the foxholes before the first shot is fired.

- George W. Bush
09/08/2000
Westland, MI


signature.asc
Description: Digital 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] fileserver suggestions

2008-05-29 Thread Alex Samad
On Thu, May 29, 2008 at 05:11:42PM +1000, Peter Hardy wrote:
 Hey hey.

 Alex Samad wrote:
 I am looking at putting together a file server for the house. looking
 for a case that would support 4 (or 6) drives, the motherboard needs to
 have 4-6 sata connectors (and maybe 2 esata connectors on the outside
 and a gig eth (2 would be good), I am presuming a 400-500w power supply

 Have you considered picking up a NAS appliance instead of trying to  
 build up a PC? I've just added a D-Link DNS-323 to my network, which  
 apart from only housing two drives meets most of your requirements. It's  
 much smaller and more attractive than a PC case, and the only time I  
 hear it is when it spins up the drives from idle.
I need space for 4 drives, my current server have space for 2 and 3
respectively

I was thinking of using my asus 500Gp with openwrt on it but I would
like to have a Gig eth port


 There are four drive boxes around, and the vast majority of them run  
 Linux under the hood and are moderately easy to hack around with.

Yeah I thought I could build one cheaper but maybe not


 The other requirement is has to be very quiet ( and no lights on the
 case).

 If you do end up building your own, who says you need to connect any of  
 the LEDs? :-P

true


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


-- 
I'm not going to talk about what I did as a child. What I am going to talk 
about -- and I am going to say this consistently -- [is that] it is irrelevant 
what I did 20 to 30 years ago. What's relevant is that I have learned from any 
mistakes I made. I do not want to send signals to anybody that what Gov. Bush 
did 30 years ago is cool to try.

- George W. Bush
in an interview with WMUR-TV in New Hampshire, when asked if he had used drugs, 
marijuana, cocaine


signature.asc
Description: Digital 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] fileserver suggestions

2008-05-29 Thread Alex Samad
On Thu, May 29, 2008 at 09:08:10AM +0800, jam wrote:
 On Thursday 29 May 2008 08:38:05 [EMAIL PROTECTED] wrote:
  I am looking at putting together a file server for the house. looking
  for a case that would support 4 (or 6) drives, the motherboard needs to
  have 4-6 sata connectors (and maybe 2 esata connectors on the outside
  and a gig eth (2 would be good), I am presuming a 400-500w power supply
 
  The other requirement is has to be very quiet ( and no lights on the
  case).
 
  I have been looking at fuildtek (http://fluidtek.com.au/) they have
  thermaltake rs wing case's, thinking of a cheap E2180 (down the page a
  bit), I don't need much grunt, all it will be doing it running nfs
 
 
  any thoughts ?
 
 Yes, you are deluded :-)
 
 6 disks are NOISY no matter what.
 I use an ELX mini ITX box with a single WD 750G drive. Dead quiet and nice.
 
 The Antec NSK 1380 is just about in-audible at 1 meter and can take 2 disks 
 if 
 you fiddle and a uATX motherboard. (I use an AMD BE2300) which has grunt but 
 is silent and cool (sustained about 35W for the whole system, Gigabyte + 2G 
 +160G, - on the meter per 24 hours. The single police-strobe-blue is 
 unpluggable, whereupon the box is dark.

I currently have a shuttle SN25P, with 3 drives (2x1T + 1x500g), I can't
really hear it, except when the cdrom drive is going or the ambient temp
is high

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

-- 
Iran would be dangerous if they have a nuclear weapon.

- George W. Bush
06/18/2003
Washington, DC


signature.asc
Description: Digital 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] [OT] fileserver suggestions

2008-05-28 Thread Alex Samad
Hi

I am looking at putting together a file server for the house. looking
for a case that would support 4 (or 6) drives, the motherboard needs to
have 4-6 sata connectors (and maybe 2 esata connectors on the outside
and a gig eth (2 would be good), I am presuming a 400-500w power supply

The other requirement is has to be very quiet ( and no lights on the
case).

I have been looking at fuildtek (http://fluidtek.com.au/) they have
thermaltake rs wing case's, thinking of a cheap E2180 (down the page a
bit), I don't need much grunt, all it will be doing it running nfs


any thoughts ?


Alex
its sort of OT, but I am guessing most people on the list have gone /
are going through this

-- 
There's been a act of war declared upon America by terrorists, and we will 
respond accordingly.

- George W. Bush
09/15/2001
Camp David


signature.asc
Description: Digital 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] Take 2 MythTV = Media Centre ++

2008-05-22 Thread Alex Samad
On Fri, May 23, 2008 at 09:00:43AM +1000, Grahame Kelly wrote:
 We use the following configuration(s).

 Back-ends are:

[snip]


 Front-ends are:
   
 Jetway Hybrid J7F2WE1G2E Fanless (and like)

 HYBRID-C7-1.2G Fanless micro-ATX based:
 - Manufacturer P/N: J7F2WE1G2E
 - 1.2GHz VIA C7 nanoBGA2 Fanless Processor Onboard
 - VIA CN700 Chipset with Integrated VIA UniChrome Pro AGP Graphics with 
 MPEG-2 Decoding Acceleration
 - DDR2 400 SDRAM
 - 1 PCI slot
 - ATA 100/133  2 SATA ports Support
 - VIA VT1617A Audio
 - IEEE 1394, 8 USB 2.0 ports  2 COM ports
 - VIA 10/100 Ethernet, TV Out
 - Multiple daughter board options
 - Mini-ITX Form Factor (170mm X 170mm)

so how does the setup work, does mythtv transcode everything to mpeg2 ?
I am currently using an xbox with xbmc on it, works well, except for the
newer mp4 (h264) file, then there doesn't seem to be enough horse power
to handle it.

How much grunt do this via's have ?

[snip]

 Hope that answers follow up questions.

Thanks for that

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


-- 
[I]t's a myth to think I don't know what's going on. It's a myth to think that 
I'm not aware that there's opinions that don't agree with mine, because I'm 
fully aware of that.

- George W. Bush
12/12/2005
Philadelphia, PA


signature.asc
Description: Digital 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] MythTV = Media Centre ++

2008-05-21 Thread Alex Samad
On Thu, May 22, 2008 at 12:55:31PM +1000, Grahame Kelly wrote:
 Hi Sluggers.

 In response to several questions on Media Centre (or is that arr.. Media 
 Center) the only way to go is:
 Myth-Ubuntu downloadable on a single DVD off the net. Several flavours  
 are available, i386, x86_64, OSX etc.

 Ubuntu 7.10 (gutsy Gibbon) (using the x64 Alternate installer if your  
 CPU/64 bit) their probably a later release now available.  Look at this 
 guide - http://parker1.co.uk/mythtv_ubuntu.php will assist you too.

 I/We have converted three such systems from original crap windoze Media 
 Center. The users where overwhelmed by Myth's uptime, added  
 functionality, source-code access, and the price just blows them away.  
 Most spent any where in the range of $1.5K to $2.2K for the windoze  
 setup (not including the $700++ for the s/w licence) only to find they  
 usually had to reboot twice or more a day, and then even some DVD where 
 not copyable.

 In-house we have two Myth-servers (back-ends) and four front-ends (two  
 are back front ends combined the others are silent microATX compact  
 flash 1GHz fan less systems).  You will have no problems setting up  

I would be interested in the specs of the front end boxs


 right from boot able MythTV-Ubuntu distro, just installs and goes -  
 Never have I seen it so simply done.

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


-- 
They didn't think we were a nation that could conceivably sacrifice for 
something greater than our self; that we were soft, that we were so 
self-absorbed and so materialistic that we wouldn't defend anything we believed 
in. My, were they wrong. They just were reading the wrong magazine or watching 
the wrong Springer show.

- George W. Bush
03/12/2002
Washington, DC


signature.asc
Description: Digital 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] Debian SSH vulnerability: act now!

2008-05-15 Thread Alex Samad
On Fri, May 16, 2008 at 09:24:00AM +1000, Peter Chubb wrote:
 
 Just in case anyone missed it, there's been a major vulnerability for
 any SSH keys generated on a debian system over the last two years or
 so ... apparently the random number generator wasn't being seeded
 right, so only a few distinct keys were actually generated.
 
 The AARNET mirror doesn't have the updated packages as of this
 morning, but the Optusnet mirror does ... I suggest that
  -- you install the new openssh-client package (version 1:4.7p1-9 on unstable)
  -- run ssh-vulnkey -a as root to find any vulnerable keys, and get
 your users to fix them.

This also includes any certificates created by openssl (apache, exim,
postfix). its a pain but

this is a link to the ubunto ssl checker 
https://launchpad.net/ubuntu/+source/openssl-blacklist/


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

-- 
Better dead than mellow.


signature.asc
Description: Digital 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] makefile question

2008-05-07 Thread Alex Samad
Hi


I have a make file that has a few recipes like 

inst-hufpuf: tmpDir tmpDir/rootdir-hufpuf
@true

inst-multimedia: tmpDir tmpDir/rootdir-multimedia
@true

inst-backup: tmpDir tmpDir/rootdir-backup
@true

inst-laptop: tmpDir tmpDir/rootdir-laptop
@true



I am guessing I can write this more efficiently, but not sure how

I also have some that looks like 

# laptop definition
tmpDir/rootdir-laptop: SERVERNAME=laptop.samad.com.au
tmpDir/rootdir-laptop: SSERVERNAME=laptop
tmpDir/rootdir-laptop: URI=ldapi://%2fvar%2frun%2fldapi 
tmpDir/rootdir-laptop: FILTERHOST=laptop.samad.com.au
tmpDir/rootdir-laptop: FILTERSITE=samad.com.au
tmpDir/rootdir-laptop:
CERTNAME=bGRhcC5sYXB0b3Auc2FtYWQuY29tLmF1OmNhQHNhbWFkLmNvbS5hdTo6bGRhcDpBLiBTYW1hZCBQdHkgTHRkOlN5ZG5leTpOU1c6QVU=
tmpDir/rootdir-laptop: processTemplate.pl template/etc/libnss-ldap.conf
template/etc/pam_ldap.conf template/etc/ldap/ldap.conf Makefile
template/etc/ldap/samad.com.au-db.SLAVE
template/etc/ldap/samad.com.au-encryption.SERVER
./processTemplate.pl -vm2 $@ $(SERVERNAME) $(SSERVERNAME)
$(URI) $(FILTERHOST) $(FILTERSITE) $(CERTNAME)

# slave definition
tmpDir/rootdir-slave: SERVERNAME=slave.samad.com.au
tmpDir/rootdir-slave: SSERVERNAME=slave
tmpDir/rootdir-slave: URI=ldaps://ldap.hme1.samad.com.au:636
ldaps://ldap.hme2.samad.com.au:636
tmpDir/rootdir-slave: FILTERHOST=slave.samad.com.au
tmpDir/rootdir-slave: FILTERSITE=samad.com.au
tmpDir/rootdir-slave: CERTNAME=
tmpDir/rootdir-slave: processTemplate.pl template/etc/libnss-ldap.conf
template/etc/pam_ldap.conf template/etc/ldap/ldap.conf Makefile
rootdir/etc/pam.d rootdir/etc/pam.d/common-account
rootdir/etc/pam.d/common-auth rootdir/etc/pam.d/common-password
rootdir/etc/pam.d/common-session
./processTemplate.pl -vs $@ $(SERVERNAME) $(SSERVERNAME)
$(URI) $(FILTERHOST) $(FILTERSITE) $(CERTNAME)
@cp  -r rootdir/etc/pam.d $@/etc/


is there some way to compress this as well ?

-- 
There's not going to be enough people in the system to take advantage of 
people like me.

- George W. Bush
06/09/2000
Wilton, CN
on the coming Social Security crisis


signature.asc
Description: Digital 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] Ubuntu 8.04 Surround Sound

2008-05-02 Thread Alex Samad
On Fri, May 02, 2008 at 11:12:31PM +0200, [EMAIL PROTECTED] wrote:
 Hi all,
 
 I hope that someone can help me.
 
 I have just installed Ubuntu 8.04 on my pc and can not get surround sound
 to work.
 
 I have created a file  .asoundrc and put it in my home folder but only my
 front two speakers work and the other speakers work when I boot in Windows
 XP.
 
 I have attached the file to this e-mail.
 
 My pc configuration is an Intel 2.66GHz Core 2 duo with 2GB RAM and a
 sound Blaster 2 Audigy with a 5.1 Speaker system.
 
 I hope that someone can help me as I have been searching on the net but no
 luck of finding a solution.
at a guess you are not mapping the 2 channel input to the 6 channel
output properly, ie alsa is getting 2 channel input and you have mapped
it to the 5.1 output but placed nothing on the other channels

I think dmix is what you are looking for

 
 Regards,
 Lee Isaacson
 
 
 
 ---
 South Africas premier free email service - www.webmail.co.za 
 --
 For super low premiums, click here http://www.webmail.co.za/dd.pwm

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

-- 
The universe is an island, surrounded by whatever it is that surrounds
universes.


signature.asc
Description: Digital 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] Ubuntu 8.04 Surround Sound

2008-05-02 Thread Alex Samad
On Fri, May 02, 2008 at 11:43:10PM +0200, [EMAIL PROTECTED] wrote:
  On Fri, May 02, 2008 at 11:12:31PM +0200, [EMAIL PROTECTED] wrote:
  Hi all,
 
  I hope that someone can help me.
 
  I have just installed Ubuntu 8.04 on my pc and can not get surround
  sound
  to work.
 
  I have created a file  .asoundrc and put it in my home folder but only
  my
  front two speakers work and the other speakers work when I boot in
  Windows
  XP.
 
  I have attached the file to this e-mail.
 
  My pc configuration is an Intel 2.66GHz Core 2 duo with 2GB RAM and a
  sound Blaster 2 Audigy with a 5.1 Speaker system.
 
  I hope that someone can help me as I have been searching on the net but
  no
  luck of finding a solution.
  at a guess you are not mapping the 2 channel input to the 6 channel
  output properly, ie alsa is getting 2 channel input and you have mapped
  it to the 5.1 output but placed nothing on the other channels
 
  I think dmix is what you are looking for
 
 Hi there,
 
 Thank you for your e-mail.
 
 I have checked my mixer settings in Ubuntu and the sliders for PCM Centre,
 Side etc are all at the top.
ummm no dmix in alsa, do a google for dmix alsa

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm hw:0,1
format S32_LE
period_time 0
period_size 1024

# increased buffer_size
buffer_size 32768

rate 44100
}

 bindings {
 0 0
 1 1
 }
}


this is a fragment of my /etc/asound.conf, notice the bindings option


please also reply to the list, that way other people can get help with
this as well.

 
 I have been reading that will Pulse audio you can not get 5.1 channel
 sound but would rather check it with the people in the know.

 
 Hope you can still help me.
 
 Regards,
 Lee
 
 
 
 
 
 
 ---
 South Africas premier free email service - www.webmail.co.za 
 --
 For super low premiums, click here http://www.webmail.co.za/dd.pwm
 
 

-- 
Snow-white!  Snow-white!  O Lady clear!
O Queen beyond the Western Sea!
O Light to us that wander here
Amid the world of woven trees!

Gilthoniel!  O Elbereth!
Clear are thy eyes and bright thy breath!
Snow-white!  Snow-white!  We sing to thee
In a far land beyond the Sea.

O stars that in the Sunless Year
With shining hand by her were sown,
In windy fields now bright and clear
We see you silver blossom blown!

O Elbereth!  Gilthoniel!
We still remember, we who dwell
In this far land beneath the trees,
Thy starlight on the Western Seas.
-- J. R. R. Tolkien


signature.asc
Description: Digital 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 Alex Samad
On Mon, Apr 28, 2008 at 12:51:47PM +1000, DaZZa 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.
 
 All the destination boxes will be identical in specification, and the
 same as the original. At this point (trial - only 15 to do), I've made
 an image of the disk using DD to a USB attached drive - which works,
 and gets the new boxes working, but takes 3+ hours to dump the image
 back to the new boxes.
 
 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.
buy a disk duplicating enclose (or hardware raid/swraid ) and use it to
duplicate drives  
 
 Thanks.
 
 DaZZa
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Natural gas is hemispheric. I like to call it hemispheric in nature because it 
is a product that we can find in our neighborhoods.

- George W. Bush
12/20/2000
Washington, DC


signature.asc
Description: Digital 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] Manipulating DNS - got it!!

2008-04-18 Thread Alex Samad
On Fri, Apr 18, 2008 at 04:17:48PM +1000, Amos Shapira wrote:
 On Fri, Apr 18, 2008 at 3:55 PM, Howard Lowndes [EMAIL PROTECTED] wrote:
 
 
   Amos Shapira wrote:
 
   On Fri, Apr 18, 2008 at 3:06 PM, Howard Lowndes [EMAIL PROTECTED]
  wrote:
  
   
 I did this and it was successful, both for internal and external
  domains

(tks Amos for that suggestion), and here are the lines from
  /etc/named.conf:
   
  
   And how does it work when the VPN is NOT connected? Is it smart enough
   to figure out not to try 10.2.2.{1,41} when the VPN is down and go
   directly to the external DNS?
  
 
   Basically, yes.  It obviously won't resolve internal fqdns because they are
  not reachable anyway, neither are the internal dns servers, but the resolver
  still tries the localhost dns server first (as it is the first nameserver in
  the /etc/resolv.conf file) to resolve an external address and the forward
  first clause causes the localhost dns server to try the (now inaccessible)
  forwarders just the once and then give up, and the resolver then goes on to
  try the other dhcp supplied name servers. Thus there is a small delay in dns
  resolution but I don't see it as a major problem.  I guess if you used the
  forward only clause then it might knicker up.
 
 I was hoping for something more along the lines of when the VPN link
 goes down - reconfigure:
 1. Remove the search soho.lannet.com.au line from resolv.conf
 2. Reconfigure local DNS server to forget about the zone
 soho.lannaet.com.au part.
why not have 2 resolv.conf something like resolv.conf.{a,b}, then
symlink to resolv.conf.

attach a script on vpn up to symlink .a and when the vpn is down to
symlink .b

Alex
 
 I'm sure it's doable. Will try to get to it over the weekend (need to
 be outside the office to test this).
 
 Maybe it's less relevant to you because you still want to use the same
 name but get the external view when the VPN is disconnected, right?
 
 Cheers,
 
 --Amos
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
It's unacceptable to think that there's any kind of comparison between the 
behavior of the United States of America and the action of Islamic extremists 
who kill innocent women and children to achieve an objective.

- George W. Bush
09/15/2006
Washington, DC
White House Press Conference


signature.asc
Description: Digital 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] grep question

2008-04-13 Thread Alex Samad
On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote:
 On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote:
Try grep -Ev '^(\W*;|$)'
   great that works, (i changed to \s* instead, also tried the [[:space:]]
   and it worked)
 
   I don't understand hwy i need to test for ^$, I had thought that once a
   line test positive for ^\s*; it would be excluded ?
 
 Because empty lines do not match the '^\W*;' part (they don't have a
 ';' in them to match the regular expression) and so grep prints them.
 The '^$' part matches empty lines and so they are filtered out.

but the line has already been matched why is it not discarded ?

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

-- 
Anyway, I'm so thankful, and so gracious -- I'm gracious that my brother Jeb 
is concerned about the hemisphere as well.

- George W. Bush
06/04/2001


signature.asc
Description: Digital 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] looking for a command to composite sequentially numbered files

2008-04-13 Thread Alex Samad
On Mon, Apr 14, 2008 at 02:24:50AM +1000, elliott-brennan wrote:
 Hi all,

[snip]

 $ for i in `seq 1 999`;do j=`printf %04d $i`; composite -compose atop 
 bubbles.png 0*.png image$j.png; done

 but I get the following error:

 bash: syntax error near unexpected token `do'

works here
for i in `seq 1 999`;do echo j=`printf %04d $i`; echo composite -compose
atop bubbles.png 0*.png image$j.png; done | head
j=0001
composite -compose atop bubbles.png 0*.png image0067.png
j=0002
composite -compos


 I know I'm complete crap at this stuff...but...well, I'm complete crap. 
 Just trying to work it out really :))

 Any assistance would be most appreciated.

 Regards,

 Patrick

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


-- 
The most important thing is for us to find Osama bin Laden. It is our number 
one priority and we will not rest until we find him.

- George W. Bush
09/13/2001
Washington, DC


signature.asc
Description: Digital 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] grep question

2008-04-13 Thread Alex Samad
On Mon, Apr 14, 2008 at 10:16:32AM +1000, Amos Shapira wrote:
 On Sun, Apr 13, 2008 at 10:02 PM, Alex Samad [EMAIL PROTECTED] wrote:
  On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote:
On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote:
   Try grep -Ev '^(\W*;|$)'
  great that works, (i changed to \s* instead, also tried the 
  [[:space:]]
  and it worked)

  I don't understand hwy i need to test for ^$, I had thought that once 
  a
  line test positive for ^\s*; it would be excluded ?
   
Because empty lines do not match the '^\W*;' part (they don't have a
';' in them to match the regular expression) and so grep prints them.
The '^$' part matches empty lines and so they are filtered out.
 
   but the line has already been matched why is it not discarded ?
 
 Nope. The empty lines you see in the output (without the ^$ match)

exactly, silly me assumed there were no blank lines in the original text
file.  The old addage assume makes an ass out of u and me 

 are empty lines from the original file (look them up), not lines which
 matched the : RE.
 
 When you look for empty lines in the input, be aware that there could
 be lines containing only white space, which won't match ^$ (to test,
 use cat -e on the file) but still look empty to the naked eye,
 maybe you want you change that RE to something like:
 ^[:space:]*(;|$) (i.e. match lines which begin with ; (optionally
 preceded by white space) or which contain only zero or more white
 spaces).
 
 --Amos
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Let me just first tell you that I’ve never been more convinced that the 
decisions I made are the right decisions.

- George W. Bush
09/12/2006
Washington, DC
said to journalists in the Oval Office (as reported by the National Review)


signature.asc
Description: Digital 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] grep question

2008-04-12 Thread Alex Samad
Hi


I want to look at a config file that uses ; as comments, but I want to
look at everything that is not a commented line

so I tried grep -v '^\W*;' which sort of works, except it leaves me with
blank lines now, how can I not show the blank lines


-- 
For every fatal shooting, there were roughly three non-fatal shootings. And, 
folks, this is unacceptable in America. It's just unacceptable. And we're going 
to do something about it. 

- George W. Bush
05/14/2001
Philadelphia, PA


signature.asc
Description: Digital 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] grep question

2008-04-12 Thread Alex Samad
On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
 Hi
 
 
 I want to look at a config file that uses ; as comments, but I want to
 look at everything that is not a commented line
 
 so I tried grep -v '^\W*;' which sort of works, except it leaves me with
 blank lines now, how can I not show the blank lines
 
adding to this I tried it in perl

perl -nle 'print [$_] if ( ! m/^\s*;/)' sip.conf 

but it still prints out blank lines where it matches ?


(i realised  i used \W instead of \s before)

another question while we are on regex, how do I use [:space:] in grep
and perl ?

Alex

-- 
A lot of times in the rhetoric, people forget the facts. And the facts are 
that thousands of small businesses -- Hispanically owned or otherwise -- pay 
taxes at the highest marginal rate.

- George W. Bush
03/19/2001
speaking to the Hispanic Chamber of Commerce


signature.asc
Description: Digital 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] regex question

2008-04-12 Thread Alex Samad
On Sun, Apr 13, 2008 at 09:16:59AM +1000, Alex Samad wrote:
 On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
  Hi
  
  
  I want to look at a config file that uses ; as comments, but I want to
  look at everything that is not a commented line
  
  so I tried grep -v '^\W*;' which sort of works, except it leaves me with
  blank lines now, how can I not show the blank lines
  
 adding to this I tried it in perl
 
 perl -nle 'print [$_] if ( ! m/^\s*;/)' sip.conf 
 
 but it still prints out blank lines where it matches ?

more delving into it

I need something like this 
perl -nle 'next if ( /^\s*;/);  print  if length $_  0' sip.conf

I have to check if I have a blank line. I would have thought the next
would read the next line !

 
 
 (i realised  i used \W instead of \s before)
 
 another question while we are on regex, how do I use [:space:] in grep
 and perl ?
 
 Alex
 

-- 
Well, that's going to be up to the pundits and the people to make up their 
mind.  I'll tell you what is a president for him, for example, talking about my 
record in the state of Texas.  I mean, he's willing to say anything in order to 
convince people that I haven't had a good record in Texas.

- George W. Bush
09/20/2000
on MSNBC


signature.asc
Description: Digital 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] grep question

2008-04-12 Thread Alex Samad
On Sun, Apr 13, 2008 at 08:56:59AM +1000, Aníbal Monsalve Salazar wrote:
 On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
 so I tried grep -v '^\W*;' which sort of works, except it leaves me with
 blank lines now, how can I not show the blank lines
 
 Try grep -Ev '^(\W*;|$)'
great that works, (i changed to \s* instead, also tried the [[:space:]]
and it worked)

I don't understand hwy i need to test for ^$, I had thought that once a
line test positive for ^\s*; it would be excluded ?


 
 -- 
 Red Rosa now has vanished too Bertolt Brecht



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

-- 
The idea of putting subliminable messages into ads is ridiculous.

- George W. Bush
09/01/2000


signature.asc
Description: Digital 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] Debian question

2008-04-09 Thread Alex Samad
On Thu, Apr 10, 2008 at 12:51:48PM +1000, DaZZa wrote:
 On Thu, Apr 10, 2008 at 12:37 PM, Amos Shapira [EMAIL PROTECTED] wrote:
  On Wed, Apr 9, 2008 at 8:03 PM, Jaime Tarrant [EMAIL PROTECTED] wrote:
 2  3) Another script that might be useful to automatically install
proprietary ATI video drivers is here:
 http://techpatterns.com/forums/about933.html
 I have used it successfully on Debian machines with NVidia and ATI cards
running Lenny or Unstable branches, although I haven't tested it with 
  Etch.
Still, if you have had no luck so far maybe it is worth a shot.
 TIP: You can only run the script from the console however (not from 
  within
X).
 
   Another possible option which I used when I felt particularly lazy or
   out of time to do it properly is to boot a live Ubuntu disk on the
   machine and copy the X config file from it to merge with the Debian
   one.
 
 Not an option on these boxes.
 
 No floppy disk. No CD. Solid-state HD.
 
 Suggestions have been received and are being looked into. As far as I
 know, we've updates the distribution with the latest patches using
 apt-get distro upgrade without success (once we removed the poxy HP
 repository from the sources list and actually GOT some upgrades), and
 are now trying to find/apply the latest ATI drivers to the video card.
 
 Damn thing is still refusing to do widescreen modes. :-( Won't even do
 1600x1050 now.
something I noticed on my deb leny (amd64) box is that when the monitor
was off whilst rebooting X defaulted to 800x600 (couldn't get eddid info
) , this was for an nvidia, but the ati might do the same thing

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

-- 
Paul's Law:
In America, it's not how much an item costs, it's how much you save.


signature.asc
Description: Digital 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 Alex Samad
On Sat, Apr 05, 2008 at 09:52:55AM +1100, Crossfire 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.

 I want to be able to set it up so /home (and maybe other filesystems)  
 are replicated from one to the other, in both directions, in real time  
 so they can run in an all-hot redundant cluster.

 The environment should be mostly read-oriented, so I can live with  
 write-latent solutions as long as they handle the race/collision  
 gracefully (preferably by actually detecting and reporting it if they  
 can't avoid it).

 The options I've investigated so far:

 * Lustre (MDS requirements[2] make this not an option)
 * GlobalFS (STOMITH requirements make this not an option.  Oriented
   towards shared media too, which I am not using)
 * tsync (Naive concurrent operation model, but otherwise viable)
 * MogileFS (not quite what I was looking for, but none the less useful).
 * OpenAFS (read-only replication only, loss of the node hosting the
   write volume still renders the volume unwritable).

 Is anybody aware of any other options that I've missed?
I think once you ask for no STOMITH and also read/write access from more
than one location, you have made it really hard for yourself. Unless you
go to something NFS.

Lustre doesn't really met you requirements. its more for file striping
and speed then for HA

if 1 can be readonly then you could setup a raid 1 with one device being
a network block device 

 C.

 [1] Shoot The Other Machine In The Head - the ability for any node to
 forcibly powerdown any other node believed to be malfunctioning.
 [2] Single instance MDS only, only clusterable through shared storage.
 d'oh.
 [3] People suggesting rsync will be taken out back and shot for not
 reading the requirements.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
I also understand how tender the free enterprise system can be.

- George W. Bush
07/08/2002
White House press conference, Washington, D.C.


signature.asc
Description: Digital 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 Alex Samad
On Sat, Apr 05, 2008 at 10:11:00AM +1100, John Ferlito wrote:
 Keeping in mind I've never done this so no idea how well it works. I'd
 say a combination of
 
 Global File System - http://sources.redhat.com/cluster/gfs/
I think the requirements where for no STOMITH and GFS uses that in both
incarnations, so does ocfs, psfs



 and
 Global Network Block Device - http://sourceware.org/cluster/gnbd/
 
 should do the trick, this document explains how
 http://sources.redhat.com/cluster/wiki/DRBD_Cookbook?highlight=(CategoryHowTo)
 
 On Sat, Apr 05, 2008 at 09:52:55AM +1100, Crossfire 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.
 
  I want to be able to set it up so /home (and maybe other filesystems) are 
  replicated from one to the other, in both directions, in real time so they 
  can run in an all-hot redundant cluster.
 
  The environment should be mostly read-oriented, so I can live with  
  write-latent solutions as long as they handle the race/collision  
  gracefully (preferably by actually detecting and reporting it if they  
  can't avoid it).
 
  The options I've investigated so far:
 
  * Lustre (MDS requirements[2] make this not an option)
  * GlobalFS (STOMITH requirements make this not an option.  Oriented
towards shared media too, which I am not using)
  * tsync (Naive concurrent operation model, but otherwise viable)
  * MogileFS (not quite what I was looking for, but none the less useful).
  * OpenAFS (read-only replication only, loss of the node hosting the
write volume still renders the volume unwritable).
 
  Is anybody aware of any other options that I've missed?
 
  C.
 
  [1] Shoot The Other Machine In The Head - the ability for any node to
  forcibly powerdown any other node believed to be malfunctioning.
  [2] Single instance MDS only, only clusterable through shared storage.
  d'oh.
  [3] People suggesting rsync will be taken out back and shot for not
  reading the requirements.
  -- 
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 -- 
 John
 http://www.inodes.org/
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
It is clear our nation is reliant upon big foreign oil. More and more of our 
imports come from overseas.

- George W. Bush
09/25/2000
Beaverton, OR


signature.asc
Description: Digital 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] DST in debain

2008-03-29 Thread Alex Samad
Hi

for some reason my time is still daylight savings time ?  hasn't change
for DST last night. any one else having this problem ?

Alex

-- 
There's been a act of war declared upon America by terrorists, and we will 
respond accordingly.

- George W. Bush
09/15/2001
Camp David


signature.asc
Description: Digital 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] DST in debain

2008-03-29 Thread Alex Samad
On Sun, Mar 30, 2008 at 11:09:45AM +1100, DaZZa wrote:
 On Sun, Mar 30, 2008 at 11:01 AM, Alex Samad [EMAIL PROTECTED] wrote:
  Hi
 
   for some reason my time is still daylight savings time ?  hasn't change
   for DST last night. any one else having this problem ?
 
 That'll be because we're still in Daylight Savings Time - until NEXT Sunday.
 
 NSW law changed last year to bring the NSW Daylight Savings periods in
 line with other states like Vic, Tasmania and SA. Daylight savings is
 now from the FIRST Sunday in October until the FIRST Sunday in April.

bloody hell, got caught out by my phone :) told me there had been a
daylight savings change


should have not listen my phone (windows mobile)

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

-- 
I have a different vision of leadership. A leadership is someone who brings 
people together.

- George W. Bush
08/18/2000
Bartlett, TN


signature.asc
Description: Digital 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] Firefox javascript

2008-03-13 Thread Alex Samad
On Thu, Mar 13, 2008 at 01:17:25PM +1100, Alan L Tyree wrote:
 On Thu, 13 Mar 2008 13:09:08 +1100
 Martin Visser [EMAIL PROTECTED] wrote:
 
  You probably would need to specify the site - as it probably is a
  matter of bad jasvascript code that someone more knowledgable than me
  could comment on. I know from my iPaq (PDA) running Windows Mobile,
  many sites buttons just don't work. My presumption has been that IE on
  Windows Explorer only has a subset of the standard Javascript
  functionality. I am guessing it probably also applies to your choice
  of Linux powered web browsers.
 
 It's a proprietary site: www.lexisnexis.com/au/legal Needs a username
 and password to sign on. Frustrating thing is that they specify Firefox
 2.x as being an acceptable browser. Indeed, when I log on with Opera
 they give me a warning message.
 
 I can log on through another channel using IE and it works.
 
 I thought maybe I had done something that screwed up the javascript in
 Firefox (well, Iceweasel).
have you got the noscript plugin ?
 
 
  
  I would have thought that the number of users now trying to browse
  from phone-like and PDA-like devices would have driven web framework
  and web developers to think more about a diverse userbase, but they
  still seem to cater for only the top 2 or 3 browser platforms and
  think everyone is running a cinematic widescreen. (And that doesn't
  even talk about accessibility issues for screen readers, different
  languages, etc)
  
  On Thu, Mar 13, 2008 at 11:40 AM, Alan L Tyree [EMAIL PROTECTED]
  wrote:
   Can anybody explain this to me? I'm using Debian Etch.
  
I connect to a commercial site that uses javascript buttons to
initiate searches. With Iceweasel, Epiphany and Galeon, they don't
work. With Opera they work just fine.
  
They used to work with Iceweasel - I don't know if I changed any
settings or not. The javascript is activated in the preferences and
allowed to do anything in the Advanced options.
  
Driving me nuts. Any suggestions appreciated.
  
Thanks,
Alan
  
--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  Fax: +61 2 4782 7092
FWD: 615662
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs:
   http://slug.org.au/faq/mailinglists.html
  
  
  
  
  -- 
  Regards, Martin
  
  Martin Visser
  
 
 
 -- 
 Alan L Tyreehttp://www2.austlii.edu.au/~alan
 Tel:  04 2748 6206  Fax: +61 2 4782 7092
 FWD: 615662
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Can we win? I don't think you can win it.

- George W. Bush
08/30/2004
Today show interview
after being asked whether the war on terror was winnable


signature.asc
Description: Digital 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] file list for owner/group

2008-03-10 Thread Alex Samad
On Mon, Mar 10, 2008 at 11:48:34AM +1100, David Gillies wrote:
 Voytek Eymont wrote:
  I once again have a compromised server, courtesy of a user installed cms;
  
  how do I get a recursive list of files owned by 'xxx' group 'xxx' ?
  
  ls -R just lists directories
  
 
 find /path/to/directory -user xxx -group xxx
does that show files that are user xxx AND group 

is it different from 

find /path/to/directory -user xxx -o -group xxx

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

-- 
Got a dictionary?  I want to know the meaning of life.


signature.asc
Description: Digital 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] file list for owner/group

2008-03-10 Thread Alex Samad
On Mon, Mar 10, 2008 at 06:46:20PM +1100, Rick Welykochy wrote:
 Alex Samad wrote:

 find /path/to/directory -user xxx -group xxx
 does that show files that are user xxx AND group 

 is it different from 

 find /path/to/directory -user xxx -o -group xxx

 Yup.

 From the man page:

 The -and operator is the logical AND operator.
 As it is implied by the juxtaposition of two expressions it does
 not have to be specified.
 ^^
yeah could not remember if it was the default, so the question still
stands to the original poster, which did they want

 The -or operator is the logical OR operator.

 HTH
 HAND
 rick


 -- 
 
 Rick Welykochy || Praxis Services || Internet Driving Instructor

 Anyone who says he won't resign four times, will.
  -- John Kenneth Galbraith
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
If you found somebody that had information about an attack on America, you'd 
want to know as best as we can to find out what the facts are.

- George W. Bush
12/12/2005
Philadelphia, PA


signature.asc
Description: Digital 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] cheap sms?

2008-03-10 Thread Alex Samad
On Tue, Mar 11, 2008 at 12:33:04PM +1100, Richard Hayes wrote:
 Dear list,

 I am doing remote telemetry with a small linux box (of course) and then  
 using sms to transfer the data.

 Can anyone recommend a supplier of cheap sms for large quantity? 

 Within a few months 2000 per day.
wouldn't it be cheaper to open a ip connection with gprs and send udp
packets ?




 regards,

 Richard Hayes
 0414 618 425



 begin:vcard
 fn:Richard Hayes
 n:Hayes;Richard
 org:Nada Marketing
 adr:;;PO Box 12 ;Gordon;NSW;2072;Australia
 email;internet:[EMAIL PROTECTED]
 tel;work:+(61) 2 8669 9835
 tel;fax:+(61) 2 9327 4908
 tel;home:+(61) 2 9436 0121
 tel;cell:0414 618 425
 x-mozilla-html:FALSE
 url:http://www.nada.com.au
 version:2.1
 end:vcard
 

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

-- 
It's very important for folks to understand that when there's more trade, 
there's more commerce.

- George W. Bush
04/21/2001
Quebec City, Canada
at the Summit of the Americas


signature.asc
Description: Digital 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] Looking for a VOIP SIP Service Provider

2008-03-10 Thread Alex Samad
On Tue, Mar 11, 2008 at 03:16:26PM +1100, Nigel Allen wrote:
 Hi All

 We're about to start working with an Asterisk test bed system.

 We have two lines coming into the office which we intend to have  
 Asterisk answer and divert different desks.

 For outgoing calls, we'd like to use VOIP - partly to keep the PSTN  
 lines free for incoming calls.

 As we are really newbies at this I would appreciate a recommendation for  
 a SIP carrier/provider who has a bring your own plan and who won't try  
 to oversell us on everything? I believe we only need outgoing call  
 facility - can't see any real reason for incoming but am up for debate.

you could check out whirlpool.

personally I use My Net Phone, i believe they would fit your
requirements


 TIA

 Nigel

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


-- 
I was proud the other day when both Republicans and Democrats stood with me in 
the Rose Garden to announce their support for a clear statement of purpose: you 
disarm, or we will.

- George W. Bush
10/05/2002
Manchester, NH
speaking about Saddam Hussein


signature.asc
Description: Digital 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] looking for a command to automatically create sequentially numbered files

2008-03-08 Thread Alex Samad
On Sun, Mar 09, 2008 at 12:07:45AM +1100, Felix Sheldon wrote:

 It looks like you might be using single quotes and not back-ticks (on  
 the ~ key).

 This works for me, with the echo in there at least.

 for i in `seq 1 125`; do j=`printf %06d $i`; echo montage -geometry +4+4  
 a_$j.jpeg b_$j.jpeg c_$j.jpeg d_$j.jpeg montage$j.jpeg; done
you can also use $( some-command )


 -- 
 Felix


 elliott-brennan wrote:
 Hi Rick,

 On the basis that this is quite likely something simple that I'm not  
 doing, or the consequence of something I haven't explained clearly  
 enough (as I've very little experience with such things) -

 These are the files I'm working with:

 four sets of 124 images each:

 a_01.jpeg to a_000125.jpeg
 b_01.jpeg to b_000125.jpeg
 c_01.jpeg to c_000125.jpeg
 d_01.jpeg to d_000125.jpeg

 I've entered the command:

 $ for i in 'seq 1 999'; do j='printf %04d $i'; montage -geometry +4+4  
 a_$j.jpeg b_$j.jpeg c_$j.jpeg d_$j.jpeg montage$j.jpeg; done

 and receive the response:
 bash: syntax error near unexpected token `do'

 (I've cut-and-pasted the information for accuracy)

 I've also tried changing:

 'seq 1 999'
 to
 'seq 1 125'

 with no success and tried changing:

 do j='printf %04d
 to
 do j='printf %06d

 again with no success.

 I'm wondering if you wouldn't mind having another look at this for me?

 Thanks again and much appreciated.

 Regards,

 Patrick



 Rick Welykochy wrote:
 elliott-brennan wrote:

 Now, I know I've asked a similar questions, but I thought that I'd  
 ask again with what may be a clearer request :)
 For example:

 I have a collection of images labelled -

 a_0001.jpeg through to A0999.jpeg
 b_0001.jpeg through to A0999.jpeg
 c_0001.jpeg through to A0999.jpeg
 d_0001.jpeg through to A0999.jpeg

 I want to merge them as follows:

 montage -geometry +4+4 a_0001.jpeg b_0001.jpeg c_0001.jpeg  
 d_0001.jpeg montage1.jpeg

 the output file is montagenumber.jpeg and needs to be a  
 sequentially increasing number.

 Is there a command that will allow me to do this automatically  
 without having to individually enter each file name and output 
 name?

 I realise this is a little weird and no doubt unusual, but, as  
 usual, any assistance or direction would be most appreciated.

 Not weird at all. Well organised file systems often use sequential
 or semi-sequential numbering to keep things logical and consistent.
 (Who said consistency is the last refuge of the unimaginative?)

 The GNU seq command is useful for sequential numbering.

 $ seq 1 5
 1
 2
 3
 4
 5

 As well, you can use printf to format the numbers as you wish, e.g.

 $ for i in `seq 1 5`; do echo `printf a_%04d.jpeg $i`; done
 a_0001.jpeg
 a_0002.jpeg
 a_0003.jpeg
 a_0004.jpeg
 a_0005.jpeg

 Putting it all together:

 $ for i in `seq 1 5`; do j=`printf %04d $i`; echo montage -geometry  
 +4+4  a_$j.jpeg b_$j.jpeg c_$j.jpeg d_$j.jpeg montage$j.jpeg; done

 montage -geometry +4+4 a_0001.jpeg b_0001.jpeg c_0001.jpeg  
 d_0001.jpeg montage0001.jpeg
 montage -geometry +4+4 a_0002.jpeg b_0002.jpeg c_0002.jpeg  
 d_0002.jpeg montage0002.jpeg
 montage -geometry +4+4 a_0003.jpeg b_0003.jpeg c_0003.jpeg  
 d_0003.jpeg montage0003.jpeg
 montage -geometry +4+4 a_0004.jpeg b_0004.jpeg c_0004.jpeg  
 d_0004.jpeg montage0004.jpeg
 montage -geometry +4+4 a_0005.jpeg b_0005.jpeg c_0005.jpeg  
 d_0005.jpeg montage0005.jpeg

 Get rid of the echo command, change 5 to 999 and Bob's your aunty.


 cheers
 rickw







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


-- 
One thing is clear, is relations between America and Russia are good, and 
they're important that they be good.

- George W. Bush
07/15/2006
Strelna, Russia


signature.asc
Description: Digital 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: SLUG video helpers

2008-03-08 Thread Alex Samad
On Sun, Mar 09, 2008 at 10:43:17AM +1100, Silvia Pfeiffer wrote:
 Hi all,
 
 We are still looking for volunteers to help with the video-recording at
 SLUG.
interested in helping out with the transcoding, but I am not a regular
at the meetings


 
 On a side note I wanted to mention that I will not stand for committee any
 longer this year. There's an opportunity for new people to step into the
 committee. :-)
 
 Cheers,
 Silvia.
 
 
 On Sat, Mar 1, 2008 at 12:15 PM, Silvia Pfeiffer [EMAIL PROTECTED]
 wrote:
 
  Hi all,
 
  You might have noticed that we now have a new video camera to record SLUG
  talks. The old one died a gracious death and we took advantage of the latest
  offerings of JVC hard disk recorders. The camera that we got is a really
  nice one and it's fun to record with. It's inbuilt microphone is also
  amazingly good.
 
  During the last year, Scott Wallers has been our reliable camera man and
  transcoding person, often carrying DVD recoders and DV tapes and all sorts
  of stuff around. I'd like to thank him very much for all his work and am
  happy that he has volunteered to continue doing camera work where it's
  possible for him. However, he will need a reliable backup person, with whom
  he can exchange the camera  tripod should he not be able to attend a SLUG
  meeting.
 
  We are therefore looking for a person who would be available to partner
  with Scott on taking up the video recording task. If you are a regular at
  the Friday night SLUG meetings and can hold a camera, you qualify. :-)
 
  From the committee's point of view, the video team will be formed as a
  sub-committee and should have close contacts with the committee so that it
  can ask for support where needed (financial, servers to upload to, passwords
  for access etc.).
 
  Please shoot me an email if you are interested and I'll put you in contact
  with Scott so you can organise yourselves.
 
  Cheers,
  Silvia.
  --
  Vice President SLUG
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
I love the idea of a school in which people come to get educated and stay in 
the state in which they're educated.

- George W. Bush
08/14/2002
Milwaukee, WI


signature.asc
Description: Digital 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] hard drive failure, back-up, and other unhappiness

2008-03-05 Thread Alex Samad
On Thu, Mar 06, 2008 at 11:59:16AM +1100, xorprime wrote:
 
 
  Both back-up drives were in USB external cases. I suspect my back-up
  failed because of a dodgey power issue with the external case, but
  that's conjecture at this point.
 
 
 External drives are ok for me as long as it has some Raid on it (at least
 Raid 5). Single drive backup is like an optical backup with a lot of
 rewrites ;-)

Here is an interesting article on raid5.

Its a case of horse for courses.  My setup. I have 3 server, 2 at my
place. 1 primary file server, files copied over to the second server.
The second server copies its files over to the third server which is
offsite. All disk space is raid1 (or better - used to use raid5)

The schedules for the rsync allow me some lee way to restore
accidentally deleted files - but that isn't the main goal for this
scheme.  I will soon be adding a 4 site (off site from both the others)
why just incase one of my wan links are down.

I keep all my important stuff on these file server, well important to
me, photo's of babies and such

And with the price of drives coming down.

I have just made a discision to archive my video camera footage as mpeg2
(the format it comes in), I am looking at getting 2 1T firewire or esata
external drive cases.



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

-- 
I've coined new words, like, misunderstanding and Hispanically.

- George W. Bush
03/29/2001
speaking at the Radio  Television Correspondents dinner


signature.asc
Description: Digital 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] Open Source Medical Practice Management Software

2008-03-04 Thread Alex Samad
On Wed, Mar 05, 2008 at 06:18:21AM +1100, David Guest wrote:
 Armin Marth wrote:
  Exporting patient files, with the patients details (name, DOB, sex,
  Medicare number, etc.) from HCN's software is possible as they can be
  exported from the program as a delimited text file (patients.out), but
  the patient's billing history, etc. cannot be imported into another
  medical practice suite and the database isn't accessible without HCN's
  access (logged in with a valid logon).

 This is not quite true. Data can be exported from the clinical component
 of HCN's software, Medial Director, on a patient by patient basis. One
 output option is XML format. I offer a modest example,
 http://ozdoc.mine.nu/wedgetail/wedetail_wedgewood.xml 
 
 The format for this data is undocumented but should not be too difficult
 to decipher. It changes from time to time so you are playing samba to
 HCN's Microsoft.
 
 Nevertheless if we can get a stable data structure for clinical
 information, it becomes much more feasible to move clinical between
 rival Australian EMRs (electronic medical record systems). This is the
 path as Tony and Ken suggest and is certainly the next step.
 
 Another hoped for, and perhaps more stable, format will be that of
 Google Health's. This is in beta and they are making the API available
 for external developers.
 
  Now, this type of software is the perfect candidate to be on an open
  platform (which some medical practices use Linux to store a flat-file
  database on), and with simple google seaches I've found some
  open-source Medical Billing/Appointment book practice management
  suites, but they were all on 0.x releases and unsuitable for the
  Australian medical billing system, with no mention to Medicare. Has
  anyone found anything for Australia; I'd be interested in following
  the development for a Linux/multiplatform open-source practice
  management suite suited to Australia's medical/Medicare standards.

 I am not aware of any proprietary or open source solutions that run on
 linux, although one practice management system runs postgres under
 Windows and is applying for certification from Medicare Australia to
 also run under linux.
Like to give us a heads up on this, I would be interested 

 
 David
 
 P.S. Armin, I hope the boss doesn't hear of this thread. The Australian
 medical IT scene is both very proprietary and very litigious.
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Ann and I will carry out this equivocal message to the world: Markets must be 
open.

- George W. Bush
03/02/2001
at the swearing-in ceremony for Secretary of Agriculture Ann Veneman


signature.asc
Description: Digital 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] Oracle 9i database and samba

2008-03-03 Thread Alex Samad
On Sat, Mar 01, 2008 at 12:15:33PM +1100, Matthew Hannigan wrote:
 On Fri, Feb 29, 2008 at 11:03:22AM +1100, Jeremy Portzer wrote:
  Joel Heenan wrote:
  Network
  filesystems are not normally used for database files.
 
 
  I work for an ASP that has all of its Oracle databases (hundreds of them) 
  mounted via NFS.  It works just fine.  The database servers are running Red 
  Hat Enterprise Linux 4 and 5, and the NFS mount points are NetApp filers.
  
 I believe NetApps are specifically supported by Oracle but not NFS
 generally. (which you touch on later in this message)
I believe the metalink articles talk about NFS being support with out
touching on a vendor

 
 Even so this is just a convenience, it does nothing to 'share' the database
 unless you mean clustering.
 
 Access to the database is always by an Oracle protocol e.g. bequeath, sqlnet
 or something like jdbc, never by direct access to the files.
 
 Matt
 PS getting seriously off-topic here, I suggest following up to -chat
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
I've enjoyed just about as much of this as I can stand.


signature.asc
Description: Digital 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] Oracle 9i database and samba

2008-03-02 Thread Alex Samad
On Fri, Feb 29, 2008 at 03:50:22PM +1000, Simon Wong wrote:
 On Fri, 2008-02-29 at 14:40 +1100, Amos Shapira wrote:
  Do you plan to have access to that database in parallel to having that
  VMware WIndows running?
 
 There will be multiple VMs running on the same machine.
 
  Because if so then Joel Heenan's solution is the right one - run Orcale 9i
  on the host and have it accessed from the Windows under VMware.
 
 I think the solution will be one Windows VM running Oracle (possible
 with the DB files on Samba) and the other VMs accessing that Oracle
 instance.
Any reason to put oracle on windows ? why not make up oracle on a linux
(vm or real box)

  Generally, the advise I remember (at least for Postgres) is that running
  databases on top of network file systems is a bad idea at least for
  performance, but I never tried this personally.
 
 Understandable but these DB files are on the same physical machine,
 different OS (Linux VMware host).
 
 Thanks.
 
 
 -- 
 Simon Wong [EMAIL PROTECTED]
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Excellent day for drinking heavily.  Spike the office water cooler.


signature.asc
Description: Digital 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] Setting up a spam email

2008-02-18 Thread Alex Samad
On Tue, Feb 12, 2008 at 09:40:16AM +0900, jam wrote:
 On Tuesday 12 February 2008 08:07:39 [EMAIL PROTECTED] wrote:
   On Monday 11 February 2008 05:34:05 [EMAIL PROTECTED] wrote:
I want to set up an email address where for my domain, were users can
send spam emails to and they will be added to the spam DB.
[snip]

 u it very simple, not convoluted at all:
 
 Mail to [EMAIL PROTECTED] gets vetted
 
 It is delivered, sent to maybe or sent to amspam
 
 every user can accept their mail, or (mailer dependant eg kmail == button) 
 bounce the mail to user amspam. They can even troll, usually via webmail, 

Not sure if we are talking about the same thing (might be but I am not getting 
it).

I run exim on my server to handle my mail domain

I use the linkage between exim and spamassassin to identify spam at USER  DATA 
steps of the smtp connection. This spamassassin runs as spamassassin 

Then when an email say [EMAIL PROTECTED] comes in for me. exim delivers it via 
procmail which run spamassassin again but with my DB instead of the system wide 
one. I have folder setup
.Ham - a cron job checks in her for email that should be not marked as 
spam

.MarkedSpam - this is where the automatically marked spam mail ends up

.Spam - this is where I place the spam that did not got automatically marked as 
spam, again a cron job looks at this.


I would like to be able to take mail from  [EMAIL PROTECTED] (presume it did 
not get 
auto marked as spam) and not only add its information to my spamassassin db but 
to add it to the system wide DB.  I thought about have an email address that I 
could bounce (mutt bounce) messages to.  But the email will look like it came 
from me (i think) and thus taint the system wide DB

I believe what you have described is what I am doing currently, but not what I 
am trying to extend to - updating the system wide DB

 maybe. Any real mail found in maybe is bounced to amnot.
 
 In my specific case mail from [EMAIL PROTECTED] was tagged as spam so 303 was 
 whitelisted.
 
 If you are not running your mail server, surely your upstream provider does 
 the dirty work?
[snip]

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

-- 
God helps them that help themselves.
-- Benjamin Franklin, Poor Richard's Almanac


signature.asc
Description: Digital 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] Setting up a spam email

2008-02-18 Thread Alex Samad
On Tue, Feb 19, 2008 at 10:13:10AM +1100, Alex Samad wrote:
 On Tue, Feb 12, 2008 at 09:40:16AM +0900, jam wrote:
  On Tuesday 12 February 2008 08:07:39 [EMAIL PROTECTED] wrote:
On Monday 11 February 2008 05:34:05 [EMAIL PROTECTED] wrote:
 I want to set up an email address where for my domain, were users can
 send spam emails to and they will be added to the spam DB.
 [snip]
 
  u it very simple, not convoluted at all:
  
  Mail to [EMAIL PROTECTED] gets vetted
  
  It is delivered, sent to maybe or sent to amspam
  
  every user can accept their mail, or (mailer dependant eg kmail == button) 
  bounce the mail to user amspam. They can even troll, usually via webmail, 
 
 Not sure if we are talking about the same thing (might be but I am not 
 getting 
 it).
 
 I run exim on my server to handle my mail domain
 
 I use the linkage between exim and spamassassin to identify spam at USER  
 DATA 
 steps of the smtp connection. This spamassassin runs as spamassassin 
 
 Then when an email say [EMAIL PROTECTED] comes in for me. exim delivers it 
 via 
 procmail which run spamassassin again but with my DB instead of the system 
 wide 
 one. I have folder setup
 .Ham - a cron job checks in her for email that should be not marked as 
 spam
 
 .MarkedSpam - this is where the automatically marked spam mail ends up
 
 .Spam - this is where I place the spam that did not got automatically marked 
 as 
 spam, again a cron job looks at this.
 
 
 I would like to be able to take mail from  [EMAIL PROTECTED] (presume it did 
 not get 
 auto marked as spam) and not only add its information to my spamassassin db 
 but 
 to add it to the system wide DB.  I thought about have an email address that 
 I 
 could bounce (mutt bounce) messages to.  But the email will look like it came 
 from me (i think) and thus taint the system wide DB
 
 I believe what you have described is what I am doing currently, but not what 
 I 
 am trying to extend to - updating the system wide DB

did another google and found this 
http://www.stearns.org/doc/spamassassin-setup.current.html#sitewide
which shows how to strip of the headers which was the key

 
  maybe. Any real mail found in maybe is bounced to amnot.
  
  In my specific case mail from [EMAIL PROTECTED] was tagged as spam so 303 
  was 
  whitelisted.
  
  If you are not running your mail server, surely your upstream provider does 
  the dirty work?
 [snip]
 
  hmmm seems to work :-)
  James
  -- 
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
  
 
 -- 
 God helps them that help themselves.
   -- Benjamin Franklin, Poor Richard's Almanac



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

-- 
So thank you for reminding me about the importance of being a good mom and a 
great volunteer as well.

- George W. Bush
01/05/2004
St. Louis, MO


signature.asc
Description: Digital 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] How do I relocate /home ?

2008-02-10 Thread Alex Samad
On Mon, Feb 11, 2008 at 06:47:20AM +1100, Rick Welykochy wrote:
 Sridhar Dhanapalan wrote:

 On Sun, 10 Feb 2008, Jamie Wilkinson [EMAIL PROTECTED] wrote:
 This one time, at band camp, Matthew Hannigan wrote:
 Note for rsync newbs;
rsync -av /home.orig /home/
 is different from
rsync -av /home.orig/ /home/
 The first will do what you want, the
 second will create /home/home.orig/
 The other way around; ending with a trailing slash on both directories, as
 you said the first time, will always make the second directory mirror the
 first.

 My understanding is that the presence of a trailing slash on the target 
 directory makes no difference.


 C'mon guys. Idle speculation is no match for the man:

  rsync -avz foo:src/bar /data/tmp

   This would recursively transfer all files from the directory src/bar on
   the machine foo into the /data/tmp/bar directory on the local  machine.
   The  files  are  transferred in archive mode, which ensures that sym-
   bolic links, devices, attributes,  permissions,  ownerships,  etc.  are
   preserved  in  the transfer.  Additionally, compression will be used to
   reduce the size of data portions of the transfer.

  rsync -avz foo:src/bar/ /data/tmp

   A trailing slash on the source changes this behavior to avoid  creating
   an  additional  directory level at the destination.  You can think of a
   trailing / on a source as meaning copy the contents of this directory
   as  opposed  to  copy  the  directory  by name, but in both cases the
   attributes of the containing directory are transferred to the  contain-
   ing  directory on the destination.  In other words, each of the follow-
   ing commands copies the files in the same way, including their  setting
   of the attributes of /dest/foo:

  rsync -av /src/foo /dest
  rsync -av /src/foo/ /dest/foo
(with out actually testing, just relying on memory and speculation :)) )

the first example you would end up with 

/dest/foo 

the second you would end up with 

/dest/(and the children of foo)




 Looks like JW was correct.


 cheers
 rickw


 -- 
 _
 Rick Welykochy || Praxis Services

 Tis the dream of each programmer before his life is done,
 To write three lines of APL and make the damn thing run. 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
Expansion means complexity; and complexity decay.


signature.asc
Description: Digital 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] Setting up a spam email

2008-02-10 Thread Alex Samad
On Mon, Feb 11, 2008 at 10:33:17AM +0900, jam wrote:
 On Monday 11 February 2008 05:34:05 [EMAIL PROTECTED] wrote:
  I want to set up an email address where for my domain, were users can send
  spam emails to and they will be added to the spam DB.
 
  I use debian, exim and spamassassin. All my spam processing gets done as
  user spamassassin, so I thought I could just process all mails sent to
  spamassassin as spam with a procmail rule like
 
  #
  # Record it as spam
 
  :0 fw
  :
  | /usr/bin/sa-learn --spam
 
  but then I realised how do I get it to ignore the senders address (because
  it will be one of my addresses and I don't when then blacklisted ?)
 
 
  how do other people setup site wide spam addresses
 
 
 You really need to R.M grin there is much about this topic ...
Maybe I am reading it wrongly but I think I do this already for a user specific 
spamassassion DB

I wanted to have a spamassassin DB setup for the entire domain, that is used by 
exim at time of delivery, currently exim calls spamassassin as userid 
spamassassin. I don't want to give this account rights to all the maildirs. I 
would like for user a b  c to be able to forward mail to an email address (not 
a location because they might not have file access). I want this mail address 
to take the mail as spam and then processes into the userid spamassassin's 
spamassassin DB

 
 I run 3 accounts (not) called
 
 amspam
 amnot
 maybe
I am presuming this is are not different email;s and by bouncing you are not 
talking about using smtp to move between accounts

 
 All spam that is received is *bounced* to amspam
 
 Everything tagged as spam gets sent to maybe
 Not Spam in maybe gets bounced to amnot
 
 cron.daily runs a 'bayesian' task to learn amspam and amnot
 Bouncing is different for each mail client. See
 
 http://wiki.apache.org/spamassassin/BayesInSpamAssassin?highlight=%28bayesian%29
 
 James
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
BOFH excuse #227:

Fatal error right in front of screen


signature.asc
Description: Digital 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] How do I relocate /home ?

2008-02-09 Thread Alex Samad
On Sat, Feb 09, 2008 at 07:31:10PM +1100, Michael Chesterton wrote:

 On 09/02/2008, at 7:00 PM, bill wrote:
 create /home on /hda3

 No, you just mount /dev/hda3 /mnt and
 cp -a /home/* /mnt/

 rename original /home for safety until relocated home is verified to 
 work

 edit /etc/fstab - change current entry for /hda3 to:-

 /dev/hda3   /home   ext3   defaults,errors=remount -ro 0   1

 then

 mv /home /home.old
 mkdir /home
 umount /mnt
 mount /home
I would do it slightly differently

(boot into single user mode)
cd /
mv /home /home.orig
mkdir /home
mount /home   # Assumnig that fstab is fixed up to mount /dev/hda3 onto /home
do a ls -l /home.orig and set the permissions on the new /home (you need to do 
this after the mount so that the permissions get added to the mount partition

rysnc -av /home.orig/* /home/ (this will save symlink and permissions and other 
stuff )

then reboot

once you check everything is working fine rm -fr /home.orig

A



 you probably want to do that in single user mode.

 I shouldn't need to change the UUID for /hda3 in /dev/disk/by_UUID but 
 will need to change th epartiton label in /dev/disk/by_label I  
 believe.

 Please confirm that the above is correct, or point out any errors if 
 applicable.

 After lots of Web searching I've spent hours recently changing UUID's 
 and disk/partition labels due to moving HDs from another PC ( I 
 currently have 3 IDE and 2 SATA HD's plus a DVDRW in this PC) and don't 
 want to stuff this up.

 Everything was so much easier before UUID.

 You're not using the uuid, so you can ignore it.

 -- 
 Michael Chesterton
 http://chesterton.id.au/blog/
 http://barrang.com.au/



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


-- 
Every religion is welcomed in our country; all are practiced here.

- George W. Bush
02/07/2002
Washington, DC
one of many less-than-sincere remarks made at a National Prayer Breakfast


signature.asc
Description: Digital 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] Setting up a spam email

2008-02-09 Thread Alex Samad
Hi

I want to set up an email address where for my domain, were users can send spam 
emails to and they will be added to the spam DB.

I use debian, exim and spamassassin. All my spam processing gets done as user 
spamassassin, so I thought I could just process all mails sent to spamassassin 
as spam with a procmail rule like

#
# Record it as spam
:0 fw
| /usr/bin/sa-learn --spam


but then I realised how do I get it to ignore the senders address (because it 
will be one of my addresses and I don't when then blacklisted ?)


how do other people setup site wide spam addresses

Alex

 -- I also understand how tender the free enterprise system can be.

- George W. Bush
07/08/2002
White House press conference, Washington, D.C.


signature.asc
Description: Digital 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] Games / Interactive learnign for kids/babies 6m -18m

2008-02-06 Thread Alex Samad
Hi

I was wondering if any one has any recommendation for some interactive kids 
programmes for learning/playing that i can get for linux.  I currently have a 
spare keyboard that the little bashes on, but I would like to have something 
happen on the screen as well and hopefully maybe learn some things as well?

Alex


-- I always jest to people, the Oval Office is the kind of place where people 
stand outside, they're getting ready to come in and tell me what for, and they 
walk in and get overwhelmed in the atmosphere, and they say, man, you're 
looking pretty.

- George W. Bush
11/04/2004
Washington, DC


signature.asc
Description: Digital 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] bigpond cable modem and any old DHCP client?

2008-02-04 Thread Alex Samad
On Mon, Feb 04, 2008 at 09:11:08PM +1100, Jamie Wilkinson wrote:
 Hello list!
 
 Does anyone have experience with BigPond cable?
 
 Specifically, is it possible to use the SB-5101 modem and plug in a
 DHCP-client wireless router on the ethernet side, or does BigPond still
 require a custom login tool running on the client?
I have a cable modem and a normal linux box running just dhcpd (with out the 
old bigpond login client), but you need to be on the new billing system 
 
 The whirlpool forums are fuzzy at best, and I'd like to know if anyone can
 give a definitive yes that will work versus no, that won't.
 
 Why?  It might be cheaper to use an existing wireless router, or easier to
 maintain a linux PC as a router, than purchase the all-in-one SBG-900 cable
 modem + wireless router with a new plan.
 
 Thanks!
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
Joe, I don't do nuance.

- George W. Bush
02/15/2004
to Sen. Joseph Biden, as quoted in Time


signature.asc
Description: Digital signature
-- 
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   >