RE: [SLUG] Disk Full Message - help pls

2008-04-15 Thread Visser, Martin
To find disk usage on a directory level, on the command line try:-

cd /
du --human --max-depth=1  --one-file-system

then repeat using cd  du traversing directories you think are candidates for 
clean up.

Use the following in a directory to see files sorted by size

ls --sort=size -lh

Also from the GUI, at least in Ubuntu, you can use Disk Usage Analyser to 
effectively perform a graphical du as above.




Martin Visser

Technology Consultant
Technology Solutions Group

410 Concord Road
Rhodes NSW  2138
Australia

Mobile: +61-411-254-513
Fax: +61-2-9022-1800
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of the 
individual or entity named above and may contain information that is 
confidential, proprietary or privileged. If you are not the intended recipient, 
please notify HP immediately by return email and then delete the email, destroy 
any printed copy and do not disclose or use the information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bill
Sent: Wednesday, 16 April 2008 8:26 AM
To: slug@slug.org.au
Subject: [SLUG] Disk Full Message - help pls


I;m running Kubuntu Hardy 8.40 beta.

I have / on a 10 gb partition and /home on a separate 10gb partition.

I am suddenly getting messages that there is not enough room in /tmp
or that my partition is full.

As I remember, the initial install used something like 6 or 7 gb. I have not 
installed many additional packages.

I've looked through the /tmp and /var directoties but there are only very 
small files there. If I were to remove backup logs, old kernels etc I would 
gain very little space.

Is it possible that .debs downloaded for updates are being kept instead of 
being deleted?  Neither Synaptic or Adept appear to have an option for 
keep/delete after installation

I dont want to have to attempt to enlarge the partition as this will change its 
UUID and create even more problems with grub etc then needing to be altered.

Is there someway to determine if there are any large unneccessary files held in 
the / partition?

Ideas and suggestions please.

Bill


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


RE: [SLUG] measuring traffic

2008-01-07 Thread Visser, Martin
This won't work if it is a network with a dumb (cheap/unmanaged) switch. (An 
old dumb hub/repeater would be fine but almost no one uses these nowdays).

You really either need to get access to the gateway (and even then it may not 
support any decent stats or raw capture) or have a switch that supports port 
mirroring (where it makes a copy of all the traffic on all ports to a 
particular nominated port).

There is a bad (read crackers) tool called ettercap which can trick all your 
hosts to send their traffic to another other host by spoofing ARP responses, 
but in my opinion it will generally degrade your network and hence interfere in 
your measurement, so you probably should ignore this.


Martin Visser

Technology Consultant
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia

Mobile: +61-411-254-513
Fax: +61-2-9022-1800
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of the 
individual or entity named above and may contain information that is 
confidential, proprietary or privileged. If you are not the intended recipient, 
please notify HP immediately by return email and then delete the email, destroy 
any printed copy and do not disclose or use the information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aleksey 
Tsalolikhin
Sent: Tuesday, 8 January 2008 4:10 PM
To: slug@slug.org.au
Subject: Re: [SLUG] measuring traffic

Have you tried ntop?  It should show you what the top usage is on your network. 
 That might be the answer you are looking for.

Best,
-at

On Jan 7, 2008 8:49 PM, david [EMAIL PROTECTED] wrote:
 I have a local network for which I do not have access to the gateway
 host.

 What tool would folk suggest to determine what and how much traffic is
 going to what port on which host?

 I've got 8 hosts on the network which are a mixture of mac and linux,
 mostly on public IP addresses, and the bandwidth is getting chewed up
 by something but i can't tell what.

 thanks...

 David.

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

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


RE: [SLUG] endless packets from my wireless router

2007-10-14 Thread Visser, Martin
As the 1st byte of the destination MAC address is even it is not
multicast/broadcast packet, but directed directly to your host. Clearly
neither tshark or tcpdump have a dissector for it so it probably is a
proprietory heartbeat of some sort. You could verify if it is wireless
specfic of you can check if you don't see this when plugged into the
ethernet on the netgear port. You could always hassle Netgear to see if
they can provide more info on it - it would be hard to write a dissector
for it without any information on what it contains.

But I really wouldn't worry too much, as it isn't IP it is likely to be
link local. Also if your wireless ethernet is like most there are also
sub-ethernet frames like beacon packets broadcast every 100ms or so that
you won't normally see (as a user) unless your turn your wireless NIC
into monitor mode and capture packets with wireshark.

Martin



Martin Visser

Technology Consultant 
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Zenaan Harkness
Sent: Sunday, 14 October 2007 12:24 PM
To: slug
Subject: [SLUG] endless packets from my wireless router

Hi, can anyone explain what these packets coming from my wireless router
are? These are the lines from tshark:
0.00 Netgear_a0:1a:fc - IntelCor_80:3f:54 LLC I, N(R)=0, N(S)=0;
DSAP NULL LSAP Individual, SSAP NULL LSAP Command

and from tcpdump:
12:23:12.489965 00:14:6c:a0:1a:fc (oui Unknown)  00:12:f0:80:3f:54 (oui
Unknown) Null Information, send seq 0, rcv seq 0, Flags [Command],
length 1476

The data payload is all zeros.

Any ideas why I'm getting 4.8kB/s continuous incoming, with zero
outgoing packets, would be appreciated.

TIA
Zen

--
Homepage: www.SoulSound.net -- Free Australia: www.UPMART.org Please
respect the confidentiality of this email as sensibly warranted.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] screen on SunOS

2007-10-08 Thread Visser, Martin
Try export TERM=vt100 (assuming you are using some sort of variant of
/bin/sh) 

This is a generic terminal that should work


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sonia Hamilton
Sent: Monday, 8 October 2007 4:53 PM
To: slug@slug.org.au
Subject: [SLUG] screen on SunOS

Slightly OT, but I'll give it a shot... I use screen for flicking
between multiple terminals, but when I connect to a Sun box and run
something like vi, I get this message:

 uname -a
SunOS fubar 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-60
 vi foo
screen: Unknown terminal type
I don't know what kind of terminal you are on - all I have is 'screen'.
[Using open mode]

I think that the problem is that a TERM of type 'screen' isn't listed in
/etc/termcap on the Sun box, but how do I solve it? Copy the terminfo
from a Linux box up to the Sun box? Set TERM to something else when on
the Sun box (and if so, to what?).

I've tried googling, but I'm not getting anywhere - thanks for any
hints...

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


RE: [SLUG] expect - more modern tool available?

2007-09-24 Thread Visser, Martin
Robert, by explanation and driven by the context of the original poster,
they are a different use-cases.

 *dialogs are very useful when the user entering the commands is
sitting on the outside of the glass. It makes it easy to write a simple
unambiguous user interface

 expect and their ilk are useful when the user is in fact a program,
and hence is trying to drive the the input interface of aanother
program, emulating a flesh-ware user.

Sonia, when I last had to do something like this I ended up using the
Net::Telnet module for Perl - for that project I was interrogating
routers and other network equipment for their firmware revisions for a
Y2K audit. Today I would probably use Expect.pm for Perl or Pexpect for
Python.




Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Thorsby
Sent: Tuesday, 25 September 2007 1:26 PM
To: slug@slug.org.au
Subject: Re: [SLUG] expect - more modern tool available?

On 2007.09.25 12:56 Sonia Hamilton wrote:
 On Tue, 25 Sep 2007 11:25:44 +1000, Robert Thorsby
 I prefer to use one of the *dialog utilities (ie, dialog, kdialog, 
 gdialog, or -- my dialog-du-jour -- Xdialog) in a shell script and 
 validate the user input in the script.
 It looks a helluva lot better than expect via a command line. It's 
 prolly also more versatile.
 
 Not sure how *dialogs would help :-)
 
 I want to (as a simple example) update my password on n *nix machines 
 using the passwd command, ... . With expect I can automatically feed 
 in the old and new passwords when prompted as passwd is run via ssh on

 each of the n machines.
 
 I could also (for example) use awk/perl/tool-du-jour on /etc/shadow on

 each machine, but that's nasty, especially across different 
 Linuxes/SunOSs/versions.

I do not understand how you can't do this with *dialogs. But, whatever
floats your boat.

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


RE: [SLUG] Upgrading HP laptop BIOS without Windows, how?

2007-09-18 Thread Visser, Martin
Even easier, might be get basically any Windows loaded hard drive, stick
it in a USB hard drive case and boot from that (assuming your model
allows you to boot from USB hard drives). If it is a notebook harddrive
you could even temporarily replace it with the one in your notebook.
Even if the hardware such as video is substantially different you should
at least be able to get it to boot into safe mode. (Ugly I know).


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Clarke
Sent: Tuesday, 18 September 2007 5:19 PM
To: slug@slug.org.au
Subject: Re: [SLUG] Upgrading HP laptop BIOS without Windows, how?

On Tue, Sep 18, 2007 at 01:53:04PM +1000, Visser, Martin wrote:

 I'll see if I can get answer internally. 

Thanks Martin.  I'm a little annoyed that when my laptop died  the
motherboard was replaced under warranty, the replacement had a very old
BIOS, and they didn't set the model and serial numbers.

 An alternative might be to see if you can hold of one of the Windows 
 PE or similar bootable CDs.

I didn't know such a thing existed.  I gave up on Windows years ago :-)
We do use it at work though, so I'll see what I can do.


Thanks,

John
--
If you want to watch [a hard drive] die a slow agonizing death, whilst
incoveniencing the maximum number of your lusers, install it in the part
of your news spool that handles alt.sex.*
-- Brian Kantor
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Upgrading HP laptop BIOS without Windows, how?

2007-09-17 Thread Visser, Martin
I'll see if I can get answer internally. An alternative might be to see
if you can hold of one of the Windows PE or similar bootable CDs. 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Clarke
Sent: Tuesday, 18 September 2007 11:42 AM
To: slug@slug.org.au
Subject: [SLUG] Upgrading HP laptop BIOS without Windows, how?

Hi all,

I have an HP laptop (Pavilion dv5230tx) which has a very old BIOS
installed and I want to upgrade to the latest version.  According to
HP's change log, Core 2 Duo support wasn't added to the BIOS until the
version after the one I have, even though the laptop has a Core 2 Duo
processor.

I've been trying to get suspend and hibernate working, and I suspect the
old BIOS is part of the problem.  Hibernate used to work before I had
the motherboard replaced, and I'm fairly sure that the old one had a
more recent BIOS.  I've had a couple of other weird occasional problems
which I suspect are due to the BIOS (keyboard not working after boot and
mouse behaving very strangely) too.

Unfortunately HP only provide updates as a package with a Windows (not
DOS) program called WinFlash.  I've wiped Windows off the laptop, so my
only choices are to reinstall Windows (which means wiping Linux first
because HP only provide recovery discs and I don't have a spare laptop
SATA drive), or to run WinFlash with wine. I've started the program and
it does appear to run, but I haven't been game to let it flash the BIOS
yet.  Does anyone know whether it's likely to work or if it'll turn my
laptop into a brick, or is there another way to do it?


Thanks,

John
--
I can check out all the porn I want to at home, but when I get to work,
that's when I'm supposed to be surfing the web and reading USENET.
-- Eric Schwartz
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] HP / Redhat Linux LEAGUE event on August 17 at North Ryde

2007-08-02 Thread Visser, Martin
Fellow SLUGgers,

HP and Redhat will be hosting the Linux Enterprise Architect and General
User Event (LEAGUE) at the HP offices at North Ryde (NOT Rhodes) from
3-6pm on Friday August 17. The event will focus on deploying,
maintaining and managing a Linux environment, followed by a
demonstration of an integrated environment of Satellite / SIM / Insight
Control Linux Edition. (These are Redhat and HP server management
products).

If you are not a current HP hardware or Redhat software user, but but
have an interest in enterprise Linux then you are still welcome to
attend.

Registration information can be found at
http://www.edm-redhat.com/online/anz/200707rhandhp/invite.htm

(BTW I am not coordinating the event (and haven't attended one as yet)
so I can't comment on the exact format - except I am certain suits won't
be required :-). I believe the intention is to have these about 3 or 4
times per year)

Regards, Martin

Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

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


[SLUG] HP / Redhat Linux LEAGUE event on August 17 at North Ryde

2007-08-02 Thread Visser, Martin
Fellow SLUGgers,

HP and Redhat will be hosting the Linux Enterprise Architect and General
User Event (LEAGUE) at the HP offices at North Ryde (NOT Rhodes) from
3-6pm on Friday August 17. The event will focus on deploying,
maintaining and managing a Linux environment, followed by a
demonstration of an integrated environment of Satellite / SIM / Insight
Control Linux Edition. (These are Redhat and HP server management
products).

If you are not a current HP hardware or Redhat software user, but but
have an interest in enterprise Linux then you are still welcome to
attend.

Registration information can be found at
http://www.edm-redhat.com/online/anz/200707rhandhp/invite.htm

(BTW I am not coordinating the event (and haven't attended one as yet)
so I can't comment on the exact format - except I am certain suits won't
be required :-). I believe the intention is to have these about 3 or 4
times per year)

Regards, Martin

Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

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


RE: [SLUG] WAN link optimisation

2007-07-27 Thread Visser, Martin
 Gavin said :-

What I'd _really_ like, though, (and haven't found any explicit
references 
to yet) is like (3) but actually duplicating packets down multiple
links, a 
sort of 'network raid 1' where (3) is network raid 0. In other words, 
something that transparently splits a stream into multiple duplicate
streams 
down separate links, which are then merged/multiplexed at the other end,
and
duplicates discarded. Effectively trading bandwidth for latence, given 
multiple links.

Anyone heard of anything at all like that? Or am I crazy?

Just a little bit crazy ;-)

But actually, if you configured your multiple WAN routers with a single
multicast address on their LAN interface (and possibly a a multicast IP
address on the LAN ) then you might just have what you want. Each of
these routers would receive a copy of the same packet from the LAN
(because of the multicast destination). As long as each router has it's
own distinct route table it would forward it to the remote end. As
Robert said, at least for TCP, duplicate packets being discard already
will be discarded by receiving hosts. (Unfortunately this means that
your LAN and hosts would need to deal with extra load - layer 3 routers
won't detect the duplicates and hence can't do this work for you.) Maybe
this solution is also just plain crazy! 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

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


RE: [SLUG] reported memory and actual memory

2007-07-25 Thread Visser, Martin
The standard Redhat^h^h^h^h^h^hCentos kernel only supports up to 4GB.
You will want to install and boot either kernel-smp or
kernel-hugemem

Regards, Martin  


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ben Donohue
Sent: Wednesday, 25 July 2007 5:07 PM
To: Dave Kempe
Cc: slug@slug.org.au
Subject: RE: [SLUG] reported memory and actual memory

Hi,
Sorry, didn't know that would be an issue...

HP server x86 32 Bit.
2.6.18-8
CentOS 5
 

-Original Message-
From: Dave Kempe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 25 July 2007 4:58 PM
To: Ben Donohue
Cc: slug@slug.org.au
Subject: Re: [SLUG] reported memory and actual memory

we need to know kernel version, architecture and distro version to
answer better Ben.

dave

Ben Donohue wrote:
 Hi all,
  
 I have a server which has 5GB memory in it.
 BIOS reports 5120GB and that's fine.
 Top in CentOS linux reports 3632188 total.
  
 


IMPORTANT NOTICE TO RECIPIENT

Computer viruses - It is your responsibility to scan this email and any
attachments for viruses and defects and rely on those scans as
Communications Design  Management Pty Limited (CDM) does not accept any
liability for loss or damage arising from receipt or use of this email
or any attachments.

Confidentiality - This email and any attachments are intended for the
named recipient only and may contain personal information, be it
confidential or subject to privilege, none of which are lost or waived
because this email may have been sent to you in error.  If you are not
the named addressee please let CDM know by return email, permanently
delete it from your system and destroy all copies and do not use or
disclose the contents.

Copyright - This email is subject to copyright and no part of it maybe
reproduced in any manner without the written permission of the copyright
owner.

Privacy - Within the jurisdiction of Australian law, personal
information in this email must be dealt with in compliance with the
Australian Federal Privacy Act 1988.



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


RE: [SLUG] WAN link optimisation

2007-07-25 Thread Visser, Martin
I think that the technology Gavin is thinking of is more about
economising on the content being sent rather than tweaking TCP
parameters. 

For those that aren't familiar with WAN compression technologies they
are probably made most famous by the product coming from Riverbed (but
there are many others, including many of the big names in networking).
What these do. is basically put a hashing and caching box on each of the
link. The sending optimiser computes some sort of hash from the blocks
of data payload it sends to the receiver. If the hash doesn't match a
previously saved block it just sends it on to the receiver. The receiver
saves this new block of data along with the hash and forwards on to next
hop recipient. However, if the block matches something previously sent,
it merely needs to send the hash (or some other index) to the receiver.
The receiving optimiser can then recover the matching block from it's
cache and forward it on it's side of the WAN. So effectively this block
of data has been able transferred without actually being sent. (This is
similar to rsync, the difference is that rsync operates at file level,
WAN optimisation interrogates the TCP and UDP payloads directly). Of
course the assumption here is that throughout the day (or weeks) there
is quite a bit of repetition of traffic. Mail, web and corporate apps,
management traffic at a bit level often have the same chunks of data
being repeated over again. (Think about a mail with an attachment being
sent to multiple recipients, and maybe being forwarded then to others,
and finally the attachment being saved on a file server.) The same
pattern of bytes is send over the link again and again.) There are other
algorithms that involve just sending the deltas, and of course plain
vanilla gzip-like compression. In large enterprises, there are some WANs
that have achieved over 90% reduction of WAN traffic using these
techniques. 

The whole aim is for the installation of this device to be totally
transparent to the applications - apart from the increase in performance
and lower link utilisation. 

I also have had a bit of a look out there whether there is anything like
this in the open-source space - and have not found anything. I imagine
the algorithms in rsync and squid could be put to play here. The only
issue however that I imagine you would probably end up running up
against quite a few patents that might cover some of the techniques
being employed here. Certainly a project of value if someone has the
time!


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of James Gregory
Sent: Wednesday, 25 July 2007 10:55 AM
To: Gavin Carr
Cc: SLUG
Subject: Re: [SLUG] WAN link optimisation

On Tue, 2007-07-24 at 13:37 +1000, Gavin Carr wrote:
 Hey sluggers,
 
 Anyone have any pointers to open source projects (or features of 
 projects) around WAN link optimisation? I'm specifically looking for a

 way of duplicating traffic across multiple links to avoid resends on 
 high latency links, but I'm interested in the whole area.

Hey Gavin,

Don't have references handy, but I expect that you would be able to
improve performance substantially by tinkering some values in proc.
Specifically I'm thinking of selecting a different retransmit algorithm
for TCP, and enabling the various 'smart ACK' schemes available these
days. All the usual stuff like increasing send and receive buffers and
enabling window scaling applies as well.

There's some good stuff about tuning linux for trans-continental links
out there, which I've previously found with google.

HTH,

James.

-- 
 James Gregory  --  http://codelore.com  --  [EMAIL PROTECTED]


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


RE: [SLUG] vmware

2007-05-28 Thread Visser, Martin
I don't have a vmware-server box in front of me, but have a look in
/var/log/vmware (or /var/log/messages) for any sign of what is going on.
You can also run vmware-cmd ThisBox.vmx start from a terminal and see
if that spits out anything useful.

You can also look inside the vmx file if it points to something invalid
when you migrated.

(BTW I assume when you said clients your really meant guests)

Regards, Martin


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, 28 May 2007 5:32 PM
To: slug@slug.org.au
Subject: [SLUG] vmware

Hi
I've done this before, I know it can be done, I'm just fumbling ...

I've got some vmware-server clients. I've got a new box that inherited
the /var/lib/vmware/Virtual Machines/ThisBox etc

How do I get my new machine to use ThisBox

[vmware]
open a virtual machine - ThisBox fails (silently ie does Nothing)
create a new - ThisBox overwrites ThisBox

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


RE: [SLUG] Printing PNGs with transparent backgrounds

2007-05-28 Thread Visser, Martin
Googling seems to indicate this is a deeper bug than the app
(gnome-print was blamed in one report, but it seems deeper than this.).
I also had similar problems with modifying the SLUG bootcamp flyer in
inkscape - it didn't seem to like partially opaque objects. You may also
find that the issue dissapears/changes if you use a different printer,
for instance from PCL to PostScript.

My simple suggestion would be to create a copy of the png and use
imagemagick to add a white canvas underneath - but this probably breaks
the fact you don't want to mod the image. At least you could probably
script this to be fairly automagic.


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Tuesday, 29 May 2007 5:29 AM
To: slug@slug.org.au
Subject: Re: [SLUG] Printing PNGs with transparent backgrounds



Jeff Waugh wrote:
 quote who=Howard Lowndes
 
 I have noticed that PNG images with transparent backgrounds print the

 background as black on both of my printers.  Is there any way of 
 altering this behaviour other than by modding the image.
 
 You don't mention the software you're using. I'm guessing 
 OpenOffice.org as this is a long-standing image handling bug in it 
 (which also has an impact on PDF exports from it). Use something else.

 :-)

Firefox

 
 - Jeff
 

--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux; When you
want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian
states.

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


FW: [SLUG] vmware

2007-05-28 Thread Visser, Martin
For the benefit of the SLUG archive

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, 28 May 2007 7:06 PM
To: Visser, Martin
Subject: Re: [SLUG] vmware

On Monday 28 May 2007 15:48, you wrote:
 vmware-cmd ThisBox.vmx start

Martin
thanks you set me right. The problem was the guest not registered. I
still can't see how I did do that, or how to do it, but

[tigger] /home/jam [62]% vmware-cmd /var/lib/vmware/Virtual\
Machines/WXP/WXP start
/usr/bin/vmware-cmd: Could not connect to VM /var/lib/vmware/Virtual
Machines/WXP/WXP
  (VMControl error -11: No such virtual machine: The config file
/var/lib/vmware/Virtual Machines/WXP/WXP is not registered.
Please register the config file on the server.  For example:
vmware-cmd -s register /var/lib/vmware/Virtual Machines/WXP/WXP)
[tigger] /home/jam [63]% vmware-cmd -s register /var/lib/vmware/Virtual
Machines/WXP/WXP
register(/var/lib/vmware/Virtual Machines/WXP/WXP) = 1

Now the guest opens and runs :-)
Ta
James
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] New Epson Stylus Photo 1410 - Linux friendly?

2007-05-24 Thread Visser, Martin
Unfortunately I think this is a case of 'overloading' on model numbers.

I think you will find that the PSC 1410 is in fact an HP printer
(low-end A4 size all-in-one) not an Epson A3 printer. While I totally
concur that adding an HP printer on Linux is pretty painless, the
experience might not cross-over to a similarly named Epson. That being
said,
 http://gimp-print.sourceforge.net/ release 5.1.1 (only 3 days old!)
shows that they have just added support for the Epson Stylus Photo 1410.



Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Finneran
Sent: Friday, 25 May 2007 9:12 AM
To: slug@slug.org.au
Subject: RE: [SLUG] New Epson Stylus Photo 1410 - Linux friendly?

Hi Mark,

I don't know how different the models are, but I have a PSC 1410 (one of
those all-in-one jobs) and it was almost zero setup and works an
absolute treat running Ubuntu Fiesty.

Cheers,

Scott

-Original Message-
From: [EMAIL PROTECTED] on behalf of Mark O'Connor
Sent: Thu 5/24/2007 4:13 PM
To: slug@slug.org.au
Subject: [SLUG] New Epson Stylus Photo 1410 - Linux friendly?
 
I am looking for a good quality A3 printer to use with my debian
machine.
The Epson site does not acknowledge that the new 1410 functions with
Linux, and I couldn't find it on www.linuxprinters.org so I am not sure
whether to go ahead or not.
If anyone has tried it or has any other advice it would be gratefully
received Thanks Mark


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



-- 
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg


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


RE: [SLUG] dhcpd3 problem

2007-05-22 Thread Visser, Martin
The two lines below

  Listening on LPF/eth0/00:0d:88:7e:91:5b/192.16.0/24
  Sending on   LPF/eth0/00:0d:88:7e:91:5b/192.168.0/24

Also seem to indicate you have an IP address typo somewhere in your
config (192.16.0/24 prob should be 192.168.0/24 )

Martin


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of david
Sent: Wednesday, 23 May 2007 11:46 AM
To: Alex Samad
Cc: slug@slug.org.au
Subject: Re: [SLUG] dhcpd3 problem

On Wed, 2007-05-23 at 10:52 +1000, Alex Samad wrote:
 On Wed, May 23, 2007 at 12:30:44AM +1000, david wrote:
  Ubuntu Edgy, dhcp3-server
  
  sudo /etc/init.d/dhcp3-server start fails, although a simple

  command line starts the daemon and functions properly, using the 
  same dhcpd.conf (see below)
  
  I can't make sense of the syslog error message (below). I can't see 
  why it thinks it should be listening on eth1, which doesn't exist.
 
 can you cat /etc/default/dhcp3-server
 
  

[EMAIL PROTECTED]:~ $ cat /etc/default/dhcp3-server # Defaults for dhcp
initscript # sourced by /etc/init.d/dhcp # installed at
/etc/default/dhcp3-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#   Separate multiple interfaces with spaces, e.g. eth0 eth1.
INTERFACES=eth1


Yea... well had I known to look there, I wouldn't have bothered the
list with my problem :(

At least the next person who googles will know what to do ;-)

thanks muchly

  
  
  [EMAIL PROTECTED]:/etc/dhcp3 $ sudo /etc/init.d/dhcp3-server start
   * Starting DHCP server dhcpd3
[fail] 
  [EMAIL PROTECTED]:/etc/dhcp3 $ sudo /usr/sbin/dhcpd3 Internet Systems 
  Consortium DHCP Server V3.0.4 Copyright 2004-2006 Internet Systems 
  Consortium.
  All rights reserved.
  For info, please visit http://www.isc.org/sw/dhcp/ Wrote 0 leases to

  leases file.
  Listening on LPF/eth0/00:0d:88:7e:91:5b/192.16.0/24
  Sending on   LPF/eth0/00:0d:88:7e:91:5b/192.168.0/24
  Sending on   Socket/fallback/fallback-net
  
  
  
  May 23 00:02:07 localhost dhcpd: Wrote 0 leases to leases file.
  May 23 00:02:07 localhost dhcpd: 
  May 23 00:02:07 localhost dhcpd: No subnet declaration for eth1 
  (0.0.0.0).
  May 23 00:02:07 localhost dhcpd: ** Ignoring requests on eth1.  If 
  this is not what
  May 23 00:02:07 localhost dhcpd:you want, please write a subnet
  declaration
  May 23 00:02:07 localhost dhcpd:in your dhcpd.conf file for the
  network segment
  May 23 00:02:07 localhost dhcpd:to which interface eth1 is
attached.
  **
  May 23 00:02:07 localhost dhcpd: 
  May 23 00:02:07 localhost dhcpd: 
  May 23 00:02:07 localhost dhcpd: Not configured to listen on any 
  interfaces!
  
  
  --
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ 
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
  
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ 
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

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


RE: [SLUG] Ubuntu Feisty VMware

2007-04-22 Thread Visser, Martin
I have had Feisty running inside VMware Workstation 5.5 on Win XP for
about 3 months now. (I think I did 2 installs). Just selected an Other
2.6.x Kernel. It even nicely runs in SMP using my Intel Core Duo. I
haven't seen the issue you refer to. 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Sunday, 22 April 2007 7:45 PM
To: SLUG
Subject: [SLUG] Ubuntu Feisty  VMware

Has anyone tried installing Ubuntu Feisty in VMware?

I have tried bothe the i386 desktop and the i386 alternative distro and
both times I get:

VMware Workstation unrecoverable error: (vcpu-0) NOT_REACHED F(562):1742

I had no problem with installing Edgy on VMware Workstation.

--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux; When you
want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian
states.

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


RE: [SLUG] Looking for an RPM package

2007-03-28 Thread Visser, Martin
Googling shows it at
http://frontier.eas.asu.edu/updates/fedora6/kernel-i386/ 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Thursday, 29 March 2007 1:12 PM
To: SLUG
Subject: [SLUG] Looking for an RPM package

Does anyone have kernel-headers-2.6.18-1.2869.fc6.i386.rpm that they
could email to me pse.

I tried to upgrade to 2.6.19 and 2.6.20 and they both blew away my
2.6.18 kernel headers package.

Unfortunately .19 and .20 have problems with my Ralink rt2500 wifi card
so I am trying to back out back to .18.  I have the kernel and the
kernel-devel packages but not the kernel-headers package, and it is no
longer in the mirrors.




--
Howard
LANNet Computing Associates http://lannet.com.au When you want a
computer system that works, just choose Linux; When you want a computer
system that works, just, choose Microsoft.

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


RE: [SLUG] ubuntu server

2007-03-25 Thread Visser, Martin
To convert a Ubuntu server to desktop, I am pretty sure the all you need
is to apt-get install ubuntu-desktop which will add the virtual
package (and all its dependencies.

It sounds like your video chipset is causing you grief with the liveCD.
In cases like this, I always use the alternate CD which is basically a
desktop install cd using text-mode.


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, 23 March 2007 1:44 PM
To: slug@slug.org.au
Subject: [SLUG] ubuntu server

Hi
The only way that I've been able to install ubuntu on my pentium-m
laptop is this bizare sequence:

1) Install server on laptop
   After install boot fails with a register dump
2) install server on a desktop machine
3) apt-get the generic image (not the server!)
4) boot the lappie on knoppix.
   copy the generic kernel, initrd, modules from desktop
5) boot the lappie, install ubuntu-desktop

OK nearly all good

apt-get the latest generic kernel fails (mkinitramfs tools dependencies)

The real problem is that despite wearing all desktop clothes the lappie
'knows' it's a server.
How, where do I change the personality from server to desktop?

BTW the problem is common to 6.06, 6.10 and feisty-beta In every case
live CD boots, displays a screen about gnome-error (message, network ?)
and there is a pretty desktop, mouse-that-moves and is unresponsive to
anything else eg install (icon highlights, click does pretty much
nothing.

This lappy installs SuSE 10.2 without any fuss, and as a server seems to
run perfectly (with the hand-crafted generic kernel, the server kernel
gives a register dump)

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


RE: [SLUG] AMD based computers.

2007-03-12 Thread Visser, Martin
As has been said, there is no general case that says either way whether
Intel or AMD CPUs are better. Certainly for most of last year the AMD
based HP servers were much better bang-for-buck having their dual core
Opteron. For those interested HP Proliant server model numbers ending in
the digit 5 (eg DL585, BL485) are AMD based, those ending in 0 are Intel
based). I have a feeling of late that it has swung back towards Intel's
favour. Of course there will always be general benchmarks that will have
a skew towards one or the other - you really need to specify your exact
requirements and an exact point in time before you can judge. Having two
near equal sized competitors in the CPU market ensures that progress is
aggressively pursued.


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Del
Sent: Monday, 12 March 2007 8:23 PM
To: slug@slug.org.au
Subject: Re: [SLUG] AMD based computers.


 For servers, it comes down to price/performance/power. I haven't been 
 watching very closely in recent times, but it seems Intel are making a

 strong comeback on that front. Anyone have links to (clueful) 
 comparisons that take all three into account?

For the general case, I haven't seen any.  For specific examples of
machine vs machine you would probably want to look at Toms Hardware
guide, etc.

If you're looking at higher end / 64 bit server stuff, the word from the
various vendors seems to be that although Intel have made a strong
comeback in terms of price/performance it does come at the cost of heat
dissipation issues and the recent server offerings have pretty much
reflected that.
e.g. HP are pushing their quad CPU AMD-64 offerings in a 4RU form factor
fairly heavily, but you won't find a quad CPU intel 64 bit in anything
less than 7 or 8 RU as the intel chips need a fair bit more heat
dissipation.

How does that relate to home PCs?  If you're looking at 64 bit then you
can expect your average Intel machine to be hotter and noisier than your
average AMD machine in the same price/performance range.

--
Del
Babel Com Australia
http://www.babel.com.au/
ph: 02 9368 0728
fax: 02 9368 0758
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Linux laptop and training for new user

2007-03-01 Thread Visser, Martin
inside interest
Gee, with all the other brands being plugged, it would be remiss of me
not to mention that my fairly new HP Compaq nc6320 is a beautiful thing.
As Jeff promoted, Intel graphics chipsets are a good thing. Out of the
box it does very nice 3D for Beryl and games using the Intel 945GM
chipset. Speed control for the dual core 1.66G CPU does nicely (though
for Ubuntu I had to add a hotplug script to get it to change the speed
governor nicely between battery and AC.) The Broadcom Gig ethernet works
out of the box, but I had to use ndiswrapper for the Broadcom wireless
chip. The memory card reader needed a setpci poke to get it to work. I
haven't tried getting bluetooth, the modem or fingerprint reader working
as yet.

Of course not all HP laptops are the same (I think you will find most
vendor's chipsets appearing in at least one of our models :-) - but I
suspect that this may be a similar story across other vendors.
/inside interest

Regards, Martin

Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Russell Davie
Sent: Friday, 2 March 2007 7:35 AM
To: slug@slug.org.au
Subject: Re: [SLUG] Linux laptop and training for new user

On Thu, 01 Mar 2007 22:28:22 +1100
Rich Buggy [EMAIL PROTECTED] wrote:

 Avoid nVidia graphics cards like the plague. Everything else in mine 
 is Intel and the graphics card is the one thing that causes me 
 problems. :(
 
 Rich
 
 --
 BarCamp Sydney - March 3, 2007
 http://www.barcampsydney.org/
 
 
 On Thu, 2007-03-01 at 20:26 +1100, Jeff Waugh wrote:
  quote who=Russell Davie
  
   A customer has asked me advice on a new entry level laptop that 
   would run Linux.
   
   Which is a good choice?
  
  I can't point to a particular brand or model, but I can give you a 
  big hint that will help your purchasing decision: Buy Intel, from 
  top to bottom. You will have a massively better experience using 
  Linux with a completely Intel based laptop, particularly the video
chipset.
  
   They also want training as they have never used Linux before.
   
   Who could do this?  is this available as a computer based learning
or DVD?
  
  Perhaps look around on the OSIA website: http://www.osia.net.au/
  
  - Jeff
  

Hi

Thanks for all who responded so promptly on and off list for help with
getting a laptop.

1) get Intel chipset, avoid the rest
2) Dell, IBM and Toshiba work,  (highest number of replies first)

training? 
still hunting..

cheers

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


RE: [SLUG] Are IPv6 ports different from IPv4 ports

2007-02-25 Thread Visser, Martin
TCP is a protocol layer on top of IP - whatever version. IP doesn't know
about ports - only protocols. So yes, your diagnosis is correct, the TCP
running on IPv4 is a different stack that running on IPv4. So Domino
LDAP is bound to all of your IPv4 interfaces and slapd to all of your
IPv6 interfaces.


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Monday, 26 February 2007 2:49 PM
To: SLUG
Subject: [SLUG] Are IPv6 ports different from IPv4 ports

I had an odd experience just now.

I had started an openldap service (slapd) on a machine and then found I
couldn't access it - wrong credentials.

On investigation I discovered, via netstat, that a Domino LDAP service
was listening on 0.0.0.0:389 and that slapd was listening on :::389.

Are they different ports or just different TCP stacks.

--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux; When you
want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian
states.

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


RE: [SLUG] tailing, following and filtering

2006-11-22 Thread Visser, Martin
 
I regular use constructs such as

 tail -f syslog | grep -i deny | grep -v outside | egrep
10.1.2.3|10.3.2.1


This allows me to follow syslog as it comes out and filter on

1. Only lines with Deny or deny (or other mixed case AND
2. Are NOT associated with the outside interface AND
3. Only include addresses 10.1.2.3 or 10.3.2.1

If I need to do more complicated matching/cleansing I'll pipe through
perl -lne '#a perl script' 

Regards, Martin

Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Penedo
Sent: Thursday, 23 November 2006 8:24 AM
To: SLUG
Subject: Re: [SLUG] tailing, following and filtering

On 23/11/06, Howard Lowndes [EMAIL PROTECTED] wrote:
 I want to tail -f the syslog file but I only want to see what I want 
 to see and I don't want to see what I don't what to see.  The idea is 
 to tail follow through a filter.  Is that possible.

What's wrong with tail -f syslog | grep ...?

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


RE: [SLUG] Some Thoughts Regarding Spam

2006-11-05 Thread Visser, Martin
 
According to this article -
http://www.informationweek.com/security/showArticle.jhtml?articleID=1935
01739 the recent sharp increase of spam is due to a couple of new
trojans, one of which uses a peer-to-peer mechanism for it's bots.

My guess is that if the bulk of spam is being sent by bot-controlled
PCs, then in all likelihood, the prime-time will coincide when most
people are checking their email, surfing the web, etc. The bots then get
turned on and do their thing.

Regards, Martin

Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Thorsby
Sent: Monday, 6 November 2006 10:56 AM
To: slug@slug.org.au
Subject: [SLUG] Some Thoughts Regarding Spam

I'm sure everybody has noticed the massive upsurge in spam over the last
two-three weeks. This increase in volume seems to have begun at about
the end of the NSW school holidays, but I think that their ending may be
more-or-less coincidental.

Just watching the spam arrive, it seems to hit in waves:
1.  start up time in USA (say 8.30 a.m.-ish on East Coast)
continues for some hours (start up time on West Coast?)
2.  start up time in Oz (East Coast)
3.  go home time for Oz kids (say 4 p.m.)

Mind you, these waves continue for hours.

Could it be that there is so much phone home activity on the average
Window$ machine at boot time that USERs (who don't have a clue anyway)
and MSCE types don't realise that something's amiss?

Of course, there are conspiracy theorists who claim that reducing the
level of spam is not in the interests of those ISPs and phone providers
that charge for traffic in both directions [no names, no pack drill]. 
But that surely can't be right :-)

BTW, I've posted to SLUG-main rather than SLUG-chat because spam can
never be OT on a list that itself is so heavily hammered.

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


RE: [SLUG] change title of xterm window

2006-08-23 Thread Visser, Martin
There is some old magic concerning this that I have mostly forgotten. But as 
you probably are aware, the title of the window (and all the decoration around 
the windows contents) is in fact rendered by the window manager. So when an X 
application starts, it informs the window manager what it would like it's title 
to be (and how big it needs the windows,etc). These hints can often be 
ignored by the window manager if it sees fit.
 
There is also some messaging/APIs that allow one to dynamically communicate 
with the window manager (ICCCM is the old one and it looks like EWMH is 
something new.) I can remember hacking some C code for X way back in the early 
nineties' that did things like this with the window manager. Googling though, I 
found two ready-made command line utilities that look useful 
 
xtitle - http://www.cs.indiana.edu/~kinzler/xtitle/
 
wmctl - http://sweb.cz/tripie/utils/wmctrl/
 
wmctl looks pretty powerful if you want to be able script a whole lot of things 
that your window manager should do.
 
(Clearly as already been said, you will probably need to disable/change the 
dynamic prompt stuff in .bashrc)
 
Interestingly, neither of these seem to be available in standard packages - I 
guess hacking window title isn't considered mainstream ;-)
 
 
Regards, Martin
 
Martin Visser

Technology Consultant
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia

Mobile: +61-411-254-513
Fax: +61-2-9022-1800
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.





From: [EMAIL PROTECTED] on behalf of Michael Davies
Sent: Wed 23/08/2006 4:57 PM
To: Luke Vanderfluit
Cc: slug@slug.org.au
Subject: Re: [SLUG] change title of xterm window



On 8/23/06, Luke Vanderfluit [EMAIL PROTECTED] wrote:
 I use lots of xterms on my screen.
 I'd like to be able to change the title of the xterm window, by type in it at 
 the prompt.

 Anyone know how to do this?

Going back to ancient history, I found this mouthfull in my .cshrc file

set frobnicate = some string
set prompt=%{\e]2\;${frobnicate}^g\e]1\;%m^g\r%}%B%m:%n:%c4:%h%#%b 

You need to send control chars to the xterm, you can do that via the
prompt under tcsh.  That doesn't translate directly into bash, but
should start you on the right track.

Alternatively you can google for xterm bash title change and feel
lucky.   Reading http://www.faqs.org/docs/Linux-mini/Xterm-Title.html
tells us that:

PROMPT_COMMAND='echo -ne \033]0;${FROBNICATE}\007'
FROBNICATE=some string

What is quite useful is that you only need to change ${FROBNICATE} to
change the title dynamically.

HTH,

Michael...
--
Michael Davies   Do what you think is interesting, do
mailto:[EMAIL PROTECTED]   something that you think is fun and
http://michaeldavies.org http://michaeldavies.org/   worthwhile, because 
otherwise you won't
  do it well anyway. -- Brian Kernighan
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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


RE: [SLUG] L2TPD/IPSec problems - getting there but not quite

2006-06-27 Thread Visser, Martin
 A simple debugging technique I have used (short of mangling the source)
is to run programs with strace. Redirect the copious system call trace
log from stderr to a file and least you might get an idea of what pppd
was last trying to do before it died.


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Tuesday, 27 June 2006 4:44 PM
Cc: slug@slug.org.au
Subject: Re: [SLUG] L2TPD/IPSec problems - getting there but not quite

I have pretty much established that the problem does not lie with
rp-l2tpd (vanilla l2tpd is another thing altogether and doesn't even get
this far), but with the pppd daemon itself.

Using some scripting in the /etc/ppp/auth-up, /etc/ppp/ip-up and
/etc/ppp/ip-down scripts, I can see that the Winbox is being
authenticated OK otherwise /etc/ppp/auth-up would not run at all -
according to man pppd.  That is confirmed by the pppd syslog messages.

What I did with the /etc/ppp/ip-up script is to look at ps to see what
the status of pppd was before it dies, and I have the following
(slightly formatted), using:
ps axw | grep -e ppp -e pty

17491 ? S 0:00 pppd sync nodetach noaccomp nobsdcomp nodeflate nopcomp
novj novjccomp nodetach proxyarp require-chap
192.168.129.1:192.168.129.45 unit 1 local ms-dns 192.168.128.17 ms-dns
218.214.47.111 ms-wins 192.168.129.126 lcp-echo-interval 10
lcp-echo-failure 5 debug kdebug 1

17496 ? Ss 0:00 /bin/bash /etc/ppp/ip-up ppp1 /dev/pts/1 38400
192.168.129.1 192.168.129.45

17498 ? R 0:00 /bin/sh /etc/ppp/ip-up.local ppp1 /dev/pts/1 38400
192.168.129.1 192.168.129.45

17504 ? R 0:00 /bin/sh /etc/ppp/ip-up.local ppp1 /dev/pts/1 38400
192.168.129.1 192.168.129.45


So, it looks like pppd is getting started and none of the above looks 
out of order, but that doesn't explain why it immediately dies again. 
Needless to say there is no indication in the syslogs as to why it is 
dying, so I can only assume that it is planned death and not an 
erroneous death.  This really is getting frustrating, and what's worse, 
it doesn't look as if it's M$ fault either...


Howard Lowndes wrote:
 On Mon, June 26, 2006 17:05, tone wrote:
 Ah, yes, I see, you have ditched IPSec :)

 So, from what I recall of PPPD devilery, it looks like IPCP message
0x2
 is not being responded to, which is what causes the LCP session to be
 killed as the No network protocols running refers to the IPCP
 handshake failing.. IPCP is the IP Control Protocol, so it's your
layer
 3 or network layer being established over the PPP link ;)

 What does the lns and lac configs refer to? Back in debian potato
 there was only one pppd options file so I'm not sure why you have 2
 listed? Things have moved on it seems ;)
 
 LAC stands for L2TP Access Concentrator, and LNS stands for L2TP
Network
 Server.  My understanding is that the LAC is a handler for the Windows
 peer.
 
 But anyway, the message not being responded to is your local IP
address
 (192.168.129.1), I would change this to 0.0.0.0 or leave it out
 completely (not sure if leaving it out works or not - it's been a
 while :)
 
 OK, I might try that.
 
 You should probably have ipcp-accept-local in both options files as
 well, and it wouldn't hurt to setup ms-dns as the ConfReq from the
 client is setting these as 0.0.0.0
 
 Valid points.
 
 Also, you should probably just have the local and remote IP addresses
as
 0.0.0.0, (so the line should be 0.0.0.0:0.0.0.0 instead of
 192.168.129.1:192.168.129.45), and then in /etc/ppp/chap-secrets have

 username   *   password192.168.129.45

 as this will then allow you to set the IP address on a per login
basis

 hope that helps


 tone.




 On Mon, 2006-06-26 at 10:16 +1000, Howard Lowndes wrote:
 I have made some progress on this problem.

 I have ditched l2tpd as distributed with FC and have compiled up the
 rp-l2tp project instead.

 This has give me some success because IPSec is now being correctly
 established and, using the pppd debug facility, I can see pppd
starting
 up
 and I can see the LCP, IPCP and CHAP negotiations happening.  My
problem
 now is that the pppd session starts and then appears to immediately
die;
 I
 am assuming this by reason of /etc/ppp/ip-up running and then being
 immediately followed 2 seconds later by /etc/ppp/ip-down running.  I
can
 also see, again from the log, the EchoReq going out and the EchoRep
back
 ,
 but 

RE: [SLUG] L2TPD/IPSec problems - further

2006-06-25 Thread Visser, Martin
Haven't done any of this much on Linux, but have done similar things
with commerical firewalls.

Does the log entry sent [LCP TermReq id=0x2 No network protocols
running] indicate that there is no interesting traffic on the link.
If you have configured the Ipsec to come up on demand then you need to
make sure things like routing are configured so that the service still
thinks there is a reason to have the tunnel up. 

Or maybe you just haven't configured the IP parameter for inside the
tunnel?

(If that isn't the case then please discard this clueless-stick)

Regards, Martin


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Monday, 26 June 2006 10:17 AM
To: Howard Lowndes
Cc: slug@slug.org.au
Subject: Re: [SLUG] L2TPD/IPSec problems - further

I have made some progress on this problem.

I have ditched l2tpd as distributed with FC and have compiled up the
rp-l2tp project instead.

This has give me some success because IPSec is now being correctly
established and, using the pppd debug facility, I can see pppd starting
up and I can see the LCP, IPCP and CHAP negotiations happening.  My
problem now is that the pppd session starts and then appears to
immediately die; I am assuming this by reason of /etc/ppp/ip-up running
and then being immediately followed 2 seconds later by /etc/ppp/ip-down
running.  I can also see, again from the log, the EchoReq going out and
the EchoRep back , but after the ip-up/down, there is no corresponding
EchoRep to each 10 second EchoReq.

What sort of setting should I be looking at to make pppd stay up
(Cyberviagra ?)

Logs and pppd options follow:

Jun 26 09:50:24 acay pppd[2798]: pppd 2.4.2 started by root, uid 0 Jun
26 09:50:24 acay pppd[2798]: speed 31 not supported Jun 26 09:50:24 acay
pppd[2798]: using channel 4 Jun 26 09:50:24 acay pppd[2798]: Using
interface ppp0 Jun 26 09:50:24 acay pppd[2798]: Connect: ppp0 --
/dev/pts/1 Jun 26 09:50:24 acay pppd[2798]: sent [LCP ConfReq id=0x1
mru 1420 asyncmap 0x0 auth chap MD5 magic 0x79d624bc] Jun 26
09:50:25 acay pppd[2798]: rcvd [LCP ConfReq id=0x0 mru 1400 magic
0x5e3e6db1 pcomp accomp] Jun 26 09:50:25 acay pppd[2798]: sent [LCP
ConfRej id=0x0 pcomp accomp] Jun 26 09:50:25 acay pppd[2798]: rcvd
[LCP ConfAck id=0x1 mru 1420 asyncmap 0x0 auth chap MD5 magic
0x79d624bc] Jun 26 09:50:25 acay pppd[2798]: rcvd [LCP ConfReq id=0x1
mru 1400 magic 0x5e3e6db1] Jun 26 09:50:25 acay pppd[2798]: sent
[LCP ConfAck id=0x1 mru 1400 magic 0x5e3e6db1] Jun 26 09:50:25 acay
pppd[2798]: sent [LCP EchoReq id=0x0 magic=0x79d624bc] Jun 26 09:50:25
acay pppd[2798]: sent [CHAP Challenge id=0x73
175dbe1f825440a5a9b8d2cf626ca27c73d86e7758, name =
acay.mydomain.tld] Jun 26 09:50:25 acay pppd[2798]: rcvd [LCP EchoRep
id=0x0 magic=0x5e3e6db1] Jun 26 09:50:25 acay pppd[2798]: rcvd [CHAP
Response id=0x73 4d48975323d500433c9146016c63ee9e, name = ClientID]
Jun 26 09:50:25 acay pppd[2798]: sent [CHAP Success id=0x73 Access
granted] Jun 26 09:50:25 acay pppd[2798]: sent [IPCP ConfReq id=0x1
addr 192.168.129.1] Jun 26 09:50:25 acay pppd[2798]: rcvd [IPCP
ConfReq id=0x2 addr 0.0.0.0
ms-dns1 0.0.0.0 ms-wins 0.0.0.0 ms-dns3 0.0.0.0 ms-wins 0.0.0.0]
Jun 26 09:50:25 acay pppd[2798]: sent [IPCP ConfRej id=0x2 ms-dns1
0.0.0.0 ms-wins 0.0.0.0 ms-dns3 0.0.0.0 ms-wins 0.0.0.0] Jun 26
09:50:25 acay pppd[2798]: rcvd [IPCP ConfAck id=0x1 addr
192.168.129.1] Jun 26 09:50:25 acay pppd[2798]: rcvd [IPCP ConfReq
id=0x3 addr 0.0.0.0] Jun 26 09:50:25 acay pppd[2798]: sent [IPCP
ConfNak id=0x3 addr 192.168.129.45] Jun 26 09:50:26 acay pppd[2798]:
rcvd [IPCP ConfReq id=0x4 addr 192.168.129.45] Jun 26 09:50:26 acay
pppd[2798]: sent [IPCP ConfAck id=0x4 addr 192.168.129.45] Jun 26
09:50:26 acay pppd[2798]: local  IP address 192.168.129.1 Jun 26
09:50:26 acay pppd[2798]: remote IP address 192.168.129.45 Jun 26
09:50:26 acay pppd[2798]: Script /etc/ppp/ip-up started (pid 2803) Jun
26 09:50:26 acay pppd[2798]: Script /etc/ppp/ip-up finished (pid 2803),
status = 0x0 Jun 26 09:50:27 acay pppd[2798]: rcvd [IPCP ConfReq id=0x5
addr 192.168.129.45] Jun 26 09:50:28 acay pppd[2798]: Script
/etc/ppp/ip-down started (pid 2805) Jun 26 09:50:28 acay pppd[2798]:
sent [IPCP ConfReq id=0x2 addr 192.168.129.1] Jun 26 09:50:28 acay
pppd[2798]: sent [IPCP ConfAck id=0x5 addr 192.168.129.45] Jun 26
09:50:28 acay pppd[2798]: Script /etc/ppp/ip-down finished 

RE: [SLUG] timing out a process with timeout

2006-05-08 Thread Visser, Martin
 
Malcolm, I was thinking along the same lines. The equivalent in bash is
something like:-

$ timeout=10; docommand blah1 blah2 blah3   sleep $timeout; kill %%

But there is a problem in that if docommand finishes before the timeout
expires then you still hang around sleeping. So you need to timeout the
sleep process - catch 22. (I think your zsh exhibits the same issue). If
docommand finishes early you need to figure out a way to kill the sleep
proces,



Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Malcolm V
Sent: Monday, 8 May 2006 5:48 PM
To: SLUG
Subject: Re: [SLUG] timing out a process with timeout

On Monday 08 May 2006 15:48, Jeff Waugh allegedly wrote:
 Hey,

 I just asked a question on #slug and found my answer in an apt-cache 
 search mere moments later. Figured it would be handy for others (you 
 lot and anyone who finds this in the archives later)...

In zsh,

docommand blah blah1 blah2 ;sleep some_num;kill $\!
(or something close to that)

I'm sure most shells support something like the above. Note, sleep is
inaccurate.

I'm sure timeout is much nicer then the above, but it did make me wonder
about package management and how the various distributions deal with
merging small useful utilities into general utility packages rather then
bloating their package trees with mountains of tiny packages. (And the
problems of grouping unrelated utilities and the confusion the could
cause between distros).

Not sure why I wrote this now.
Cheers,
Malcolm V.

 --
BOFH Excuse #115:

your keyboard's space bar is generating spurious keycodes.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] NTP problems

2006-05-03 Thread Visser, Martin
 
H. man hwclock gives some great info of how clocks work in Linux
(I hope it is correct!) In particular, the system clock, which is a
software clock maintained by the kernel, is only loaded from the
hardware clock at bootup (unless you have some wacky script doing
hwclock --hwtosys).

If your running xntpd, which syncs the system clock with NTP, it will
try to update the hwclock every 11 minutes, as well as updating
/etc/drift which indicates to the kernel when it boots how far to adjust
the system clock.

I would suggest to do some logging to see if you can figure out when the
drifting is occuring 

For instance:

[EMAIL PROTECTED]:/usr/share/doc/ntp$ perl -e 'while(1) { print `hwclock`;
sleep 1 }'

Wed 03 May 2006 18:38:33 EST  -0.988257 seconds
Wed 03 May 2006 18:38:35 EST  -0.989062 seconds
Wed 03 May 2006 18:38:37 EST  -0.987477 seconds
Wed 03 May 2006 18:38:39 EST  -0.967914 seconds

You can also tell xntpd to do a lot more logging.


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Christopher Vance
Sent: Wednesday, 3 May 2006 4:56 PM
To: SLUG
Subject: Re: [SLUG] NTP problems

On Wed, May 03, 2006 at 02:23:42PM +1000, Julio Cesar Ody wrote:
# ntpq -p
 remote   refid  st t when poll reach   delay   offset

 jitter
===
===
*hostname  220.233.180.218  3 u   65   64  3770.151
5.983   
0.498

What, only one host?  Some say it's best to synchronize with at least
three, where each of them have independent lower stratum sources.  If
your upstream ISP provides a server, use that as well as some of the
pool ones.

But to answer your question, some kernels have problems on some
motherboards.

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


RE: [SLUG] Graphics library

2006-04-19 Thread Visser, Martin
If you are going to look at libraries that are used for display
rendering you might also want to check out

Rasterman's Imlib2 http://www.enlightenment.org/Libraries/Imlib2/  (he
may also be working on a successor there as well, one of the
e-somethings but I can't work out which one)

I guess Gdk from the Gnome suite might also be able to be used)  


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Erik de Castro Lopo
Sent: Wednesday, 19 April 2006 4:23 PM
To: slug@slug.org.au
Subject: Re: [SLUG] Graphics library

Jamie Wilkinson wrote:

 The API to cairo is really really nice,

And it has gasp documentation /gasp.

 I suspect it may be a little involved to do what you want with it, but

 it's certainly possible.  I didn't mention it earlier because I 
 thought ImageMagick would have been a more appropriate tool.

The use of image magick as a library has willfully slaughtered way too
many of my brain cells for me to ever forgive you for that :-).

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
We can build a better product than Linux -- Microsoft Corp.'s Windows
operating-system chief, Jim Allchin.
One has to wonder why, with their huge resources, they haven't.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Graphics library

2006-04-18 Thread Visser, Martin
GD is also quite ubiquitous - certainly for CGI and other dynamic web
image creation

http://www.boutell.com/gd/


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Erik de Castro Lopo
Sent: Tuesday, 18 April 2006 4:11 PM
To: slug@slug.org.au
Subject: Re: [SLUG] Graphics library

Scott Ragen wrote:

 You don't mention what format the images are in,

I'd prefer PNG, but just about anything else would also be ok.

 and I am not sure I
 understand what you mean,

Err, load image, draw text (varying fonts, sizes colours etc) on actual
image, save modified image. Basically I want to be able to automate the
addition of text to images much like one does in the gimp, but without
the requirement of human interaction. Does that make it any clearer?

 but would imagemagick (
 http://www.imagemagick.org/script/index.php) do what you want?

Oh, cool. I wasn't aware that imagemagick also did text. Installing
libmagick6-dev now. Thanks.

Cheers,
Erik
-- 
+---+
  Erik de Castro Lopo
+---+
Moore's Law: hardware speed doubles every 18 months Gates' Law: software
speed halves every 18 months
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Tandeming Linux servers with auto fall over...

2006-04-11 Thread Visser, Martin
There is a good website here http://www.linuxhpc.org/ with lots of info
and references. 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Wednesday, 12 April 2006 9:27 AM
To: SLUG Mail List
Subject: [SLUG] Tandeming Linux servers with auto fall over...

...is it possible?
...what's the best way?

--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux; When you
want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian
states.

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


RE: [SLUG] debian vs FC threads (was: presidents report)

2006-04-05 Thread Visser, Martin
I guess I feel obligated to respond.

I can only assume that my naming puts me in the basket as one of the
rude / inconsiderate / ill-informed posters. I am almost certain I
have never been rude on this list (please let me know otherwise), and as
I usually write a draft and think at least a little about the recipients
before sending posts, then I am probably not inconsiderate. I could
conceivable be ill-informed though, so I am willing to accept that tag -
at the tender age of 42 I still believe there is much to learn.

As far as the specific post to which I responded, my aim was purely to
counter Peter's obvious frustration with Linux in general - very
specifically his comment  why why why can't Linux ever just work? . I
merely hoped to demonstrate that it can and it does, at least from my
experience with Ubuntu. Don't get me wrong, Ubuntu doesn't always work -
I have 3 or 4 open bug reports that I have filed for the current testing
release. I also have to compile a new kernel module for my wireless card
everytime I upgrade the kernel. Easy to be done (for me at least) - but
it is against what I think Linux should be. 

As far as your feeling that Red Hat specific answers are unwanted, I
think that is a shame that you feel that. A mailing list isn't IRC, so
even posting a few days after the original question is often still
useful if pertinent. (There used to be a I'll post to the list a
summary etiquette which my have waned of late). I have installed and
used all of the Fedora releases, as well as Redhat back to version 3.0.
I have also done most of the SuSEs since about 9.1. I even haved mucked
with Puppy Linux of late. So I hardly believe that I live in a Ubuntu
monastery. I for one need to know how SuSE and Redhat works. At this
stage any Linux work that I do for customers is going to be around the
Redhat or SuSE product space (as well as those things with Linux
embedded like VMware ESX). 

I think there is great opportunity for cross-distro understanding. One
project that I want to kick-off in fact is a sort of quick reference
matrix that describes how a particular administrative function can be
done across the major platforms. For instance, all of the distro's use
/etc/init.d to contain the control scripts for system services. But the
additional feature that Redhat has is the service command which
abstracts these when you which manually control the scripts. Similar
chkconfig exists in Redhat to define which runlevel a service starts
in, yet in Ubuntu you need to use update-rc.d. 

So sure, you will see some distro religiousity here, but I really don't
agree that we are all that bad.

Regards, Martin 



Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Del
Sent: Wednesday, 5 April 2006 3:59 PM
To: slug@slug.org.au
Subject: [SLUG] debian vs FC threads (was: presidents report)

James Purser wrote:

 While there is a large population of Debian/Ubuntu users it hasn't to 
 my mind precluded fans of other distros availing themselves of either 
 the mailing lists or irc channels when seeking help/assistance. In 
 fact one of the most recent(and active) threads is seeking help in 
 installing VMWare on Fedora Core 5. On the irc channel there are 
 gentoo users, debian users, fedora users and more.

Yes, but on the majority of the threads that commence with I would like
help doing X on Y (non-debian) distribution, the comments that follow
mostly include things like you should switch to Debian.

That's not a particularly helpful comment when you have already decided
to / must use distribution Y.  Personally, I refrain from telling Debian
users that they should switch to Red Hat (except where absolutely
required, e.g. to get multi-path fibre SCSI working through a SAN
backend, but that's not a common situation outside of the largest data
centers), so I don't see why the Debian users continually feel the need
to tell users of other distros that they have to switch to Debian,
without analysing the problem as presented.

My experience pretty much parallels that of Philip:  If you're not a
Debian user then there are certain elements in SLUG that aren't really
interested in talking to you, except to convert you to Debian.  If that
attitude were to change then I'd probably participate somewhat more in
SLUG, but I haven't seen it change for a number of years now despite the
best 

RE: [SLUG] FC5 Kernel headers

2006-04-03 Thread Visser, Martin
 
I can share your frustration, many many times - yet I persevere knowing
that the end mostly justifies the means.

As far as packaging goes, however I have learned in the last year or so
(having been a Linux hobbyist for about a 14 years now) that Debian
distros (in particular Ubuntu) have this thing pretty well sorted out.
(I previously shied away from Debian because of the incredibly painful
installation process - Ubuntu has fixed this maginficently).

To do this exact process (installing Vmware server) a few weeks ago
using Ubuntu I did

1. apt-get install kernel-headers which actually just returns a
virtual package prompting to select the correct architecture

2. so then apt-get install kernel-headers-2.6.12-something grabs the
package and nice-ly puts it under /usr/src/

3. Then running the vmware install, which all works without much
coercion until you find that the gcc that the kernel was built with
(3.4) doesn't match the standard gcc installed (4.0)

4. Again this is a pretty simple apt-get install gcc-3.4

5. Running vmware install again and it is all good.

I suppose that this isn't automagic, but Ubuntu certainly does a good
job of solving dependencies on the fly. Because pretty well all of the
known OSS software universe exists as Ubuntu/Debian packages then
apt-get removes much of the heartache of trying to pull together
dependant software.

As far as the issue of kernel versions, CPU architectures and module
interaction I do think this is a pain. I imagine that a kernel module
could be built that is less strict on having kernel modules build
specifically against the headers for the kernel. That is I should
imagine late-binding of the modules should be possible in 90% or more
occasions. Any idea why this hasn't be explored for the Linux kernel. I
can't believe that the hooks that bind modules to the kernel really
change all that often, and if they do it should be done exception and
probably could be handled by some manner that is less painful than
having to recompile the module.


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Rundle
Sent: Monday, 3 April 2006 3:55 PM
To: slug@slug.org.au
Subject: [SLUG] FC5 Kernel headers

Sluggers,

I've just installed FC5 onto a single processor P4 and it all went
fairly smoothly, except that it claims to have detected my sound card
but no sound comes out, (shrugs, par for the course with Linux).

However, now I want to install VMware and compile the modules. Of course
this requires the kernel headers, which, even though I ticked all the
development check boxes, weren't installed by default and I can't find
them on any of the distribution CD's. So a quick uname -a reveals that
I'm running kernel 2.6.15-1.2054_FC5smp. So we download and install
kernel-smp-devel which creates the directory;

   /usr/src/kernels/2.6.15-1.2054_FC5smp-i686

I now try to run vmware-config.pl and when it asks for the kernel header
source, I point it at said directory and of course being Linux it
doesn't work, but returns the error;

   The kernel defined by this directory of header files does not have
the same
   address space size as your running kernel.

Any takers before I run screaming back to MS and admit that Linux was a
mistake and that I'll never ever doubt the software from a monopolistic
corporate giant ever again? Seriously though, why why why can't Linux
ever just work? After many years of using Linux my bucket of tolerance
for it's lack of polish is just about empty. I simply can't be bothered
with Linux anymore precisely because of this sort of thing. How hard can
it be to deliver the kernel headers for the kernel that you deliver on a
supposedly polished distribution.

TIA's

Pete

P.S sorry for the spray but really if Linux is ever gonna be taken
seriously this sort of crap has to stop.




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


RE: [SLUG] We need an IP accounting package

2006-04-03 Thread Visser, Martin
http://www.ntop.org  is pretty close to what you want 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Minh Van Le
Sent: Monday, 3 April 2006 6:08 PM
To: slug@slug.org.au
Subject: [SLUG] We need an IP accounting package

Hello :)

I am looking for an IP volume  bandwidth accounting package to track
user and/or workstation usage on a small network.

The accounting software is intended to be installed on the firewall.

The network has the following simple architecture:


{}
{}
{Internet}
{}
{}
 |
 |
  /\
  | ADSL Modem |
  \/
 |
 |
   =
   # IPChains Firewall # (Redhat 6.2)
   =
 |
 |
   .---.
  ( HUB )
   .---.
  |  |  |
  |---+  |  +-|
  |  ||
+--++--+
+--+
|   Workstation||   Workstation||   Workstation
|
| IP: 192.168.0.55 || IP: 192.168.0.56 || IP: 192.168.0.57
|
+--++--+
+--+


The problem is the monthly ISP download limit (20 gb) for this network
constantly gets reached before the next billing cycle, so there is a
need to encourage people to be more responsible.

The requirements (in order of priority) are,

 (1) Generate a report or summary of network volume utiltisation to 
from each workstation and/or network interface

 (2) Monitor network traffic for times of peak and off-peak activity
(plain ASCII, graphical chart or written report (doesn't matter))

 (3) If necessary, track websites or external/internal IP connections
made from a particular workstation

I quickly browsed the info on ipac, nmap, Cacti, MRTG and Squid the
other day and was wondering if I was on the right track.

I think MRTG requires SNMP, but there are no such devices on this small
network. ipac is old and the official source doesn't support 2.4.x
kernels (IPChains).

Thanks !


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


RE: [SLUG] Fedora Core 5

2006-03-23 Thread Visser, Martin
Huh? When did this thread become a debate on the definition of Free or
Open Source Software? 

And for what it is worth I have never heard this definition anywhere -
OSS is code censorship - you can read my ideas (source code), but you
can't 
use them (my copyright and often an exclusionary license). 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bret Comstock Waldow
Sent: Thursday, 23 March 2006 12:01 PM
To: slug@slug.org.au
Subject: Re: [SLUG] Fedora Core 5

On Thu, 23 Mar 2006 06:19, tuxta2 wrote:

 Rather than try and decide who is right and who is wrong on this 
 issue, why don't we just understand that opinions vary, and why don't 
 we find a term that essentially means the same thing, but does not 
 have the insulting effect?

Implicit in this is that you must decide upon a goal, about which you
can then hopefully agree on a method of attaining (e.g. we can say RTFM
or we can't say RTFM).

Then you have to agree to enforce the decision in this context.

Then you have to decide to exclude people who don't agree with either
the goal or the approach to attaining it.

Then you have to decide how to sanction people who don't act in
accordance with your choice.


Free Software is not Open Source Software.  While they have some aspects
in 
common, they are fundamentally opposed in others.

OSS allows proprietary code - Free Software is deliberately opposed to
it.  FS 
acknowledges the existence of proprietary code, but works to supplant
it's 
influence by providing a permanent alternative.

OSS is code censorship - you can read my ideas (source code), but you
can't 
use them (my copyright and often an exclusionary license).

FS attempts to eliminate all possible censorship - no one can ever lock
this 
code up again.  No one can ever tell you you can't write this (my
copyright, 
enforceable in court, and a license that allows anyone to use it, also 
enforceable in court, as long as any copyright law is enforceable in
court).

GNU/Linux is released under the GPL - it is totally Free Software, and
many of 
the packages commonly used with GNU/Linux (which is just the kernel) are
also 
GPL.  Some are OSS.  But Linux itself is Free Software - enforced in
court, 
if necessary.

Linus Torvalds is neither unconscious nor stupid.

So, is this a Linux user's group?  Is it just a I want my software for
no $$ 
group?

The hard bit about Freedom is giving it to others, even when you don't
like 
what they are doing.  The hard bit about Freedom is NOT controlling
others.

Freedom != 0$

I wonder if people do what they say.  I like to note how well they keep
to 
their principles.

Yes, you can decide to have an association with these rules or those
rules or 
some other rules.  But are you sure the rules you're thinking of are
really 
in the spirit of Free Software?  LInux is not Open Source - it's Free 
Software, and consciously so, for a purpose.  Is this really a GNU/Linux

user's group?

Should you call this the Sydney Open Source Software Group or the Sydney

Alternative Software User's Group, but leave 'LUG' for people who know
and 
respect that GNU/Linux is GPL Free Software, not Open Source, and
opposed to 
censorship in it's intent?  Are you flying under false colors?

I expect any number of justifications in response.

This is responding to the list - responses go to the list.  Do not send
mail 
to me directly.

Regards,
Bret
--
SLUG - 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: [SCLUG] Re: Interesting view

2006-03-16 Thread Visser, Martin



Bohdan,

Ithink that most Linux users (fanatics even ) 
would agree with you that there is a tradeoff in choosing between Linux and 
Windows. Granted that if I go to the store and buy a big-brand computer it with 
Windows it will just work. And I can go buy hardware and software and it will 
just work mostly. So while many Linux'ers might say or think that Windows is 
"bad", it does basically do the job that it is meant to do. So what do you lose 
by running Windows?

* The main thing for me is it's opacity. After 6 months 
when my Windows computer all clags up with software that has never been tested 
to work together, how do I fix it? I might be lucky and be able to uninstall and 
reinstall, muck with the registry or somesuch. But inevitable I will have to 
reinstall - and the reason is that so much is hidden from the user. Not being 
transparent and open may mean I have to pay someone a lot to fix it. I might 
have to wait for the vendor to come up with a fix, or even have to pay for the 
upgrade when it comes. I will find it difficult to be able to trace what is 
going because of the closed nature of the software limiting my visibility. (Yes 
there are books and specifications and the like, but these only go so 
far).
* Because of the need to support very old APIs (going 
back to Windows 3.0 even) and without publishing how these things work, the 
software needs to become big and bloated. It even needs to support previous 
mistakes made by application developers, and support that software in the same 
way it used to on every new OS upgrade. Hence it consumes far more resources 
than is needed by Linux to do the same job. ( I am at this moment running a 2GHz 
Laptop with WinXP with 768MB - it feels less responsive than a 800MHz laptop 
with 256MB of RAM running Ubuntu Linux. And this is basically untuned - by 
judicious decisions on what daemons should run, what kernel functions I really 
need, you can probably make this better). Unfortunately with Windows it is very 
hard to know what to tune to fix these issues.
* There are lots of applications for Windows that will 
meet by needs. But unfortunately until I buy them I can't really try them. In 
Linux and open-source I don't have that constraint. I can also seek to change 
the application to suit my needs, if directly by hacking the code (or paying 
someone to do it for me) or indirectly through filing bug requests, and the 
like.

So why is Windows the main game 
still?

* Yes it does work quite well and is feature rich. But 
this is really because of it being entrenched in the market more than anything. 
Sadly this means that for games vendors and hardware vendors (that make drivers) 
that directly need/want to make money from the sale of product, this is where 
they will be aim for. However if Linux breaks through (and it is IMHO slowly but 
surely) then this will get there attention.
* Because of the market size it is the "safe" and 
default option for home and business alike. There are load of people that know 
the quirks of Windows, experienced in supporting it, and so forth. Support 
services for Linux based systems are still not yet ubiquitous (at least not as 
accessible as those for Windows). Again, I believe this is changing quickly - 
many of my work colleagues who had basically only ever worked with Windows (not 
even UNIX) have now had a chance to play with the modern Linuxes. Many of them 
like what they see (but of cause the bulk of the work is still for Windows 
customers - so the cycle must continue for a little while 
yet)

So I will grant you that Linux is still a bit hard. It 
is a bit like moving to another country where they have a different language, 
different voltages and power points, and they use imperial nuts and you just 
bought new metric spanners.( I have pretty well all the hardware working in 
Linux on my laptop now - it hibernates and wakes-up, my camera, printer and 
scanner "just worked" - though I had to compile the kernel module for orinoco 
USB wireless chipset. However I have PCMCIA smart card that will basically never 
work - because the vendor is closed source only). Yes, I do tweak config 
files with a text editor. But a lot of that is simply because I like to - and 
also because I don't probably explore the Gnome menus enough. I am trying to 
force myself to use the GUI - just so I can be my own n00by. I feel that many of 
the distros are reaching the "nanna" point - ready for deployment on you 
grandmother's computer who lives down the coast.

But Bohdan, stick in there, it is getting there. Linux 
is breaking through - quicker than ever as the community grows and people begin 
to realise it's value. It does take all of us though to make it better. So get 
in there , join the support forums or IRC channels, write up a blog of how you 
got something to work, write an update to a manual page, or sit down with a 
friend who can't affford a grunty box to run Windows and install Linux and watch 
their eyes 

RE: [SLUG] ISP info leakage

2006-03-15 Thread Visser, Martin
Howard,

I'm not sure what the issue is. The reality is if that you use your real
name and give any indication of your locality then unless your name is
Smith or Jones, you probably will count on one hand your matches. For
instance I usually say I live in the Southern Highlands, but anyone can
find my real number and address without any trouble.

If I was an ISP I would be wanting to use geo-focused names for my
routers and DSLAMs so that I can easily find correlation of network
issues. I am not sure that it is the ISPs responsibility to obfuscate
mail headers and the like. And it really would make troubleshooting
hard. (I get frustrated enough working with customers that refuse to
populate their DNSes with names of their network equipment and such -
having to keep a telephone book IP addresses in my head is pretty
painful).

If you really want to be private I think people will use email
anonymizers or even just a gmail or somesuch account. 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Wednesday, 15 March 2006 4:59 PM
To: SLUG Mail List
Subject: [SLUG] ISP info leakage

Out of curiosity I looked at the source of a recent email and discovered
that the sender's ISP had identified the suburb in the FQDN of the DSL
IP that the sender used to connect to that ISP.

A quick look in Sensis against the sender's name and I came up with a
name and address match only one suburb away.

The moral of the story is - Don't trust Optarse...

--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux; When you
want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian
states.

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


RE: [SLUG] Replacement for Gimp - Labelling folders

2006-03-09 Thread Visser, Martin
Try inkscape - I'm a Corel Draw old-timer and it definitely would fit
the bill for what you want.

And once you have created the SVG template, (which is just XML), you
could then just run a quick script to substitute your text for however
many spine labels you want. 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Terry Collins
Sent: Thursday, 9 March 2006 7:29 PM
To: Sydney LUG
Subject: [SLUG] Replacement for Gimp - Labelling folders

I am looking for a replacement for Gimp for simple text layout

All I want to do is print a strip of text down the middle of an A4 page
so I can cut it to size and insert it into the spine of some folders.

It is probably best to think of this as being as a single line in a
large font in landscape format.

Previously, I've done this in Gimp, but frankly Gimp is definitely not
intutitive and is almost impossible to figure out what has been changed
with each version. Yep, it is just one of those occassional tasks at
home. The problem of frustration this time around is editing the text
attributes (woops, white on white doesn't show).

Oh, and how do you lock a layer now.

Bing, perhaps I should just do it in latex, since I do labels in it
occassionally.

But, I'd really like a linux application that is at least as fast as
CorelDraw to do this simple task.

-- 
   Terry Collins {:-)}}}
   email: terryc at woa.com.au  www: http://www.woa.com.au
   Wombat Outdoor Adventures Bicycles, Computers, Outdoors, Publishing

 Any society that would give up a little liberty to gain a little
  security will deserve neither and lose both. Benjamin Franklin
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Line-oriented telnet clients?

2006-03-06 Thread Visser, Martin
Just a guess, but it seems regular telnet supports line mode with the
command mode line

From the telnet man page : mode TypeSpecifies the current input
mode. When the Type variable has a value of line, the mode is
line-by-line. When the Type variable has a value of character, the mode
is character-at-a-time. Permission is requested from the remote host
before entering the requested mode, and if the remote host supports it,
the new mode is entered. 


I just did a test against a nc -l -p  listener using telnet
localhost . Changing from mode char to mode line (after Ctrl-]
the telnet session definitely seems to change the line discipline ( I
think that is the term)


Regards, Martin

Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Hardy
Sent: Tuesday, 7 March 2006 3:20 PM
To: slug@slug.org.au
Subject: [SLUG] Line-oriented telnet clients?

My second wacky request for the day!

I'm logged in to a device on the far end of a satellite link, so latency
is on the order of a couple of seconds. Due to vagaries that I haven't
yet sorted out, the regular telnet client that Ubuntu ships in the
telnet package doesn't like talking to these devices, so I usually use
putty, which also has handy logging features.

But the latency here is a real drag. So. Are there any good telnet
clients around that are line-buffered? I want to be able to type a line
and hit enter to send the whole thing over the wire at once, rather than
individual characters.

--
Pete

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


RE: [SLUG] Linuxworld stand for LA!

2006-02-26 Thread Visser, Martin
I'll try and make it for at half-a-day (probably Wednesday) - pressing
customer engagements withstanding. (I might also get roped into the HP
stand for the other half of a day).


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Pia Waugh
Sent: Sunday, 26 February 2006 9:25 PM
To: Slug
Subject: [SLUG] Linuxworld stand for LA!

Hi all,

so we are only a month away from Linuxworld, and LA has been given a
free stand. I think we could use this opportunity to demonstrate the
value of the community, and some of the rocking Aussie projects and
developers. There often isn't very much understanding at a corporate or
Government level as to the value of the community (although, usually
only by people who don't fully understand FOSS yet) so we may as well
make the best of the opportunity to drive the point home and celebrate
the community :)

Who would be willing to:

a) wear a penguin suit giving out foo
b) stand at a stall for 3/2/1/0.5 days to hand out information about
FOSS to people and explain about the community
c) help decorate the stand and pull it down afterwards

We could even show some demos of non-commercial FOSS that just inspires
the imagination.

Who's with me! :)

Cheers,
Pia

-- 
Linux Australia
http://linux.org.au/
 
Beware of listening to this impostor; you are undone if you once
 forget that the fruits of the earth belong to us all and the earth
itself to nobody. - Jean Jacques Rosseau
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] ipv6

2005-12-19 Thread Visser, Martin
Anand Kumria wrote :-

The site-local prefix (fe80) has been deprecated (rfc3879), instead you
want IPv6 local addresses (rfc4193) which you
can self-generate with tools such as:

http://www.hznet.de/tools/generate-uniq-local-ipv6-unicast-addr.sh
  

Hmm, I dropped off the IETF announce lists a few years ago so I have
missed this fairly significant change. One thing I noticed though was
that this script doesn't comply with the mentioned RFC. I am guessing it
may have been written against an earlier draft (yep, the script says
Sept. 2004). 

While it creates a pseudo-random address, a few problems I see are that
it uses FD00::/8 as the prefix (instead of FC00::/7 which means it only
tries to use half of the available space) and MD5 instead of SHA1 as the
digest/randomizer. I know I am pedantic but one of the assumptions in
this RFC (section 3.2.1) is that all generators of locally assigned
global IDs use the same algorithm.

It seems like it might be useful for me (or someone) to create an
up-to-date version of this script over the Christmas break!

Regards, Martin

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

--
SLUG - 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: pentium M series

2005-12-18 Thread Visser, Martin
All,

I just googled for benchmark performance linux kernel i386 versus
i686 and found nothing of any import. I am just wondering if anyone has
bothered doing this. It would be nice to know what the tradeoff is
between performance and convenience of not needing to know the CPU
architecture. Using multi-CD distros I would also choose the closest
matching kernel, but for my Ubuntu installs I haven't bothered.

Martin


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Matthew Palmer
Sent: Monday, 19 December 2005 11:57 AM
To: slug@slug.org.au
Subject: [SLUG] Re: pentium M series

On Mon, Dec 19, 2005 at 10:14:15AM +1100, ashley maher wrote:
 On Sat, 2005-12-17 at 12:54 +1100, Jeff Waugh wrote:
  quote who=ashley maher
  
   TO my surprise Ubuntu chose to install the 386 series kernel.
  
  Can't fit a lot of kernels on the CD, as well as a complete desktop.

  :-)
 
 is this an example of gnome bloat???

More kernel bloat.  Debian woody had most of the 4th CD taken up with
various kernels.  You can have a *lot* of variations in your kernel
config, it seems...

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


RE: [SLUG] Debugging no data for the GNOME weather applet

2005-12-05 Thread Visser, Martin
 Mary,

I don't use this app, but a quick squizz at the code at
http://cvs.gnome.org/viewcvs/gnome-applets/gweather/ would indicate it
just uses HTTP like a web browser to grab weather details. My guess is
that the server(s) configured for use may have broken or changed format.

I would run up ethereal to capture the request/responses it generates
(basically try to trigger an update and filter for http in the
ethereal display filters). From the responses (either bad, good or
non-existent) you may be able to figure out what is going on. Once you
know what requests it makes, you might be able to simulate the client by
using just a normal web browser). If the app is configurable you may be
able make changes there, or even resolve to fix the broken code if
necessary ;-)

(I'm a bit of a weather junkie as well though I tend to just have quick
links to places like
http://www.bom.gov.au/products/IDN65092/IDN65092.95765.shtml . Maybe
someone should figure how to munge this data into something like
gweather)

Regards, Martin


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mary Gardiner
Sent: Tuesday, 6 December 2005 11:44 AM
To: slug@slug.org.au
Subject: [SLUG] Debugging no data for the GNOME weather applet

Hi all,

I have a Fedora Core 3 workstation and I like to use the weather applet
to get a sense of the temperature outside. For the last couple of weeks,
my weather applet hasn't worked: it has constantly shown a question mark
instead of a weather icon and no temperature is shown. When I put the
mouse cursor over it, a hover text box says retrieval failed. It seems
to fail for a whole lot of cities: I've tested Pittsburgh (the default),
Sydney, Melbourne and Boston.

Anyone know how to get a better error message than retrieval failed?
I've looked at the obvious thing (my GNOME proxy setting) and now I'd
like an actual error message to help me fix the problem.

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


RE: [SLUG] Convert program

2005-11-17 Thread Visser, Martin
Way-back I used to be a fan of the netpbm tools (as opposed to
imagemagick) - but I think either of these can do a good job of basic
scaling.

However if you specificly want to create a webpage in a photo album
arrangement, I had fantastic results with the free as in beer Jalbum
software - http://jalbum.net . (Yes it is built on Java). I create a
CD-ROM photo album of about 300 photos for my school reunion. 

The way I did this was

1. Used an EXIF tool to edit the comment field dircetly in the jpeg.
(This way the caption you want is directly tied to the photo)
2. Organised the photos in a suitable directory structure
3. Told Jalbum to build the album using the chosen skin

Hey presto, I had a nicely structured album that had thumbnails so you
could select the photos you wanted, a small amount of javascript to
drive a slideshow function, and the photos are scaled to fit nicely on
the page and had an appropriate caption. (I also added an archive of the
original unscaled images for good measure)

Regards, Martin


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, 18 November 2005 12:16 PM
To: slug@slug.org.au
Subject: Re: [SLUG] Convert program

On Thursday 17 November 2005 19:16, [EMAIL PROTECTED] wrote:
   I'm running Ubuntu Hoary and and would like to reduce a large 
   amount of pictures so that I can shove them onto a webpage. In FC3

   I used convert from imagemagic, I think. This doesn't seem to be 
   included in the standard Hoary installation
  
   Is there some program similar in Hoary that can do a group
reduction?
 
  By 'reduction' do you mean scaling, or compression? If you're happy 
  to keep doing it the way you have before, just install the 
  imagemagick package. :-):-)

 If he means compression, this tool might be useful for JPEGs:

But the imagemagic tools, and convert inparticular, are soo easy to
use!!

for i in *.jpg
do
convert $i bla bla rfm $i.new.jpg
done

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


RE: [SLUG] drivers

2005-11-06 Thread Visser, Martin
Googling finds that, this author of this article seems to have already
blazed a trail - http://tzilla.is-a-geek.com/articles/egalax/

The author also refers to touchkitusb, I found this -
http://www.ussg.iu.edu/hypermail/linux/kernel/0412.0/0061.html
 
.deb != .rpm is sometimes easily fixed with the alien utility. The
others are not necessarily as easy.

Good luck, Martin

  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Christopher JS Vance
Sent: Monday, 7 November 2005 4:06 PM
To: slug@slug.org.au
Subject: [SLUG] drivers

I've been asked to get a particular touchscreen (eGalax usb) going
before Tuesday next week on Breezy.

The manufacturer has actually provided some Linux software in the way of
binary bits plus some sources for a number of old rpm-based
distributions (RH=9, FC=3, Mdk=10), all for XFree86 and a 2.4 kernel.

I see the following issues, with possibly varying degrees of
significance:

.deb != .rpm
2.6 != 2.4
Xorg != XF86
package names and divisions are all different

My questions (to those who might actually know):

Does anyone by chance have working bits for this beast?

Should this be relatively simple to kludge into Breezy?

What gotchas can I expect if I try to do it myself?

Should I start from FC3 or one of the other sources (as closest to
Breezy)?

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


RE: [SLUG] IP Address Source

2005-11-02 Thread Visser, Martin
 
Simon,

anyone know the reason for this?  - 'Cause it ain't science!

There are a gazillion geolocation databases out there and they all have
different information - so why does this happen?

IP addresses are handed out to companies and ISPs in fairly large
blocks. IANA originates all the IP addresses these are given in very
large blocks to regional registries - in Australia this is APNIC. Once
these are handed out, they then often get broken up further and
distributed to others. (A bit like feeding the 5000!). Companies, like
HP, and ISPs, will manage their registered address space in a way that
suits their network topology. Unfortunately the only official record
would be the registered office address when the initial block is handed
out by APNIC (in the case of IP address requested by Australian orgs).
My current home IP address is in the 203.217.64.0/21 range - which
according to http://www.apnic.net/apnic-bin/whois.pl would put it in
Perth (because it is owned iiNet).

Now iiNet are under no obligation to tell anyone where they have used
these IPs. Unless they bother to fill in the DNS LOC record (which can
record long/lat) then there is no way you are going to get the location.
That being said it seems that many organisations think that there is
value in maintaining a database. A few I have include
http://www.ip2location.com and http://www.hostip.info. The latter at
least allowed you to change their database entry for your IP. In my case
my address showed up as Brisbane, which I duly changed to the town
nearest me. The issue of course is that my IP address is dynamic, and at
any time iiNet might choose to reorganise their IP address structure.
They aren't going to be telling anyone about it.

So I guess unless someone can come up with a compelling reason for
geolocation, it really is going to be a fun thing to play with, but it
isn't going to be very credible. (People claim it would be useful for a
Pizza franchise to know which store to direct your order to. Another
possible use might be to better perform routing decisions in an
environment where a host might be moving, say a VoIP-equipped mobile
phone. But IMHO it won't happen as it is to easy to spoof or just the
issue that most IP connected devices just don't know where they are)

BTW It looks like Moodle might be using
http://netgeo.caida.org/perl/netgeo.cgi - because it returned Milton NSW
for my address. However you might note from their page that pretty well
disclaim any accuracy with their results.

  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Simon
Sent: Wednesday, 2 November 2005 11:10 PM
To: 'SLug Users'
Subject: [SLUG] IP Address Source

Hi all,
We are running Moodle as our Intranet and it works well. One of the
features is that when it displays the log of failed logins you can click
on the IP address to see where it came from, however all external
addresses either seem to be in Milton, NSW or Marina Del Rey,
California, United States anyone know the reason for this?


OLMC
Simon Bryan
IT Manager
[EMAIL PROTECTED]
LMB 14
North Parramatta
Direct Number:88381200
SwitchBoard: 96833300
fax: 98901466
mobile: 0414238002


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


RE: [SLUG] USB Audio Input Devices

2005-10-31 Thread Visser, Martin
If you are serious at doing this right you definitely want to look at
semi-pro equipment. I have a TASCAM US-122 that does 2 inputs/ 2 outputs
quite well (48KHz sampling at 24 bits). The inputs can be line level or
mic level (it uses XLR inputs). The great thing about this unit is the
whole unit is powered by USB so you don't need a separate mic preamp,
which you would do for any low end usb audio units. (Believe it or not
it even provides 48V phantom power for powering condenser mics, all
derived from the 5V USB supply!) I would recommend using a Linux distro
that is oriented towards audio work such as Agnula or PlanetCCRMA.  This
will include the apps needed but also makes sure the kernel is set for
low-latency etc. That being said, I did managed to get SuSE working
quite well as well.

The Tascam unit has to have 2 lots of firmware loaded everytime it
powers up and this took a little while to figure out. Also certain
releases of the ALSA code seemed to break support for my box. If you
need to do filtering/effects in real-time it also performs well. By
tweaking jack appropriately I could get it have input latency of less
than 10ms. (I used it do some nice live echo/reverb effects for my
daughter's stage performances).

Other popular units used by the Linux audio crowd include the M-Audio
Audiophile 2496 and the Edirol UA25. (There are of course many other
brands out there, with a large range of prices as well!)

If you need more than 2 inputs, all of those makers have larger units
(and of course in general you can also use multiple 2 channel units). Of
course, recording more simultaneous channels puts more strain on the
system (USB, Hard drive, etc) and you need to make sure you don't drop
samples mid-recording. It is definitely doable - Digital Audio
Workstations are definitely going to be the way forward.  

As mentioned by Terry, the other alternative is to mix your multiple
mics down to just 2 channels using analog mixing equipment. Again like
the digital stuff, you get what you pay for. Cheaper equipment often is
not as robust (knobs fall off, and sliders don't feel right) or may
introduce undesirable noise.



  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it. 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of James Purser
Sent: Saturday, 29 October 2005 12:51 PM
To: Sydney LUG
Subject: [SLUG] USB Audio Input Devices

I'm looking at getting a usb audio device to allow for multiple inputs
(more than one microphone, etc etc). Anybody have any suggestions?

The purpose being to allow for discussion type interviews and greater
flexibility in doing stuff like the SLUG live.
--
James Purser
Chief Talking Guy - Linux Australia Update http://k-sit.com - My Blog
http://la-pod.k-sit.com - Linux Australia Update Blog and Forums
Skype: purserj1977

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


RE: [SLUG] Debian server issues with WinXP

2005-10-19 Thread Visser, Martin
James,

I concur with Terry that it might be a permissions thing (or at least
whether you are authenticated correctly to have permission.) Though, I
do have to say your first test case where you need to attempt to open
the file twice seems strange. This would indicate to me some timing
issue with authentication possibly.

I would have a look at your samba log file (/var/log/samba*) and see if
something shows up there. (You can increase the debug level if you think
that more info might be useful,
http://www.samba.org/samba/docs/man/Samba3-HOWTO/bugreport.html#dbglvl).


The specific issue you have with files created by root might be
addressed by the info found at
http://www.samba.org/samba/docs/man/Samba3-HOWTO/AccessControls.html#id2
595860 (and
http://www.samba.org/samba/docs/man/Samba3-HOWTO/AccessControls.html#id2
596278 for that matter)

You didn't mention how users are authenticated to samba - if you are
using Windows domain/AD authentication (versus local Linux or Samba
auth). This might also be the cause of your woes. Again I would expect
the samba logs to provide some light.

Let us all know how you go. 

Martin
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Terry Collins
Sent: Wednesday, 19 October 2005 1:53 PM
To: James Neale
Cc: slug@slug.org.au
Subject: Re: [SLUG] Debian server issues with WinXP

James Neale wrote:

 I have run into several issues when reading/writing files from WinXP 
 machines.
 

 Anyone got any clues that could help?

the save as sounds like permissions on the linux server.

Does the user that you attach/logon to the linux server have permission
to write to the directory where the files are stored?


-- 
   Terry Collins {:-)}}}
   email: terryc at woa.com.au  www: http://www.woa.com.au
   Wombat Outdoor Adventures Bicycles, Computers, Outdoors, Publishing

 Any society that would give up a little liberty to gain a little
  security will deserve neither and lose both. Benjamin Franklin
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Printer not detected

2005-09-23 Thread Visser, Martin
Ken,

I have a PSC 2510 which all went swimmingly on Ubuntu Hoary, though mine
has Ethernet. If you haven't already done so have a look at the good
doco at http://hpinkjet.sourceforge.net/install.php

There are support forum links from that site as well which might give be
able to give more direct help if you still have no joy. (Sorry I'm not a
printer guy so I don't' have any special cluesticks in this regard, it
all just worked for me)
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ken Caldwell
Sent: Friday, 23 September 2005 7:33 AM
To: slug@slug.org.au
Subject: [SLUG] Printer not detected

'Morning All,
I have just acquired an HP PSC 1610 All-In-One printer and am having
trouble establishing communication between the computer and printer.

The computer is running Ubuntu Breezy. The packages hplip, hplip-base,
hplip-data and hplip-ppds are all installed.

System  Administration  Printing tells me that the printer HP-PSC-1600
is ready but if I try to print a test page nothing happens.

From the above tool I find

Ready: Open device failed; will retry in 30 seconds...

Does anyone have any troubleshooting suggestions I can try this evening
when I can get back to it?

cheers,
Ken


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


RE: [SLUG] Technical Help Required

2005-09-07 Thread Visser, Martin
Bill,
 
Googling for your symptoms doesn't show up anything obvious, nor on
http://portal.suse.com/PM/page/search.pm. 
Have you looked at the samba log file? (I haven't got a SuSe box in
front of me - but it probably is in /var/log/samba/*). This might show
at least where samba is having problems. Also have look at the XP event
viewer logs.
 
You might also want to check out the physical stats of the network
interface on both boxes (ifconfig eth0 on the SuSe box), and probably
your switch as well, while you are doing your file transfer. If your
machines are fast (and can saturate the network) and if your physical
network is flaky, you might be dropping some session/keep-alive traffic
that could be causing you grief. (SMB is a bit sensitive to poor network
connectivity). You can always use a tool like iperf to help load up
the network and verify how much goodput you are getting between XP and
SuSe.
 
Martin
 
 
 
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bill Greville
Sent: Monday, 5 September 2005 1:47 PM
To: slug@slug.org.au
Subject: [SLUG] Technical Help Required
Importance: High



Hi there,

 

I need, very urgently, to solve a problem plaguing one of my customer's
Sydney sites.

 

The problem occurs when trying to copy files greater than 80Mb from a
Windows XP client to a Samba share on the file-server, running SUSE
Linux.

 

The problem manifests itself as a Network connection no longer
available error message on the Windows XP client.

 

I would be happy for you to contact me directly or via e-mail for more
information or clarification.

 

Many thanks and kind regards,

 

Bill Greville

Regional Franchisor - Northern Sydney Region

Jim's Computer Services

 

Mobile:  0404 312 258

E-Mail:  [EMAIL PROTECTED]

Web:www.jimscomputerservices.net
http://www.jimscomputerservices.net/ 



 

 

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


RE: [SLUG] Documentation (management) System

2005-09-07 Thread Visser, Martin
Jobst,

I think this basically falls under the framework known as ITIL/ITSM.
Googling will give you links to the standards bodies, as well as service
providers and practitioners. Pretty well all IT service providers (HP
included ;-) ) offer services that allow organisations to align their IT
organisations around these methodologies.

There is a lot of material out there!!!

Martin

  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jobst Schmalenbach
Sent: Wednesday, 7 September 2005 5:46 PM
To: slug@slug.org.au
Subject: [SLUG] Documentation (management) System

Hi.

We need to document our core processes from an IT point view, i.e. how
IT interacts with the rest of the company, the services IT provides,
what technical structure is there, the software that is availalble etc.

  1. What do people use to do this?
 (document system??)

  2. Are there any books about this?

  3. Are there any (commerical) utils available?



thanks
Jobst



--
When you lose, don't lose the lesson.

 __, Jobst Schmalenbach, Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L  The Meditation Room P/L

 -(_)--(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162,
Australia
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] DHCP Client not working with unwired

2005-09-07 Thread Visser, Martin
Pete,

Is your datalogger ethernet got fixed speed (10M?) or duplex and is it
possible that the Unwired modem is 100M only? Mii-diag or mii-tool will
tell you what your datalogger is set to. Use ifconfig and look for
packet counts (or tcpdump if iy have it on the logger) to see if it is
actually receiving anything back from the modem. Of course your
datalogger linux may not have all these utils built-in ;-)

(Alternatively if you have a spare switch try putting that inbetween the
modem and the datalogger and if that makes a difference then you have a
physical issue)

Regards, Martin  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, 7 September 2005 6:35 PM
To: slug@slug.org.au
Subject: [SLUG] DHCP Client not working with unwired

Sluggers,

I have a Compulab ARM processor device (a data-logger) running Linux
(2.4.18-rmk7-pxa3-armcore) which I'm trying to connect to the Internet
using unWired, however the device fails to negotiate an IP address from
unWired's modem. dhcp client version is 1.3.19.

If I connect the ARM linux data logger to our local Lan it is able to
get an IP address from the LAN dhcp server (running on Linux 2.4.7-10
dhcp v3.0).

If I take my desktop running FC2 and set it to Dhcp and cable it to the
unWired modem it is able to receive an IP address from the modem/network
and browse the net.

So;

  Linux Desktop  -- Linux Dhcp server, Good
  Linux Desktop  -- unWired modem, Good
  Linux Data logger  -- Linux Dhcp server, Good
  Linux Data Logger  -- unWired modem, Bad

Any cluesticks out there?

I tried grabbing the IP that was given to the desktop and forcing it
into the data logger, cableing it to the modem and seeing what happened
but it didn't work. I could see the packets hitting the modems ethernet
port but no reply. I assume the unWired dhcp server keeps a record of
hardware address vs ip and didn't like the mis-match. I put the unWired
modem back on the desktop and it was pinging again.

Does anyone know if the unwired modem is a router or a bridge? I'm
assuming it's a bridge and that the default gateway and the dhcp server
is on the other end of the unWired connection.

TIA's

Pete

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


RE: [SLUG] timeline generation software

2005-08-24 Thread Visser, Martin
 
I have found Ploticus to actually give nicer results than Gnuplot. 
http://ploticus.sourceforge.net/gallery/gall.hbars.html#timeline (And there is 
a SVG  EPS along with bitmap output which is nice)

This package using Ploticus looks right up your alley 
http://members.chello.nl/epzachte/Wikipedia/EasyTimeline/Introduction.htm

I also ran across a TeX based timeline macro - 
http://www.tug.org/PSTricks/main.cgi?file=Nodes/nodes#timeline

Regards, Martin


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: [EMAIL PROTECTED]

This email (including any attachments) is intended only for the use of the 
individual or entity named above and may contain information that is 
confidential, proprietary or privileged. If you are not the intended recipient, 
please notify HP immediately by return email and then delete the email, destroy 
any printed copy and do not disclose or use the information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benno
Sent: Monday, 22 August 2005 9:27 PM
To: Thomas Schröder
Cc: slug@slug.org.au
Subject: Re: [SLUG] timeline generation software


On Thu Aug 18, 2005 at 16:39:35 +0200, Thomas Schr?der wrote:
Hi Benno,

gplot should do it I think

http://gplot.sourceforge.net/


Gplot seems to just be a frontend to gnuplot, which is fairly competent at 
generating some fairly sophisticated graphs but doesn't really do timelines.

I guesss I could force it to plot just along the X-axis, but gnuplot output 
isn't the most aesthetically pleasing about :(.


Thanks,

Benno


Cheers,
Thomas

Am Donnerstag, 18. August 2005 07:33 schrieb Benno:
 Does anyone know of some (open source) software that will generate a 
 pretty look timeline? I'd like something that takes:

 1975 Foo
 1976 Bar
 1980 Baz
 1985 Qar

 and produces something like this in EPS:


 +

 |   1975 19801985
 |Foo  Baz Qar

 +-+--+-+--+
 1976
  Bar

 I'm sure I could manually do this in Xfig, but that will take me all 
 day. I'm also sure I could write something myself to do it but that 
 sounds like perverse procrastination, so I'd prefer not to.

 Thanks,

 Benno

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


RE: [SLUG] Changing DHCP servers

2005-07-20 Thread Visser, Martin
Simon,


There is a reasonably standard approach to this - I have done these
migrations a number of times (mainly to perform IP address migration
when companies merge or need to move away from registered address
space).

OK, the problem is how do you introduce a new DHCP scope served by a new
server, but that doesn't overlap with the existing scope? Depending on
the ratio of number of simultaneous leases to the amount of address
space on your subnet you might be able to reduce the size of the
existing scope. If the scope on the old server can be resized to less
than half of the subnet, you can then introduce the new server with the
new non-overlapping scope. You would then just turn off the old DHCP
server scope so that any clients that need to renew will be served by
the new server when they next renew. (This approach is also used as a
simple way to provide DHCP server redundancy - just have 2
non-overlapping scopes on 2 servers). 

If you don't have sufficient address space to do this then there are two
things you can do

1.Reduce the lease time on the old server to say 2 hours. Next time
clients renew then they will then be on a cycle to renew every 1 hour.
Then, say overnight, remove the old DHCP server and introduce the new
with the same scope range. Yes, there will be potential conflicts, but
only for an hour (as all the clients will renew in that time). Most
clients (well windows ones do) ping or arp for the address they are
offered anyway and hence reject ones they see are being used. If you
aren't a 24x7 operation this can work well as the machines will sort
themselves overnight (or when they boot in the morning).
2. If you absoultely can't have any conflicts and the existing address
range is constrictive you may be able to temporaily introduce a new
subnet as a secondary address range on the same LAN. This would mean
your router (hoping you have a local LAN router capable of reasonable
performance) would then perform any routing necessary between the old
and new subnets. The new DHCP scope would be based on this new secondary
address range. Once you have this in place you could turn off the old
DHCP server. Clients on the old and new subnets would still interwork
(though via the router). When the clients on the old lease renew, they
will then move to the new subnet. Once all the old leases have expired
you could then optionally reintroduce a scope on the new DHCP server for
the old subnet and basically migrate the clients back in the same
fashion. You would turn off the new temporary scope and once all the
clients have moved back to the original subnet you could remove the
extra secondary address on your router.
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Fox
Sent: Thursday, 21 July 2005 8:47 AM
To: [EMAIL PROTECTED]
Cc: SLug Users
Subject: Re: [SLUG] Changing DHCP servers

On 7/21/05, Simon [EMAIL PROTECTED] wrote:
 Hi all,
 
 I want to change from one DHCP server to another. The current one does

 not give me enough control and is integrated into an e-smith server 
 (argg, that was a bad idea! - another story). I can easily set one

 up on one of my Linux servers, but how do I avoid IP conflicts as the 
 new server won't know about existing leases, or will those lease be 
 re-negotiated by the new server automatically? I don't know what 
 length the leases are at the moment, that is one of the issues.


You should only run one DHCP server on your network/segment/subnet at a
time. You would have more then 1 servicing the same ip range.

I'd be inclined to setup the new DHCP to take over the role of the old
one and then turn the old one completely off, then the new one on. And
most machines should attempt to grab the same ip if available, and if
not the new DHCP server will issue them new ones based on its leases
available.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Home LAN and video

2005-07-19 Thread Visser, Martin
Bill,

I've not actually done direct DVD viewing of the network, but here is a
few ideas.

Firstly I believe that the maximum bitrate of the video+audio MPEG2
stream is around 6M bits per sec, which is around 600k Bytes per second
on the wire. This shouldn't stress any network out (even plain old
10Mbps Ethernet half-duplex could do it at a stretch). Also you should
be able to comfortably read at least 10M bytes per second from any disks
that you have.

You can easily confirm this raw performance by just copying a file that
you are sharing (for instance one of your VOB files) to your local
machine and working out the throughput. You could also use a tool such
as iperf to verify the raw network performance, but I think the copy
test should do what you want.

The only thing that might be going wrong is that in the file transfer
process there is going to be some lag when things get packetised for the
network of some 10's of milliseconds.  

Now normally there is very little lag and certainly no variation in this
lag (jitter) when you are reading direct from a local harddisk or DVD.
(The test above doesn't measure jitter only average throughput. Iperf
can measure jitter, but I don't wouldn't expect it to reveal much on
your LAN).

From what you are saying, it seems that the problem is that the DVD
client application is not network aware (it just sees a file path or
drive letter) and hence occasionly when it goes to play a frame of video
or sound it just isn't there yet, simply because the server isn't tuned
to respond with a repeatable and constant response time. What you really
need I believe is to stream your audio or video. This way the
application will know the data is coming via a network, expecting delay
and jitter, and hence set up a jitter buffer to accommodate for the
variation in arrival time of frames.

The most common app to do this on Linux is VLC. This can present your
DVD as an uncoverted stream (at the same bit rate as your DVD) but still
allow the client to deal with network anomolies. 

Anyway, hopefully someone with some more experience can confirm or deny
my suppositions!

Regards, Martin
 
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bill
Sent: Tuesday, 19 July 2005 2:10 PM
To: slug@slug.org.au
Subject: [SLUG] Home LAN and video

I have a home LAN with 1 PC as a file/print Server ( using Clarkconnect)
and 2 PCs as Workstations, both running Kanotix/Debian and dual
booting to Win XP Pro.

I have ripped a couple of movie DVD's  to .iso files and copied them
onto the Server.

When I play them back  on the Workstation PCs, either under Kanotix or
XP, the video is jerky and the sound stutters/drops in and out.

All PCs are Athlon XP 2400 or faster with either 512k or  1gb ram, with
onboard 10/100mbs ethernet. My ethernet switch is also 10/100 and all
cabling is Cat5.

The Server is about 12 meters from the 2 PCs.

Any suggestions re why the video and sound don't plat properly will be
appreciated, as will suggested fixes for same.

Bill

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


RE: [SLUG] problem with wireless

2005-07-10 Thread Visser, Martin
David,

The interfaces that Ubuntu tries to bring up at boot time is determined
basically by the contents of /etc/network/interfaces. (This is
configured by the network GUI tool)

You might want to man interfaces and ifup to get a feeling of what
is going on. A simple problem that you might have is that your wireless
interface (eth1 or whatever) might not be marked as auto.

Also of consideration is that depending on how your wireless interface
is physically integrated (my HP/Compaq laptop uses a special USB
interface) might also determine when it is available to be upped (it
might be hotpluggable). Do you have a Function-F2 or somesuch that turns
wireless on or off - this might also cause the non-appearance of the
device?

You probably need to check out the tail of /var/log/kern.log and
/var/log/messages   for pertinent warnings/errors. 

Regards, Martin 


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of David
Sent: Monday, 11 July 2005 10:45 AM
To: slug@slug.org.au
Subject: [SLUG] problem with wireless 

I can't get my wireless to connect at boot. This is causing me
embarrassment because I keep telling everyone they should use Linux :(

From a fresh install of Ubuntu Hoary, specifying wireless for my net
connection, wireless fails to connect. Signal is NOT a problem.

HOWEVER: If I deactivate wireless, manually create an ethernet
connection 
with the network panel, activate ethernet, deactivate ethernet, then 
activate wireless.. i get my wireless back! I've been able to replicate 
this consistantly.

Simply restarting networking doesn't work. I have to go through that 
ritual.

Without doing that, all the settings in the network panel look OK 
but the MAC address shown by iwconfig is FF:FF:FF:FF:FF:FF and the 
flashing lights indicate no connection. ifconfig gives the right ip 
address etc and route shows the right gateway (192.168.0.1) on ath0

Dell Inspiron 4000, Netgear WGT624v2 AP, Netgear WG511T pcmcia card,
atheros chipset, using WEP 64bit key and static IP.

This is getting to be a showstopper for using Ubuntu. Works fine for 
WinME dual booted on the same machine :(

If anyone is getting good results using a similar set up, I'd love to
know 
what I'm doing wrong.


regards...

David.

PS: i've tried apt-get update, apt-get upgrade but that made no 
difference.

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


RE: [SLUG] Ftp get a directory

2005-06-19 Thread Visser, Martin
Plain vanilla ftp won't do this. (you could script it though)

The preferred method (assuming you don't have rsync on the server) is to
use wget.

Martin  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Simon
Sent: Monday, 20 June 2005 2:33 PM
To: SLug Users
Subject: [SLUG] Ftp get a directory

Hi all,
Can I use command line ftp to get a directory and it's contents
recursively?


OLMC
Simon Bryan
IT Manager
[EMAIL PROTECTED]
LMB 14
North Parramatta
tel: 96833300
fax: 98901466
mobile: 0414238002


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


RE: [SLUG] Ftp get a directory

2005-06-19 Thread Visser, Martin
 

From memory, mget only does multiple gets within a directory.
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Barnes
Sent: Monday, 20 June 2005 2:42 PM
To: [EMAIL PROTECTED]; SLug Users
Subject: RE: [SLUG] Ftp get a directory

 Can I use command line ftp to get a directory and it's contents 
 recursively?

Yes. :)


The mget command (as opposed to get) may work recursively for you inside
an ftp client depending on the client/server.

Otherwise, use wget with the --recursive option.  I believe it to be a
more appropriate tool for the job.

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


RE: [SLUG] is a floppy inserted ?

2005-06-15 Thread Visser, Martin
if [ `head --bytes=512 /dev/fd0 | sum | cut --fields=1 --delim=  ` !=
0 ]; then echo Floppy in drive ; fi 

(sum does a checksum which I think is only zero if all the contents are
zero. You should only need to check the partition/boot sector I think -
I won't guarantee this code is correct though!!!)


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of James Gray
Sent: Wednesday, 15 June 2005 4:30 PM
To: slug@slug.org.au
Subject: Re: [SLUG] is a floppy inserted ?

On Wed, 15 Jun 2005 01:54 pm, Voytek wrote:
 quote who=James Gray

  On Wed, 15 Jun 2005 09:42 am, Voytek Eymont wrote:
  how do I asses %subject% (from remote acces)
 
  Assuming floppy access in /etc/fstab has the user option:
  mount /dev/fd0

 thanks, James, Terry, Matthew

 # cat /etc/fstab
 ...snip...
 /dev/fd0/mnt/floppy auto
noauto,owner,kudzu
 0 0

 # mount /dev/fd0
 mount: /dev/fd0 is not a valid block device

 so, the 'mount: /dev/fd0 is not a valid block device' tells me there 
 is no media in floppy drive, yes ?

Yes

 could it also signify unformatted floppy ?

Possibly - but you'd more likely get a message about invalid
super-block, wrong filesystem or too many mounted filesystems, etc.

 (I amd doing a kernel update, hence, rebooting the machine, hence, I'd

 like to make sure it will boot from the hardrive, not, an inserted 
 floppy, should there be one)

In that case try using dd:

dd if=/dev/fd0 of=floppy.img

Then use a hex editor or strings to read floppy.img and see if you get
anything useful.  Of course, if the server boots from floppy before it
boots the hard drive, and there's *anything* in the floppy drive
(formatted/bootable or otherwise) then you're screwed.  If you don't
know, then wait until you can verify the floppy's status manually.

James
--
Dyslexia means never having to say that you're ysror.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Execution via email ?

2005-06-15 Thread Visser, Martin
Believe it or not, in days when the Internet wasn't quite grown up
(early 90's of last century) some people only had email access to the
internet. There were actually mail servers setup that you could email an
instruction which would

1. ftp download the file
2. break it up into little bits
3. ASCII encode it (probably uuencode, a bit like base64)
4. And then send the bits as separate emails (of course the little bits
was to get over restrictions in email size that a lot of people had)

You could then download your email and I think then run a script to
reassemble the file. (Come to think of it the emails might even have
been a shell script - like a shell archive).

When I worked at my previous employer I used this a few times to get a
file that I just had to have overnight, but that I couldn't sit around
and wait for.
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Voytek
Sent: Sunday, 12 June 2005 3:16 AM
To: slug@slug.org.au
Subject: [SLUG] Execution via email ?

are there any scripts to allow execution of an arbitrary commands via
email, with the output via return email ? Or, request a file that is
then sent via email ?

Voytek

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


RE: [SLUG] Next ALJ cover disk

2005-06-14 Thread Visser, Martin
 
Just a thought, but what about one of the specialist live distros. Two
genre's that I have used are in the multimedia/audio/video space and the
network/security space. The multimedia ones are especially useful as
they often pay attention to low-latency, hardware support etc,  as well
as having some more obscure apps that you might not normally download or
try otherwise. Two audio ones that I have tried to good effect are
m-dist http://plus24.com/m-dist/ and agnula http://www.agnula.org/

As far as security distros are concerned, I have used F.I.R.E
http://biatchux.dmzs.com/ in the past, but it might be in deep sleep
from looking at the home page. Whoppix, http://www.whoppix.net/, looks
interesting and might be a bit more alive.

Martin

  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Chandler
Sent: Tuesday, 14 June 2005 1:43 PM
To: slug@slug.org.au
Subject: [SLUG] Next ALJ cover disk

Hi all,

I'm a contributor to the Australian Linux Journal. We're in the middle
of planning the next issue and are trying to decide on a cover disk, and
thought it would be good to get the opinions of some Sluggers.

So far, we've thought that either a live distro, like Knoppix 3.9, or a
full-blown distro, like the latest Debian stable, would make good
choices.

Our concerns so far are that although Debian 3.1 would be a good choice,
it would probably have to be the DVD version, and this might alienate
people that still only have CD drives. The flipside of this is that
providing just a CD might mean that a lot of packages would need to be
downloaded from the Internet. This would be frustrating to dial-up
users.

Relevancy is also an issue for us. The magazine won't be available for
at least another couple of months, so what we pick now will still need
to be interesting then.

Any thoughts or comments would be gratefully received. :)

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


RE: [SLUG] stealthed ports

2005-06-05 Thread Visser, Martin
Kazik,

As Chris said try nmapping from outside. (If you think you are ready
publish, your IP name/address here and some of us will probably try and
hit you. Of course if your on the net already you have probably been
scanned many time already ;-)

A scanner detecting a port as in stealth simply means that it never got
a response on that port. (As opposed to open which means it received an
ACK and closed which means it got a RST). Of course if your link (or
sygate's) was congested when the scan was run it could be the scanner
didn't get a response in time and moved on to the next port. 

If you turn up the logging level on your iptables firewall you can of
course see the incoming hits and verify that your firewall at least is
logging that it is doing what it is supposed to.

Martin  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Deigan
Sent: Sunday, 5 June 2005 11:18 PM
To: slug@slug.org.au
Subject: Re: [SLUG] stealthed ports

quote(Kazik Malenczak);
open grc says 113 is open and sygate says all ports are stealthed. 
Could someone tell me what is the best place to get a reliable scan 
done and why i get such widely varying results.

Run nmap from a remote box.

No idea about those sites though.

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


RE: [SLUG] Ubuntu - changing global keyboard type

2005-05-24 Thread Visser, Martin
dpkg-reconfigure console-data 

looks promising (from my google brain) 


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Terry Collins
Sent: Tuesday, 24 May 2005 2:51 PM
To: Slug List
Subject: [SLUG] Ubuntu - changing global keyboard type

Can anyone tell me how to change the global default keyboard for Ubuntu
(Warty?)

I think this one was installed with the UK keyboard and it is missing
the | (pipe) key, so it is making it rather hard to find what to fiddle
to fix it.

TIA

-- 
Terry Collins {:-)}}} email: terryc at woa.com.au  www: 
http://www.woa.com.au
Wombat Outdoor Adventures Bicycles, Computers, GIS, Printing, 
Publishing

  People without trees are like fish without clean water
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] recursive tree log grep ?

2005-05-23 Thread Visser, Martin
The default editor mode for bash is Emacs. Even though I am also a vi
editor user, I tend to leave bash at default. (I think your /someword is
actual the vi command)

To search backwards through history in standard bash, type Ctrl-r and
then the search string. Repeated ctrl-r looks further back.

BTW http://www.faqs.org/docs/bashman/bashref_95.html  references other
search functions. But some of these are broken (at least in Cygwin
running bash). I imagine some like Ctrl-s are swallowed by the tty
(Ctrl-s in terminals is normally XOFF - stops scrolling).

(I found this
http://lists.naos.co.nz/pipermail/wellylug/2004-September.txt - search
for forward-search-history - gives a similar conclusion re Ctrl-s)

  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, 24 May 2005 11:37 AM
To: slug@slug.org.au
Subject: Re: [SLUG] recursive tree log grep ?

Hi

 Run help for a list of shell internals to get help on...
 
 $ help history
 history: history [-c] [-d offset] [n] or history -awrn [filename] or 
 history -ps arg [arg...]
  Display the history list with line numbers.  Lines listed with
  with a `*' have been modified.  Argument of N says to list only
  the last N lines.  The `-c' option causes the history list to be
  cleared by deleting all of the entries.  The `-d' option deletes
  the history entry at offset OFFSET.  The `-w' option writes out
the
  current history to the history file;  `-r' means to read the file
and
  append the contents to the history list instead.  `-a' means
  to append history lines from this session to the history file.
  Argument `-n' means to read all history lines not already read
  from the history file and append them to the history list.  If
  FILENAME is given, then that is used as the history file else
  if $HISTFILE has a value, that is used, else ~/.bash_history.
  If the -s option is supplied, the non-option ARGs are appended to
  the history list as a single entry.  The -p option means to
perform
  history expansion on each ARG and display the result, without
storing
  anything in the history list.

I love vi, but do not use the vi-command-edit option of bash.
My mate who does asked me how to do this with the standard (emacs) shell
edit functions:

/someword   # look for a history event starting
'someword'
up# previous history event starting
'someword'
cr# execute THAT command

$ history | grep someword
!2-whatever # works, but is cumbersome

Any suggestion on how to preview a qualified list of history, and
execute one of them without using the vi options (+o vi).

Yea, I RFM'd the 100 odd pages, and thank heavens for info2html, IMHO
the whole info system is diabolical.

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


RE: [SLUG] EMF IPAQ

2005-05-13 Thread Visser, Martin
Basically a highly-conductive (read metal) box with no holes (or holes
smaller than the wavelength of the EMF you want to shield from). It
should probably be also connected to a ground. .. Google for faraday
cage.

(I'm not a physicist so hopefully a better answer will come along)


  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Clinton
Sent: Friday, 13 May 2005 7:59 PM
To: 'SLUG'
Subject: [SLUG] EMF IPAQ

Guys,

Anyone no a good way to protect electrical equipment from EMF?

I have a IPAQ that need to site very close to a scanner that generates
and EMF to read RFIDS?

Any help would be welcomed?



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


RE: [SLUG] Ubuntu freezes after login on Athlon-64

2005-05-09 Thread Visser, Martin
 
Have a look at /var/log/xorg.0.log for anything obvious (though is X is
running it probably isn't there). Otherwise /var/log/messages should
also be checked.

I know that SuSe 9.2 locked up after login for me on one system. This
turned out be having a non-existent sound driver. The Gnome desktop
seems to want to play a startup sound by default and not having a
suitable sound device hung up the whole session initialisation process.

BTW The ubuntu wiki and IRC chat channels have proven to be very good,
for me at least.
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ashley Glenday
Sent: Monday, 9 May 2005 12:48 PM
To: slug@slug.org.au
Subject: [SLUG] Ubuntu freezes after login on Athlon-64

Hey guys,

Just hoping you may be able to help me. I've got a fresh install of
ubuntu horay 64-bit on my Athlon-64 3500+ system and whenever I log into
X, after putting in my username and password the system completely locks
up.

Any ideas?

Thanks
Ashley

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


[SLUG] Suse 9.3 Net Install?

2005-05-04 Thread Visser, Martin
Anyone tried out the Suse 9.3 netinst, as per
SUSE-Linux-9.3-mini-installation.iso?

I got mine from http://ftp.iinet.net.au/pub/suse/Suse/i386/9.3/iso/ and
MD5SUM is correct etc, etc. 

When you have a few source options network or CDROM. Choosing CDROM only
lets you go into rescue mode. Choosing HTTP will go out the appropriate
mirror, it always is looking to load boot/root , appending it as a
suffix to the URL you specify. Now the only boot/root I can find is
http://ftp.iinet.net.au/pub/suse/Suse/i386/current/boot/root. The system
will try to load it but dies with an error, I think it is actually for
9.2 I have tried it on another machine with the same issue.

The structure of all the other Suse mirrors look the same (for instance
http://public.planetmirror.com/pub/suse/suse ). Googling doesn't offer
an answer.

I have had good success install previous versions of SuSe from CD, I
thought I would give a direct install a go now that I have a nice
broadband connection that allows me zero-metered downloads from the ISP
mirror.

Martin
  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Suse 9.3 Net Install?

2005-05-04 Thread Visser, Martin
 
Thanks for that, but why then is
http://ftp.iinet.net.au/pub/suse/Suse/i386/9.3/suse/i586/ full of RPMs?
Everything is there except the right initial root. (And this matches the
other mirrors).

  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: [EMAIL PROTECTED]

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Graham Smith
Sent: Wednesday, 4 May 2005 11:51 PM
To: slug@slug.org.au
Subject: Re: [SLUG] Suse 9.3 Net Install?

On Wed, 4 May 2005 23:38, Chris Deigan wrote:
 quote(Visser, Martin);

 http://public.planetmirror.com/pub/suse/suse ). Googling doesn't 
 offer an answer.

 iiNet's mirror has always been a funny one, I'd use something local 
 like planetmirror or mirror.pacific.net.au.

 -Chris.

The ftp version of SuSE 9.3 has not been released. Generally it is
released about 2 months after the boxed set hits the street.

--
Regards,

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


RE: [SLUG] running X11 app through Apache

2005-05-02 Thread Visser, Martin
Julio,

It seems what you are trying to do and what you are doing it with are
orthogonal. The apache web server is design to take requests via HTTP,
process them, and spit them out as HTTP. Usually this means a browser
sends a GET or POST request for a URL, and the Apache server returns,
HTML or XML which the browser displays.

X11 clients (the applications) use the X protocol, interacting directly
with the X server (which is the terminal). Mouse and keyboard events are
encapsulated in X by the terminal, sent to the client, which does some
processing, then sends the graphics draw instructions back to the
server. This is totally different to the type of interaction and
protocol of a web server.

Maybe if you explain specifically what you are trying to do, we might be
able to guide you.

Martin

  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Julio Cesar Ody
Sent: Monday, 2 May 2005 3:58 PM
To: slug
Subject: [SLUG] running X11 app through Apache

I tried to run a few GUI (X11) applications to run through my webserver,
but no success so far. They simply don't run, and no error appear in any
of my logs. Does anybody know how to do it?

I tried to do it through a PHP script, installed as an Apache module.
I'm pretty sure my Apache user has the correct permissions. I managed to
run anything just fine by using it on the shell, however, essentially
when trying to run via a script (HTTP Request), it just doesn't happen.

Any help is appreciated.

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


RE: [SLUG] Grabbing a copy of Linux

2005-05-02 Thread Visser, Martin
 
Also keep an idea on some of the mainstream computer mags. They tend to
put at least one of the distro's on the cover every month or two.
(Sometimes the newsagents have them cheap in the surplus bin). 

As said by another, Ubuntu, is a very good 1 CD distro.  

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserFROMhp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jarrah
Sent: Monday, 2 May 2005 9:35 PM
To: slug@slug.org.au
Subject: [SLUG] Grabbing a copy of Linux

Hi,
I'm a Sydney teenager and I'm sick of Windows. I've been a fan of Linux
for a while, I've got a copy of Knoppix, but recently I was at the
Australian Informatics camp and after using Debian for 10 days, it
depresses me to come home to my Windows box. I was wondering if you knew
where or how I could find some help with getting a copy of Debian with
the full KDE, and getting onto my machine so it will dual-boot, Windows
or Debian. Niether myself nor my friend (who also went to the camp,
despises Windows and wants to get Debian as a dual system) can download
the complete disks, and neither of us know how to safely install it on a
partition so it won't stuff up Windows, and Windows won't stuff it up.

If this isn't possible with Debian, a different flavour of Linux with
the KDE would be okay - but the Debian pre-release, which we used at the
camp, worked fine for everything we needed and we'd be happy with that.

Thanks,
 
--Jarrah


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


RE: [SLUG] Love Linux

2005-04-22 Thread Visser, Martin
You mean the machine doesn't get any use ...

1 user,  load average: 0.03, 0.01, 0.00

(Only joking!!) 


Regards, Martin

Martin Visser, CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 
Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tentmaker
Sent: Friday, 22 April 2005 10:41 PM
To: slug@slug.org.au
Subject: [SLUG] Love Linux

From one of the IT guys at my church about a firewall machine.
We do run other servers as well, but this is a testament to Linux.

[EMAIL PROTECTED] brett]$ uptime

  3:45pm  up 456 days,  6:24,  1 user,  load average: 0.03, 0.01, 0.00


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


RE: [SLUG] finding a file

2005-04-15 Thread Visser, Martin
If I am looking for quick wins i find du --max-depth=1 | sort -rn
always a nice way to find the directories that have the biggest impact
on disk space. (Often a lot of small files in part of the file hierarchy
are what fills disks)

Regards, Martin

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 
Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Julio Cesar Ody
Sent: Friday, 15 April 2005 12:29 PM
To: James Ballantine
Cc: slug@slug.org.au
Subject: Re: [SLUG] finding a file

A little bit lazy to figure how to get full paths, but

clean and simple: 

$ ls -RShl 

just the size and filename:

$ ls -Shl  | awk '{print $5   $8}'

no directories, just the size and filename:

$ ls -RShl  | grep -v '^d' | awk '{print $5   $8}'

there's probably easier ways to do it, but that's my 2 cents.


On 4/15/05, James Ballantine [EMAIL PROTECTED] wrote:
 Not quite what you wanted, but to get the largest files or directories

 in the current directory in order, you can use:
 
 du -cks * |sort -nr |head -n15
 
 This came from one of the O'Reilly UNIX books if I recall correctly.
 They suggested you alias it to 'ducks' for ease of typing.
 
 /james
 
 
 Ben Donohue wrote:
  Voytek wrote:
 
  I'm trying to find a specific file withing a web tree, what the way

  to do it:
 
  I tried this with no luck
 
  # locate /home/domain.org.au localconf.php only to get
  find: localconf.php: No such file or directory
 
 
 
  Further to this (and this is not an answer to the question above)
but
  I'm buggered if i can find the largest files on the hard disk and
list
  them in order.
  I've tried various arguements but can't seem to crack it.
  like find / -S -r (or -s) -name xxx|more
 
  Any ideas out there?
  Ben
 
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


-- 
Julio C. Ody
http://www.livejournal.com/users/julioody/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: FW: [SLUG] Possible hacker Attempt

2005-04-06 Thread Visser, Martin
BTW you can have finding the known vulnerabilities in your favourite
software from various sites - eg
http://secunia.com/search/?search=apache+buffer+overflow 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Phill
Sent: Thursday, 7 April 2005 9:32 AM
To: slug@slug.org.au
Subject: FW: FW: [SLUG] Possible hacker Attempt

Thanks Martin!! Very helpful

Regards,
Phill

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Visser, Martin
Sent: Thursday, 7 April 2005 9:19 AM
Cc: slug@slug.org.au
Subject: RE: FW: [SLUG] Possible hacker Attempt

Unfortunately a buffer-overflow is not only a Microsoft problem.

In simple terms, it occurs where an attacker is able to exploit a
programming flaw that allows a program to accept more data then it is
really designed for. Most programs that accept input from the network
(or other input device) will prepare a buffer, some memory space, to
accept that input. If the program is written correctly it should
validate the input or use other some mechnanism to ensure the input does
not exceed the size of the allocated buffer. However, in certain program
architectures, data that is accepted which is more than the buffer can
handle could overwrite existing program data. If this excess data is
craftily designed,  the program can be tricked to then execute this
excess data (which is now not just data, but now part of the compromised
programs instructions) and will run with the priveleges of the exploited
program. The excess data is a small chunk of compiled code specifically
designed to run on the target platform - it is usually caused by
inserting a jump in the normal code instructions.

In the Code Red example below the attacker is sending a GET request to a
web server. In a vulnerable IIS web server, the URL specified in the
request is much larger than it expected. This data ends up in the web
servers running program space, and is executed by the target system.
The Code Red worm can then do it's job to continue to seek and replicate
itself.  Code Red of course only can affect unpatched vulnerable IIS
servers.

Of course, there have been plenty of buffer overflows identified in
Linux based applications, Microsoft-based systems are just a bigger (and
presumably more lucrative) target. Most program development projects
actively check their code for the possibility of buffer-overflows -
hopefully they find the holes before potential attackers do. There is
also work being done on various hardware and software architectures that
limit the ability of unauthorised code to execute on a platform.

 For the average user, provided you limit your internet facing profile
using a firewall configured to only let necessary traffic in , and are
vigilant in patching your systems, you are as safe as you can be.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Lowndes
Sent: Thursday, 7 April 2005 7:30 AM
To: Phill
Cc: slug@slug.org.au
Subject: Re: FW: [SLUG] Possible hacker Attempt



Phill wrote:
 I am also curious. How does this attack work? I understand the idea of

 filling up a buffer with junk but then

As Gottfried said, on Linux it doesn't work, but on IIS it causes a
buffer overflow which then allows uncontrolled access for the exploit -
or something like that - I don't pay btoo much attention to Microsoft
type problems.


 Regards,
 Phill


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
 Of Gottfried Szing
 Sent: Thursday, 7 April 2005 1:39 AM
 To: slug@slug.org.au
 Subject: Re: [SLUG] Possible hacker Attempt

 hi


GET /default.ida?X...(lots of X's)...X



%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801
%u

9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a

 HTTP/1.0

404 300 - -


 isn't that the code red worm? still in the wild?


SEARCH /\x90\x02\xb1\.. (x02\xb1\ repeats hundreds of times) 
.\ x02\xb1\x90\...(repeats hundreds of 
times)...\x90\x90\x90\x90\x90\x90 414 341 - -


 AFAIR this is an request that uses an exploit of the IIS and webdav 
 component (unchecked buffer).

 but as long as you don't have IIS and windows running, nothing to fear

 about. both attacks works with IIS only and can be ignored on apache.
they
 are just annoying (messing up the logs) but they cannot compromise the

 system.

 cu

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


--
Howard.
LANNet Computing Associates - Your Linux people http://lannet.com.au
--
When you just want a system that works, you choose Linux; When you want
a system that just works, you choose Microsoft.
--
Flatter government, not fatter government; Get rid of the Australian
states.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq

RE: [SLUG] Monitoring APIs

2005-03-30 Thread Visser, Martin
Tess,

You probably can find what you want by just manipulating the output cat
/proc/stat using perl|c|java or whatever. 


You can also look at the standard monitoring tools in
http://freshmeat.net/projects/sysstat/ and see what they do.


There are even nice remote monitoring tools in existance like
http://www.xs4all.nl/~wpd/symon/


Regards, Martin

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 
Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tess Snider
Sent: Thursday, 31 March 2005 1:51 PM
To: slug@slug.org.au
Subject: [SLUG] Monitoring APIs

Do any of you know of a library that can be used to track linux system
performance data in real-time?  I don't need to log it.  I need to be
able to aggregate load information about multiple machines in one place,
in real time, so I can optimally balance a distributed application.  If
I can just find a library that will do the performance tracking, I can
handle writing the glue-piece to get it to report back to the
aggregator.  Any suggestions?

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


RE: [SLUG] Fwd: [LINK] unix time = 11111111111 about mid-day today.

2005-03-17 Thread Visser, Martin
Umm the next number after 111 is 112 (we're talking a
decimal number of seconds since the beginning of the current epoch Jan 1
1970 here, not a binary value)

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Friday, 18 March 2005 12:37 PM
 To: slug@slug.org.au
 Subject: Re: [SLUG] Fwd: [LINK] unix time = 111 about 
 mid-day today.
 
 Hi,
 
 actually the subject is wrong! 
 the counter will hit
 11
 then...
 100
 
 kr,
 Luke
 
 18Mar2005 @ 11:06 Rick Welykochy thusly spake
  For those who put stock in interesting numbers 
  fyi - Unix time in seconds will hit all 1's just before 
 mid-day today 
  :) $ date; date +%s Fri Mar 18 10:20:56 EST 2005
  101656
 
 -- 
/  /  _
   /_ /_/ / /=
   0421 276 282
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Link X Window

2005-02-20 Thread Visser, Martin
From my dim past assuming you have the the correct Imakefile then
xmkmf was the correct incantation to create the Makefile.

If you want samples of raw X programming then you probably should dig
up sources for classics like xeyes, xclock or even xterm. I think that
http://mirror.aarnet.edu.au/pub/X11/contrib/applications/ has a lot of
these I would imagine they pretty follow the lines of X, X toolkit, X
intrinsics, etc. (I really feel like I'm an archaeologist digging up
these old bones - having hobby hacked with Perl, Gtk+ and Java over the
last years I really thought that any braincells devoted to the old X
stuff should well and truly gone on vacation :-)

Martin

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: [EMAIL PROTECTED]
 
This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Saturday, 19 February 2005 3:35 PM
 To: slug@slug.org.au
 Subject: Re: [SLUG] Link X Window
 
 On Sat, 19 Feb 2005 12:08:22 +1100, Benno 
 [EMAIL PROTECTED] wrote:
  On Sat Feb 19, 2005 at 12:03:01 +1100, Colin Carter wrote:
  I am getting unresolved messaged for functions like:
  
TheDisplay = XOpenDisplay(  );
XCloseDisplay( TheDisplay );
 
 This means that you have to add the right *development* 
 libraries to your linker path, as Benno explains below.
 
  
  From memory I use -lX11, and -L/usr/X11R6/lib/.
 
 Maybe even better (but also from memory, might be out of 
 date) - dig about Imakefiles, this is the way X11 programs 
 were ment to be compiled, it should take care of finding the 
 right paths and I suspect also the right libraries.
 
 The main point is that you'll have to have development 
 libraries on your system.
 
 --Amos
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] a nice question

2005-02-08 Thread Visser, Martin
I have a very easy fix for this - you want to limit the rate at which
read or write the data. As tge gzip/tar process will then have lots of
breathing time for CPU/disk intensive operations:

There is a very nice pipe viewer/rate limiter called pv

1. So write your command so it uses stdout to write (or read) the file:

 gzip -c big_file  small_file.gz

2. Now use pv to view the rate at which it runs

 gzip -c big_file | pv  small_file.gz

This will show output like:-

3.33MB 0:00:02 [ 1.7MB/s] [ =

3. Now use pv to rate limit

 gzip -c big_file | pv -L 100k  small_file.gz

You get output like this

 292kB 0:00:03 [  98kB/s] [  =

As gzip is only allowed to write 100kB per second it continually yields
CPU cycles back to the kernel.

I grabbed pv from http://www.ivarch.com/programs/pv.shtml

Martin




Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Benno
 Sent: Wednesday, 9 February 2005 11:40 AM
 To: Steve Kowalik
 Cc: slug@slug.org.au; David
 Subject: Re: [SLUG] a nice question
 
 On Wed Feb 09, 2005 at 11:36:13 +1100, Steve Kowalik wrote:
 On Wed, 9 Feb 2005 11:12:11 +1100, David uttered
  I guess this is the point of the question. Is there a way of 
  prioritising so that the effect of tar running is minimised.
  
 Sure. Start tar and then renice the process to 20 (it will only run 
 when nothing else wants to), man renice for more information.
 
 But nice only effects the CPU usage, and doesn't do anything 
 with the amount of buffer cache being thrashed, or the memory 
 bus being killed by disk transfers or the increased seek 
 times for any other applications, etc, etc, etc.
 
 Fixing this would be an interested project for aspiring 
 kernel hackers :
 
 Benno
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] top command - looking for a site that explains the runningprocesses

2005-01-09 Thread Visser, Martin
For non-interactive system processes you should google for documentation
that describes init, the grand-daddy of all processes, and
/etc/inittab and the scripts in the /etc/init.d directory which
effectively configure init. (chkconfig also drives the /etc/init.d
configuration). Of course each of the services/processes that is
configured here spawn subsequent processes - pstree is an excellent
command to show these relationships. Finally cron kicks off scheduled
processes at various times. (Each distro has different ways of managing
these through the GUI so you need to look at the System Admin section of
your distro manual).

Depending on what you do interactively of course will also determine
what processes run. The terminal, Gnome and KDE environments all kick
off processes at various times to support shells, toolbars, panels,
monitoring etc.

Unfortunately there is not really a single authoritive place to look at
why something is running. top is a great window into the
environment, but unfortunately you will need to do a little hunting to
determine the root trigger/cause. That being said, the great thing about
Linux is that it CAN be determined. I have found that even experienced
administrators in another unnamed environment often can't clearly
explain why something is or isn't running. (Hence the current dire issue
with spyware, trojans, etc). While everything in Linux may not be
clearly documented in plain English, somewhere the code is available for
perusal - though this may not help the newbie.

Good luck, Martin

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Elliott-Brennan
 Sent: Sunday, 9 January 2005 10:19 PM
 To: slug@slug.org.au
 Subject: [SLUG] top command - looking for a site that 
 explains the runningprocesses
 
 Hi,
 
 Can anyone direct me to a site that explains the running 
 processes shown by the command 'top'?
 
 I've had a bit of a look around, but the frequency of the 
 occurance of the term means that I've an excessive number of 
 non-useful results shown (and I'm not able to work out how to 
 set more stringent parameter)
 
 As I'm not that familiar with what is shown in the results 
 shown in the terminal window, I'm not able to work out if I 
 have processes running that shouldn't be, or that can be 
 stopped without crashing my machine.
 
 Thanks,
 
 Patrick
 
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Laptop as remote display?

2005-01-03 Thread Visser, Martin
Most brand name servers support this functionality through a special
chipset or daughterboard. You then have full access to BIOS and running
OS functions. On the HP Proliants it is called Remote Integrated Lights
Out (RiLO). You can even have virtual floppies and CDs (that are mounted
from your client machine) that enable remote hands off floppy and CD
installs. They also allow complete power cycling of the machines. Access
to RiLO cards can be via a separate ethernet interface (from the main
ethernet) or via serial port/dialup modem)

You may (or may not) be able to also get third-party boards that have
similar functionality.

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: [EMAIL PROTECTED]
 
This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Friday, 31 December 2004 1:40 AM
 To: Sydney Linux Users Group
 Subject: [SLUG] Laptop as remote display?
 
 It it possible, via a monitor cable plugged into a headless 
 machine, to display all the video signals (from boot time to 
 running an X session) in a window on another computer?
 
 I suppose the normal thing would be to buy a cheap 2nd hand 15
 monitor, yes?
 
 luke
 
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Laptop as remote display?

2005-01-03 Thread Visser, Martin
If you have more than one PC that you want to display then you might
also want to consider a KVM switch. This way you can have one keyboard,
video (monitor) and mouse and switch between inputs from your various
PCs. I have seen these from various outlets for around $60 to suit up to
4 PCs.

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Tuesday, 4 January 2005 2:06 PM
 To: Sydney Linux Users Group
 Subject: RE: [SLUG] Laptop as remote display?
 
 On  4 Jan, Visser, Martin wrote:
   Most brand name servers support this functionality through a 
  special  chipset or daughterboard. You then have full 
 access to BIOS 
  and running  OS functions. On the HP Proliants it is called Remote 
  Integrated Lights  Out (RiLO). You can even have virtual 
 floppies and 
  CDs (that are mounted  from your client machine) that enable remote 
  hands off floppy and CD  installs. They also allow complete power 
  cycling of the machines. Access  to RiLO cards can be via a 
 separate 
  ethernet interface (from the main
   ethernet) or via serial port/dialup modem)

   You may (or may not) be able to also get third-party 
 boards that have  
  similar functionality.
 
 Thanks Martin, but my situation was just a couple of white 
 box PCs at home, both of which have had their monitors die.  
 So I just wondered if there was a way to feed the RGB cable's 
 output as an input to another PC (a laptop), to display the 
 signal.  Since all that's needed in this circumstance is the 
 video signal, I thought there might have been a way to grab 
 the video as *input* from the laptop's external video connector
 - but I guess I'm showing my lack of electrical knowledge, 
 and the RGB is one way, not bi-directional.
 
 luke
 
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Test sorry

2004-12-12 Thread Visser, Martin
I betcha, well I am just guessing,  the line OS Kernel: Linux version
2.2.20 ([EMAIL PROTECTED]) (gcc version 2.95.4 looks a bad spammers mail
header to SpamAssassin. (Non fully-qualified email address)

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Michael Lake
 Sent: Monday, 13 December 2004 10:10 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [SLUG] Test sorry
 
 Hi all
 
 Here is another try. My prob about getting X running again is 
 attached as a gzipped file. I think the slug anti-spam is 
 deleting the message.
 
 --
 Mike Lake
 Caver, Linux enthusiast and interested in anything technical.
 
 
 -- 
 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 the University of Technology 
 Sydney. Before
 opening any attachments, please check them for viruses and defects.
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] NTPD FC3

2004-12-07 Thread Visser, Martin
Are you sure it is rejecting the source port? From reading the doc the
default should be that it accepts from any port. Have you checked NTP
version support - I imagine the FC3 ntpd is by default version 4 and
hence your older clients may not support that. Try setting version 3 or
2 in the config.

If you really think you that it is rejecting the non-123 packets then I
guess you could possibly use NAT/masquerading on the server for those
specific hosts.

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Howard Lowndes
 Sent: Wednesday, 8 December 2004 9:36 AM
 To: [EMAIL PROTECTED]
 Cc: UnknownMailList-SLUG
 Subject: Re: [SLUG] NTPD  FC3
 
 On Mon, 2004-12-06 at 23:06, [EMAIL PROTECTED] wrote:
  On Tue, Dec 07, 2004 at 08:53:36AM +1100, Howard Lowndes wrote:
   I have noticed with the implementation of ntpd in FC3 
 that it will 
   only respond to a local time check if both the SRC  DST 
 ports are 
   123.  If it gets a request from an unpriv SRC port then 
 it won't respond.
   
   Does anyone know how to fix this as I have some hardware 
 that uses 
   unpriv SRC ports.
  
  My reading of the man page would suggest that putting 'non-ntpport'
  in the 'restrict' line of your /etc/ntp.conf should do the trick.
 
 Ya, I fond the comment in the doco rather than the man page, 
 but the small problem is that it appears not to work.  If I 
 mod the line to
 read:
 
 restrict 192.168.252.0 mask 255.255.252.0 nomodify notrap non-ntpport
 
 then it still won't respond to unpriv source ports.
 
 Even including it in the restrict default line doesn't make 
 any difference.
 
 Real Bad Bummer.
 
  
  Matt
 --
 Howard.
 LANNet Computing Associates;
 Your Linux people http://www.lannetlinux.com
 --
 When you just want a system that works, you choose Linux; 
 when you want a system that just works, you choose Microsoft.
 --
 Flatter government, not fatter government; Get rid of the 
 Australian states.
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Mega X machine spec - ideas?

2004-12-07 Thread Visser, Martin
You probably want to use sar or the like on your existing machine to
get a baseline understanding of CPU/disk/network etc. Hopefully you can
extrapolate requirements from that. If the application onf the server is
particularly critical you might want to consider using a hardware
loadbalancer to front a server farm with a pair or more servers. This
will give redundancy as well allow you to scale as performance requires
it. You could even consider using blade servers if space/managability is
an issue.

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, 8 December 2004 10:18 AM
 To: [EMAIL PROTECTED]
 Subject: [SLUG] Mega X machine spec - ideas?
 
 Here's a spec to please the taste buds...
 
 I've a customer who has been win4lining for a couple of years 
 with great success.  Their setup goes:
 
 Windows PC. Cygwin. ssh -XCf -- Linux Box -- /bin/win 
 (win4lin runs on remote box, X forwards back to the Windows PC.
 
 They are looking at going from about 15 users to 80 users. 
 This means a machine upgrade of sorts. I was wondering what 
 sort of spec 'intel'-wise you would use to run:
 
 80 users logged on using X windows. Forwarding to Windows PCs 
 via SSH -XCf
 
 Those users will all be running win4lin.
 
 The windows app is a semi-intensive client/server arrangement 
 that generally requires about 64Mb at least of RAM to run.
 
 There is minimal requirement to access disk on that machine.
 
 There would be major network traffic happening.
 
 I would imagine that 80 ssh sessions would also generate a 
 fair amount of CPU usage.
 
 I'm thinking about the dual or quad operton processors from 
 someone like SUN... Has to be x86 unfortunately. Any ideas? 
 Beowolf clusters are not an option
 
 TIA
 
 
 Stuart Guthrie
 
 
 
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] find ot locate binary

2004-11-21 Thread Visser, Martin
A quick and dirty reply (using the locate database)  

export lookfile=gcc;locate $lookfile | grep -e .*/$lookfile$

This will find the file gcc (only). .*/ is greedy and should eat up
all directory names up to the last /

Of course Jill's find solution will look at the running filesystem
whereas locate only looks at the updatedb database since it was last
updated. (locate will be far quicker of course)

Martin

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bryan
 Sent: Monday, 22 November 2004 11:30 AM
 To: [EMAIL PROTECTED]
 Subject: [SLUG] find ot locate binary
 
 Hi,
 If I just want to 'find' or 'locate' a file called xyz rather 
 than all directories and filenames that contain that string 
 what would I enter at the command line?
 
 
 --
 Simon Bryan
 IT Manager
 OLMC Parramatta
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] PPP failure

2004-11-18 Thread Visser, Martin
I don't think your log is clear enough to determine the problem. Usually
I would expect to see a NACK for parameters that aren't being accepted
in the negotiation. If you can't increase the quality of the log, I
would suggest using something like Ethereal to monitor the link and
hopeful you then can see what is going on at a packet level. This should
give you the info you need.

(What's PSOS 2.5V anyway?)

Martin Visser ,CISSP
Network and Security Consultant
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Appanna
 Sent: Friday, 19 November 2004 4:52 AM
 To: [EMAIL PROTECTED]
 Subject: [SLUG] PPP failure
 
 Hello guys,
 I need help on the PPP. We have PSOS 2.5V and trying to run Tcp/Ip 
 over PPP.
 ConfReq timeout is 120 seconds. LCP Negotiation doesn't go thru and 
 eventually it timeouts.
 
 I am attaching the log below. Any help is greatly appreciated.
 Pls feel free to mail me at [EMAIL PROTECTED]
 
 --
 
 LOG_INFO: ChatDone: channel 1, status 1
 LOG_INFO: DialupDone: dialup chat success. channel 1 ConfReq
 id=0x1 LOG_INFO :fsm_sdata( LCP): Sent code 1, id 1 LOG_INFO
 :s: sending Configure-Request, id LCP 1
 LOG_ERR: async: missed ALLSTATIONS
 
 Input Pointer 0x1AD0A08 CIP 0x1AD0A08
 LOG_INFO :fsm_rconfreq( LCP): Rcvd id 1 Input Pointer 0x1AD0A08 CIP 
 0x1AD0A0C LOG_INFO :lcp_reqci: rcvd MRU Input Pointer 0x1AD0A08 CIP
 0x1AD0A12 LOG_INFO :( 1500 Input Pointer 0x1AD0A08 CIP 0x1AD0A16 
 LOG_INFO : ( ACK ConfAck id=0x1 LOG_INFO :lcp_reqci: rcvd ASYNCMAP 
 ConfReq id=0x1 LOG_INFO :( a LOG_INFO : ( ACK LOG_INFO :lcp_reqci:
 rcvd AUTHTYPE LOG_INFO :( c023 LOG_INFO : ( ACK LOG_INFO :lcp_reqci: 
 rcvd MAGICNUMBER LOG_INFO :( 608e9bac LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: returning CONF ACK LOG_INFO :fsm_sdata( LCP): Sent code 2,

 id 1 Input Pointer
 0x1AD0A08 CIP 0x1AD0A08 LOG_INFO :fsm_rconfreq( LCP): Rcvd id
 2 Input Pointer 0x1AD0A08 CIP 0x1AD0A0C LOG_INFO :lcp_reqci: 
 rcvd MRU Input Pointer 0x1AD0A08 CIP 0x1AD0A12 LOG_INFO :( 1500 Input 
 Pointer 0x1AD0A08 CIP 0x1AD0A16 LOG_INFO : ( ACK ConfAck id=0x2 
 LOG_INFO :lcp_reqci: rcvd ASYNCMAP ConfReq
 id=0x2 LOG_INFO :( a LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd AUTHTYPE LOG_INFO :( c023 LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd MAGICNUMBER LOG_INFO :( 608e9bac LOG_INFO : ( ACK 
 LOG_INFO :lcp_reqci: returning CONF ACK LOG_INFO :fsm_sdata( LCP):
 Sent code 2, id 2 Input Pointer
 0x1AD0A08 CIP 0x1AD0A08 LOG_INFO :fsm_rconfreq( LCP): Rcvd id
 3 Input Pointer 0x1AD0A08 CIP 0x1AD0A0C LOG_INFO :lcp_reqci: 
 rcvd MRU Input Pointer 0x1AD0A08 CIP 0x1AD0A12 LOG_INFO :( 1500 Input 
 Pointer 0x1AD0A08 CIP 0x1AD0A16 LOG_INFO : ( ACK ConfAck id=0x3 
 LOG_INFO :lcp_reqci: rcvd ASYNCMAP ConfReq
 id=0x3 LOG_INFO :( a LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd AUTHTYPE LOG_INFO :( c023 LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd MAGICNUMBER LOG_INFO :( 608e9bac LOG_INFO : ( ACK 
 LOG_INFO :lcp_reqci: returning CONF ACK LOG_INFO :fsm_sdata( LCP):
 Sent code 2, id 3 Input Pointer
 0x1AD0A08 CIP 0x1AD0A08 Input Pointer 0x1AD0A08 CIP 0x1AD0A0C LOG_INFO

 :fsm_rconfreq( LCP): Rcvd id 4 Input Pointer
 0x1AD0A08 CIP 0x1AD0A12 LOG_INFO :lcp_reqci: rcvd MRU Input Pointer
 0x1AD0A08 CIP 0x1AD0A16 LOG_INFO :( 1500 ConfAck
 id=0x4 LOG_INFO : ( ACK ConfReq id=0x4 LOG_INFO :lcp_reqci: 
 rcvd ASYNCMAP LOG_INFO :( a LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd AUTHTYPE LOG_INFO :( c023 LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd MAGICNUMBER LOG_INFO :( 608e9bac LOG_INFO : ( ACK 
 LOG_INFO :lcp_reqci: returning CONF ACK LOG_INFO :fsm_sdata( LCP):
 Sent code 2, id 4 Input Pointer
 0x1AD0A08 CIP 0x1AD0A08 LOG_INFO :fsm_rconfreq( LCP): Rcvd id
 5 Input Pointer 0x1AD0A08 CIP 0x1AD0A0C LOG_INFO :lcp_reqci: 
 rcvd MRU Input Pointer 0x1AD0A08 CIP 0x1AD0A12 LOG_INFO :( 1500 Input 
 Pointer 0x1AD0A08 CIP 0x1AD0A16 LOG_INFO : ( ACK ConfAck id=0x5 
 LOG_INFO :lcp_reqci: rcvd ASYNCMAP ConfReq
 id=0x5 LOG_INFO :( a LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd AUTHTYPE LOG_INFO :( c023 LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd MAGICNUMBER LOG_INFO :( 608e9bac LOG_INFO : ( ACK 
 LOG_INFO :lcp_reqci: returning CONF ACK LOG_INFO :fsm_sdata( LCP):
 Sent code 2, id 5 Input Pointer
 0x1AD0A08 CIP 0x1AD0A08 LOG_INFO :fsm_rconfreq( LCP): Rcvd id
 6 Input Pointer 0x1AD0A08 CIP 0x1AD0A0C LOG_INFO :lcp_reqci: 
 rcvd MRU Input Pointer 0x1AD0A08 CIP 0x1AD0A12 LOG_INFO :( 1500 Input 
 Pointer 0x1AD0A08 CIP 0x1AD0A16 LOG_INFO : ( ACK ConfAck id=0x6 
 LOG_INFO :lcp_reqci: rcvd ASYNCMAP ConfReq
 id=0x6 LOG_INFO :( a LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd AUTHTYPE LOG_INFO :( c023 LOG_INFO : ( ACK LOG_INFO
 :lcp_reqci: rcvd MAGICNUMBER 

RE: [SLUG] Lusers grabbing IP addresses - stopping them

2004-10-27 Thread Visser, Martin
The correct answer is that DHCP (and bootp) and in fact any simple
protocol that uses broadcasts to discover resources/services that it
will rely on need to run on a secure network infrastructure. This means
physical access as well as having control of the devices that use the
network. (As an example, Bugtraq this week has a discussion around the
fact that Altiris clients (software deployment ala Ghost) by default
trust a response to a multicast to find a software load server. Hence a
spoofing server can easily own the client machines)

There are usually software means to detect illicit use of IP addresses,
etc as stated by others. These are probably good to use in most
environment where your threat is dumb/smart users mis/malconfiguring
their machines. Also you should separate critical network resources on a
separate by an IP routing switch from your clients. This way clients
cannot steal say the server IP address even if they try. If DHCP clients
are on their own subnet/VLAN then they can only tread on each other's
toes.

If you really concerned about access to the network at Layer2/3 (before
operating system authentication/encryption comes into play etc) then you
need to look at things like IEEE 802.1x. (Yes, x is the working group
not a placeholder). This enables a smart LAN switch to authenticate the
client before it is allowed access to real network resources. (It also
allows the client to authenticate the network to assure that it is in
fact connecting to the network it expects to be before it starts using
it - very important in wireless environments)

Regards, Martin

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Howard Lowndes
 Sent: Thursday, 28 October 2004 10:33 AM
 To: Ken Foskey
 Cc: slug
 Subject: Re: [SLUG] Lusers grabbing IP addresses - stopping them
 
 On Wed, 2004-10-27 at 23:30, Ken Foskey wrote:
  On Wed, 2004-10-27 at 16:29 +1000, Howard Lowndes wrote:
   If you are running a DHCP server on a network and have a 
 block of IP 
   addresses which you make available, how can you stop a 
 (reasonably) 
   knowledgeable luser from explicitly grabbing an address from that 
   block by explicitly configuring their box with that address, thus 
   preventing that IP address from being recorded in the leases, and 
   hence you not immediately knowing that that box has been 
 attached to the network.
  
  arpwatch ?
  
  I was under the impression that dhcp will query an IP 
 before using it.
  I assume that it does a warning when this happens.
 
 It does, but if the one that has been grabbed is not the one 
 that dhcp is allocating then it could be some time before it 
 gets noticed, especially on a reasonably static network.
 
 I think a mix of snort, arpwatch and some awk'g on the dhcp 
 leases file might be the best move.
 
 --
 Howard.
 LANNet Computing Associates;
 Your Linux people http://www.lannetlinux.com
 --
 When you just want a system that works, you choose Linux; 
 when you want a system that just works, you choose Microsoft.
 --
 Flatter government, not fatter government; Get rid of the 
 Australian states.
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Graphic tablet

2004-10-17 Thread Visser, Martin
I didn't catch the original messages, but how does one determine
definitively which device to use for USB peripherals? I have been
delaying trying out my Acecad Flair graphics tablet until I managed to
get a Xfree with it all built in. (I had tried some earlier patches that
included the acecad driver but never seem to be able get them to
build. Anyways, it seems that my SuSe 9.1 pro has the acecad driver
built in. (It has /usr/X11R6/lib/modules/input/acecad_drv.o at least).

Now I know that there is supposed to a serial version of the tablet but
mine, as most are I expect is USB. The log from /var/log/messages shows
it is there :-

Oct 16 15:59:03 mau019b kernel: hub 1-0:1.0: connect-debounce failed,
port 3 disabled
Oct 16 15:59:03 mau019b kernel: usb 1-1: USB disconnect, address 3
Oct 16 15:59:03 mau019b kernel: usb 1-1: new low speed USB device using
address 4
Oct 16 15:59:03 mau019b kernel: usb 1-1: Product: USB Graphics Tablet
Oct 16 15:59:03 mau019b kernel: usb 1-1: Manufacturer: ACECAD

Oct 16 15:59:03 mau019b kernel: drivers/usb/core/usb.c: registered new
driver hi
ddev
Oct 16 15:59:03 mau019b kernel: hiddev96: USB HID v1.10 Device [ACECAD
USB Graph
ics Tablet ] on usb-:02:0e.0-1
Oct 16 15:59:03 mau019b kernel: drivers/usb/core/usb.c: registered new
driver hi
d
Oct 16 15:59:03 mau019b kernel: drivers/usb/input/hid-core.c: v2.0:USB
HID core
Driver

But it really isn't clear what device I should us in XFree86 is
/dev/usbmousenn or /dev/usb/hiddevnn or what? (In fact based on past
experience with USB mice it seems that a choice of a number of devices
may work.)

RANTMaybe it is me but it all seems pretty opaque unfortunately. Isn't
something like LSB being built for /dev? My top level /dev has 7437
entries which I think is just slightly over the top/RANT 

Anyone have a clear cluestick as to how this should definitively we
worked out. (BTW SuSe autodetects the hardware but when I allow it to
run Yast to presumably configure, it manages to crash the whole X
session)


Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Elliott-Brennan
 Sent: Sunday, 17 October 2004 9:57 PM
 To: 'James Gregory'; [EMAIL PROTECTED]; 'Ben de Luca'; 
 [EMAIL PROTECTED]
 Subject: RE: [SLUG] Graphic tablet
 
 Okay. Sorry for the delay... It wasn't caused by the 
 XF86Config suggestions :))
 
 
 Now, I have two suggestions going simultaneously (for which I'm very
 grateful) - one from Darren and one from James and Ben.
 
 1. James suggestion didn't fskc my X... everything SEEMS okay 
 and it sems to start fine. The pen is the same... no 
 different.
 
 2. Darren... 
 
 Your suggestion had been:
 
 
 
 # File generated by XFdrake.
  #
 **
  # Refer to the XF86Config man page for details about the 
 format of  # this file. 
  
 #*
 *
  Section Files
  # Multiple FontPath entries are allowed (they are concatenated
 together) 
  # By default, Mandrake 6.0 and later now use a font server
 independent of   
  # the X server to render fonts.
  FontPath unix/:-1
  EndSection
  
  Section ServerFlags 
  #DontZap # disable CrtlAltBS (server abort)
  #DontZoom # disable CrtlAltKP_+/KP_- (resolution 
 switching) AllowMouseOpenFail 
  # allows the server to start up even if the mouse 
 doesn't work EndSection
  
  Section Module
  Load dbe # Double-Buffering Extension
  Load v4l # Video for Linux   
  Load extmod
  Load type1
  Load freetype
  Load glx # 3D layer
  EndSection
  
  Section InputDevice
  Identifier Keyboard1
  Driver Keyboard
  Option XkbModel pc105
  Option XkbLayout en_US
  Option XkbOptions 
  EndSection
  
  Section InputDevice
  Identifier Mouse1
  Driver mouse
  Option Protocol ExplorerPS/2
  Option Device /dev/mouse
  Option ZAxisMapping 6 7
  EndSection
  
  #
  # The Tablet stuff, here we define what the tablet is  # 
 what drives it and some configuration options.
  # Here is where you will fiddle a bit to get the  # settings correct.
  #
  Section InputDevice
   Identifier  stylus
   Driver  aiptek
   Option  Device/dev/input/event0
   Option  Type  stylus
   Option  Mode  absolute
   Option  Cursorstylus
   Option  USB   on
   Option  KeepShape on
   Option  debuglevel20
  EndSection
  
  Section 

RE: [SLUG] Graphic tablet

2004-10-17 Thread Visser, Martin
Of course I have found most of my *specific* answers at
http://acecad.sourceforge.net/README . But it stills doesn't help me
with the *generic* issue of mapping physical device, how they are seen
through facilities such as dmesg and /var/log/messages, and even
usbview, and how one *knows* which /dev/device to specify.

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Visser, Martin
 Sent: Monday, 18 October 2004 2:50 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [SLUG] Graphic tablet
 
 I didn't catch the original messages, but how does one 
 determine definitively which device to use for USB 
 peripherals? I have been delaying trying out my Acecad Flair 
 graphics tablet until I managed to get a Xfree with it all 
 built in. (I had tried some earlier patches that included the 
 acecad driver but never seem to be able get them to build. 
 Anyways, it seems that my SuSe 9.1 pro has the acecad driver 
 built in. (It has /usr/X11R6/lib/modules/input/acecad_drv.o at least).
 
 Now I know that there is supposed to a serial version of the 
 tablet but mine, as most are I expect is USB. The log from 
 /var/log/messages shows it is there :-
 
 Oct 16 15:59:03 mau019b kernel: hub 1-0:1.0: connect-debounce 
 failed, port 3 disabled Oct 16 15:59:03 mau019b kernel: usb 
 1-1: USB disconnect, address 3 Oct 16 15:59:03 mau019b 
 kernel: usb 1-1: new low speed USB device using address 4 Oct 
 16 15:59:03 mau019b kernel: usb 1-1: Product: USB Graphics 
 Tablet Oct 16 15:59:03 mau019b kernel: usb 1-1: Manufacturer: ACECAD
 
 Oct 16 15:59:03 mau019b kernel: drivers/usb/core/usb.c: 
 registered new driver hi ddev Oct 16 15:59:03 mau019b kernel: 
 hiddev96: USB HID v1.10 Device [ACECAD USB Graph ics Tablet ] 
 on usb-:02:0e.0-1 Oct 16 15:59:03 mau019b kernel: 
 drivers/usb/core/usb.c: registered new driver hi d Oct 16 
 15:59:03 mau019b kernel: drivers/usb/input/hid-core.c: 
 v2.0:USB HID core Driver
 
 But it really isn't clear what device I should us in XFree86 
 is /dev/usbmousenn or /dev/usb/hiddevnn or what? (In fact 
 based on past experience with USB mice it seems that a choice 
 of a number of devices may work.)
 
 RANTMaybe it is me but it all seems pretty opaque 
 unfortunately. Isn't something like LSB being built for /dev? 
 My top level /dev has 7437 entries which I think is just 
 slightly over the top/RANT 
 
 Anyone have a clear cluestick as to how this should 
 definitively we worked out. (BTW SuSe autodetects the 
 hardware but when I allow it to run Yast to presumably 
 configure, it manages to crash the whole X
 session)
 
 
 Martin Visser ,CISSP
 Network and Security Consultant
 Consulting  Integration
 Technology Solutions Group - HP Services
 
 3 Richardson Place
 North Ryde, Sydney NSW 2113, Australia 
 
 Phone: +61-2-9022-1670
 Mobile: +61-411-254-513
 Fax: +61-2-9022-1800 
 E-mail: martin.visserAThp.com
  
  
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Elliott-Brennan
  Sent: Sunday, 17 October 2004 9:57 PM
  To: 'James Gregory'; [EMAIL PROTECTED]; 'Ben de Luca'; 
  [EMAIL PROTECTED]
  Subject: RE: [SLUG] Graphic tablet
  
  Okay. Sorry for the delay... It wasn't caused by the XF86Config 
  suggestions :))
  
  
  Now, I have two suggestions going simultaneously (for which I'm very
  grateful) - one from Darren and one from James and Ben.
  
  1. James suggestion didn't fskc my X... everything SEEMS 
 okay and it 
  sems to start fine. The pen is the same... no different.
  
  2. Darren... 
  
  Your suggestion had been:
  
  
  
  # File generated by XFdrake.
   #
  
 **
   # Refer to the XF86Config man page for details about the 
 format of  # 
  this file.
   
  #*
  *
   Section Files
   # Multiple FontPath entries are allowed (they are concatenated
  together) 
   # By default, Mandrake 6.0 and later now use a font server
  independent of   
   # the X server to render fonts.
   FontPath unix/:-1
   EndSection
   
   Section ServerFlags 
   #DontZap # disable CrtlAltBS (server abort)
   #DontZoom # disable CrtlAltKP_+/KP_- (resolution
  switching) AllowMouseOpenFail 
   # allows the server to start up even if the mouse doesn't work 
  EndSection
   
   Section Module
   Load dbe # Double-Buffering Extension
   Load v4l # Video for Linux   
   Load extmod
   Load type1
   Load freetype
   Load glx # 3D layer
   EndSection
   
   Section InputDevice
   Identifier

RE: [SLUG] mrtg + exim

2004-08-29 Thread Visser, Martin
This probably is close to what you want -
http://www.onlamp.com/pub/a/onlamp/2004/08/12/mailgraph.html

(As a hint for googling, RRD is generally now the engine of choice,
having been written by the author of MRTG)

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dean Hamstead
 Sent: Sunday, 29 August 2004 1:18 AM
 To: SLUG
 Subject: [SLUG] mrtg + exim
 
 if anyone has some nice mrtg config and scripts for 
 monitoring exim i would be really appreciative if you linked 
 or sent them
 
 ive googled away my evening without much love.
 
 would asking for graphs with rejections or even spam oriented 
 stuff be too much?
 
 well anything that would stop me having to start from scratch.
 
 thanks
 
 Dean
 --
 WWW: http://dean.bong.com.au  LAN: http://www.bong.com.au
 EMAIL: [EMAIL PROTECTED]   or   [EMAIL PROTECTED]
 ICQ: 16867613
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Network Testing

2004-08-17 Thread Visser, Martin
I know it might seem to be a sledgehammer to crack a nut, but Nagios is
a good service oriented monitoring tool that is OSS. 

BTW Most load-balancing devices that need to do service monitoring
simply open the service port and try to get a basic response that proves
that the service is up and operating. For instance for a web service
with a DB backend you might first do a simple HTTP GET of a static page
(and compare with a known result) and then do a simple DB query via the
web service to make sure the DB is running. Clearly some sort of
algorithm needs to be determined of when to declare a service down
(and when to declare it available again).

(Of course if you want a slightly bigger sledgehammer there is HP
OpenView (though not OSS) )

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Terry Collins
 Sent: Tuesday, 17 August 2004 10:06 PM
 To: Slug List
 Subject: [SLUG] Network Testing
 
 Curiosity question.
 
 everyone seems to be only using pings to test network connectivity.
 what do people do when they need to test a service?
 telnet IP PORT?
 
 Thinking of cheops functionality.
 -- 
Terry Collins {:-)}}} email: terryc at woa.com.au  www:
 http://www.woa.com.au  
Wombat Outdoor Adventures Bicycles, Computers, GIS, Printing,
 Publishing
 
  People without trees are like fish without clean water
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Network Testing

2004-08-17 Thread Visser, Martin
One thing about pinging a providers gateway is that for the router to
respond to the ping requires it's management functions to actually
process this request. Usually such functions are quite low in the
priority list (the routers primary function is to forward packets to the
destination by the optimal path, and not respond to ICMP requests). 

Also a single ping is a single IP packet. IP is by nature unreliable in
that instantaneous congestion, link failovers, etc will cause individual
IP packets to be lost. This is why you need protocols such as TCP to
provide reliable transport on top of IP. Thus loss of a single packet
does not significantly affect performance for most apps. (Loss of many
packets of course will). For instance when I have investigated networks
for issues supporting Voice over IP I have sent regular small bursts
(say 10 pings over 1 seconds at 15 second intervals) to understand if
there are is major issue with the network having burst losses. While an
individual packet loss is not likely to affect an app at all, a burst
loss often will. (VoIP is of course very sensitive to packet loss as
there is no recovery mechanism other than playing silence).

My suggestion if you are concerned that your ISP is not maintaining a
good level of service, rather than ping their gateways I would do HTTP
GETs to 3 or 4 major web sites. Pick say one hosted by your ISP, one or
two local to Oz and one or two that are international, and are going to
pretty well always be available. If you measure the response time to get
a small static file (say a GIF) you can then get a feeling of the
performance level through your ISP and their connection to the internet.
You of course need to figure how to interpret response times across the
different servers. This way you are not (falsely) interpreting a one or
two ICMP losses from a router as failure. 

Anyway just a few thoughts for discussion.

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: David [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 18 August 2004 10:10 AM
 To: Visser, Martin
 Cc: Slug List
 Subject: RE: [SLUG] Network Testing
 
 
 
 On Wed, 18 Aug 2004, Visser, Martin wrote:
 
  I know it might seem to be a sledgehammer to crack a nut, 
 but Nagios 
  is a good service oriented monitoring tool that is OSS.
 
 I've taken a quick look at this, but *for my purposes* I 
 can't see it's an improvement on just pinging.
 
 Problem:
 I've changed providors, and suddenly I'm getting outages that 
 THEY can't explain. We all suspect routing issues upstream, 
 but no one seems to be able to put a finger on it.
 
 My current solution:
 Run a script once per minute which pings Powertel's border gateway
 (border-gw015-ge02.powertel.net.au) and emails me if two 
 consecutive pings fail.
 
 Result:
 Averaging one failure/hour.. sometimes several consecutively.
 
 Question: Is it reasonable to expect ping -c 1 to be a true 
 indication of the network status? I understand that ping 
 waits one second before giving an error. That sounds like a 
 network problem to me. The normal
 ping is about 7 ms. I ran this same script for 3 years with 
 my previous providor (optus) and it only complained on the 
 rare occasions that there was a genuine, serious problem.
 
 BTW: Nagios looks terrific, but I have complete control of 
 the various services so they are less of a problem for me. 
 It's the network status that's giving me grief. As far as I 
 can tell, to prove the network is up Nagios basically does 
 something similar to what I'm already doing.
 
 
 David.
 
 
 
  BTW Most load-balancing devices that need to do service monitoring 
  simply open the service port and try to get a basic response that 
  proves that the service is up and operating. For instance for a web 
  service with a DB backend you might first do a simple HTTP GET of a 
  static page (and compare with a known result) and then do a 
 simple DB 
  query via the web service to make sure the DB is running. 
 Clearly some 
  sort of algorithm needs to be determined of when to declare 
 a service down
  (and when to declare it available again).
 
  (Of course if you want a slightly bigger sledgehammer there is HP 
  OpenView (though not OSS) )
 
  Martin Visser ,CISSP
  Network and Security Consultant
  Consulting  Integration
  Technology Solutions Group - HP Services
 
  3 Richardson Place
  North Ryde, Sydney NSW 2113, Australia
 
  Phone: +61-2-9022-1670
  Mobile: +61-411-254-513
  Fax: +61-2-9022-1800
  E-mail: martin.visserAThp.com
 
 
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Terry Collins
   Sent: Tuesday, 17 August 2004 10:06 PM
   To: Slug List
   Subject: [SLUG] Network

RE: [SLUG] /etc/profile

2004-08-16 Thread Visser, Martin
Short answer is :- In every running shell arrange to execute .
/etc/profile, which sources the script in /etc/profile. 


Long answer :- Don't follow the short answer unless you know what
/etc/profile does. /etc/profile is normally run once (and once only) by
the shell when it initializes. Clearly some commands that are in
/etc/profile (or run by /etc/profile) may not like being run twice.
Simple things line cd $HOME which is sometimes in /etc/profile may
also not what you want to do to a running shell. Also bear in mind that
you can't force changes onto a running shell - it is a simple sandbox
that needs to invoke commands to change its environment, rather than
have external commands change the environment from the outside.

Of course all newly launched shells will use the new /etc/profile.

(There is another alternative to the short answer and is running exec
sh in each shell which causes a reincarnation of a new shell in the
current process. This will kill any background running processes as
well. So this is effectively the same as killing the old and starting a
new shell)

(Big disclaimer here as I am not a shell guru, but hopefully you get the
gist)

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Luke (Terry) 
 Vanderfluit
 Sent: Monday, 16 August 2004 1:52 PM
 To: [EMAIL PROTECTED]
 Subject: [SLUG] /etc/profile
 
 Hi,
 is there a way to activate changes made to /etc/profile other 
 than rebooting the box? 
 
 I don't mean 'export PATH=$PATH:foobar'
 I want a change I make to /etc/profile to become active 
 system wide, not just in one terminal,
 
 kind regards,
 Luke
 --
 
 Luke (Terry) Vanderfluit 
 Mobile: 0421 276 282 
 
 
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] passing parameter to a shell script

2004-08-02 Thread Visser, Martin
$1 will hold the first argument

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Voytek
 Sent: Tuesday, 3 August 2004 9:17 AM
 To: slug
 Subject: [SLUG] passing parameter to a shell script
 
 How do I pass a parameter to a script, I have something like, 
 and, I'd like to run it as:
 
 awstatsproc thisdomain.tld
 
 # cat awstatsproc
 #Script Start
 
 for j in `seq -w 1 12`; do
   for i in `seq -w 1 31`; do
 if [ -s /home/%name.com.au%/logs/2004-$j-$i-access.rog ] ; then
   /usr/local/awstats/wwwroot/cgi-bin/awstats.pl 
 -logfile=/home/%name.c om.au%/logs/2004-$j-$i-access.rog 
 -config=www.%name.com.au% -update
 fi
   let i=i+1
   done
 let j=j+1
 done
 
 #Finished
 
 btw, whats a good reference site for shell scripts info ?
 
 
 
 
 --
 Voytek
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] tcl script - help needed

2004-07-28 Thread Visser, Martin

If you have a look at your Tk installation you should find a demos
directory. On RHEL 3 it is in /usr/share/tk8.3/demos. Run wish widget
and you should get a nice array of sample apps with fairly easy to
understand code. (filebox.tcl and colrs.tcl are probably closest to your
reqs)

Martin

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ken Foskey
 Sent: Wednesday, 28 July 2004 11:29 PM
 To: slug
 Subject: [SLUG] tcl script - help needed
 
 
 I need to write a tcl script to provide a GUI over a shell 
 script.  Like every other work project this is a yesterday 
 project and I cannot find a site easily on how to write tcl.  
 I have a sample script but it is fairly rough, so I have the 
 'script structure' it is the gui elements that I need help 
 with.  The tcl site, scriptix i think, is a little broken and 
 does not give me a direct pointer to gui guides.
 
 
 I need to:
 
 Generate a file list and allow users to select a list of 
 files from a single user selectable directory.
 
 If they select a single filename then the filename should be 
 dropped into a text box so that the user can change the filename.
 
 suck in a list of printers from a parameter file and create a 
 drop box from that list of names.  Name will then be built 
 into a command line.
 
 Has anyone got any pointers to sample code or a tutorial that 
 can help me do this?
 
 --
 Thanks
 KenF
 OpenOffice.org developer
 
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Definitive URLs/Experiences on Linux box provide VPN servicethrough to Windows Domains

2004-07-25 Thread Visser, Martin



I 
haven't actually configured this up yet, but hundreds of HP's Linux dudes use 
this to PPTP connect to our Windows managed network.

http://pptpclient.sourceforge.net/

Martin Visser ,CISSP 
Network and Security Consultant 
Consulting  
Integration Technology Solutions Group - HP Services 
3 Richardson Place 
North Ryde, Sydney 
NSW 2113, Australia 
Phone: 
+61-2-9022-1670 Mobile: +61-411-254-513 Fax: +61-2-9022-1800 
E-mail: 
martin.visserAThp.com 
 


  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Gavin 
  TomlinsSent: Wednesday, 21 July 2004 11:12 PMTo: 
  [EMAIL PROTECTED]Subject: [SLUG] Definitive URLs/Experiences on 
  Linux box provide VPN servicethrough to Windows Domains
  
  Greetings 
  all,
  
  as per topic 
  header, I'm currently in the process of setting up Linux box for VPN into a 
  Windows Domain. I'm interested in hearing other people's 
  experiences,references,URL'sand recommendations. The current 
  scenario is to bypass IPSEC due to logistics overhead and use PPTP 
  withWindowsproviding the user authentication 
  mechanism.
  
  I've done the 
  usual trawl, though if people have any pointers they would be well 
  received.
  
  Regards
  
  Gavin
  
  
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Home LAN IP details

2004-07-08 Thread Visser, Martin
Usually each of your PCs will register their hostname with the DHCP
server when they ask it for an IP. Your modem/router will probably have
a web page (look for status or somesuch) that will reveal the names, IP
address and MAC (ethernet) address it knows about. Often they also act
as a DNS and as such will also reveal the name to IP address mapping via
DNS. You can query this with the command nslookup hostname
router_ip.

A lot of these router/modems even support WINS (the old Windows
dynamic name service), you can query this with nmblookup -U router_ip
-R hostname.

BTW Almost certainly the IP allocated is not associated with the
physical port. Usually allocation is simply out of the next one
available in the pool of addresses for DHCP. 

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of bill
 Sent: Friday, 9 July 2004 2:44 PM
 To: [EMAIL PROTECTED]
 Subject: [SLUG] Home LAN IP details
 
 
 I have a home LAN  - 3 PC's networked via an ethernet switch 
 and connected to the 'Net via a modem/router.
 
 The PC's IP's are generated by the modem/router via DHCP.
 
 AS the IP assigned appears to depend on the socket on the 
 ethernet switch to which the PC is connected, and as  each PC 
 is running a different OS or Linux distro ( some of which are 
 lacking access to basic commands such as ifconfig), and 1 PC 
 is running without monitor/keyboard/mouse  and is accessed 
 via tightvnc, is there a command or a GUI that will give me 
 the hostnames and IP's of each PC connected to the LAN?
 
 I have googled and read many networking/vnc howto's etc with no luck.
 
 thanks in advance
 
 BILL
 
 --
 SLUG - Sydney Linux User's Group Mailing List - 
 http://slug.org.au/ Subscription info and FAQs: 
 http://slug.org.au/faq/mailinglists.html
 
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Developing FOSS while employed developing proprietarysoftware

2004-06-02 Thread Visser, Martin
My company basically owns my IT brain while I am employed for them, so anything I 
develop in an area of HP's business is considered theirs.  This might seem restricting 
to some, but they do have a specific program which allows HP employees to register 
their involvement in OSS projects. Involvement of course if reviewed to ensure that 
investment in development of proprietary IP (intellectual property) isn't fritted 
away. I imagine community benefit versus opportunity to sell a product is always the 
consideration. Approved projects of import are recognised by linking at the 
http://opensource.hp.com site. Also employees are encouraged to submit any inventions 
they have which are reviewed and submitted for possible for development and subsequent 
recognition. I would imagine that most enlightened companies might have a similar 
approach. 

Assuming that your employer is providing you opportunities to develop and grow your 
knowledge and skills (and not stifling them) it seems only fair that they own a the IP 
in your head, and should get first option as far as its use.

(Of course this isn't an official HP position, just my view from where I sit)

Martin

Martin Visser ,CISSP
Network and Security Consultant 
Technology  Infrastructure - Consulting  Integration
HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670    
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
  
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Pivot display monitor?

2004-05-20 Thread Visser, Martin
Hi,

I'm thinking of buying a pivot type LCD monitor (you can rotate the monitor from 
landscape to portrait mode), a HP L1730 in fact. Does any know whether these only work 
with certain graphics cards? And is there a signal that is sent from the monitor that 
alerts the card that it's mode is changed (from 1280x1024 to 1024x768 I guess)? How 
does this work with XFree86?

I have googled for info on this, but nothing of substance seems to come up. Hopefully 
someone out there groks displays and X enough to know the answer to this.

Martin

Martin Visser ,CISSP
Network and Security Consultant 
Technology  Infrastructure - Consulting  Integration
HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670    
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
  
--
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   >