[SLUG] Filesystem help for a non-expert

2014-04-22 Thread Grant Bailey

Hello,

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


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


Thank you,

Grant Bailey




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


Re: [SLUG] Linux Exchange Alternative

2014-01-30 Thread Grant Street

On 31/01/14 08:38, Tom Worthington wrote:

On 30/01/14 14:40, David Lyon wrote:


... Lightning Calendar ... runs inside Thunderbird ...

Yes, I find with Lightning and LookOut installed in Thunderbird, I can
cope in a Microsoft world.


what's even better is using the "Exchange EWS Provider"  extension to 
thunderbird and lightning. I get

Global address book
Exchange contacts
Exchange tasks
Exchange Calendars including free and busy time of colleagues.
Public folders(able to read contacts and calendars stored in public folders)
It can cache for offline use
Out of Office settings can be configured from within thunderbird

Developer is very active, can be configured automatically or through the 
GUIthe developer version is generally very stable.


Go to his website to get the latest 
http://www.1st-setup.nl/wordpress/?page_id=133


HTH

Grant

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


[SLUG] Fwd: Re: Smallest and Cheapest Linux Computer ?

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


Regards,
Grant Bailey


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



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


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

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

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



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

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

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

2012-06-21 Thread Grant Street
My Guess would be that the LibreOffice and thunderbird is using a 
different file browser eg nautilus rather than dolphin. The share that 
you mapped in Dolphin looks like it is only availible in dolphin.

To check this from the command line run
mount
and look for a smb mount. This command would show you the OS/system 
level mounts. What I suspect is either dolphin does not create a system 
mount or it does just in a weird path.


* These are some guesses I have made, having not used dolphin nor fedora 
17 :-)


I don't know offhand a GUI tool to do network system mounts. They can be 
setup easily using  fstab, autofs etc. the trick with samba is if you 
need authentication AND security... if you do need both have a look at 
pam_mount.


HTH

Grant


On 21/06/12 19:57, Ben Donohue wrote:

Hi all,

Just loaded Fedora 17.

In the file manager Dolphin, I have mapped a SMB share (to a NAS box)
and it works correctly.

When saving a file in LibreOffice or saving an attachment in
Thunderbird, or some other app, they don't list the network share that
has been mapped in Dolphin. Even after a reboot in case it needs it.

Seems really weird to me. If I map a drive or network share, you would
think it would become available to all applications, like MS Windows
does. However I sure as hope not that all applications have to map the
drive.

So, how does one map a drive in Fedora and make it available to ALL
applications when saving files? (and without a reboot)

Thanks,
Ben



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


Re: [SLUG] Inverting network interfaces

2012-05-21 Thread Grant Street

Couple of things here


1 modprobe config file (location depends on distro)
Make sure you set the driver to the correct device

2  /etc/sysconfig/network-scripts/ifcfg-*
Match the DEVICE=  and HWADDR= lines listed in these files with those 
listed in modprobe config file.


My advice would be to do the following

1 remove any driver lines in modprobe files
2 remove all HWADDR and DEVICE lines from the ifcfg files
3 reboot
4 Determine which order the devices are detected first (should be the 
onboard eth0)

5 Determine what needs to be done from there.

Grant


On 22/05/12 13:21, Amos Shapira wrote:

What distro is it? I RH distros you can stick the MAC address on the
interface configuration file under /etc/sysconfig/network-scripts/ifcfg-*
On May 22, 2012 10:35 AM, "Edwin Humphries"
wrote:


G'day,

I have a rather weird problem. We've installed a router device at one of
our customers; it is a Via motherboard and has therefore a Via Rhine
network interface on the motherboard (eth0) and a Realtek 8139 network
interface on a PCI card. For some reason, the drivers for the two network
interfaces seem to spontaneously invert, with the Realtek driver applying
itself to the Via port (and usually working OK!) and the Rhine driver to
the Realtek port (and sometimes not working - but sometimes working as
well). This does not follow any outside action, although the customer has
learned that rebooting the system (cleanly) solves any non-working
interface issue.

Can anyone shed any light on this?

NetSense Computers logoRegards,
Edwin Humphries
View Edwin Humphries's profile on LinkedIn<http://au.linkedin.com/in/**
edwinhumphries<http://au.linkedin.com/in/edwinhumphries>>
Mobile: 0419 233 051
NetSense Computers (Ironstone Technology Pty Ltd)
79 Barney St (P. O. Box 423), Kiama, NSW, 2533
Phone: +61 (0)2 4233 2285
Fax: +61 (0)2 4233 2781
Web: http://www.netsensecomputers.**com.au<http://www.netsensecomputers.com.au>

Find us on Facebook Facebook<http://www.facebook.com/**
netsensecomputers<http://www.facebook.com/netsensecomputers>>
Like us on LinkedIn LinkedIn<http://www.linkedin.com/**
company/1500222?trk=NUS_CMPY_**FOL-pdctd<http://www.linkedin.com/company/1500222?trk=NUS_CMPY_FOL-pdctd>





--
This email is intended for the named addressee/s only and may contain
confidential or privileged information. If you are not a named addressee
please delete it and notify the sender.
--

"/At every moment he beholdeth a wondrous world, a new creation, and goeth
from astonishment to astonishment, and is lost in awe at the works of the
Lord of Oneness./" Baha'u'llah, The Seven Valleys
"./.. humans are interesting. With all the wonders there are in the
Universe, they invented boredom./" Terry Pratchet, Hogfather
"/The most beautiful thing we can experience is the mysterious. It is the
source of all true art and all science. He to whom this emotion is a
stranger, who can no longer pause to wonder and stand rapt in awe, is as
good as dead: his eyes are closed./" Albert Einstein
/"Stuff your eyes with wonder ... live as if you'd drop dead in ten
seconds. See the world. It's more fantastic than any dream made or paid for
in factories./" Ray Bradbury


--
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] High System CPU usage and finding culprit

2012-05-08 Thread Grant Street

16 core, 12-24G memory running centos 6.1

On 09/05/12 10:08, David Lyon wrote:

Are they dual core ?

Do they have a sheetload of memory ?

I found ubuntu got slower and slower till I got in
newer hardware.


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


[SLUG] High System CPU usage and finding culprit

2012-05-08 Thread Grant Street

Hello

I have some desktop linux machines that have periods of extremely high 
system time (30-90%) with no obvious cause. The users see it as a hang 
or a freeze to the point of 10sec for a key press to register. it comes 
and goes seemingly randomly but only lasts max about 1-2 min.


What I'm after is any hints on how to track down whats causing this.

Symptoms
- load average is low (sub 1)
- No process is consuming a lot of cpu (from top)
- No swapping is occurring at the time
- plenty of free memory
- no/low IOwait%
- IRQ% is 0
- Still has Idle available
- nothing in dmesg

Any help or investigation tips would be appreciated

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] Force mounting usb storage read only

2012-04-03 Thread Grant Street

Hello All

Before I post to the Centos list I was wondering if you all had any ideas.

Due to compliance requirements we are looking to be able to force 
mounting of usb drives to be read only.


We originally thought of black listing the usb-storage kernel modules. 
Although it is very simple to implement, it is probably a bit too 
restrictive.


I am getting confused however what exactly is doing the auto mount for 
desktop machines and how to introduce different mount options eg ro .


I found that Centos 6 has udev, HAL,  udisks and gvfs and trying to 
decipher who does what is a bit daunting.


I know that all bets are off for the root user, I am just looking for a 
solution for average user logging in graphically.


Thanks in advance

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


Re: : [SLUG] Re: Raspberry Pi

2012-03-05 Thread Grant Street
I have ordered one from the Australian distributor. Not sure  yet 
probably xbmc


Grant

On 06/03/12 10:17, Michael Fox wrote:

Hello All,

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

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

Thanks

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


Martin,

I'd agree with you in general; however, I'm an Atrix owner, and I really
don't see how it can claim to be in any way functionally equivalent to a


NetSense Computers logoRegards,
Edwin Humphries
Mobile: 0419 233 051
NetSense Computers (Ironstone Technology Pty Ltd)
79 Barney St (P. O. Box 423), Kiama, NSW, 2533
Phone: +61 (0)2 4233 2285
Fax: +61 (0)2 4233 2781
Web: http://www.netsensecomputers.**com.au<http://www.netsensecomputers.com.au>


--
This email is intended for the named addressee/s only and may contain
confidential or privileged information. If you are not a named addressee
please delete it and notify the sender.
--

"/At every moment he beholdeth a wondrous world, a new creation, and goeth
from astonishment to astonishment, and is lost in awe at the works of the
Lord of Oneness./" Baha'u'llah, The Seven Valleys
"./.. humans are interesting. With all the wonders there are in the
Universe, they invented boredom./" Terry Pratchet, Hogfather
"/The most beautiful thing we can experience is the mysterious. It is the
source of all true art and all science. He to whom this emotion is a
stranger, who can no longer pause to wonder and stand rapt in awe, is as
good as dead: his eyes are closed./" Albert Einstein
/"Stuff your eyes with wonder ... live as if you'd drop dead in ten
seconds. See the world. It's more fantastic than any dream made or paid for
in factories./" Ray Bradbury


On 5/03/2012 5:22 PM, Martin Visser wrote:


Doesn't a SoC board, with a few USB ports, ethernet, video and audio out,
just become a PC with the addition of a USB hub providing fanout to a
keyboard, mouse and a bit more storage?

Just like the mobile device manufacturers (to wit Motorola with Atrix and
Asus with Transformer ) want us to think, the distinct category of "PC" is
fast disappearing.

Regards, Martin

martinvisse...@gmail.com


On 2 March 2012 07:57, Edwin 
Humphries

**wrote:


  Sorry to be so ignorant, but I haven't heard of the Raspberry Pi before.

The posts seems to indicate it as a mini PC; however, it seems to be
just a
SoC board?

NetSense Computers logoRegards,
Edwin Humphries
Mobile: 0419 233 051
NetSense Computers (Ironstone Technology Pty Ltd)
79 Barney St (P. O. Box 423), Kiama, NSW, 2533
Phone: +61 (0)2 4233 2285
Fax: +61 (0)2 4233 2781
Web: http://www.netsensecomputers.com.au<http://www.**
netsensecomputers.com.au<http://www.netsensecomputers.com.au>>

--
This email is intended for the named addressee/s only and may contain
confidential or privileged information. If you are not a named addressee
please delete it and notify the sender.
--

"/At every moment he beholdeth a wondrous world, a new creation, and
goeth
from astonishment to astonishment, and is lost in awe at the works of the
Lord of Oneness./" Baha'u'llah, The Seven Valleys
"./.. humans are interesting. With all the wonders there are in the
Universe, they invented boredom./" Terry Pratchet, Hogfather
"/The most beautiful thing we can experience is the mysterious. It is the
source of all true art and all science. He to whom this emotion is a
stranger, who can no longer pause to wonder and stand rapt in awe, is as
good as dead: his eyes are closed./" Albert Einstein
/"Stuff your eyes with wonder ... live as if you'd drop dead in ten
seconds. See the world. It's more fantastic than any dream made or paid
for
in factories./" Ray Bradbury



On 2/03/2012 3:40 AM, Richard Ibbotson wrote:

  On Thursday 01 March 2012 16:20:15 Geoffrey Cowling wrote:


  Will Microsoft be able to lock this down?


  In some ways this is a good question.  As far I understand it M$

attempts to lock down the Arm platform in Europe will fail due to EU
law.  Not allowed to do what they want to do.  Might be that under
U.S. law they can do something ?  Not sure about the latter.  Whatever
else happens they will certainly use their marketing power to drive
out GNU/Linux from the ARM CPU in the way that they did from the Asus
EeePC.

Only Linux fans will know that Linux exists.  In the U.K. the Pi is
aimed at the educational market.  Which is owned by Microsoft under
direction from Whitehall.  Say n'more ?... Winduhs advert...

http://www.youtube.com/watch?v=jT3_UCm1A5I<http://www.youtube.com/watch?**v=jT3_UCm1A5I>
<http://www.**youtube.com/watch?v=jT3_**UCm1A5I<http://www.youtube.com/watch?v=jT3_UC

Re: [SLUG] Re: Raspberry Pi

2012-03-01 Thread Grant Street
The big thing is that it is essentially a small computer that is good 
enough to run quake, decodes h.264 etc


This means it opens up a whole lot to software/OS tinkers. They are able 
to create their own devices/projects with limited funds ~$40 and limited 
electronics knowledge.


eg They have been able to get XBMC on it, to create a htpc front end for 
the cost of raspbery pi, a mini usb charge cable (for power) and an SD 
card and may be a remote. No fans, spinning disks etc etc.


Some people are looking at it as a cheaper, smaller, lower power 
alternative to a shuttle pc . Think of the posibilities


People around the world were begging the developer to release it hence 
the interest.


yes it's early days, but with this much interest it's better to get this 
out. People don't need a case if they are making their own thing with 
it. It's not an apple product but no soldering is required.


HTH

Grant



On 02/03/12 07:57, Edwin Humphries wrote:

Sorry to be so ignorant, but I haven't heard of the Raspberry Pi before.
The posts seems to indicate it as a mini PC; however, it seems to be
just a SoC board?

NetSense Computers logoRegards,
Edwin Humphries
Mobile: 0419 233 051
NetSense Computers (Ironstone Technology Pty Ltd)
79 Barney St (P. O. Box 423), Kiama, NSW, 2533
Phone: +61 (0)2 4233 2285
Fax: +61 (0)2 4233 2781
Web: http://www.netsensecomputers.com.au

--
This email is intended for the named addressee/s only and may contain
confidential or privileged information. If you are not a named addressee
please delete it and notify the sender.
--

"/At every moment he beholdeth a wondrous world, a new creation, and
goeth from astonishment to astonishment, and is lost in awe at the works
of the Lord of Oneness./" Baha'u'llah, The Seven Valleys
"./.. humans are interesting. With all the wonders there are in the
Universe, they invented boredom./" Terry Pratchet, Hogfather
"/The most beautiful thing we can experience is the mysterious. It is
the source of all true art and all science. He to whom this emotion is a
stranger, who can no longer pause to wonder and stand rapt in awe, is as
good as dead: his eyes are closed./" Albert Einstein
/"Stuff your eyes with wonder ... live as if you'd drop dead in ten
seconds. See the world. It's more fantastic than any dream made or paid
for in factories./" Ray Bradbury


On 2/03/2012 3:40 AM, Richard Ibbotson wrote:

On Thursday 01 March 2012 16:20:15 Geoffrey Cowling wrote:

Will Microsoft be able to lock this down?

In some ways this is a good question.  As far I understand it M$
attempts to lock down the Arm platform in Europe will fail due to EU
law.  Not allowed to do what they want to do.  Might be that under
U.S. law they can do something ?  Not sure about the latter.  Whatever
else happens they will certainly use their marketing power to drive
out GNU/Linux from the ARM CPU in the way that they did from the Asus
EeePC.

Only Linux fans will know that Linux exists.  In the U.K. the Pi is
aimed at the educational market.  Which is owned by Microsoft under
direction from Whitehall.  Say n'more ?...Winduhs advert...

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

Best winduhs advert out there ;)



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


Re: [SLUG] mkdir

2012-02-13 Thread Grant Street

On 14/02/12 10:26, Cal Edwards wrote:

Hi.

I want to create directories and files under a specific directory with
specific ownerships and permissions.

The problem is that I create directories in a hierarchy of images from
digital cameras.
My family members need to be able to access those across the network via
samba shares.
When I create a directory I dont want to have to chown it to make it
accessible.
I cant give the family members access to my own group (the default of
mkdir).

What I do now is as follows:

First I create a top directory

mkdir topdir
chmod 775 topdir
chown luke:bridge topdir
cd topdir

Is there a way to do the following without having to use chmod and chown

mkdir subdir
chmod -R 775 /topdir
chown -R luke:bridge /topdir

Ok. I know I can use umask to set the permissions.
I want to be able to create a new subdir and be sure that it has the same
ownership as topdir.

Can anyone suggest a better solution?

Thanks.

Luke.

try
chmod 2775 topdir
that will set the permissions on the subdir correctly without doing a 
chown.


consider setting the primary group to be the same accross the whole 
family. that way whenever a file is created it will be the correct group.


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



Re: [SLUG] Subscription-based netfiltering (parentally speaking)

2011-06-21 Thread Grant Street

Have a look at

http://whitetrash.sourceforge.net/

* It protects against Malware attacks etc
* Can be used in conjunction with dansguardian
* the user's name is put against the whitelist entry
* Checks against google's safe browsings API
* authentication
* can run it in learning mode to start with ...

On 21/06/11 16:17, K L wrote:

Hi All,

does anyone know of any linux-based filtering software I can put in place to 
protect him from himself?

Requirements would be;

Subscription-based; so, someone out there keeping the list of sites, keywords, 
extensions, etc. up to date.
Ability for me to add to it for personal choice; - effectively contribute
Ability to IP (or MAC) restrict it's use; - so it's only him and not us.

I know of Dansguard, but AFAIA, that is a host-based solution.

What else is there pls?



--
Grant Street
Senior Systems Engineer

T: +61 2 9383 4800 (main)
T: +61 2 938 34882 (direct)
F: +61 2 9383 4801 (fax)

Animal Logic

*See our latest work at http://www.animallogic.com/work*

Please think of the environment before printing this email. This email
and any attachments may be confidential and/or privileged. If you are
not the intended recipient of this email, you must not disclose or use
the information contained in it. Please notify the sender immediately
and delete this document if you have received it in error. We do not
guarantee this email is error or virus free.



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


Re: [SLUG] Email Client

2011-06-13 Thread Grant Street



Daryl Thompson wrote:

I have been using evolution for years now and its been OK but now i want
to know is there a better email client then evolution, that do you think
of Thunderbirds?


I use thunderbird v3 every day a few things that you'll probably want...
* Lightning to give you inbuilt calender. You can also get this to 
work(ish) with hexchange. you can see busy and free schedules accept 
meetings etc. There are some caveats though...

* for contacts you can hook into Ldap/AD
* If your a google fan, have a look at zindus plugin you can synchronize 
contacts with your google contacts. and you can add your google calendar 
using lightning.


I really like the way you can switch between html and text. I default my 
emails to text but you can also handle HTML email eg If I receive a HTML 
email that would be too messy to reply using text just hold down the 
shift button while clicking reply and it will keep the HTML.


I also like "Edit as New"

Grant
--
SLUG - 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 Laptop Problems

2011-06-02 Thread Grant Street
Another obvious thing is to ensure you are using the correct audio 
device/output source. I have fallen fowl of booting with a USB webcam 
and it using the usb sound device by default and I had to change it. 
Also the volume in the mixer is is not set high enough or enabled for 
headphones.


I know this is pretty obvious, but sometimes the default behaviour is 
not intuitive and has caught me out :-)


Grant


On 02/06/11 18:04, Ben Donohue wrote:

Hi Bill,

have you tried booting with knoppix live cd?
(yes I know you've tried others)
Also there are winders live cd's like hirens that may boot and help
diagnostics.

On the touchpad, sometimes there is a small button next to the touchpad
that turns it off and on. I know... pretty obvious... but it happened to
me once. I just wasnt' expecting a button there.
Also is there a volume wheel near the audio... yeah I know pretty
obvious too but sometimes you see it. Also touch sensitive buttons above
the keyboard are sometimes used to turn hardware off and on.
When the hardware is off they are sometimes not lit up. You have to know
they are there.

Thanks,
Ben Donohue


On 2/06/2011 11:59 AM, gonzo01 wrote:

3 weeks ago I bought an MSI Cx640 laptop - 2nd Gen Sandy Bridge cpu,
USB 3 etc.

I'm running LinuxMint 11 (latest)

Problems:-

1) cant turn off touchpad - when using mouse, pointer/entered text
jumps all over the screen.

2) no audio from headphone/audio out port.

Excuse the long post, but here is info re system from both Mint and
Windows 7-


MSIlaptop

$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor
Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset
Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB
Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High
Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI
Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI
Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI
Express Root Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI
Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB
Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC
Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6
port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus
Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation Device 0ded
(rev a1)
03:00.0 Network controller: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host
Controller (rev 04)
05:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)


-

Mint touchpad info


linux mint 11 (HardInfo)

FSPPS/2 Sentelic FingerSensngPad

bus0x11
vendor2
product0xf
version0x0
connected toisa0060/serio2/input0


--

System Info Win7

NameConexant SmartAudio HD
ManufacturerConexant
StatusOK
PNP Device ID
HDAUDIO\FUNC_01&VEN_14F1&DEV_5069&SUBSYS_1462109C&REV_1003\4&2B51D37D&0&0001
Driverc:\windows\system32\drivers\chdrt64.sys (8.54.0.0, 1.51 MB
(1,581,184 bytes), 12/02/2011 12:23 AM)

NameBluetooth Audio Device
ManufacturerAtheros Communications
StatusOK
PNP Device ID
BTHENUM\{61118058-486C-4BB0-B4B8-ACE4DCADEC44}_LOCALMFG&\8&232D02A9&0&_
Driverc:\windows\system32\drivers\btath_a2dp.sys (1.0.0.0, 294.61
KB (301,680 bytes), 28/09/2010 5:13 AM)

NameIntel(R) Display Audio
ManufacturerIntel(R) Corporation
StatusOK
PNP Device ID
HDAUDIO\FUNC_01&VEN_8086&DEV_2805&SUBSYS_1462109C&REV_1000\4&2B51D37D&0&0301
Driverc:\windows\system32\drivers\intcdaud.sys (6.14.0.3074,
310.00 KB (317,440 bytes), 11/02/2011 4:11 PM)


---

Win7-Ss Info

mouse/touchpad

Hardware TypeUSB Input Device
Number of Buttons0
StatusOK
PNP Device IDUSB\VID_046D&PID_C05A\6&17E3CC55&0&1
Power Management SupportedNo
Double Click ThresholdNot Available
HandednessNot Available
Driverc:\windows\system32\drivers\hidusb.sys (6.1.7600.16385,
29.50 KB (30,208 bytes), 14/07/2009 10:06 AM)

Hardware TypeFinger Sensing Pad
Number of Buttons0
StatusOK
PNP Device IDACPI\STL

Re: [SLUG] Value of Red Hat certification ?

2011-01-03 Thread Grant Street

Hi

There are other certification bodies such as LPI. The course are cheaper 
and done through tafe I think.


You may get more mileage with experience rather than courses. Try to get 
as much hands on as possible by volunteering, being mentored, talking. 
Chat to your local friendly sysadmin :-)


Having a development background and experience is always a plus. Don't 
discount it.


Some organisations will train you up once you join especially when you 
are cross training eg going from solaris to RH


That being said , they are generally very good 
hands on courses. just make sure you match you ability to the pace of 
the cource. Even if you get the *NEW* Redhat Certified Systems 
Administrator replaces RHCT, you can at least say your certified


HTH

On 04/01/11 10:04, Aleksey Tsalolikhin wrote:

Hi, Rod.  You may find this lopsa-discuss thread of use:

http://www.mail-archive.com/discuss@lists.lopsa.org/msg00097.html

Good luck with your career!

Aleksey
(Unix/Linux sys admin)

On Thu, Dec 30, 2010 at 11:35 PM, Rod Butcher
  wrote:

I have a background in mainframe computer programming on IBM systems but
want to move out of programming into Linux support. I've rolled my own linux
kernnal&  apps for a few years and have a fair idea of how Linux works, but
only in a home-use environment.
So - I'm considering getting some proper qualifications and am considering
couses : Red Hat System Adminstrator + Network&  Security
Adminstration + Certified Engineer. Total cost = $AU 9100. Any opinions out
there about how good an approcah this is - can I get a better return on my
retraining investment ?
thanks
Rod
--
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] Virtualisation and DRBD

2010-08-24 Thread Grant Street
It depends on your level of availability. you can achieve 98% percent 
with Virtualised solutions and live migration or vmotion. This means 
migrating a functioning virtual server from one physical server to 
another with no outage. You just need some shared storage that has 
suitable raid levels and redundant network/fibre cards and switches. We 
use NFS as our shared storage and find it great.


This live migration has the advantage of
1 Migrate virtualised servers away from a physical host that requires 
maintenance.

2 Utilise both phyiscal servers or keep one in standby.
3 Straight forward recovery. Just boot the virtual machine on a 
different physical machine.

4 Scalable

The only downside is that if there is a hard failure, it is like someone 
tripped over the power cord. In a lot of scenarios if you decrease your 
planned outages to 0, this is acceptable.


The last 2% will require the biggest effort in designing, implementing, 
testing, testing and more testing, oh and don't forget the ongoing 
maintenance and documentation. It really depends on what is acceptable 
risk, acceptable downtime, acceptable data loss and therefore what you 
need to protection from. eg Disk failure, network failure, heartbeat 
failure, hardware failure, power failure,


HTH

Grant

On 25/08/10 12:46, Nigel Allen wrote:


Hi All

We're investigating both virtualisation of servers and High Availability
at the same time.

Currently looking at Linux-HA and DRBD (amongst others).

The idea of DRBD appeals to both me and the client as it means (or seems
to at least) that we could add a third (off-site) machine into the
equation for "real" DR.

What happens when we then introduce Virtualisation into the equation
(currently have 4 x servers running Centos&  Windoze Server - looking at
virtualising them onto one single box running Centos-5).

I suppose the (first) question is: If we run 4 virtualised servers (B,
C, D, and E) on our working server "A" (complete with it's own storage),
can we also use DRBD to sync the entire box and dice onto server A1
(containing servers B1, C1, D1, and E1) or do we have to sync them all
separately? Will this idea even float? Can we achieve seamless failover
with this. If not, how would you do it

Any input (as ever) gratefully accepted.

Confused at the Console

Nigel.







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


Re: [SLUG] System admin graphing tools

2010-02-25 Thread Grant Street

Have a look at zenoss  It's nagios and munin in one.

It does the alerting, threshholds, recovery actions and graphing all in 
one. Can monitor windo$e, vmware and talks nagios plugin format as well.


Grant

Ken Foskey wrote:

We all know we should do it.  Provide a monitoring system to see how our
system loads are going.  I have a couple of links that look interesting:

http://flapjack-project.com/
It is local so goes first :-)
Flapjack is a scalable and distributed monitoring system. It natively
talks the Nagios plugin format.

http://www.cacti.net/  (Language PHP)
Cacti is a complete network graphing solution...

http://munin.projects.linpro.no/ (Language Perl)
Munin is a networked resource monitoring tool that can help analyze
resource trends and "what just happened to kill our performance?"
problems. It is designed to be very plug and play. A default
installation provides a lot of graphs with almost no work.

http://oss.oetiker.ch/mrtg/
The Multi Router Traffic Grapher

http://support.nagios.com/knowledgebase
Cannot find a simple 'what is nagios' on website.
'Nagios is a host and service monitor designed to inform you of network
problems.' From whitepaper.

http://oss.oetiker.ch/smokeping/
SmokePing keeps track of your network latency

Any comments on the above and any others to add to the list?

Other reading:
http://wiki.nagios.org/index.php/White_Papers
Implementation of Cacti, Smokeping, Nagios (2004)


Based on a quick read, munin looks pretty good.


Ta
Ken




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


Re: [SLUG] MythTV hardware advice sought

2009-11-15 Thread Grant Street
I have never used nor affiliated with them but someone pointed me their 
way when I was thinking about a mythtv box and was worried about months 
of hardware research/cross checking/pricing etc

There is a open platform called Dragon
http://mythic.tv/index.php/dragon-v2-0.html
and a company in Aus that sell them
http://www.better-access.com/index.php?dest=order

Grant

John Clarke wrote:

Greetings Sluggers,

I'm planning to build a MythTV box & have come up with what I think is
suitable hardware to run it on, but I'm hoping that those of you with
MythTV experience will point out anything I've got wrong.

The box will be both back and front end and will be in the lounge room
in the cabinet with the amps, dvd player, etc, so it'll need to be
fairly quiet, especially when idle, but I don't want to hear much when
it's running either.  It's going to be inside a cabinet so doesn't have
to be stunningly beautiful, but I don't want it to look spectacularly
ugly either.  My budget is $2000.

I want HDMI video to the TV (LCD, 1080p), either with audio or with a
separate analogue audio cable.  I also want digital audio (S/PDIF,
preferrably coax) to the amp for better quality stereo or 5.1 audio.

I'd also like the option of watching either live TV, recorded programs
or ripped DVDs on any other PC on the LAN, at the same time as a
different program is being watched on the TV and maybe another is being
recorded.

I believe that all of the hardware I'm thinking of is supported by Linux
and MythTV, and although I don't think the necessary drivers are
packaged in any distro yet (I'm thinking of using the latest Mythbuntu,
only because everything else is running Ubuntu), I do know where to get
them.  This is my list of hardware:

Asus P5Q SE2 motherboard
Intel Core2Duo E7600 3.06GHz 1066MHz FSB
2GB PC6400 DDR2 RAM
Asus GeForce GT220 1GB DDR3 video card
1.5GB Seagate 7200 RPM SATA HDD (ST31500341AS)
Lite-On SATA 240x8 DVD-RW drive
Silverstone LC10-E case
500W power supply
Logitech diNovo Mini bluetooth keyboard

and either of:

Hauppage Nova-T-500 MCE dual tuner (PCI)
Hauppage 2200 MCE dual tuner (PCI-E)

I'll probably add a second tuner card once I've got it all up and
running.  We have occasionally wished for a third tuner in the past (not
often, there's not that much worth watching on TV), so I may as well
have four, just in case :-)

Is this hardware powerful enough to do all that I want?  Do I need more
CPU grunt?  More RAM?  More hard drives?  Bigger PSU?  Anything else?


The only other thing I can think of is remote control.  I'd like to be
able to control it from my Logitech Harmnony One remote, at least for
the most common tasks, so obviously I'll need some sort of IR receiver. 

From what I've read, the USB IrDA dongle I have is unlikely to work, so

I'll need something else.  All I've been able to find are receivers
bundled with remote handsets, but I already have half a dozen or so of
those gathering dust and don't need to add another one to the
collection.


Advice and suggestions will be gratefully received.  I'd like to order
the hardware next week, and I'd appreciate knowing that I've chosen
badly *before* I part with the money :-)


Thanks,

John


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


[SLUG] workspace switcher names not saving

2009-11-14 Thread Grant Parnell
On my Ubuntu 8.10 laptop I can set the names of the 8 workspaces I use
by right clicking and selecting preferences. Apparently this is
dependent on not having Compiz and among other things the video card
driver, in my case Nvidia.

The names of the workspaces only appear to last as long as the session
does. They survive a suspend and resume ok but logging out and logging
back in changes them back to the default of "Workspace 1" "Workspace 2"
... etc. I should point out that it DOES save my preference for the
number of workspaces and the number of rows they appear in. For now my
workaround is going by memory... ie "Workspace 2" is my web window,
workspace 1 is my mail window.

Has anyone else had this experience and/or found a workaround? Does it
happen in 9.04? Does it happen in Fedora 11?
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Iptables / Bridged

2009-11-14 Thread Grant Parnell
Andrew Hendrik Bootsma wrote:
> Hi Guys;
>
> I recently setup a server with a main ip of x.x.x.x and a subnet which I
> have bridged to an internal qtap0 adapter.
> My current iptables setup however blocks all traffic of the subnet, and
> when I allow the subnet;
> iptables -I FORWARD -s 213.133.127.0/29 -j ACCEPT
> iptables -I INPUT -s 213.133.127.0/29 -j ACCEPT
> It still continues to block all traffic to it; any ideas? I am fairly
> newbish with iptables.
>
> Andrew Bootsma
>
>   
So I think you're saying you've got a virtual machine on qtap0 inside a
physical machine with for argument's sake eth0 as it's physical
interface. Is this what you're saying? Or is qtap0 something like an
ethernet going to some other internal LAN? Doesn't matter greatly for
this discussion.

[LAN/WAN/Internet?]
 |
 |
[[eth0 x.x.x.x]
[ |
[ |
[[qtap0] 213.133.127.y]
[
[physical machine]


Firstly... `cat /proc/sys/net/ipv4/ip_forward` should result in '1'
being displayed. If not you need to adjust your /etc/sysctl.conf and
then reload it with `sysctl -p`. This is the master switch that says
your host is actually a router as well.

Secondly, and I suppose you've already done this, check that you can
ping the virtual from the host and that you can ping the host from the
virtual. If not, get that working first.

Next if the outside world has an appropriate route to your subnet (it
appears to) that's great. If not you'll have to NAT it's traffic coming
out of eth0 with something like `iptables -t nat -A POSTROUTING -s
213.133.127.0/29 -j MASQUERADE` which will translate everything to your
x.x.x.x address somewhat defeat the purpose of the /29 net but it'll work.

Next failing that you'll have to supply more information like what
x.x.x.x is, your routing table, your iptables setup. `iptables -t filter
-L -n -v` and `iptables -t nat -L -n -v` and some examples of the output
of tcpdump on eth0 and qtap0 concurrently. EG `tcpdump -n -i eth0 icmp`
in one terminal and `tcpdump -n -i qtap0 icmp` in another terminal. Then
pings from your virtual machine to a known IP address (avoiding DNS lookup).

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


Re: [SLUG] *buntu won't start X

2009-11-14 Thread Grant Parnell
Mike wrote:
>
> Ok I don't get this, I've got the same mobo on two machines and it'll
> work one but not the other. I've tried diff ram and hdds and still
> same result
>
> I try to boot into the live cd select English, then it will
> Load the glowing icon and dump me at a prompt that flashes, and it's
> got some instructions on how to use sudo I can see inbetween flashes
>
Sounds like a video hardware fault to me. Have you tried other LIVE CD's
and/or other operating systems? Does the BIOS have a GUI setup you can
get to? (ie a SETUP that uses GUI mode and a mouse).

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


Re: [SLUG] web based firewall config tool wanted

2009-09-22 Thread Grant Parnell
They don't have an openvpn client setup as far as I can tell. That is
pfsense and m0n0wall (monowall). Otherwise excellent choice.

Adrian Chadd wrote:
> Uhm, m0n0wall and its decendants?
>
> On Wed, Sep 23, 2009, Grant Parnell wrote:
>   
>> I'm finding it difficult to believe there's no simple web based firewall
>> configuration tool. I'm going to be running a cut-down Ubuntu-Hardy off
>> compact flash (read-only root filesystem) with mini-httpd and wish to be
>> able to configure either shorewall or ufw or even iptables directly with
>> a web browser. I can add in the bit that does the OpenVPN client config.
>>
>> I guess for round one it'll be non-customer configurable and I'll just
>> login with SSH and use ufw.
>>
>> I have looked at Fwbuilder and am tempted to go with that. It would
>> essentially push out the configs via SSH and execute them... assuming
>> the unit is reachable.
>>
>> -- 
>> 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] web based firewall config tool wanted

2009-09-22 Thread Grant Parnell
I'm finding it difficult to believe there's no simple web based firewall
configuration tool. I'm going to be running a cut-down Ubuntu-Hardy off
compact flash (read-only root filesystem) with mini-httpd and wish to be
able to configure either shorewall or ufw or even iptables directly with
a web browser. I can add in the bit that does the OpenVPN client config.

I guess for round one it'll be non-customer configurable and I'll just
login with SSH and use ufw.

I have looked at Fwbuilder and am tempted to go with that. It would
essentially push out the configs via SSH and execute them... assuming
the unit is reachable.

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


Re: [SLUG] Disclosure agreements and open source

2009-08-23 Thread Grant Allen

Armin Marth wrote:

Hello SLUGers,
I work on the help desk for a medical software company, and have
recently been given a disclosure and confidentiality agreement to
sign. I have been keeping a keen eye on open source software for
medical professionals and would like to eventually contribute to them.

The point I'd like to clarify is clause 2. "The Employee shall
acknowledge all inventions, discoveries and designs and all writings,
art-work, drawings, designs, computer programs (copyright works)
created during the course of your employment with the Employer,
belongs to the Employer."

See a copy at http://www.arminmarth.info/disclosure.pdf

Would this stop me from contributing to open source software if it's
in the same field as I currently work in?

I've been asked to sign this by Monday or I will not be able to work
on any health care related products, i.e. they'll force me to take
leave.

Thanks in advance.
Armin.



+1 for get legal advice.

IANAL, but I do hunt them for sport :-) ... so if you're still reading, this is 
not legal advice, only opinion.  I've dealt with exactly this type of claim 
before.  Your employer already has these rights in all Australian jurisdictions 
for anything you produce on company time or using company equipment/resources, 
under the work-for-hire doctrine (assuming here that you are an employee).  
However, outside work, and using your own equipment/resources, they have no 
such claim.  They don't need you to sign such a clause to enforce work-for-hire 
rights if that's what they're seeking.  If they're asking for blanket rights to 
things you do produce outside work, find the consideration (legal term meaning: 
the additional benefit they're giving you for you signing away these rights) in 
the rest of the agreement, and ask yourself if that's reasonable.  
Consideration can't be something you already have/have rights to (e.g. your 
existing job or benefits) ... it needs to be a new benefit.
 If there's no consideration, the clause won't stand, even if you do sign it, 
as it violates a fundamental tenet of contract law.  However, it may take legal 
action to force this point if push comes to shove.

You could ask your employer to clarify the clause to emphasise they're simply 
stating their work-for-hire rights, and have them adjust the text accordingly 
... that might make it clear exactly what it is they're after, and inform your 
options accordingly.

Ciao
Fuzzy
:-)


--
SLUG - 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 firewall/vpn devices wanted (and found)

2009-08-03 Thread Grant Parnell
Argh.. forgot to CC to SLUG earlier..

We have snapgear units at the moment. I have verified that while yes,
you can do policy routing, you can't specify the individual vpn as the
destination because they all go through interface ipsec0 (at least
applicable for SG530 and SG560).

I can't tell for sure from the reference manual for the Netgear FVS114
for example whether it can do the required policy routing for two or
more destinations with the same LAN IP address range. It talks about
"classic routing" which makes me doubt it can do it. Also couldn't find
and occurance of "GPL" in the ref. manual.

After researching all sorts of things all day today I'm really happy to
find the following Aussie company website:-

http://www.yawarra.com.au

They supply all the small form factor stuff I want and OS's like
monowall and BSD on compact flash ready to go.

We used to do something similar for via boxen at EverythingLinux. Who
knows, the new owners Babel.com.au might revive some of that.


Ricky C wrote:
> Netgear has VPN/Firewall around your price point. Snapgear (based on
> Linux) also had similar products - I have not use them for a long
> time. Cyberguard bought Snapgear, then McAfee bought Cyberguardetc
> so not sure what they offer now. But Snapgear used to have unlimited
> VPN, the usual blacklisting, SSL, url/keyword filtering, QoS,
> supports syslogd, if you want you could even get down to iptables
> level and configure "by hand". Think they are about $500-$600
>
> cheers
>
> >
> > Ricky C wrote:
> > > Hi Grant
> > >
> > > VPN/Firewall appliance are pretty cheap nowadays, for $500 you can get
> > > a decent one... lower initial setup effort and lower ongoing costs.
> > > why build your own ?
> > >
> > Why build my own indeed. This is why I stated that "My task is to
> > obtain/build a unit...". If you know of one that's already made that has
> > the features and the price point we'll just buy those.
> > > cheers
> > >
>
>
> 
> Get your vacation photos on your phone! Click here.
> <http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM>

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


[SLUG] linux firewall/vpn devices wanted

2009-08-02 Thread Grant Parnell
Something sub $500.00 that's small, runs linux and is customisable. It
probably should have 256MB of RAM and at least the same in flash and two
ethernet ports and at least one USB port.

Now I can probably do this with a small form factor box with a via
fanless motherboard in it.

I've looked at NSLU2 and similar but they're a bit light on RAM and flash.

My task is to obtain/build a unit to be the VPN endpoint for many
clients' LAN's and the client's LAN's may also have the same LAN IP
addresses. This means policy routing needs doing. Something I haven't
really had a chance to sink my teeth into yet. The customers will most
likely have one of the same boxes installed at their end.

I suppose I should also look at the requirements for IPCOP... it
*almost* does what I want.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Any Active Directory LDAP gurus?

2009-03-17 Thread Grant Parnell
I've not really dealt with LDAP much but for the application I'm writing 
it will need to act as an Active Directory Server at some stage in the 
future. We have our own database of people and when we set login='Yes' 
we need to create the user account and apparently a heap of other stuff 
such that people using Windows workstations can now login to the domain, 
email, proxy, ... etc with those credentials. I have it already doing 
the standard unix login with no LDAP. ie /etc/passwd, /etc/group, 
/etc/shadow.


I appreciate that this is a LOT of stuff and there is the possibility of 
payment to get this done. Haven't run it by the boss yet but from a time 
perspective it would take me far too long.


What I really need to know sooner rather than later is what data I need 
to store in our postgresql database. IE what the LDAP schema is. We can 
work out the other bits later.


I have done a little research and am now more confused than ever..

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

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


--
Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox 
Valley Rd Wahroonga  NSW  2076  |

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


Re: [SLUG] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-11 Thread Grant Parnell

david wrote:



Grant Parnell wrote:

Erik de Castro Lopo wrote:

Grant Parnell wrote:

 
Well I didn't find where to look at the logs but I did find out some 
very useful things.


1) After you setup with network manager you can just manually run 
wvdial from a terminal and it works and you get to see everything I 
was talking about.


2) It *IS* possible to insert the SIM into the device incorrectly. 
This results in every attempt to DIAL returning "ERROR" in a 
terminal program such as minicom using device /dev/ttyUSB0 for 
example. IE ATDT*99# = ERROR.


3) The Windows software gives you more explanation of ERROR - in our 
case something to the effect of "Error reading USIM card". Oh yeah 
an to spite claims to the contrary, the one we got we had to use the 
Install CDROM. This is because Windows XP wouldn't see the emulated 
CDROM - Ubuntu does but then the software on it's useless ;-)


4) Even before the software has been told to connect you see blue 
LED flashes indicating network availability (Windows & Linux), ONLY 
when the SIM is inserted correctly.



Does that mean you got the E180 working?

Erik
  

... And there's the videos of just how easy it is to setup!
http://www2.muli.com.au/Videos/



That's great.. just a shame that my E160G doesn't work :(
Does it make a difference that it's pre-paid? I read somewhere that it 
does. Does it make a difference that it was set up originally on OS X? 
(on which it worked perfectly)


When I plug in and select it in the networkmanager drop down menu, it 
asks for a password (what is that??).


The configuration tool has the following settings:

number: *99#
username: a
password: a
APN: 3netaccess
network: 
PIN: 
PUK: 

If anyone can enlighten me I would appreciate it.

thanks

David.


Oh the password thing is for sudo so it can run with root privileges, 
it's just the password you use to login to your desktop session.


It says in the little quick start guide thingy that if you're on 
pre-paid you have to Ring Three and get them to activate your service. 
It also says to change the APN to 3services. This can be done from 
Network Manager by right clicking and going into the setup or just 
editing /etc/wvdial.conf directly (not sure if NM will overwrite).



How's things?.. long time no see.

--
Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox 
Valley Rd Wahroonga  NSW  2076  |

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


[SLUG] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-11 Thread Grant Parnell

Erik de Castro Lopo wrote:

Grant Parnell wrote:

  
Well I didn't find where to look at the logs but I did find out some 
very useful things.


1) After you setup with network manager you can just manually run wvdial 
from a terminal and it works and you get to see everything I was talking 
about.


2) It *IS* possible to insert the SIM into the device incorrectly. This 
results in every attempt to DIAL returning "ERROR" in a terminal program 
such as minicom using device /dev/ttyUSB0 for example. IE ATDT*99# = ERROR.


3) The Windows software gives you more explanation of ERROR - in our 
case something to the effect of "Error reading USIM card". Oh yeah an to 
spite claims to the contrary, the one we got we had to use the Install 
CDROM. This is because Windows XP wouldn't see the emulated CDROM - 
Ubuntu does but then the software on it's useless ;-)


4) Even before the software has been told to connect you see blue LED 
flashes indicating network availability (Windows & Linux), ONLY when the 
SIM is inserted correctly.



Does that mean you got the E180 working?

Erik
  

... And there's the videos of just how easy it is to setup!
http://www2.muli.com.au/Videos/

--
SLUG - 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: network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-10 Thread Grant Parnell

Erik de Castro Lopo wrote:

Grant Parnell wrote:

Well I didn't find where to look at the logs but I did find out some 
very useful things.


1) After you setup with network manager you can just manually run wvdial 
from a terminal and it works and you get to see everything I was talking 
about.


2) It *IS* possible to insert the SIM into the device incorrectly. This 
results in every attempt to DIAL returning "ERROR" in a terminal program 
such as minicom using device /dev/ttyUSB0 for example. IE ATDT*99# = ERROR.


3) The Windows software gives you more explanation of ERROR - in our 
case something to the effect of "Error reading USIM card". Oh yeah an to 
spite claims to the contrary, the one we got we had to use the Install 
CDROM. This is because Windows XP wouldn't see the emulated CDROM - 
Ubuntu does but then the software on it's useless ;-)


4) Even before the software has been told to connect you see blue LED 
flashes indicating network availability (Windows & Linux), ONLY when the 
SIM is inserted correctly.


Does that mean you got the E180 working?

Erik


Oh yes. I forgot to say that. In a nutshell I was so impressed with the 
ease of the setup I'd like to repeat it on a fresh laptop and take a 
video capture of it and put it up on a website and send it and a link to 
Three's support people.



--
Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox 
Valley Rd Wahroonga  NSW  2076  |

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


[SLUG] Re: network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-10 Thread Grant Parnell
Well I didn't find where to look at the logs but I did find out some 
very useful things.


1) After you setup with network manager you can just manually run wvdial 
from a terminal and it works and you get to see everything I was talking 
about.


2) It *IS* possible to insert the SIM into the device incorrectly. This 
results in every attempt to DIAL returning "ERROR" in a terminal program 
such as minicom using device /dev/ttyUSB0 for example. IE ATDT*99# = ERROR.


3) The Windows software gives you more explanation of ERROR - in our 
case something to the effect of "Error reading USIM card". Oh yeah an to 
spite claims to the contrary, the one we got we had to use the Install 
CDROM. This is because Windows XP wouldn't see the emulated CDROM - 
Ubuntu does but then the software on it's useless ;-)


4) Even before the software has been told to connect you see blue LED 
flashes indicating network availability (Windows & Linux), ONLY when the 
SIM is inserted correctly.



Grant Parnell wrote:

0.7~~svn20081018t105859-0ubuntu1.8.10.2 network management framework daemon

I'm missing something... I wanted to find out how to monitor what 
NetworkManager's doing on Ubuntu 8.10.


Reason is we've just got a new 3G USB stick for the Three network. Model 
is E180.


NetworkManager brilliantly detected the device and I went through the 
wizard to setup and select the provider... all good. It *looks* like we 
aren't getting a signal as we only get the green double flash of the LED.


After ringing Three and confirming that the device was activated at 
their end we didn't really get any further... the usual "not a supported 
OS" stuff.


About the only thing I haven't tried since the upgrade is running up 
minicom on /dev/ttyUSB0 again.


In the bad old days of dialup analogue modems you could always tail -f 
/var/log/messages and see all the modem chatter and easily spot the 
problem. Darnit.. I wanna see the conversation.





--
Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox 
Valley Rd Wahroonga  NSW  2076  |

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


[SLUG] network-manager-0.7 where's the logs?

2009-03-09 Thread Grant Parnell

0.7~~svn20081018t105859-0ubuntu1.8.10.2 network management framework daemon

I'm missing something... I wanted to find out how to monitor what 
NetworkManager's doing on Ubuntu 8.10.


Reason is we've just got a new 3G USB stick for the Three network. Model 
is E180.


NetworkManager brilliantly detected the device and I went through the 
wizard to setup and select the provider... all good. It *looks* like we 
aren't getting a signal as we only get the green double flash of the LED.


After ringing Three and confirming that the device was activated at 
their end we didn't really get any further... the usual "not a supported 
OS" stuff.


About the only thing I haven't tried since the upgrade is running up 
minicom on /dev/ttyUSB0 again.


In the bad old days of dialup analogue modems you could always tail -f 
/var/log/messages and see all the modem chatter and easily spot the 
problem. Darnit.. I wanna see the conversation.


--
Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox 
Valley Rd Wahroonga  NSW  2076  |

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


Re: [SLUG] Document Management Systems or ECM

2008-12-09 Thread Grant Allen

Phil Scarratt wrote:

Hi all

Wondering what people's recommendations/experiences with document
management systems (or ECM systems) are?

I've got to select a DMS/ECM for a non-profit organisation (actually a
publisher) and have Nuxeo, Alfresco and OpenKM on the shortlist.

TIA
Fil


Hi Phil,

11 years in that industry must be good for something, I suppose :-).  Of the 
three DM/ECM products you mention, I have experience with Alfresco, and passing 
knowledge of Nuxeo (as well as far too many brain cells wasted on their 
proprietary brethren, e.g. Documentum, TRIM, Stellent/Oracle, IBM Content 
Manager)

There are a few issues outside of technology that you should think about regardless of 
your choice.  Are you after DM, or the whole ECM box-and-dice? (RM, DAM/Image management, 
Archiving, workflow/bpm, WCM ... and DM).  There is overlap, but ECM is a cumbersome 
beast if all you want is DM.  Are you prepared for the cost/effort?  Not talking about 
software here, but the key to successful DM/ECM projects is managing them as a change 
management exercise, which means "people" costs.  Making the change to a 
managed DM/ECM environment is often a huge cultural shift, and the best technology can 
wither and die if the organisation has a bad reaction.

On the Alfresco front, it definitely has some advantages.  There's local support here in 
Sydney, the product has a great roadmap, and John Newton's team seem quick to pick up the 
technology trends in ECM (e.g. they had CMIS prototype support in the same month the 
standard was announced).  Given my particular biases, I like it because it's also 
technology agnostic under the hood, giving you OS, database and app server choice.  
Another big plus is that it is definitely a "growing" product and company.  You 
aren't going to be left with orphan-ware in two years' time :-).  Other current trends 
they seem to be following are heavily tied to collaboration, so if that's a current or 
future requirement, it has some benefits.

Probably the only major gotcha I'd warn about is the enterprise version trap.  Some of 
the nice bells and whistles are only available in the paid version.  No problem with 
this, per se, it's their business model and best of luck to them.  They do, however, have 
an unusual support model where support partners agreeing to partner with Alfresco on the 
enterprise edition are contractually bound to *not* support the community edition.  
Again, that's not really a technology issue, more a business one.  You are in luck again, 
as there are both kinds of support available here in Sydney - enterprise partners who 
only do enterprise support, and other support outfits that support both (without the 
"ent. partner" label).

Anyway, that's my 2¢.  If that raises more questions for you, please feel free 
to contact me.

Ciao
Grant
:-)


Dazed and confused about technology for 20 years
http://fuzzydata.wordpress.com/


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


Re: [SLUG] How do I mount a RAID1 disk?

2008-12-07 Thread Grant Parnell - slug
Oh hi Mike, Raid 1 you should be able to mount as it's native filesystem 
for recovery in read-only mode. EG


mount -t ext2 -o /dev/sdb3 /mnt/recovery

You mentioned LVM. That's going to be your problem for now.
You need to make sure you have the lvm2 tools installed.
Try 'pvscan' it should list the physical volumes (aka partitions in this 
case).

'vgchange -ay' should 'activate' all the volume groups.
Then if that's done you should now find you've got some logical volumes...
'lvscan' will tell you.

Then it's going to be something like...
mount -o ro -t ext2 /dev/VolumeGroup/LogicalVolume /mnt/recovery

Note that I use the -o ro to mount read-only as you're less likely to fsck 
up the data.



On Wed, 3 Dec 2008, Michael Lake wrote:


Hi all

I am trying to get data off someones old machine that died and place it onto 
a new machine for them. The old machine had two Western Digital IDE drives as 
RAID1. I have inserted one of the drives into a new machine in place of the 
CDROM drive and connected it's IDE cable up and it shows up as /dev/sdc


/dev/sdc
sdc1
sdc2
sdc3
sdc5

Both of the drives show the same info above. By trying mount I can see that 
partition 2 is the swap, 1 is probably a /boot and the data that I wish to 
retrieve is on either or both of 3 or 5. See "Try to mount the Partitions" 
below.


I also used mdadm to get some detailed info on sdc5 (see below).

My problem is that I can't work out how to mount sdc3 (have tried -t ext3, -t 
reiserfs, -t auto) or sdc5. The latter is probably the one I want. I gather 
the partition table says it 'mdraid' and I need to change that?


I have two drives, and both give the same info. I just need to mount ONE of 
them and copy the data off it. I don't want to try and setup the original 
raid.

(PS: the machine I have one of them installed on is using mdraid and LVM)


Try to mount the Partitions
---
# mount -r /dev/sdc1 /mnt
mount: unknown filesystem type 'mdraid'

# mount -r /dev/sdc2 /mnt
/dev/sdc2 looks like swapspace - not mounted
mount: you must specify the filesystem type

# mount -r /dev/sdc3 /mnt
mount: you must specify the filesystem type

# mount -r /dev/sdc5 /mnt
mount: unknown filesystem type 'mdraid'


Use mdadm to examine these partitions
-

# /sbin/mdadm --examine /dev/sdc2
mdadm: No md superblock detected on /dev/sdc2 <-- as it's swap OK

# /sbin/mdadm --examine /dev/sdc3
mdadm: No md superblock detected on /dev/sdc3

# /sbin/mdadm --examine /dev/sdc5
/dev/sdc5:
 Magic : a92b4efc
   Version : 00.90.00
  UUID : b6035660:c11a8a2e:7026aea2:99d23bfc
 Creation Time : Wed May 14 15:10:36 2003
Raid Level : raid1
 Used Dev Size : 108486848 (103.46 GiB 111.09 GB)
Array Size : 108486848 (103.46 GiB 111.09 GB)
  Raid Devices : 2
 Total Devices : 2
Preferred Minor : 1

   Update Time : Tue Aug  5 21:07:20 2008
 State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
 Spare Devices : 0
  Checksum : b9113923 - correct
Events : 0.8311948

 Number   Major   Minor   RaidDevice State
this 0  3350  active sync

  0 0  33    50  active sync
  1 1  3451  active sync
[EMAIL PROTECTED] dev]#






--
--
Grant Parnell - LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[Fwd: Re: [SLUG] IOWait definition]

2008-10-08 Thread Grant Street



I have a machine with a good proportion of IOWait 20-30%. It does have
local disks and it performs operations on NFS mounts. I just wanted to
be sure if IOWait includes NFS activity or not. I also want a way if it
is NFS to be able to say for sure if it is a bottleneck on the nfs 
client or server. NFS is not a linux machine so visibility is not 
allways the best.


Grant

Daniel Pittman wrote:

Grant Street <[EMAIL PROTECTED]> writes:


I was wondering if someone could point me in the right direction for
some doco?


I don't know of any, but ...


I'm finding it hard to get a definition of what constitutes IOWait.
I know that IOwait is CPU time waiting for IO to happen to physical local
disks, but I'm unsure about the following scenarios and if they contribute to
IOWait:


Not quite.  IOWait is a *software* state, indicating that a process or
thread is blocked waiting for I/O to complete.

This is different from "CPU time waiting for ..." in that it implies the
software is making no progress, but *NOT* that your CPU is spending
cycles working on it.[1]


- CPU time waiting for an NFS read/write to occur


Yes, along with more or less any other "disk" I/O that happens to be run
over the network -- as long as it is synchronous, and something is
waiting on it.


- CPU time waiting for a network buffer to be read/written to. eg waiting for
  a full buffer to clear.


Generally not.  I am not certain about blocking on a full buffer
condition for sending data, but not for blocking while reading.


- Anything else??


Any other synchronous disk I/O, certainly.  Probably certain other,
related, conditions where the kernel developers feel that the process is
blocked on I/O.


PS. How do you set/query the network buffers in Linux?


Via the socket fcntl / ioctl interface, or via the sysctls in
/proc/sys/net, which are documented in the standard Linux kernel sysctl
documentation.


All that said, you might want to tell us why you are asking, not just
what, since I suspect there is a question about why you have so much
IOWait time on your system, or poor performance?

Regards,
Daniel

Footnotes: 
[1]  It does, technically, spend a few in terms of submitting and

 completing the I/O before it wakes up the blocked process, and
 various I/O devices need babysitting, but the principal is sound. ;)





Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you 
are not the intended recipient of this email, you must not disclose or use the 
information contained in it. Please notify the sender immediately and delete 
this document if you have received it in error. We do not guarantee this email 
is error or virus free.



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


[SLUG] IOWait definition

2008-10-07 Thread Grant Street

Hello

I was wondering if someone could point me in the right direction for 
some doco?


I'm finding it hard to get a definition of what constitutes IOWait.
I know that IOwait is CPU time waiting for IO to happen to physical 
local disks, but I'm unsure about the following scenarios and if they 
contribute to IOWait:


- CPU time waiting for an NFS read/write to occur
- CPU time waiting for a network buffer to be read/written to. eg 
waiting for a full buffer to clear.

- Anything else??

Grant

PS. How do you set/query the network buffers in Linux?

Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you 
are not the intended recipient of this email, you must not disclose or use the 
information contained in it. Please notify the sender immediately and delete 
this document if you have received it in error. We do not guarantee this email 
is error or virus free.



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


[SLUG] tuning a maximum load

2008-08-24 Thread Grant Street

Hello

I have a problem where I am running thirdparty software sporadically my 
machine(s) get into a state where they are responsive to pings but not 
ssh or a local console.


I suspect that it is generating a very high load but there is now way to 
confirm what is going on. I am thinking of two things


1 enable Magic SysRq to hopefully get somthing out of it.

2 Is there a way to tune the way/algorithm the kernel uses so that under 
load it will kill off processes earlier or more aggresively under 
extreme load.


Any other thoughts?

Grant


Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you 
are not the intended recipient of this email, you must not disclose or use the 
information contained in it. Please notify the sender immediately and delete 
this document if you have received it in error. We do not guarantee this email 
is error or virus free.



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


[SLUG] Re: missing drived in /proc/partitions ?

2008-07-28 Thread Grant Parnell

Grant Parnell wrote:

Er... this machine theoretically can't be running!

Platform, Ubuntu Hardy Server x86-64.


[EMAIL PROTECTED]:~# cat /proc/partitions
major minor  #blocks  name

   9 0 104320 md0
   9 1   15631168 md1
   9 24891712 md2
   9 3 987840 md3
   9 4 987840 md4
   9 51959808 md5
   9 6  463820544 md6
   832  156290904 sdc
   833  156288352 sdc1
[EMAIL PROTECTED]:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] 
[raid4] [raid10]

md6 : active raid1 sdb8[1]
  463820544 blocks [2/1] [_U]

md5 : active raid1 sdb7[1]
  1959808 blocks [2/1] [_U]

md4 : active raid1 sda6[0] sdb6[1]
  987840 blocks [2/2] [UU]

md3 : active raid1 sda5[0] sdb5[2](F)
  987840 blocks [2/1] [U_]

md2 : active raid1 sda3[0] sdb3[1]
  4891712 blocks [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
  15631168 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
  104320 blocks [2/2] [UU]

unused devices: 
[EMAIL PROTECTED]:~#



Just to follow up on this, it did get worse!
By the time we got to the customer's site to look at it essentially both 
drives had gone awol. Even the BIOS did not report them present.
Strangely when I took the system home last night I didn't have that 
problem. We measured the juice on-site and it varied from 190V to 247V 
AC yet their other computers didn't complain.


There's some anomalies in the attached and commented log extract though.
In particular, even though we didn't change ATA ports (although I may 
have swapped the two drives between the ports we did use). Yesterday we 
were getting errors on ata3: and ata4: and yet later it was on ata2: so 
WTF is with that?


Plus... so far on every SATA system I've got I've had SATA errors of 
SOME kind and things keep running normally so I'm finding it hard to 
tell what's of concern and what's not.


Anyway hopefully some SATA guru can tell me down the track.

For those that want a look at how a raid array dies view the attached 
file with zless.





summary.log.gz
Description: GNU Zip compressed data
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] missing drived in /proc/partitions ?

2008-07-27 Thread Grant Parnell

Er... this machine theoretically can't be running!

Platform, Ubuntu Hardy Server x86-64.


[EMAIL PROTECTED]:~# cat /proc/partitions
major minor  #blocks  name

   9 0 104320 md0
   9 1   15631168 md1
   9 24891712 md2
   9 3 987840 md3
   9 4 987840 md4
   9 51959808 md5
   9 6  463820544 md6
   832  156290904 sdc
   833  156288352 sdc1
[EMAIL PROTECTED]:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] 
[raid4] [raid10]

md6 : active raid1 sdb8[1]
  463820544 blocks [2/1] [_U]

md5 : active raid1 sdb7[1]
  1959808 blocks [2/1] [_U]

md4 : active raid1 sda6[0] sdb6[1]
  987840 blocks [2/2] [UU]

md3 : active raid1 sda5[0] sdb5[2](F)
  987840 blocks [2/1] [U_]

md2 : active raid1 sda3[0] sdb3[1]
  4891712 blocks [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
  15631168 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
  104320 blocks [2/2] [UU]

unused devices: 
[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] website or browser bug?

2008-07-22 Thread Grant Parnell

I'm trying to print this page out.
http://www.sbr.gov.au/content/accounting_bookkeeping_and_tax_professionals_taxonomy_2.htm

I've tried various browsers on Ubuntu Hardy (firefox, epiphany, galeon, 
konqueror...) plus firefox on Fedora Core 6. They all suffer the same 
issue which can be demonstrated by going to print preview. All I get is 
the url text. It seems to render on screen just fine. I've also turned 
off java & javascript in to see if that would do it.


This is just one of the pages we want to be able to print and look at 
from this site.


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


[SLUG] get out those old 8 bit micro tapes...

2008-06-18 Thread Grant Parnell
In a bizzare sequence of events I found this stuff...

http://www.baycom.org/~tom/ham/soundmodem/

I was listening to some music from my collection and came accross a track
called "The Bullfrog" by "GTO" from a techno mix (Reactivate Volume 10
CD). In any case there's some audio in the track that sounds remarkably
like a Commodore 64 cassette data stream. There's a long stream at the end
or the track that's fairly clean (ie no other 'music'). I've always
wondered what it decodes to so I set about looking for stuff and
essentially I bumped into pages about packet radio and soundcards and
found the above driver. Windows/Sparc/Linux versions available.

The binary's for Fedora 4 so I'll have a go at compiling from source
tomorrow.. it's too late for me tonight.

Sounds like I could be up for a historical talk at SLUG ;-)

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.

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


Re: [SLUG] MySQL replication and --replicate-ignore-table=

2007-12-08 Thread Grant Parnell

On Wed, December 5, 2007 11:45 am, Sonia Hamilton wrote:
> I'm working with MySQL5 replication at the moment. All is working fine
> except for one problem - there's a large table on the Master that I
> don't want to replicate (bandwidth), and the Master is running MySQL4.
>
> The MySQL manual refers to --replicate-ignore-table=db.tbl, but my
> understanding of this is that the Slave retrieves all data made
> available by the Master, *then* discards data based on ignore rules,
> thus not solving my bandwidth issue.
>
> Can anyone confirm or deny this?
>
> Any suggestions for getting around the problem?

Hardly optimal but we did manage to get around it by running another MySQL
server on the LAN and doing the ignore on that, then replicating from that
to the remote site. We had a physical server laying around but these days
something like OpenVZ or KVM (or other virtualisation systems) would do
the trick. Actually... you don't have to do that either... I just
remembered I did run another mysql server on a different port on the same
machine.

Perhaps one day some enterprising person might somehow manage to 'proxy'
the replication more efficiently.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.

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


Re: [SLUG] terminal via email

2007-11-14 Thread Grant Parnell

On Thu, November 15, 2007 6:58 am, Voytek Eymont wrote:
> some time ago, I came across a utility that would process a terminal
> command in an email body, and, email back the output;
> but I don't recall what it was,
> anyone knows of such tool ?

It's pretty dangerous unless you've got a secure email (eg PGP signed &
encrypted) but consider this:-

In your .procmailrc file you have some conditions to identify the message
you want to process (eg sender, subject, special string) then you tell
procmail to pipe that message through a filter which you write (or
obtain).

A shell script like this might inspire you:-

#!/bin/bash

grep "^##" | sed -e "s/^##//" | xargs sh | mail -s "command output"
[EMAIL PROTECTED]

Of course there's the original system... UUCP (Unix to Unix CoPy) which
was kinda designed to do what you want but not many people operate uucp
mail services anymore. It was the thing that started the internet,
pre-dates ethernet and TCP/IP.

uucico -s mynode "[EMAIL PROTECTED]" (from memory).

Used this for transfer of Orders/Invoices in an EDI back-end on a
mainframe with a Linux web server front-end.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


Re: [SLUG] vncviewer version 4.x on debian/ubuntu

2007-10-23 Thread Grant Parnell - slug

On Tue, 23 Oct 2007, David P wrote:


On 10/19/07, Grant Parnell <[EMAIL PROTECTED]> wrote:

What's the story with running VNC version 4 on Ubuntu etc?


Try installing "xvnc4viewer" (as opposed to the default "xvncviewer").



D'oh thanks for that, works a treat and I notice it has options for 
clipboard transfer... I'll probably have to upgrade the server end to 
experiment with that (it's 4.0 on Fedora Core 6).


 -- 
--

Grant Parnell - LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] FC 5 sound problem

2007-10-22 Thread Grant Parnell

On Fri, October 19, 2007 8:55 am, Luke Vanderfluit wrote:
> Hi.
>
> I know theres some sound experts on this list.
> Im running kernel 2.6.18-1.2239.fc5
> Realplayer 10.0.8
>
> I have this problem where I try running realplayer after Ive used the
> sound device through another application (usually through opera).
> I get a
> /~~~
> 'Cannot open the audio device. Another application may be using it.'
> \__
>
>
> I cant get the machine to release the sound card.
> This is a recurring problem. At times I can kill artsd. Other times
> there is no artsd running.
>
> The only way Ive gotten my sound back is rebooting.
> But that is so reminiscent of windows I dont want to go there any more.
>
> Any suggestions?

Well SOMETHING is obviously hanging onto the sound device. If you're prone
to having applications directly access the sound device you're likely to
run into this problem. There's a bunch of sound system LAYERS available
for GNOME/KDE depending on what stage of evolution your system's at. Try
esound-daemon (esd) on FC5. Then you change the apps to use this sound
system layer which is sort of like a software mixer thus allowing multiple
applications (and the desktop's bells and whistles) to access the sound
device concurrently. The situation has drastically improved in Fedora Core
6 and Fedora 7. You should also try turning off your GNOME/KDE's desktop
sound effects to help eliminate that problem.

I'm not an expert on desktop audio but there's a lot of stuff there to
play with.. OSS, ESD, Arts, Jack, ALSA (and stuff like ALSA's ESD
emulation), Network Sound System (or was it Network Sound Daemon?)

Also at a lower level... go to the command prompt and check out the fuser
and lsof commands. something like "fuser /dev/mixer", "lsof |grep dev
|less"

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] vncviewer version 4.x on debian/ubuntu

2007-10-22 Thread Grant Parnell
What's the story with running VNC version 4 on Ubuntu etc? For quite some
time version 4's been available and gets installed in Fedora 7 for example
yet the other camp's stuck on 3.3. Normally I wouldn't be too fussed but
version 4's just so much faster on the wire. Gotta get around to trying
the NoMachine (nxclient) - is there a version of it for Windows/Mac though
(like just in case I have to use it).

Or tell me which repository I'd have to enable to get VNC 4.x (not
tightvnc, but realvnc... ie realvnc.org). I couldn't be bothered compiling
from source on every workstation I care to use.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


Re: [SLUG] mdadm/fstab mismatch (fuller explanation)

2007-10-12 Thread Grant Parnell

On Wed, September 26, 2007 9:27 pm, Erik de Castro Lopo wrote:
> Hi all,
>
> I've got something thats been bugging me for a while. I have an Ubuntu
> Fiesty box which has this in /etc/mdamd/mdadm.conf:
>
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=7cff1ce4:b67054ef:e558e8bc:3d496b47
>
> and this in /etc/fstab:
>
> # /dev/md0
> UUID=2956c339-fa5e-45d9-ab13-e92a9597ab20 /home  ext3 defaults 0  2
>
> The UUIDs don't match, but the device still mounts on bootup as expected.
>
> Questions:
>
>   - Should the UUIDs match and if so, which one is wrong?
>   - How do I fix it?
>   - How the hell  is it workin now?
Q1, Q2, Q3

A1)
A quirk of raid1 mirror's on Linux software raid is you can usually mount
one of the components for recovery. IE they're pretty much exactly the
same. EG if /dev/md0 is made up from /dev/hda1 and /dev/hdc1 and you
booted from a CD that doesen't do RAID you could do "mount -o ro /dev/hda1
/mnt/recovery". This can also happen with some hardware raid cards if you
pop the drive onto a non-raid controller. It's much more interesting for
other raid types.

So much so that if you have Logical Volumes on a raid1 and zero out the
raid blocks then LVM goes to hell because it now finds two duplicate
volumes. Further fun happens when you plug in another hard disk from
another system which has the same Volume Group but you can play with that
another day - at least it lets you know and choses only one to run at a
time.

Anyway.. I digress. Yeah for software raid1 the uuid for the array, and
each of it's components will be the same.

A2)
To change it... you'd better boot off a rescue CD and learn/practise using
the mdadm utility. I'd suggest something like...
mdadm --assemble -U --uuid=956c339-fa5e-45d9-ab13-e92a9597ab20 \
/dev/md0 /dev/hda1 /dev/hdc1
Or as the case may be editing the /etc/mdadm.conf (/etc/raidtab on really
old systems) and/or /etc/fstab

A3)  think how the kernel starts up and runs from the initial
ramdisk. The answer lies within... because frankly all the stuff on your
regular filesystem, eg /etc/fstab and /etc/mdadm.conf can't be read until
the kernel can find the filesystem.  So you will find that whatever
created your /boot/initrd* file did so by thinking about what sort of
filesystem it would need to find.

On Fedora for example the initrd is a gzip'd cpio'd filesystem in which
you'll find /etc/init which happens to be a nash script (red hat's
cut-down bash). In there you'll find magic stuff like insmod scsi, insmod
raid1, raidstart /dev/md0, mount /dev/md0 /rootfs, switchroot

Of course once the initial ramdisk mounts the root filesystem proper it
then may go run something like /bin/init which finds it's way to
/etc/rc.d/rc.sysinit (fedora/Redhat/Centos) which as part of it's process
THEN looks at /etc/fstab and here's the funny bit... it tries to mount all
the filesystems mentioned (with the auto attribute) but only if not
mounted already.. now the root filesystem IS mounted already so again the
/etc/fstab entry for the root filesystem is not used.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] SIP/IAX testing...

2007-08-17 Thread Grant Parnell - EverythingLinux
Hi folks... we're moving to a temporary office and so forth in the next 14 
days and we've decided to go voip for our phone services. I'm in the 
process of trialing several voip providers and in the course of doing so 
I've setup guest access to our Asterisk server meaning you can call us 
over the net using SIP or IAX protocols.

We're on the following URI's for retail
sip:[EMAIL PROTECTED]
[EMAIL PROTECTED]
iax:[EMAIL PROTECTED]
also sip:[EMAIL PROTECTED] should go to our call redirector menu.

Leave a message after hours just to say it worked if you like... won't 
cost ya much ;-)


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] HELP - need an ISDN card for our fax line

2007-06-27 Thread Grant Parnell ELX

On Wed, 27 Jun 2007, Jon Teh wrote:


Hello Grant,

On Wed, Jun 27, 2007 at 05:42:04PM +1000, Grant Parnell - EverythingLinux wrote:

Been battling with our NetJet ISDN card and whilst it handles everything
voice quite well the most I've gotten out of a fax is about 50mm of normal
readable page followed by garbage. That's with mISDN, chan_misdn,
asterisk, iaxmodem, spandsp and hylafax. I couldn't seem to get
capi4hylafax working for it. Traverse tells me not to bother, the current
software DSP's just don't work well enough and the card has no DSP.

If anyone out there has SOMETHING which we could buy,beg,borrow or steal
by Thursday 12th of July 2007 that'll co-exist with our existing ISDN card
on the S-bus that can receive faxes I'll be most appreciative of it. Or
tell me what to buy ;-)

Currently it looks like avmfritz and hfcpci cards might be the go.



Unfortunately mISDN is generally a pretty poor quality piece of code,
and faxing in general is dodgy under Asterisk.

My best suggestion would be to use Bristuff instead of mISDN, and try either
of these combos:

* Bristuff + Spandsp (no idea if this will compile)
* Bristuff + iaxmodem + hylafax

Bristuff is a patchset (the author refers to it as a "spoon") to Asterisk,
Zaptel and Libpri. The advantage is it allows you to access your channels
in a Zap-like manner and is much less buggy than mISDN (no bri software
is that terrific though imho).

Not sure if the netjet even has a driver for Bristuff or not, something
to look into obviously. If you want to give Bristuff a go, download the
latest version from www.junghanns.net/downloads/ and extract the tarball,
inside is a script that grabs the correct copies of Asterisk, Libpri
and Zaptel, patches, compiles and installs them. You may need to fiddle
around manually to get spandsp in the picture.

I have an older Bri card sitting around if you may need it, not sure if it's
Bristuff supported though.


OK sounds like I should look into bristuff.


anyway, hope this helps, worst comes to worst you could divert the isdn line.


Umm how do I divert just ONE number out of the hundred group on our ISDN 
line? Telstra say they can't do it - it's ALL or NOTHING. Is there a way 
to deflect the call to another number (possibly at our cost)?


In any case I have been searching ... and searching since my last post and 
it looks like a Netgear RT328-S router is probably going to do the trick 
for now. I can plug our existing Analogue fax modem into it and according 
to the manuals I can set the number that it answers on. All I have to do 
is find one.. the blasted one on E-bay has the wrong interface :-(


 -- 
--

Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] HELP - need an ISDN card for our fax line

2007-06-27 Thread Grant Parnell - EverythingLinux
Been battling with our NetJet ISDN card and whilst it handles everything 
voice quite well the most I've gotten out of a fax is about 50mm of normal 
readable page followed by garbage. That's with mISDN, chan_misdn, 
asterisk, iaxmodem, spandsp and hylafax. I couldn't seem to get 
capi4hylafax working for it. Traverse tells me not to bother, the current 
software DSP's just don't work well enough and the card has no DSP.


If anyone out there has SOMETHING which we could buy,beg,borrow or steal 
by Thursday 12th of July 2007 that'll co-exist with our existing ISDN card 
on the S-bus that can receive faxes I'll be most appreciative of it. Or 
tell me what to buy ;-)


Currently it looks like avmfritz and hfcpci cards might be the go.

--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Cheap USB phones working with Asterisk

2007-05-25 Thread Grant Parnell ELX
A few months back I bought a cheap USB telephone which of course came with 
only Windows software. It was very cheap so I just took a punt, which 
after a few days hard work has now paid off.


The phone comes up as:-
[EMAIL PROTECTED] ~]# lsusb
Bus 001 Device 007: ID 6993:b001 Freshtel FT-102 VoIP USB Phone

and a bit of research suggested the use of the yealink kernel module - 
Edubuntu 6.06 detected this when I plugged the phone in. Fedora Core 6 
does not have the module built by default so I built that

see my earlier post about building a module here:-
http://lists.slug.org.au/archives/coders/2007/01/msg7.html

Once the module's built and loaded see kernel doc's 
Documentation/input/yealink.txt file for how to test, although they fail 
to mention the need to enable the mic and turn up the volume with 
alsamixer - something which would probably be obvious if I had a gui on 
the machine.


Once your satisfied the audio works and you've written your name on the 
LCD screen, turned on and off indicator lights etc you can move onto the 
application 'yeaphone' which can be found here:-

http://www.devbase.at/voip/yeaphone.php

The yealink guys do have Skypemate for Linux on their website so they at 
least recognise some value in providing for Linux. For my application I 
didn't want to run Skype or for that matter any GUI program.


I've since built a Fedora Core 6 RPM for the yeaphone package which 
hopefully he'll put up on the website, if not try here:-

http://www.linuxhelp.com.au/free.shtml
I've also sent these off to the tech support at www.yealink.com in the 
hope they'll put them up there as well. Can somebody build a .deb package 
for Debian/Ubuntu thanks! I might see how I go just compiling it on 
Edubuntu 6.06 for starters.


If you're not using an RPM base distro have a look at the BuildRequires 
lines in the yeaphone.spec file on my site to help satisfy dependencies 
when building the source. In particular, see if linphone for your distro 
includes the patch set the yeaphone author has put up for linphone-1.6.

Our software site is http://www.linuxhelp.com.au/free.shtml

Once it compiles and installs do "man yeaphone" and there's a procedure 
for setting up your sip profile the first time round. After that you just 
run 'yeaphone' , punch in some digits and press the green button on the 
handset. IE you don't touch your computer to make or receive calls. The 
only silly thing is you can only exit the app by pressing CTRL-C.


Fedora Core 6 people can just download my RPM and install with
rpm -Uvh yealink-0.1-0.i386.rpm which will probably give you a list of 
things you'll need to install with your favourite package manager eg:

yum install linphone libosip2 ortp

--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Attn Friends of Anthony Rumble

2007-03-25 Thread Grant Parnell - EverythingLinux
Anthony has a lot of friends from SLUG and you all deserve to know that 
he's been stuck in Intensive care since the 17th of March. Without going 
into a lot of detail his symptoms are much like severe pneumonia. He's 
been on a respirator and under sedation until yesterday morning and for a 
while we were very concerned about whether he'd make it or not.


He's showed significant improvement but now's the time for words of 
encouragement or reminders of good times from friends. If you feel like 
sending get well cards they can go to PO Box 6262 Silverwater, NSW 1811 or 
you can email me a note and I'll make sure he gets them.


If you want to help in another way, we've been finding it tough here at 
ELX and if you want to liberate our warehouse stock that's fine too. Be 
sure to check it's in stock, buying stuff that isn't just wouldn't help a 
lot. Company worries is one thing he could do without right now. We expect 
him to be off work for a good few weeks at least.


Finally, I appreciate whomever decides to approve this email going to the 
announce list. If it helps, call it a favour for the Ex-president :-)


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] making boot floppy 'no space left'

2007-02-13 Thread Grant Parnell - slug
Effectively the mkbootdisk command builds the image in temp disk space 
then uses 'dd' (or cp?) to write to the floppy device. If either there's 
not enough space in /tmp or the floppy isn't formatted ok you're going to 
have problems. If /tmp is full firstly try deleting stuff then try 
creating /home/tmp with same permissions then "mv /tmp /tmp.old; ln -s 
/home/tmp /tmp" You're probably going to need at least half a meg of temp 
space before it does the compression.


It looks more like the target system didn't have enough space. This 
usually means the floppy needs reformatting. "man fdformat" eg: "fdformat 
/dev/fd0H1440" - frequently I find failures because a) the floppy drive is 
old/dirty/disused and secondly the media has been laying around gathering 
dust. Before you start, flip the drive door open and blow air into it to 
dislodge dust. Manually inspect the media for crap inside the jacket - it 
can damage the drive too.


Did I mention I hate floppy drives?

On Thu, 21 Dec 2006, Voytek Eymont wrote:


I'm tryying to make a boot floppy on 1.44 media, I get: 'no space'

is that space on floppy ? where am I going wrong ?

# mkbootdisk --device /dev/fd0 2.6.9-42.0.3.EL
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press  to continue or ^C to abort:
cp: writing `/tmp/mkbootdisk.sR3853/vmlinuz': No space left on device
cp: writing `/tmp/mkbootdisk.sR3853/initrd.img': No space left on device
cat: write error: No space left on device
cat: write error: No space left on device
20+0 records in
20+0 records out

# df | grep /tmp
  1064312 37060973188   4% /tmp

# ls -al /tmp
total 2968
drwxrwxrwt   7 root root4096 Dec 21 12:48 .
drwxr-xr-x  24 root root4096 Dec 21 12:13 ..
drwxrwxrwt   2 root root4096 Dec 21 12:14 .font-unix
drwxrwxrwt   2 root root4096 Dec 21 12:13 .ICE-unix
drwx--   2 root root   16384 Dec 19 23:36 lost+found
drwx--   2 root root4096 Dec 21 12:40 mc-root
-rw---   1 root root 1474560 Dec 21 12:48 mkbootdisk.di3864
drwx--   2 root root4096 Dec 21 12:38 mkbootdisk.JY3692
-rw---   1 root root 1474560 Dec 21 12:42 mkbootdisk.tO3735
-rw---   1 root root1024 Dec 19 23:52 .rnd





--
--
Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ComputerBank Meeting Sat 20th?

2007-01-15 Thread Grant Parnell - EverythingLinux
Apologies if you receive this twice, I've bcc'd the LCA delegates mailing 
list.


ComputerBank NSW and ComputerBank Sydney are two organisations in need of 
repair. Their purpose is to take old computers and either use 
environmentally friendly recycling or re-task them and give them to 
community organisations (or individuals) who would not otherwise be able 
to afford a computer. These organisations are suffering from lack of 
volunteers and a proper committee, funds, premises and general 
organisation.


I have proposed a combined meeting for the 20th for both organisations. I 
originally thought there was still some LCA2007 activities happening on 
the Saturday morning. Now there's nothing. So I suggest we go somewhere 
central to all who'd like to attend. If you'd like to attend email me 
and/or update the LCA wiki http://lca2007.linux.org.au/ComputerBankSydney


Needed to discuss are

a) who's going to be treasurer (for CB NSW) and
b) either paying rent for some warehouse space at ELX or taking over the lease or finding 
somewhere else. Roughly 1/3 of the donated equipment is in the ELX 
warehouse occupying roughly 10% of the floor space. ELX pays over $30K 
per annum for the warehouse rent and frankly NEEDS something to help pay 
the rent (other suggestions welcome in private emails).

c) followup with meeting held at Penrith council on December 7th.

SMS 0408 686 201 7am-10pm only (I use the phone for an alarm clock too).

--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Asterisk with NetJetPCI success

2007-01-10 Thread Grant Parnell - EverythingLinux
Finally... managed to get the NetJetPCI ISDN card we sell to work with 
Asterisk 1.4 and chan_mISDN. I've spent the last few hours trying to 
understand asterisk's extensions.conf file and doing testing back and 
forth between our office & home asterisk servers, SIP devices, our PABX 
trunk ports (analogue) and such. Furthermore it plays nicely on the ISDN 
TA side with our existing Panasonic PABX still operating in parrallel.


Goodnight!

--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: [coders] making a single kernel module (fwd)

2007-01-09 Thread Grant Parnell ELX

On Tue, 9 Jan 2007, O Plameras wrote:


Grant Parnell ELX wrote:


Thanks Oscar but it's changed a lot since Red Hat 9, there's 6 releases of 
Fedora and I'm not even sure off the top of my head whether RH9 was even a 
2.4 kernel.





The process is same for Fedora or Red Hat. The whole idea is
when running #menuconfig ( or xconfig ) we use only "y" to select (not "m" or 
"y")

and "n" to deselect a module. Then, we run
#make
#make install

instead of

#make modules
#make modules_install
#make
#make install

Hope this helps.


You're sortof correct. The bit about chosing which modules are enabled is 
still exactly as you describe, however, with 2.6 kernels you don't need 
the whole kernel source to be there to build and install a module and 
hence you don't need to build a kernel (or have one built) during the 
process. It's MUCH quicker to a) obtain the dependencies and also b) just 
build the particular module you're interested in. You can in fact follow 
your procedure exactly and build the kernel and selected modules but it 
takes longer.


IE on fedora core 6 you only need install these:-
kernel-headers (701K) and
kernel-devel (4.6M)
compared with the kernel source RPM ~ (13M)

Then you grab some 3rd party (or updated/patched module) like this
mISDN.tar.gz
cd mISDN-1_0_4
make install
modprobe mISDN
...


Some of you may be familiar with dkms which has similar aspects but is 
way cool because it will rebuild and install your modules on system 
startup if you run a new kernel. Hmm... I might be able to script that 
myself for this PABX.


 -- 
--

Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: making a single kernel module

2007-01-08 Thread Grant Parnell ELX
OK I managed to re-discover the info - probably the most helpful but a 
little out of-date was the kernel-doc package and the file:-

/usr/share/doc/kernel-doc-2.6.18/Documentation/kbuild/modules.txt
It says you are required to successfully build a kernel first, but on 
Fedora Core 6 at least, you don't have to. Here's what works for me:-


install kernel-devel, kernel source rpm etc

# I don't want to mess up my copy of untouched source so I copy elsewhere
cp -a /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386 \
  /usr/src/linuxtest
cd /usr/src/linuxtest
# keep a copy of .config that comes with it
mv .config dot.config
cp configs/kernel-2.6.18-i586.config .config
# enable the module you need in the kernel config
make menuconfig (or make xconfig or whatever, see `make help`)
make modules_prepare
cd fs/ntfs
make -C /usr/src/linuxtest M=`pwd`
insmod ntfs.ko

# make another module
cd /usr/src/linuxtest/drivers/isdn
make -C /usr/src/linuxtest M=`pwd`
insmod hisax/hisax.ko

On Tue, 9 Jan 2007, Grant Parnell wrote:


Doh... just remembered I should have posted this to coders

I'm trying to re-discover how to build a single module. I once found a 
brilliant howto and can't find it again. I'm trying with Fedora Core 6 with 
2.6.18. As near as I can tell it's something like this...



pwd

/usr/src/linux-unaltered

ls

arch CREDITSfs   Kbuild   Makefile  REPORTING-BUGS usr
blockcrypto include  kernel   mmscripts
configs  Documentation  init lib  net   security
COPYING  driversipc  MAINTAINERS  READMEsound


make -C /usr/src/linux-unaltered \

 M=/usr/src/linux-unaltered/fs/ntfs/ modules

make: Entering directory `/usr/src/linux-unaltered'

 WARNING: Symbol version dump /usr/src/linux-unaltered/Module.symvers
  is missing; modules will have no dependencies and modversions.

 Building modules, stage 2.
 MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-unaltered'


BTW, I'm just using the ntfs module as an example any working example will 
do. Of pariticular interest for me is recompiling the capi and mISDN drivers 
with a patch I've got for the NetJet ISDN card.


I keep retrying from scratch by copying the source tree from 
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386
Then copying in a .config file from either /boot/config-* or configs/ within 
the source tree. Then doing make oldconfig and make prepare.


What am I missing here?

I'm even happy to move it out of the kernel tree and follow the external 
module build but I think I'll hit the same problem. I wish I could find that 
howto again because it worked!



--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] making a single kernel module

2007-01-08 Thread Grant Parnell - EverythingLinux
I'm trying to re-discover how to build a single module. I once found a 
brilliant howto and can't find it again. I'm trying with Fedora Core 6 
with 2.6.18. As near as I can tell it's something like this...



pwd

/usr/src/linux-unaltered

ls
arch CREDITSfs   Kbuild   Makefile  REPORTING-BUGS 
usr

blockcrypto include  kernel   mmscripts
configs  Documentation  init lib  net   security
COPYING  driversipc  MAINTAINERS  READMEsound


make -C /usr/src/linux-unaltered \

  M=/usr/src/linux-unaltered/fs/ntfs/ modules

make: Entering directory `/usr/src/linux-unaltered'

  WARNING: Symbol version dump /usr/src/linux-unaltered/Module.symvers
   is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-unaltered'


BTW, I'm just using the ntfs module as an example any working example will 
do. Of pariticular interest for me is recompiling the capi and mISDN 
drivers with a patch I've got for the NetJet ISDN card.


I keep retrying from scratch by copying the source tree from 
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386
Then copying in a .config file from either /boot/config-* or configs/ 
within the source tree. Then doing make oldconfig and make prepare.


What am I missing here?

I'm even happy to move it out of the kernel tree and follow the external 
module build but I think I'll hit the same problem. I wish I could find 
that howto again because it worked!


 -- 
--

Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] JMicron woes....

2006-12-18 Thread Grant Parnell
I've got a GA-965P-S3 motherboard with on-board JMicrcon controller. I've 
been battling for about 3 days now and am just about to shelve it. Looks 
like there's a lot of Core2 Duo motherboards with this controller and 
IDE/SATA problems. Times like this I wish customers would consult me 
before buying the hardware.


https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.17/+bug/57502
https://wiki.ubuntu.com/Core_2_Duo_Support
http://www.fedoraforum.org/forum/archive/index.php/t-122892.html
google for "JMicron SATA linux"

The system has 2 x 250GB SATA drives which I was hoping to use in some 
sort of RAID-1 mirror - either HW or SW raid. It also has an Adaptec 2100S 
RAID controller with 2 70GB SCSI drives. There's an optical drive on the 
ONLY PATA port which comes up AFTER the SATA drives on /dev/hdf or 
/dev/hdj or something if you're lucky.


I actually wanted to install Centos 4.4 on it but had trouble getting it 
to find the install media - looks like the 'all-generic-ide' kernel option 
helps there (just tested that) but the install still locks up... trying 
via NFS next - actually that kernel option upset the controller and was 
fixed not by hard reset but power down!


Anyway Ubuntu 6.10 worked with the SATA and I2O controller so I installed 
that on a small partition on the I2O/SCSI raid array. Fedora Core 6 
wouldn't see the SCSI Raid as an install target even though cat 
/proc/partitions showed the partitions from the Ubuntu install on 
/dev/i2o/hda, /dev/i2o/hda1, /dev/i2o/hda2 etc (I need to file a FC6 bug). 
I installed that on one of the SATA drives then rebooted into Ubuntu, 
copied the Fedora Partition and configured GRUB to use the Ubuntu kernel & 
initrd but boot the Fedora system and after copying 
/lib/modules/2.6.17 from Ubuntu it worked just fine.


Now I have a working system...
It would be NICE to be able to use the other 2 x 250GB drives though. I'll 
await some suggestions there but in the meantime I'll configure the apps. 
I can PLAY with the system by removing the SCSI system to protect the 
setup.


Also on the side, the inbuilt Marvel NIC wasn't recognised in Ubuntu but 
was recognised in the FC6 kernel but complains a lot suggesting it might 
be buggy, I disabled that and inserted a Netgear FA310TX.


Incidentally under the fedora kernel all the drives come up as /dev/hda, 
/dev/hdb, /dev/i2o/hda and under the Ubuntu kernel they're all /dev/sda, 
/dev/sdb, /dev/sdc.


I should point out that whilst using the Fedora core 6 install kernel with 
the SATA drives connected to the on-board SATA raid I configured them as 
software raid and they appeared to get corrupted.


Also.. beginning to think that either support for the JMicron chipset sux 
because I even get errors with dd if=/dev/zero of=/dev/sdb6 after about 5 
to 10 minutes. Either that or I've got 2 brand new dud SATA drives that 
fail around the same spot ...  Nah!


Anyway ... fwiw here's the output of lspci -vvv with the irrelevant bits 
removed.


00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE 
Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology Unknown device b002
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- 
Region 1: I/O ports at 
Region 2: I/O ports at 
Region 3: I/O ports at 
Region 4: I/O ports at f000 [size=16]
Region 5: I/O ports at fc00 [size=16]
Capabilities: [70] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE 
Controller (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: Giga-byte Technology Unknown device b002
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-   -- 
--

Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - 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: cloning/replacing hardrive

2006-12-07 Thread Grant Parnell
On Wed, December 6, 2006 10:26 pm, Voytek Eymont wrote:
>
> On Wed, December 6, 2006 10:00 pm, Ben Buxton wrote:
>> Voytek Eymont wrote:
>
>>> can I clone a running system ?
>>
>> Yes, you can.
>
> Ben, thanks for detailed info
>
> what I really meant to ask, was 'can I copy/clone a running systems whilst
> it's in normal operation'; I gather the answer is 'no'
>

Yes and no. If your system cannot be taken down then you can basically
adjust my previous post such that the new drive is prepared on another
system. You can dd to a file the first 100Mb for example then copy that
file containing partition table & MBR and then dd on the target system.
You'd have to prep the target system from a rescue/live CD.

Problem being there is a problem with the difference between the running
state and the shutdown state - eg lock files, pipes. A similar situation
occurrs when you just pull the power plug on your system. In the case of
attempting to clone you're racing against time with files that are being
written/deleted on the source system. If you can shutdown as many
non-critical applications as possible and frequently rsync you may reach
an acceptable level of compromise, you can then shutdown the old system
and turn on the new system and cross your fingers.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] Proposed ComputerBank's AGM

2006-12-06 Thread Grant Parnell - EverythingLinux
Hi, I'm doing my best to get all the people involved in ComputerBank in 
this state at least talking to each other. I know a lot of SLUG people 
have been interested in the past and it's the only reason I'm CCing that 
mailing list. Followups may be discussed off or on the SLUG list but I 
request you CC the [EMAIL PROTECTED] mailing list too. To limit 
SPAM it's a members only posting thing but I'll approve relevant stuff.


One of the things we badly need to do is organise an AGM for ComputerBank 
NSW and also ComputerBank Sydney. I am putting forward by way of 
suggestion some dates to hold these AGM's - Sunday the 24th of December or 
Saturday the 30th December or Sat/Sun 6 & 7th of January or perhaps after 
the close of LCA on the 20th of January at UNSW.


Venues: My place at Concord for a BBQ, ELX Silverwater (as I have said 
I'll open up computerbank on 6th & 7th - but that's not yet confirmed).

Other suggestions? Picnic venue, beaches, Clubs whatever.

Geoff, hopefully I haven't overstepped here in organising this but I 
vaguely recall you suggesting I organise a time and a place for a meeting.


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Obtaining Ubuntu DVD

2006-12-06 Thread Grant Parnell - slug

On Mon, 4 Dec 2006, Dimitri Koussa wrote:


On 22:09 Mon 04 Dec 06, Jeff Waugh spake thusly:




Does anyone know where I can obtain an Ubuntu install DVD?


Your best bet is to download and burn one (or find someone to download and
burn one for you).


I was hoping it wouldn't come to that. I have to pay ~5.5 cents/Mb here at USyd
so that's $175 for the DVD...I guess I'll start emailing my friends asking if
they've got some bandwidth they can spare.

Unless...does anyone have the DVD? I will pay for or replace the DVD and can go
pick it up (if close to city).


As far as I knew there was only the CD version? We're selling it for 
$16.00 and you can pick it up, because of our sale we're opening Thursday 
nights till 7pm and Sat 10-12. Unit B6, 27-29 Fariola St, Silverwater. 
Jump on a 525 bus from Strathfield or Parramatta.


I've got Ubuntu desktop/server for x86, x86-64, PPC and just today I've 
collected Xubuntu mainly because I wanted it for CompuberBank - more on 
that later.


 -- 
--

Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] SQL join to most recent log table entry?

2006-11-07 Thread Grant Parnell - slug

On Wed, 8 Nov 2006, Grant Parnell ELX wrote:


select
itmmaster.id,
suppstock.stockavail,
suppstock.lastupdated
from
itmmaster
left join suppstock on itmmaster.id = suppstock.id
where
-- match only latest suppstock entry
	suppstock.lastupdated = (select s2.lastupdated from suppstock s2 
where s2.id = suppstock.id order by lastupdated desc limit 1)

-- match only entries with stock
and suppstock.stockavail>0;

You could probably also try max(s2.lastupdated) in the subquery instead of 
an ordered select with limit.


I was just getting excited about your above suggestion but realised the 
sub-query's just going to select literally the most recent log entry where I 
really want the most recent log entries for all products. It'd work if I 
could add to the subquery "where [EMAIL PROTECTED]" where @variable gets set by 
the main select. This depends on the internal order of processing and I'll 
check that out.


Urm... scratch that last comment, you had it covered... took about 12 
minutes with the order by / limit combination and about 6 minutes with the 
max() method below thanks heaps!


select
  itmmaster.id,suppstock.stockavail,suppstock.lastupdated
from
  itmmaster left join suppstock on itmmaster.id=suppstock.id
where
  itmmaster.indent=1 and itmmaster.publish=0 and
  suppstock.lastupdated =
(select max(s2.lastupdated) from suppstock s2 where s2.id =
suppstock.id) 
having

  suppstock.stockavail>0;

2189 rows in set (6 min 18.54 sec)

Well that's nearly 2200 products I shouldn't have deleted from our website 
(and shall rectify), not bad considering I removed just under 15,000 
(which took 12 hours to do! I'll have to turn off indexing till the end of 
the update next time.)


--
--
Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] SQL join to most recent log table entry?

2006-11-07 Thread Grant Parnell ELX

On Tue, 7 Nov 2006, Sam Lawrance wrote:



On 07/11/2006, at 10:03 PM, Grant Parnell - EverythingLinux wrote:

I've got a couple of tables itmmaster and suppstock. itmmaster contains 
products, suppstock contains log-like entries of product codes and stock 
availability and a datetime stamp. I want to do a join to select a bunch of 
products along with their most recent stock update entry and was wondering 
if that's possible to do in SQL.


example itmmaster data
(id)
'productA'
'productB'
'productC'
example suppstock data
(id),(stockavail),(lastupdated)
'productA','10','2006-09-01 12:00:00'
'productB','9','2006-05-01 12:00:00'
'productA','2','2006-10-01 12:00:00'
'productB','99','2006-11-01 12:00:00'
'productC','20','2006-04-28 12:00:00'
'productC','0','2006-10-01 12:00:00'
'productA','0','2006-10-10 12:00:00'
'productC','1','2006-11-05 12:00:00'

example query idea
select itmmaster.id,suppstock.stockavail,suppstock.lastupdated from 
itmmaster left join suppstock on itmmaster.id,suppstock.id where ??? group 
or order by something having stockavail>0;


example result set
'productB','99','2006-11-01 12:00:00'
'productC','1','2006-11-05 12:00:00'

Note that productA is missing only because of the having clause. If I had 
put stockavail>0 in the where clause that'd return the last time there was 
stock which is crap for me so don't suggest that.


Sure, I can do this in the client app but that's inefficient. This crops up 
from time to time and I'd like to solve it properly. In this case I'm tring 
to identify products in stock with our suppliers last time we checked.


I happen to be using MySQL 4.X if that makes any difference. Maybe I need a 
sub select or do a suppstock join to itself or possibly a stored procedure 
if we can upgrade to MySQL 5.X?


One way would be to use a correlated subquery to select only rows that have 
the latest timestamp for the given stock ID.  For example:


select
itmmaster.id,
suppstock.stockavail,
suppstock.lastupdated
from
itmmaster
left join suppstock on itmmaster.id = suppstock.id
where
-- match only latest suppstock entry
	suppstock.lastupdated = (select s2.lastupdated from suppstock s2 
where s2.id = suppstock.id order by lastupdated desc limit 1)

-- match only entries with stock
and suppstock.stockavail>0;

You could probably also try max(s2.lastupdated) in the subquery instead of an 
ordered select with limit.


I was just getting excited about your above suggestion but realised the 
sub-query's just going to select literally the most recent log entry where 
I really want the most recent log entries for all products. It'd work if I 
could add to the subquery "where [EMAIL PROTECTED]" where @variable gets set 
by the main select. This depends on the internal order of processing and 
I'll check that out.


Depending on constraints you could also look at redesigning the schema so 
that there would be no need for a subquery.  For example, one table for 
current suppstock data with a unique key on product id, and another for 
historical suppstock data.


Yeah I had thought of that... perhaps I will, there's only 202,827 
products at the moment.


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SQL join to most recent log table entry?

2006-11-07 Thread Grant Parnell - EverythingLinux
I've got a couple of tables itmmaster and suppstock. itmmaster contains 
products, suppstock contains log-like entries of product codes and stock 
availability and a datetime stamp. I want to do a join to select a bunch 
of products along with their most recent stock update entry and was 
wondering if that's possible to do in SQL.


example itmmaster data
(id)
'productA'
'productB'
'productC'
example suppstock data
(id),(stockavail),(lastupdated)
'productA','10','2006-09-01 12:00:00'
'productB','9','2006-05-01 12:00:00'
'productA','2','2006-10-01 12:00:00'
'productB','99','2006-11-01 12:00:00'
'productC','20','2006-04-28 12:00:00'
'productC','0','2006-10-01 12:00:00'
'productA','0','2006-10-10 12:00:00'
'productC','1','2006-11-05 12:00:00'

example query idea
select itmmaster.id,suppstock.stockavail,suppstock.lastupdated from 
itmmaster left join suppstock on itmmaster.id,suppstock.id where ??? group 
or order by something having stockavail>0;


example result set
'productB','99','2006-11-01 12:00:00'
'productC','1','2006-11-05 12:00:00'

Note that productA is missing only because of the having clause. If I had 
put stockavail>0 in the where clause that'd return the last time there was 
stock which is crap for me so don't suggest that.


Sure, I can do this in the client app but that's inefficient. This crops 
up from time to time and I'd like to solve it properly. In this case I'm 
tring to identify products in stock with our suppliers last time we 
checked.


I happen to be using MySQL 4.X if that makes any difference. Maybe I need 
a sub select or do a suppstock join to itself or possibly a stored 
procedure if we can upgrade to MySQL 5.X?


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Microtouch USB touch screen followup

2006-10-31 Thread Grant Parnell ELX

On Tue, 24 Oct 2006, Glen Turner wrote:


Grant Parnell - EverythingLinux wrote:
For the serial version I used the xorg 'microtouch' driver, this USB one 
works without modifying the xorg.conf file. I would be happy to modify the 
xorg.conf file if the USB version could be coaxed into looking like a 
serial port.


At a guess the USB panel is being picked up by the kernel
input layer and mixed in with all the other mice-like pointers
to appear at /dev/input/mice.  Since /dev/input/mice is already
mentioned in your /etc/X11/xorg.conf you're seeing it just work.

Based on the USB IDs you should have a mtouchusb kernel module
loaded.


cat /proc/bus/input/devices gives
I: Bus=0003 Vendor=0596 Product=0001 Version=0400
N: Name="3M 3M USB Touchscreen - EX II"
P: Phys=/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=3


Yep, that "Handlers=mouse1 event3" mean that it's being
mixed into /dev/input/mice.

That swapped axis shouldn't be happening.  Pull the kernel source
for drivers/usb/input/mtouchusb.c and make sure the exact model
is listed, as there's a note in there about the Y axis handling
that makes me wonder if you don't have hardware with a "feature"
corrected.

If that still sucks you'll need to swap the axises in X11 as
the input layer doesn't allow such niceness.

Hope this is somewhat helpful,
Glen


Just letting people know how I got on with this. Basically all WILL be 
well with the kernel module usbtouchscreen as significant work is BEING 
done in this area. The main problem is with people agreeing on calibration 
support. For me, I was happy to use the Touchware drivers supplied by 3M 
for Fedora Core 4 which do hardware calibration (ie the calibration gets 
stored in the touch screen hardware). For your normal desktop situation 
it's as easy as installing one RPM, removing the mutouch.ko module (it 
conflicts with the Touchware one) then executing 
/etc/twscreen/TWCalib/TwCalib as root once to do the calibration.


They do supply a source RPM but I couldn't get that to compile for FC5. 
Here's what it contains. It's worth noting that each time it starts up and 
shuts down it finds your X config (XFree or Xorg) and edit's in/out the 
bits required.


/etc/init.d/TWDrvStartup
/etc/twscreen
/etc/twscreen/TWCalib
/etc/twscreen/TWCalib/MultiMonitorTool
/etc/twscreen/TWCalib/TwCalib
/etc/twscreen/TWXinputInstall.perl
/etc/twscreen/install
/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/input/touchscreen
/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/input/touchscreen/TWDrv.ko
/sbin/TWDrvStartup
/usr/X11R6/lib/modules/input/TWXinput_drv.o
/usr/lib/libMultiMonitor.so
/usr/lib/libTwCaliblib.so
/usr/lib/libTwGraphics.so
/usr/share/doc/TWDrv-5.64
/usr/share/doc/TWDrv-5.64/BUILTWITH
/usr/share/doc/TWDrv-5.64/Readme.txt

Now I'm just having a lot of 'fun' getting all this together on a 
read-only filesystem on compact flash. I've got a build script I'm 
tweaking, it's just a bit tedious.


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Microtouch USB touch screen X/Y axis swapped

2006-10-24 Thread Grant Parnell
Just following up with more info. It seems there's been a fair bit of
consolidating & work in this area in the kernel modules between 2.6.15 and
2.6.18. In 2.6.15 the module was mtouchusb and this and others have been
merged into a more generic one called usbtouchscreen
kernel/drivers/usb/input/ is where they are.

The good news is there is in fact a swap_xy parameter in the stock 2.6.18
kernel module and it works. The bad news is that my x and y direction is
opposite to what it should be. IE move your finger left, the pointer goes
right. So I added 2 more module parameters invert_x and invert_y and
recompiled the module but for some reason the module isn't behaving...
it's my day off so I've yet to discover whether it's my module build
process or the modification I've done (ie can't test remotely). The module
does load but when Xorg tries to talk to /dev/input/mouse1 it gets an open
error.

There seems to be some heated debate about where the calibration should
happen as well. In the RS232 version it was in the xorg.conf file. Any
tips on inverting X and Y and scaling them in the xorg.conf file
appreciated.

On Tue, October 24, 2006 2:51 pm, Grant Parnell - EverythingLinux wrote:
> I just got some LCD touch screens in for a customer and unfortunately I
> didn't get the serial ones I was expecting, instead I have the USB ones.
>
> It's pretty cool how it works, just plug it in and start moving your
> finger round the display and it just works - Fedora Core 5. Only thing is
> the Axis are swapped around and it needs some sort of calibration.
>
> What I want to know is where to start looking to fix it. It appears that
> somehow the mtouchusb kernel module loads and this creates some stuff
> under /dev/input which ends up working in parrallel with the PS/2 mouse I
> already have plugged in. If somebody could explain how this multiple input
> stuff works, and can be configured, that would be useful too. The answer
> may possibly be in configuration of these bits.
>
> Kernels 2.6.15-1.2054_FC5 (standard) and 2.6.18-1.2200.fc5 (most recent
> update) make no difference. xorg-x11-server-Xorg-1.0.1-8,
> xorg-x11-drv-microtouch-1.0.0.5-1.2, xorg-x11-drv-mouse-1.0.4-1 are
> installed. The man page for the xorg microtouch driver is next to empty,
> says it needs to be written. If somebody has their Xorg source unpacked
> maybe see if there's anything more useful there but I doubt it.
>
> For the serial version I used the xorg
> 'microtouch' driver, this USB one works without modifying the xorg.conf
> file. I would be happy to modify the xorg.conf file if the USB version
> could be coaxed into looking like a serial port.
>
> cat /proc/bus/input/devices gives
> I: Bus=0003 Vendor=0596 Product=0001 Version=0400
> N: Name="3M 3M USB Touchscreen - EX II"
> P: Phys=/input0
> S: Sysfs=/class/input/input3
> H: Handlers=mouse1 event3
> B: EV=b
> B: KEY=400 0 0 0 0 0 0 0 0 0 0
> B: ABS=3
>
> lsusb -v gives
> Bus 001 Device 002: ID 0596:0001 MicroTouch Systems, Inc. Touchscreen
> Device Descriptor:
>bLength18
>bDescriptorType 1
>bcdUSB   1.10
>bDeviceClass0 (Defined at Interface level)
>bDeviceSubClass 0
>bDeviceProtocol 0
>bMaxPacketSize064
>idVendor   0x0596 MicroTouch Systems, Inc.
>idProduct  0x0001 Touchscreen
>bcdDevice4.00
>iManufacturer   1 3M
>iProduct2 3M USB Touchscreen - EX II
>iSerial 0
>bNumConfigurations  1
>Configuration Descriptor:
>  bLength 9
>  bDescriptorType 2
>  wTotalLength   25
>  bNumInterfaces  1
>  bConfigurationValue 1
>  iConfiguration  0
>  bmAttributes 0xe0
>Self Powered
>Remote Wakeup
>  MaxPower  100mA
>  Interface Descriptor:
>bLength 9
>bDescriptorType 4
>bInterfaceNumber0
>bAlternateSetting   0
>bNumEndpoints   1
>bInterfaceClass   255 Vendor Specific Class
>bInterfaceSubClass  0
>bInterfaceProtocol  0
>iInterface  0
>Endpoint Descriptor:
>  bLength 7
>  bDescriptorType 5
>  bEndpointAddress 0x81  EP 1 IN
>  bmAttributes3
>Transfer TypeInterrupt
>Synch Type   None
>Usage Type   Data
>  wMaxPacketSize 0x0020  1x 32 bytes
>  bInterval  

[SLUG] Microtouch USB touch screen X/Y axis swapped

2006-10-23 Thread Grant Parnell - EverythingLinux
I just got some LCD touch screens in for a customer and unfortunately I 
didn't get the serial ones I was expecting, instead I have the USB ones.


It's pretty cool how it works, just plug it in and start moving your 
finger round the display and it just works - Fedora Core 5. Only thing is 
the Axis are swapped around and it needs some sort of calibration.


What I want to know is where to start looking to fix it. It appears that 
somehow the mtouchusb kernel module loads and this creates some stuff 
under /dev/input which ends up working in parrallel with the PS/2 mouse I 
already have plugged in. If somebody could explain how this multiple input 
stuff works, and can be configured, that would be useful too. The answer 
may possibly be in configuration of these bits.


Kernels 2.6.15-1.2054_FC5 (standard) and 2.6.18-1.2200.fc5 (most recent 
update) make no difference. xorg-x11-server-Xorg-1.0.1-8, 
xorg-x11-drv-microtouch-1.0.0.5-1.2, xorg-x11-drv-mouse-1.0.4-1 are 
installed. The man page for the xorg microtouch driver is next to empty, 
says it needs to be written. If somebody has their Xorg source unpacked 
maybe see if there's anything more useful there but I doubt it.


For the serial version I used the xorg 
'microtouch' driver, this USB one works without modifying the xorg.conf 
file. I would be happy to modify the xorg.conf file if the USB version 
could be coaxed into looking like a serial port.


cat /proc/bus/input/devices gives
I: Bus=0003 Vendor=0596 Product=0001 Version=0400
N: Name="3M 3M USB Touchscreen - EX II"
P: Phys=/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=3

lsusb -v gives
Bus 001 Device 002: ID 0596:0001 MicroTouch Systems, Inc. Touchscreen
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x0596 MicroTouch Systems, Inc.
  idProduct  0x0001 Touchscreen
  bcdDevice4.00
  iManufacturer   1 3M
  iProduct2 3M USB Touchscreen - EX II
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   25
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0
bmAttributes 0xe0
  Self Powered
  Remote Wakeup
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass  0
  bInterfaceProtocol  0
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0020  1x 32 bytes
bInterval   2


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Paging Mark Willis

2006-09-25 Thread Grant Parnell
Sorry to the rest of you. I can't seem to find an email address for you 
Mark, I've left voicemail for ya on occasion. Haven't heard anything from 
you in a month or so, are you still with us mate?


I was trying to make contact about computerbank Sydney, Mark's on the 
committee. Temporary website & mailman lists can be found at 
http://www.cbnsw.org.au


I'll be picking some computers up tonight or tomorrow hopefully and will 
definitely be culling some old Mac's over the long weekend this weekend - 
most likely Monday.


 -- 
--

Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist,
Linux Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music
lover, Big kid that refuses to grow up. I'd make a good family pet,
take me home today!
Some people actually read these things it seems.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] UPS software

2006-09-16 Thread Grant Parnell - slug
This is good news but for the rest of us, probably 'nut' is the software 
you're after - basically has a bunch of plugins for UPS model support. If 
your UPS does RS232 control line based signalling++ then you can write 
your own config for the generic serial UPS driver.


++ by this I mean things like 'CTS is high for power good, CTS is low when 
power is bad' and variants on this including edge trigger.


On Tue, 12 Sep 2006, elliott-brennan wrote:


Hi all,

A while ago someone raised the topic of software to manage UPS ('fraid I 
don't recall who it was).


However in the August edition of Linux Magazine (Issue 69, August 2006: page 
8) they mention the following site for MGE UPS Systems, who have "...released 
all product specifications under GPL v2."


The site is:

www.mgeups.com

Hope this helps.

Regards,

Patrick





--
--
Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Tiny Linux recommedations sought

2006-09-16 Thread Grant Parnell - slug
OK the 64MB means it's a bit tight for Fedora so I'd suggest 
DamnSmallLinux which comes in at 50MB - complete with X, Multimedia & 
office apps.


I have installed Fedora on a 256MB flash and had it mounted read-only.

On Thu, 7 Sep 2006, Howard Lowndes wrote:

I'm looking for a tiny Linux distro that I can modify and implement in a 
relatively harsh environment.  I have Soekris net4511 boards and cases.  At 
the moment they are running picoBSD and I want to give it the flick.


Must haves:
Linux (naturally)
drive AMD ELAN SC520 CPU
CompactFlash disk (ideally not more than 64Mb)
wifi drivers for PCMCIA card (probably PRISM based)
cope with harsh environment (24/7/365 in the sun on top of a mast)
ipsec (ideally openswan rather than raccoon)

Nice to haves:
Fedora
watchdog (can this fit in a spare empty miniPCI slot ?)
bash
vi

Not needed:
X or any graphics


It looks like tinylinux hasn't been touched since '01

What are folks suggesting?




--
--
Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ComputerBank NSW list server up

2006-09-02 Thread Grant Parnell ELX
Hi, I've personally paid for and registered the cbnsw.org.au and 
cbsyd.org.au domains. I have temporary websites attached to both of those 
at the moment more as placeholders than anything. However the main point 
is I do have lists.cbnsw.org.au setup and working so people within 
Computerbank organisations in NSW can begin communicating irrespective of 
what happens with the actual websites. I've notified just a handful of 
people directly and the lists in the CC line, apologies for those that 
receive this twice.


ComputerBank NSW and ComputerBank Sydney are both separate legal entities.

Now that I've done that (and after taking some trashed computers to 
recycling) ... my next target for today is configuring a wiki because I 
suck at HTML and I crave somewhere to put documentation for stuff we have 
managed to do and are in the process of doing here in Sydney.


--
--
Grant Parnell - senior LPIC-1 certified consultant
Linux User #281066 at http://counter.li.org (Linux Counter)
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Two grub/RAID questions?

2006-08-10 Thread Grant Parnell

On Thu, August 10, 2006 11:56 pm, Luke Kendall wrote:
> On 10 Aug, Grant Parnell wrote:
>>  I'm not going to attempt to answer all these questions as I'm out of
>> time...
>
> Thanks for taking the time at all!  You're the only reply I've had so
> far.
>
>>  Software Raid devices do not have partitions on them.
>
> Yes, it eventually occurred to me to check on my old system, and fdisk
> made the same sort of complaints.  So the real problem I have to solve
> there is why the boot sequence is deciding that the drive needs checking
> (and why it's using fdisk to look at a raid volume).
>
>> You would typically
>>  mke2fs -j /dev/md0 to format it, alternately put LVM on it but that's
>>  another topic.
>
> Actually, I've already created the mirror from a pre-existing ext2
> partition by adding the missing drive to the raid set and letting it
> rebuild.  /dev/md0 mounts fine manually and seems fine normally (except
> for the boot complaints.
>
> E.g. dropping out of maintenance mode and continuing to boot up from the
> old /dev/hda6 goes on to mount /home on /dev/md2 and everything works
> fine.
>
>>  Software RAID mirroring has a nice side effect, you can mount half of
>> the
>>  mirror in it's own right in case of emergency. Similarly, the boot
>> files,
>>  namely the kernel and initrd will appear in consistent locations within
>>  each  component device.
>>
>>  Thus if /dev/hda1 and /dev/hdc1 are components of /dev/md0 you can do
>> this:-
>>  $ touch /boot/hereplease
>>  $ grub
>>  grub> find /boot/hereplease
>>  (hd0,0)
>>  (hd1,0)
>>  {your actual results may vary}
>>  grub> root (hd0,0)
>>  grub> setup (hd0)
>>  grub> root (hd1,0)
>>  grub> setup (hd1)
>>  grub> quit
>>  $
>>
>>  I typically do a find to make sure GURB's idea of the partitions is in
>>  line with what I am thinking. The setup command does all the hard work
>> for
>>  you of finding the stage1 and stage2 files and writing the boot
>> sectors.
>>  Another thing to help is to write yourself a device.map file somewhere
>> in
>>  /tmp or something just for doing the recovery work.
>
> As a grub novice, I have to admit I don't know what you mean by a
> device.map file.  It sounds like a helper file you might use with grub
> interactively when recovering from some major boot problem.
>
> But leaving that aside, in a nutshell, are you saying that grub can't be
> And that if a drive fails, I have to run grub interactively and point it
> at the drive within the mirror?!

In my experience I have found that installing grub on each component
device is the most reliable. Have a look at an existing
/boot/grub/device.map file. It's a very simple file that explains to grub
the relationship between (hdX) and /dev/hdX so theoretically you could use
a file like this:-

(fd0)  /dev/fd0
(hd0)  /dev/md0
(hd1)  /dev/hda6

I can't remember why I don't do it that way, possibly grub does not
understand software RAID as you suppose. I don't think lilo does either.
> In contrast, lilo uses the raid device (via the kernel), so if a drive
> fails everything continues to work seamlessly.  (I know, it happened to
> me several times on my old system.)  In fact you have to do extra work
> to *discover* that there's a problem that needs attention.

I think you're confused. If grub or lilo's purpose is to load the kernel
then how would it be able to use the kernel raid driver to load the
kernel?
Oh! I know what you mean, when you run "lilo" at the command prompt the
INSTALLER part knows about the raid device and knows to put the master
boot block on both root devices. The boot-time executable therefore does
NOT know about software raid. Therefore you can't use anything other than
RAID-1 for /boot when using GRUB or LILO.

As a footnote, if I'm wrong about it installing the MBR on both root
devices the effect on LILO only would be that the secondary component
drive would not have an up-to-date record of where the kernel and initrd
blocks are on the component partition. GRUB on the other hand knows a
little more about finding blocks on partitions/filesystems and will cope
better. It's why you don't need to run 'grub' every time you change
grub.conf/menu.lst like you have to run 'lilo' every time you change
/etc/lilo.conf.

The above is why when using lilo I carefully partition the drives to
ensure the same geometry is used and the same number of cylinders are used
for the boot partition and the same partition number within the device is
used. This way you can literally swap the IDE cables around if your
comp

Re: [SLUG] Two grub/RAID questions?

2006-08-10 Thread Grant Parnell
I'm not going to attempt to answer all these questions as I'm out of time...

Software Raid devices do not have partitions on them. You would typically
mke2fs -j /dev/md0 to format it, alternately put LVM on it but that's
another topic.

Software RAID mirroring has a nice side effect, you can mount half of the
mirror in it's own right in case of emergency. Similarly, the boot files,
namely the kernel and initrd will appear in consistent locations within
each  component device.

Thus if /dev/hda1 and /dev/hdc1 are components of /dev/md0 you can do this:-
$ touch /boot/hereplease
$ grub
grub> find /boot/hereplease
(hd0,0)
(hd1,0)
{your actual results may vary}
grub> root (hd0,0)
grub> setup (hd0)
grub> root (hd1,0)
grub> setup (hd1)
grub> quit
$

I typically do a find to make sure GURB's idea of the partitions is in
line with what I am thinking. The setup command does all the hard work for
you of finding the stage1 and stage2 files and writing the boot sectors.
Another thing to help is to write yourself a device.map file somewhere in
/tmp or something just for doing the recovery work.


On Sun, August 6, 2006 8:29 pm, Luke Kendall wrote:
> I'm halfway through setting up the root partition (and /home) to be
> raid1 mirrors (thanks to help from Jeff Waugh and Jamie Wilkinson).
>
> I've booted up from my old installation on /dev/hda6 to set up the real
> /dev/hda7,/dev/sda7 to be /dev/md0 for /, and /dev/hda8,/dev/sda8 to be
> /dev/md2 for /home.
>
> I've set the partition types on hda7, sda7, hda8 and sda8 to "fd",
> Linux RAID autodetect.
>
> I've also installed grub on (hd0,6) and (hd1,6) (i.e. on /dev/hda7 and
> /dev/sda7).
>
> My two questions are: is a raid mirror device supposed to have a
> partition table?  If so, what should it be set to - just one partition
> containing the number of blocks that the real partitions making it up
> have?  What should the start and end cylinders be set to?  (The reason I
> ask is that the raid devices are failing the filesystem check upon
> boot.)
>
> And secondly, how do you tell grub to use md0 instead of hd0 or hd1?
> Is it as simple as telling it that device (hd0) is /dev/md0?  (Though I
> don't see a way to do that in /boot/grub/menu.lst)
>
>   How I created the raid arrays
>   -
> I basically unmounted the drives I wanted to turn into pieces of the
> raid, used mdadm to add the (empty) partitions from sda into the raid
> array, telling it that the other piece was missing, then mounted the
> raid drive and copied the files from the (populated) partition, then
> unmounted that populated partition and added it to the raid and
> watched
> as the raid rebuilt itself.  I could then mount /dev/md2 as /home and
> ls
> files.
>
> My first question is: how do you tell grub what to use as the root
> drive, given that grub seems to want a physical drive spec (e.g. hd0 or
> hd1)?  How do you tell grub to use md0 instead of hd0 or hd1?
>
> In my case, hd0 is /dev/hda and hd1 is /dev/sda.
>
> I've only created md0 from hda7 and sda7 and md2 from hda8 and sda8.
> I also have this in /etc/mdadm/mdadm.conf:
>
>   DEVICE /dev/hda* /dev/sda*
>   ARRAY /dev/md0 devices=/dev/hda7,/dev/sda7
>   ARRAY /dev/md2 devices=/dev/hda8,/dev/sda8
>
> (My plan is that if I can get md0 working as /, then I'll setup md1 as
> another raid array for the older system I installed initially, on hda6.
> I'll use sda6 as its mirror.)
>
> But cat /proc/mdstat though shows already md1 exists (!) and it seems to
> be what I thought should be md2!
>
>   Personalities : [raid1]
>   md2 : active raid1 dm-5[1] dm-4[0]
> 121531584 blocks [2/2] [UU]
>
>   md1 : active raid1 sda8[0] hda8[1]
> 121531584 blocks [2/2] [UU]
>
>   md0 : active raid1 sda7[0] hda7[1]
> 12586816 blocks [2/2] [UU]
>
> Where did md1 come from?  What device is "dm-5" and "dm-4"?
>
> I should mention that when trying to create the md0 raid array I got an
> mdadm error something like "Invalid parameter", and an mdadm -Ds showed
> that md0 had the same ID as md2.  I had to do an mdadm --stop --scan
> before I could get the "mdadm --create /dev/md0 --level=1
> --raid-devices=2 /dev/sda7 missing" to work.  After it did, an
> "mdadm -Ds" showed that md0 had a different ID to md2 (and there was no
> md1 at that point, either).
>
> Though just now checking that again I see that mdadm -Ds shows that
> there is a /dev/md1 array and that it has the same UUID as /dev/md2!
>
> Also when I try to boot up now the system drops me into maintenance
> mode when it attempts to check /dev/md2 (/home) and fsck reports this
> error:
>
>   /dev/md2: the filesystem size according to the superblock is
>   30,382,923 blocks.
>   Physical size of the device is 30,382,896 blocks.
>   Either the superblock or the partition table is likely to be
>   corrupt!
>
> If I run fdisk on /dev/hda or /dev/sda it tells me that hda8 and sda

Re: [SLUG] DHCP client vs sendmail

2006-08-10 Thread Grant Parnell
Here's something that might make it easier on everybody if you have
control of the mailserver/firewall.

Consider this rule:-
/sbin/iptables -t nat -A PREROUTING \
   -i $LAN_IF -p tcp \
   --dport 25 \
   -d ! 192.168.0.0/16 \
   -j REDIRECT --to-ports 25

The second last line probably isn't needed, except if you terminate a
bunch of VPN's. IE don't do the NAT if it's going from one of your LAN's
to another of your LAN's.

Essentially what happens here is the firewall traps any outgoing SMTP
traffic and redirects it to it's local MTA which presumably allows hosts
on the LAN to use it as a smart host (ie permits relaying).

So how's this work? well whatever IP, hostname or whatever is looked up by
the sending mail client (or it's local MTA even) it ends up going via the
firewall's MTA regardless. The firewall's MTA then uses whatever site
policy is appropriate AND because it's receiving the message then relaying
it the HELO/EHLO handshake will be correct. This also ensures that all
emails from the site are logged - even if some nasty virus thingy managed
to send it.

On Wed, August 9, 2006 11:58 am, Peter Miller wrote:
> On Wed, 2006-08-09 at 11:22 +1000, Jobst Schmalenbach wrote:
>> On Wed, Aug 09, 2006 at 08:14:40AM +1000, Peter Miller
>> ([EMAIL PROTECTED]) wrote:
>> > Is there any elegant way to have a laptop DHCP client have its
>> sendmail
>> > configured properly?  In all the cases I have to deal with, my laptop
>> is
>> > a DHCP client is behind a NAT firewall.
>>
>> in sendmail.mc:
>>
>>   define(`SMART_HOST',`YOUR_ISP_UPSTREAM_MAILSERVER')
>>
>> then do a make in /etc/mail and restart sendmail
>
> I'm not getting it, this morning.
>
> In my case, the value of YOUR_ISP_UPSTREAM_MAILSERVER depends on which
> firewall I'm behind, since all the ISPs in question gate client
> connections as being from their own customers' IP addresses, not the
> whole Internet.  So one size definitely doesn't fit all.
>
> Are you suggesting I need to edit sendmail.mc every time I boot the
> machine?  Is there a way to automagically have the DHCP client daemon
> run a script to do it, instead?  Has this already been done, in a Debian
> package?  How does the script get the right value for
> YOUR_ISP_UPSTREAM_MAILSERVER from the DHCP server?
>
>
> --
> Regards
> Peter Miller <[EMAIL PROTECTED]>
> /\/\*http://www.canb.auug.org.au/~millerp/
>
> PGP public key ID: 1024D/D0EDB64D
> fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
> See http://www.keyserver.net or any PGP keyserver for public key.
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


Re: [SLUG] Census Online - stocktake of OS & Browser too?

2006-08-07 Thread Grant Parnell
I think it's everybody's duty to fill out the online Census form using
their preferred OS and browser. If the ABS isn't taking these statistics
then at least IBM will be. It was suggested that it's a golden opportunity
to get some definitive numbers of who's using what OS and browser on a
national scale so lets LET 'EM KNOW!

On Wed, August 2, 2006 4:15 pm, elliott-brennan wrote:
> Hi all,
>
> Some good news :)
>
> I've just received a post from a friend who wrote
> to the ABS and received the following back
>
> "Thank you for your inquiry regarding our web site
> and the e-Census form.
>
> The eCensus testing program has included
> compatibility testing with a
> range of operating systems and browsers. This has
> included testing on
> Mac and Linux OSs as well as different versions of
> Windows. We have
> tested with a variety of browsers including IE,
> Netscape, Firefox,
> Safari and Konquerer.  All have passed testing and
> the only
> differences we are aware of are minor cosmetic ones."
>
> Additionally this was posted to another group:
>
> "For further information, please consult the
> 'Help' function in your browser or click on the
> link to:
>   Mozilla Firefox (Recommended for Apple Macintosh
> and Linux)
>
> See:
> https://stream3.census.abs.gov.au/eCensusWeb/technical_help.html
>
> I also did my census online (F'fox on KUbuntu
> 5.10) without a hitch. It was a much better
> experience than completing the paper form.
>
> Additionally, I agree with James - we need to put
> more pressure on the ATO.
>
> Regards,
>
> Patrick
>
>
>
>> [EMAIL PROTECTED]
>   Tue, 1 Aug 2006 11:14:49 +0800
>   > I just went through doing my census on line
>> https://stream3.census.abs.gov.au/eCensusWeb/CensusServlet?
>>
>> What a pleasure, why-o-why can't the tax department wax clever, instead
>> of all
>> the IE rubbish? Can't someone rub their nose in it, like a naughty puppy
>>
>> James
>
>
> --
> Registered Linux User 368634
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
>


-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] squid experts - ports 81,8000

2006-07-24 Thread Grant Parnell - EverythingLinux
I'm stumped at the moment and I've been doing firewalls and setting up 
squid for years.


My client has an ISP firewall, their own firewall, a proxy on the DMZ and 
an internal firewall and wishes to access a couple of http based services 
on ports 81 and 8000. Not usually a problem. I have logged into the proxy 
server and successfully used the services with lynx so there really isn't 
a firewall issue as far as I can tell.


When I set the http_proxy environment variable to http://127.0.0.1:3128/ 
lynx will use the proxy. When I try this:-


lynx http://www.some.site:81/ it returns a 503 and I can see NO PACKETS 
going to the site with tcpdump. Exactly the same with port 8000. The error 
page returned by squid reports 503 and permission denied, as does the 
access.log I tried the same thing from our proxy server which is the exact 
same version and there's no problem leading me to think it's configuration 
of squid. I tried setting up squid from scratch again and no luck although 
I did not clear the existing cache (it's a busy proxy, don't want to do 
that). I will try moving the cache away after hours though.


The response is so quick it's not even trying (as verified by packet 
dump). Any thoughts from other experts?



access.log entry
1153800571.919164 127.0.0.1 TCP_MISS/503 1378 GET 
http://customer.xx.com:81/ - DIRECT/- text/html


exact response (site censored) from squid below

  ERROR: The requested URL could not be retrieved (p1 
of 2)


 ERROR

The requested URL could not be retrieved
 _

   While trying to retrieve the URL: http://customer.xxx.com:81/

   The following error was encountered:
 * Connection to Failed

   The system returned:
(13) Permission denied

   The remote host or network may be down. Please try the request again.

   Your cache administrator is root.
 _

  ERROR: The requested URL could not be retrieved (p2 
of 2)

Generated  Tue,  25  Jul  2006 04:09:31 GMT by proxy.xx.nsw.edu.au
    (squid/2.5.STABLE13)


--
--
Grant Parnell - senior LPIC-1 certified consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] VIA EPIA EN15000 at Sunday's workshop

2006-07-05 Thread Grant Parnell - EverythingLinux
One of my supplier's has been kind enough to let me evaluate one of these 
boards and since I was kinda hoping to come along to the SLUG workshop on 
Sunday anyway I figured it'd be fun to bring it along. I'll fit it into 
another case so we can use a CDROM drive. BYO HDD if you want, it takes 
PATA and SATA.


Here's a link to the motherboard info, we've got the 1.5GHz version.
http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=399

Of interest are it's multimedia/TV features. For example it has a HDTV 
encoder (can also do regular definition composite video I presume). I 
don't have a HDTV myself or a set top box. It's also got gigabit ethernet 
and the whole unit it's in isn't much bigger than a white pages volume.


--
--
Grant Parnell - senior LPIC-1 certified consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] anyone got eprom/flash programmer with PLCC socket

2006-05-25 Thread Grant Parnell - EverythingLinux

A customer of mine tried to re-flash their bios and it didn't work.
The bios chip is a 39SF020A. If I source the image can I bring the chip to 
SLUG tomorrow with a self addressed envelope? Otherwise if you're anywhere 
near Silverwater/Concord I could drop by some time.


Reply to sender thanks.

--
--
Grant Parnell - senior LPIC-1 certified consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] 2006-2006 President's Report

2006-04-04 Thread Grant Parnell

2005-2006 President's report


Thankfully SLUG still exists and as far as I know hasn't got any 
significant debts so whatever's happened in the past year can't have been 
all that bad. In fact the worst that's happened is the SLUG server being 
offline for a few extended outages due to hardware issues which thankfully 
have now been sorted recently by removing hardware from the equation - ie 
it's now on a virtual server.


Having said that the membership itself has been on the decline in recent 
years and prior to tonight we had about 50 financial members. This has had 
some impact on the events SLUG has been able to hold because we don't have 
that financial buffer to fork out in advance for cost of putting on 
events. To spite this there have been many exceptions where individuals 
have decided to get up and run an event themselves and the committee whole 
heartedly encourages this.


Some significant events
---

DebSig - I only just started going to some of these in the past year. I 
had felt that since I didn't use Debian it would be of little interest, 
however, as Craige pointed out it's not really about Debian (or Ubuntu) 
specifically anymore and is a great laid-back alternative to the main 
monthly meeting. It's in a pub, less organised, more chatty and that's all 
good.


When it comes to the main monthly meetings I have attended most of them 
since I've been going to SLUG and some rock and some suck - that's the way 
it goes due to a variety of factors. Some months I wish I could be in 2 
places at once during the second half of the meeting.


Peter Miller deserves special mention for organising 2 CodeCon events that 
I wished I could attend and I've heard nothing but good things about them.


Ashley Maher organised a CodeFest and had an installfest. Unfortunately 
the Installfest didn't get the numbers for success at UOW but the point is 
he tried! The CodeFest hosted at ACS Sydney on the other hand went well, 
but then all you need is power and desks, food and coders ;-)


Mid May 2005 Sarah Kahn managed to get us a booth at the Education Expo at 
Rose Hill and we had quite an enthusiastic turn-out of helpers from SLUG 
to occupy the booth, demo linux, chat to the general public and actively 
go round to other organisations present and promote Linux. Everyone 
involved deserves a big round of applause.


Later in May we asked SLUGgers to submit a message saying why they should 
be sponsored to go to an OSS workshop with Sebastian Rahts. Jamie Honan 
was the lucky individual we sent along to find out what it was all about. 
We later gave Jamie the chance to give a report at a SLUG meeting.


Many SLUGgers were keen to help out with Software Freedom Day in Sydney 
and we took the Open Source message to the streets handing out CD's and 
brochures about what we'd miss without Software Freedom. This was followed 
up by a mini-installfest at UTS afterwards.


Just for interest's sake I've manage to dig up and summerise the main 
monthly meetings we've held the past year.


Monthly Meeting Topics
--
Apr 05 - I attended
LCA2005 wrap-up
OpenSkills network
May 05 - I attended
Ubuntu Down Under report
The R environment for statistical computing
Jun 05 - I attended
Linux Distro package manager comparisons
Setting up an OpenLDAP environment using Linux
Jul 05 - I attended
Linux at the Lorien Novalis School
Apache 2.0 / mod_perl wrap-up + redundant webservers
Aug 05 - Don't think I made it
XFce lightweight desktop
OpenLDAP security with OpenSSL and Cyrus-SASL
Sep 05 - I attended
Desktop Introduction for newbies
Virtual Machines for fun & profit (aka Your own personal mainframe)
Oct 05 - I attended
SELinux (Security Enhanced Linux)
Working remotely - tricks tips and hazzards
Nov 05 - I attended
Linux Australia live webcast
Careers for Geeks
Dec 05 - I organised and attended
Zig Zag railway trip (Dec 4th)
Scared Scriptless (Dec 9th)
Jan 06 - I was at LCA
Grid Computing - processing physics data worldwide
ROOT Toolkit - graphical analysis toolkit for physics data
Feb 06 - I attended
Training Greenpeace in (how to use) OpenOffice
Merlin - Open source POS software used by Kennard Hire


--
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist,
Linux Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music
lover, Big kid that refuses to grow up. I'd make a good family pet,
take me home today!
Some people actually read these things it seems.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Committee election nominations status

2006-03-14 Thread Grant Parnell
A short status update on nominations as found on
http://www.slug.org.au/~grant/election.html

President: Lindsay Holmwood, Grant Parnell

Vice President: Lindsay Holmwood, Grant Parnell, Silvia Pfeiffer

Secretary: Lindsay Holmwood, Mohammad Kaan (NA), Matt Moor (NA), Grant
Parnell

Treasurer: Ken Wilson

Ordinary positions (3): Jeremy Apthorp, Chris Deigan, James Dumay, Mark
Greenaway (NA), Matt Moor (NA), Matthew Palmer (NA), Telford Tendys (NA)

NA = Nomination not yet accepted by the candidate.

If you've been nominated and haven't yet accepted it would be nice if you
could either accept or decline the nomination by emailing slug@slug.org.au
with the word nomination in the subject line (it's what I use as a search
term). You are free to do so up until the AGM.

If anyone knows of any corrections to the web version let me know.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


Re: [SLUG] Nominations page (Re: Nominations hotting up)

2006-03-08 Thread Grant Parnell - slug

On Thu, 9 Mar 2006, Mary Gardiner wrote:


On 2006-02-27, Grant Parnell <[EMAIL PROTECTED]> wrote:

Once again, I've updated the election page this morning...
http://www.slug.org.au/~grant/election.html


A couple of suggestions for this page:

1. Can you put a strike through (HTML ) the entries
   for people who have declined a nomination?

2. Can you make the entries for people who haven't yet accepted a
   little bit lighter ( or
   similar) or perhaps bold the "not yet accepted" bit.

It's really hard at the moment to distinguish people who are running
from people who aren't and this would help.


Ok will do.


Also, why is there still a listing for "Honourary committee member"? As
I recall, this is completely unofficial (ie the constitution does not
provide for such a position) and was only ever there because for a while
it was thought under 18s couldn't be on committee officially. Since we
later decided that they could be ordinary members (but not executive
members because they can't act as signatories), there seems no reason to
keep mentioning it in elections. If the committee needs to be larger,
then we should change the constitution, if not there's no reason for the
position.


I felt that although the under 18's thing had been resolved there might be 
other reasons but I guess we can always add it again later. There's been 
no nominations anyway.


Give it another 15-20 mins and I'll have it updated.

--
--
Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: Fine tuning browser<->plugin response time

2006-03-08 Thread Grant Parnell - slug

Further update...
I turned on debugging to mozplugger and added a timestamp to the debug 
routine and here's what happened...


PID3097: 1141880606 Same.
PID3097: 1141880606 Checking command: mplayer -really-quiet -nojoystick 
-nofs -zoom -vo xv,x11 -ao esd,alsa,oss,arts,null -osdlevel 0 -xy $width 
-wid $window "$file" 
PID3097: 1141880606 Match found!
PID3097: 1141880606 Command found.
PID3097: 1141880608 StreamAsFile
PID3097: 1141880608 NEW_CHILD(/ramdisk/media/1132199391.mov)
PID3097: 1141880608 >>>>>>>>Forking<<<<<<<<,

So this mysterious 2 second delay between clicking on the link to the 
movie and having it play the movie is indeed within the plugin system I 
was using.


On Mon, 6 Mar 2006, Grant Parnell - EverythingLinux wrote:

I have a need to improve the time taken to launch a video presentation from a 
web browser in the short term.


The 100MB video file is local (ie on the hard drive of the machine running 
the browser. In fact I've tried putting a smaller 20MB video, the mplayer 
app, it's libraries, the plugin manager and it's libraries and the html all 
in a ramdisk.


The sort of response I'm getting is after clicking the link to the video it's 
taking about 1 to 2 seconds to kick in. I am not sure if it's the browser 
itself or the plugin manager causing the delay, but if I replace mplaer with 
a shell script that logs the command line parameters the delay is between 
clicking the URL and the log entry appearing. Running mplayer directly gives 
excellent response, ie before the enter key lifts up.


I've tried a few browsers and tried to try a few plugin managers with varying 
success (ie got it to run or didn't). It looks like the common theme is it 
seems to want to buffer the video when it probably shouldn't.


Of course the long term plan would probably be to have somebody code up 
something that'll call mplayer or flashplayer or render a web page on cue.
I've heard gstreamer might be able to do something like this but so far I 
thought it was used to process video, not display it. Also not sure if 
annodex could be used here - the presentations could be re-encoded.





--
--
Grant Parnell - SLUG President & LPIC-1 certified engineer
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.elx.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au.
Phone 02 8756 3522 to book service or discuss your needs
or email us at paidsupport at elx.com.au

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Fine tuning browser<->plugin response time

2006-03-05 Thread Grant Parnell - EverythingLinux
I have a need to improve the time taken to launch a video presentation 
from a web browser in the short term.


The 100MB video file is local (ie on the hard drive of the machine running 
the browser. In fact I've tried putting a smaller 20MB video, the mplayer 
app, it's libraries, the plugin manager and it's libraries and the html 
all in a ramdisk.


The sort of response I'm getting is after clicking the link to the video 
it's taking about 1 to 2 seconds to kick in. I am not sure if it's the 
browser itself or the plugin manager causing the delay, but if I replace 
mplaer with a shell script that logs the command line parameters the delay 
is between clicking the URL and the log entry appearing. Running mplayer 
directly gives excellent response, ie before the enter key lifts up.


I've tried a few browsers and tried to try a few plugin managers with 
varying success (ie got it to run or didn't). It looks like the common 
theme is it seems to want to buffer the video when it probably shouldn't.


Of course the long term plan would probably be to have somebody code up 
something that'll call mplayer or flashplayer or render a web page on cue.
I've heard gstreamer might be able to do something like this but so far I 
thought it was used to process video, not display it. Also not sure if 
annodex could be used here - the presentations could be re-encoded.


--
--
Grant Parnell - senior LPIC-1 certified consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ComputerBank giveaway ABORTED for the weekend

2006-03-03 Thread Grant Parnell
Firstly, thanks to all those that turned up yesterday to help lighten the
load of moving, it certainly was appreciated. Unortunately unbeknown to us
Railcorp has fully closed the access to the Powerhouse for the weekend for
the purpose of railway upgrades. They've been doing work there in the past
but had still allowed road access so we really had no idea there'd be no
access until Dan turned up this morning and tried to open up.

We'll be catching up Monday evening to come up with a new plan. Personally
I'm thinking we could do it one or two nights over the coming week or I
might be able to get a day off work.


-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] ComputerBank Sydney Giveaway

2006-03-03 Thread Grant Parnell
Just a reminder that today, Saturday & Sunday y'all can collect free
computer stuff from the Casula Powerhouse next to the station.

ComputerBank Sydney needs to move so it all has to go.
Also, it would be good if people could make some sort of monetary donation
to help out.

Dan has placed much more info about everything at the following URL:-

http://www.cbnsw.org.au/sydneygiveaway/

plus you can email enquiries to [EMAIL PROTECTED] although Dan's not
going to be able to read it whilst at Casula today & Sunday.

Perfect opportunity to fixup an old machine you have or collect one to run
Linux on to experiment with. Heck, pickup a Mac and run PPC linux just for
the sake of variety.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] Free computer equipment this weekend

2006-02-28 Thread Grant Parnell
Computerbank Sydney is on the move again and due to the timing we won't be
able to spend time preparing stuff. One of computerbank's goals is to
prevent computer equipment going to landfill so we're just giving as much
away as we can to lighten the load this weekend.

There are whole computers (PC and Mac and others!), monitors of varying
shapes and sizes, printers, faxes plus rare spare parts you wouldn't have
thought existed. There's even some phone and rack gear. We have a bunch of
power supplies, 3GB disk drives, RAM, CDROM's and floppy disk drives
already pre-stripped. None of the gear comes with any sort of warranty
whatsoever!

Before people even ask, don't bother asking if you can reserve anything.
It's first in best dressed. There is plenty of parking space available and
I'll try to bring a couple of trolleys on Saturday - these must not be
taken away.

SLUG people often help out other people so if you see a need or even have
a spare PC you wouldn't mind get working cheaply to run as an experimental
Linux box for yourself or somebody else then please pop by, we're open
10am till 4pm on Friday the 3rd of March, 10am till 5pm on Saturday &
Sunday.

The only thing we'd really like is that if you take a computer you should
take a monitor too. If you ever wanted to experiment with a dual monitor
setup here's your chance to do it for free.

You'll find us at the Casula Powerhouse Arts Museum at Casula station.

Dan Treacy will be there on Friday and Sunday, and I will be there on
Saturday and probably Sunday too.

I can be contacted on 0408 686 201

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] Nominations hotting up

2006-02-28 Thread Grant Parnell
Firstly it's good to see a bunch more nominations for the SLUG committee
so keep 'em coming. But one suggestion I have is to at least ask the
person you're nominating if they'd like to be nominated. A lot of the
nominations have not yet been accepted.

Also, according to our current membership data a number of nominees and
nominators are not 2005-2006 financial members. I have still recorded the
data though and there's no shortage of financial members who would replace
the invalid nominations, however I'm pretty sure you have to be financial
to be nominated. Please bring any errors to our attention by either
emailing myself or [EMAIL PROTECTED]

Once again, I've updated the election page this morning...
http://www.slug.org.au/~grant/election.html

Check to see if you've been nominated.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] Dell Perc 4/Di array expansion (afacli)

2006-02-26 Thread Grant Parnell - EverythingLinux
My client had 4 36GB drives in a raid-5 array giving 100GB of space on 
their server. I have gotten them to upgrade the drives and replace the 
36GB units one by one and rebuild the array with no problems.


Now we want to actually use the extra space..

Not sure if it was a good idea but I've turned the existing container into 
a multilevel container with 'container add_level 0' so it now looks like 
this:-


AFA0> container list /all
Executing: container list /all=TRUE
Num  Total  Oth Chunk  Scsi   Partition
Label Type   Size   Ctr Size   Usage   B:ID:L Offset:Size
- -- -- --- -- --- -- -
 0Volume  101GBOpen
 /dev/sda
  63  RAID-5  101GB   32KB 0:00:0 64.0KB:33.8GB
   0:01:0 64.0KB:33.8GB
   0:02:0 64.0KB:33.8GB
   0:03:0 64.0KB:33.8GB


AFA0> disk list
Executing: disk list

B:ID:L  Device Type BlocksBytes/Block UsageShared Rate
--  --  - ---  -- 
0:00:0   Disk143374744 512 Initialized  NO 160
0:01:0   Disk143374744 512 Initialized  NO 160
0:02:0   Disk143374744 512 Initialized  NO 160
0:03:0   Disk143374744 512 Initialized  NO 160

AFA0> disk show space
Executing: disk show space

Scsi B:ID:L Usage  Size
--- -- -
  0:00:0 Container 64.0KB:33.8GB
  0:00:0 Free  33.8GB:34.4GB
  0:01:0 Container 64.0KB:33.8GB
  0:01:0 Free  33.8GB:34.4GB
  0:02:0 Container 64.0KB:33.8GB
  0:02:0 Free  33.8GB:34.4GB
  0:03:0 Container 64.0KB:33.8GB
  0:03:0 Free  33.8GB:34.4GB

AFA0>

Now I just can't get it to successfully carve out more space. Tips on best 
way to go appreciated, I don't care if under linux it comes up as /dev/sdb 
or whether I can just add another partition to /dev/sda.


AFA0> container create raid5 ((0,0),100M) (0,1) (0,2) (0,3)
Executing: container create raid5 ((BUS=0,ID=0),104,857,600 ) (BUS=0,ID=1) 
(BUS=0,ID=2) (BUS=0,ID=3)
Command Error: container.>


WTF am I doing wrong?
Oh for a more descriptive error message!
I also don't know how to undo the container add_level command!

Of course I would rather not hear "Just backup, start from scratch and 
restore." I shouldn't have to do that but will if I absolutely have to.


There seems to be various copies of the afacli command reference about the 
place and although fairly comprehensive it's a bit like trying to find the 
right man page and there's a lack of good examples.


--
--
Grant Parnell - senior LPIC-1 certified consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au
LA (Linux Australia) - http://www.linux.org.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Committee nomination: Grant Parnell for President (or VP)

2006-02-23 Thread Grant Parnell
I've been using Linux since about 1993. I've been going to SLUG for at
least 8 years now. I work for EverythingLinux (ELX) and have an interest
in the Linux market. I've been on the committee since 2004, first as
Secretary then as President. I'm involved with OSIA and Computer Bank
Sydney. I guess I prefer the command line to the GUI - old habbits plus
things seems to work more consistently accross distributions. My
preference is Fedora mainly because of habitual use.

I want SLUG to be interesting for people and more than just an online
resource for tech support and to do this we need more face to face contact
and to involve more people in various activities such as hands-on
workshops, demonstrations, community projects and social activities.

SLUG also needs more members and so we have to broaden our minds and be
accessable via different means such as radio broadcasts or webcasts, be
contactable by phone or fax, publish the odd article, advertise in papers
and arrange visits to schools or colleges which will attract younger more
enthusiastic members to ensure SLUG's future.

I would seek donations or limited sponsorship (possibly in the form of
services) to help us. We'll team up with other organisations for some
activities for mutual benefit. I am prepared to put my money up for
kick-starting some events have a cover charge for.

Finally, it's going to be a busy year for Linux in Sydney and we need to
be ready to sieze opportunities such as LinuxWorld in March, CeBit in May
and LCA next January.

In summary I want to
* Keep SLUG interesting
* Attract more members
* Raise SLUG's community profile
* Promote "Linux for the good of the community"
* Ensure people get some benefit for joining


-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] Election nomination updates

2006-02-21 Thread Grant Parnell
I had hoped the proper URL would be accessable by now but I have managed
to publish something to the SLUG site under my own login.

http://www.slug.org.au/~grant/election.html will be updated from time to
time with information about nominations, nominees and other status -
including a link to the proper page when it becomes available.

If any of the nominees wish to publish a short paragraph about what they
hope to do for SLUG I would like to put that in as well.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] NetBSD live CD

2006-01-26 Thread Grant Parnell - slug
Hey I know this isn't Linux but a lot of you out there also like BSD 
variants and therefore I'm forwarding this message. Perhaps we could 
collate all the feedback and send it - otherwise feel free to use the 
usual bug reporting techniques.

-- Forwarded message --
Date: Wed, 25 Jan 2006 23:14:41 -0500 (EST)
From: haidut at metawire dot org
To: [EMAIL PROTECTED]
Subject: NetBSD live CD

Hello,

I am one of the developers of Arudius - a live CD Linux distro targeting 
information security professionals. The 
CD has a large collection of security tools and a very small footprint (210MB) 
so it fits on a mini-CD, thus it 
can load its tools completely into RAM and run them very fast. In addition to 
this security-related Linux 
distribution, we also developed a NetBSD live CD focusing on the non-security 
community. It is called NeWBIE (or 
simply Newbie). This acronym is pronounced just like the word "newbie" and 
stands for 
(Ne)tBSD (W)are (B)urned (I)n (E)conomy, a naming convention similar to the one 
used for the well-known FreeSBIE 
CD. Newbie caters to the desktop-user (i.e. with applications for web browsing, 
chat, multimedia, document editing, 
etc) but will also serve as a core for creating a NetBSD-based live CD for 
network security auditing just like 
Arudius (see the  website). We are also in the process of developing a 
DragonflyBSD version of NeWBIE.
The goal of both CDs is to promote the usage of Linux/BSD and hopefully serve 
as useful tools for people who
need that kind of software.
We would appreciate it if you try out the CDs and give us some feedback on how 
we can improve them (i.e 
configuration, install additional software, etc). If you find any of the CDs to 
be useful, please mention them on 
your site or post a link to the homepage - http://arudius.sourceforge.net
Thank you very much for your attention and if you have any questions feel free 
to send an email to [EMAIL PROTECTED]

best regards,
Haidut 

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


[SLUG] fun with libcrypto.so.5 missing

2006-01-12 Thread Grant Parnell
Just thought this was an interesting edge of your seat type experience to 
share with people.

What started out as a simple "why can't I send emails to this domain" 
ended up being a battle of wits to recover from impending doom.

It turns out the target domain could send emails to my customer, send and 
receive emails from everybody else, but not receive any from my customer. 
My customer was sending and receiving other emails. Thankfully a tech from 
the target organisation called and found that my customer's server was 
attempting TLS email connections and then just dropping out.

After a bit of reading & stuffing around I tried adding 
Try_TLS:mail.somedomain.com.au NO
to the /etc/mail/access file and that allowed me to clear the backlog of 
emails ... for one domain. I tried some sort of global disable but didn't 
find one and then thought well maybe there's something else wrong and 
after a bit more hunting I did rpm -V openssl and found one of the library 
files corrupted. 

No problem, I still had the original install version of openssl in an RPM 
on the hard disk so installed that with the --force option to allow the 
downgrade and then tried rpm -V openssl again...
This time rpm itself failed with a missing library error... oh shit!
rpm -q openssl - error loading shared library
rpm2cpio - error loading shared library

So at this point I had plenty of RPM files (copy of the install media) 
which were completely useless to me right now.

If you'd like to follow along with a test box you have physical access to 
(just in case) loginto it via SSH from another machine and then move 
/lib/libcrypto.so.5 (on Fedora Core 4) to somewhere else the system can't 
find it and pretend you haven't got it.

Now the problem was how to I get the library back... any version that 
works will do! I had no physical access to the machine and it had just 
gone 5pm and nobody was there to ask to insert a USB key or something and 
I was logged in remotely via ssh over 2 ADSL links. 

Alright lets try copying the relevant file directly from another 
fedora box with scp ... connection refused... OH SHIT! lucky I was still 
logged in on some other xterms.

Alright then... how about wget - error loading shared library
how about links (didn't have lynx installed) - error loading shared 
library
ncftp - yeah! it ran, I was able to connect to an FTP server of mine but 
in either passive or active modes couldn't get a listing or any files 
transferred for some reason.

URM... was contemplating finding a short bit of perl code to facilitate a 
simple web fetch ...

Then I thought hey! they can still receive emails I'll just do that...
No luck... although it got there I didn't have a text based email client 
and no way to run any GUI utilities. I thought of metamail or mmdecode or 
something but alas didn't have any installed. I could ask one of the staff 
to save a file since they had Evolution running on the box but they 
weren't around.

Argh... I just want some way of getting a file from A to B...then it hit 
me...

B> nc -l 7000 >libs.tgz
A> cat libs.tgz | nc mail.somewhere.com.au 7000
[anxious waiting period]

B> tar -xzf libs.tgz - SUCCESS!

Then I just copied these files (libcrypto.so.0.9.7f  libcrypto.so.5  
libssl.so.0.9.7f  libssl.so.5) back into /lib

rpm -V openssl 
All good!
[wipes sweat from brow]

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG President, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
Some people actually read these things it seems.

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


Re: [SLUG] fstab weirdness

2005-12-25 Thread Grant Parnell

Well I'm not sure what the logic behind it was but for whatever reason the
update has renamed your filesystems. You can rename them back provided you
sync all the things that reference them.

1) use e2label to relabel them
2) change /etc/fstab to match
3) change /boot/grub/grub.conf so that the kernel lines have
'root=LABEL=/' for example.

With step 3, if you have /boot /boot1 and /boot11 then you'll need to
decide which is the real one - the root=(hd0,n) in grub.conf should also
match; n is the partition number starting from zero. Experiment by adding
bogus entries in the different grub.conf files and reboot to see which one
you get.

If you want to actually use a different one, then at the grub prompt go to
command mode and do the following;

find /boot/grub/grub.conf {finds /boot partitions}
find /grub/grub.conf {finds / partitions with a boot subdirectory - ie no
/boot partition}
root (hd0,1) {we'll use /dev/hda2 - think of this as chroot and subsequent
commands make more sense}
config /boot/grub/grub.conf {if we didn't have a /boot partition}
OR
config /grub/grub.conf {if we are using a /boot partition}
{ I think it runs the config, so you have to get back to command mode
again } setup (hd0) {this magic writes GRUB into the boot sector & tells
it where to find it's config next time it boots}
quit {system reboots? if not just hit reset button}


On Fri, December 23, 2005 10:26 am, Lyle Chapman said:
> Can anyone help on some strange changes to fstab and a mystery boot folder.
>
> I am running FC3 with all the latest updates and have been for about a
year now with no problems at all until I noticed a new folder
> called boot1 and it is empty (the original boot folder is still there
and contains what it should). Also, root now has a /1 as the disk label
in fstab and boot has boot11, what in the world is going on.
>
> I checked the fstab settings below and they seem a bit odd, so I changed
them back to what they should be and what happens - cannot find / no
booting. Does anyone have any suggestions? And yes it does boot up fine
if I leave the settings. Thanks.
>
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1/   ext3
> defaults1 1
> LABEL=/boot11   /boot1  ext3
> defaults1 2
> none/dev/ptsdevpts
> gid=5,mode=620  0 0
> none/dev/shmtmpfs
> defaults0 0
> LABEL=/disk1/disk1  ext3
> defaults1 2
> none/proc   proc
> defaults0 0
> none/syssysfs
> defaults0 0
> LABEL=SWAP-sda3 swapswap
> defaults0 0
> /dev/hdd/media/cdrecorder   auto
> pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0
>   0
>
>
> Lyle Chapman
> Prepress Supervisor
> Torch Publishing Company Pty Ltd
> 47 Allingham Street, Condell Park, NSW, 2200
> Ph: 612 9795 
> Fax: 612 9795 0096
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
>


-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.




-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


-- 
SLUG - 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: Osirix software port required MacOS-X to Linux

2005-12-20 Thread Grant Parnell - EverythingLinux
On Wed, 21 Dec 2005, QuantumG wrote:

> Rick Welykochy wrote:
> 
> > gcc handles Objective C. With a bit of work I'm sure this thing
> > could be made to compile on Linux. Of course, all the GUI code will
> > have to be ripped out and replaced.
> 
> 
> gcc is what 99% of Mac developers use to compile Objective-C on OS X.  
> The GUI code is developed against a standard called OpenStep for which 
> there are free implementations, GNUStep being the most popular.  So 
> probably only a small part of that code, the parts using proprietary 
> Apple extensions, will need to be replaced.

Took me a while but I'm downloading an x86 zip file... no idea what's in 
it, the sourceforge site Oscar pointed out is a bit light on for 
documentation. [time passes] Hmm.. looks like some sort of Mac binary with 
no source - does have header files though still not much idea of what 
platform it's supposed to be for - x86 doesen't really narrow it down. Is 
it Windows, MacOSX-X86 or Linux or something else.

 -- 
-- 
Grant Parnell - senior consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au 
LA (Linux Australia) - http://www.linux.org.au

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


[SLUG] Re: Osirix software port required MacOS-X to Linux

2005-12-20 Thread Grant Parnell - EverythingLinux
I've got a client that want's to port this software package from Mac OS-X
to Linux and pay for it.

I checked out 104MB of source code via CVS (I've attached the listing from
/home/grant/packages/osirix) ... Not sure but it looks like some sort of C
code but you compile it within this IDE

http://www.apple.com/macosx/features/xcode/

I couldn't find anything resembling ./configure or a Makefile and the dev 
page isn't very helpful unless you're using xcode.
http://homepage.mac.com/rossetantoine/osirix/Index2.html

My Gut feeling... probably cheaper to buy a Mac - except he wants to
deploy many times over, thus if it costs a few grand it's OK. The
alternative would be to buy a Mac and large high quality LCD and the
commercial version of the software and the annual license for each site.
This is less than satisfactory as my client wants some customisation done
to it anyway plus the doctors usually would have multi-head PC's decked
out with a stack of LCD's occupying significant desk space.

Any pointers to who can do this or which company can do this or which
mailing lists to consult appreciated.  We can probably commission a
feasability study seeing as it's such a large chunk of stuff.

-- 
-- 
Grant Parnell - senior consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au 
LA (Linux Australia) - http://www.linux.org.au


osirix.list.gz
Description: GNU Zip compressed data
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] December get-together #2 Scared Scriptless

2005-12-06 Thread Grant Parnell
Following up from last Sunday's Zig-Zag trip where a few of us made it for 
a lazy day in the mountains away from the heat. It was suggested I get 
this announcement out early.

This Friday is another excuse for SLUG people and their friends and family 
to come along to a great night of fun at the Clarence Hotel (corner 
Crystal St & Parramatta Rd Petersham). Scared Scriptless is the aptly 
named title of a regular Theatre-sports type event where teams compete by 
hacking together a piece of theatre inspired by audience suggestions, 
governed by some game rules that go for about 2 to 5 minutes and are then 
judged by the panel, the winners go to the next heat. It's frequently 
hillarious and it's great watching amateur thespians under pressure.

Show starts at 8pm, tickets $5, food available. I'll be turning up around 
7pm in SLUG shirt and cap again. It would be good to get tickets early and 
sit together but otherwise no booking necessary. Phone 0408 686 201 on the 
night if you're trying to find us.

 -- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG President, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
Some people actually read these things it seems.

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


[SLUG] December non-meeting this Sunday

2005-12-01 Thread Grant Parnell
Traditionally SLUG doesen't have a meeting in December at UTS, instead
we've done something else like a picnic or tenpin bowling. For something
different this year I've come up with an idea for a non-technical SLUG
family & friends tour on Sunday the 4th of December 2005.

My idea is to do the Zig Zag historic railway trip. I have done this a
very long time ago with some friends and although it's a long day it's
worth it. You get to ride a steam train up the mountain and either Steam
train or Rail motor back down plus there's a commentry, there's tunnels,
photo opportunities, short walks and souveneirs.

Date: Sun 4th Dec 05
Start Time: Depart Strathfield by train 08:31am<
End Time: Arrive Strathfield by train 6:17pm
Cost Adults: $20.00zz + $18.40cr (zz=zigzag, cr=cityrail ex central)
Cost Kids: $10.00zz + $3.50cr
Accessability: no wheelchairs via cityrail - should be ok by car Food
& refreshments extra
Website: http://www.zigzagrailway.com.au/

I've checked for cityrail disruptions and there is work on the inner west
line which should not affect inter-city services and you can get right to
Zig Zag by train and alight from the shortest platform in the CityRail
network - only about 3m long. We will need to be in the front carriage but
check with the train guard on the day. I (Grant) will be wearing a SLUG
T-Shirt and cap and am boarding at Strathfield.

Things you will need if bringing your own tribe:- snacks, cards, colouring
books, gameboys, ipods, portable DVD, cusion/pillow etc for the journey
to/from the city to the mountains to keep your sanity. Lunch is available
for purchase at our half way point for the day which is the station at
Clarence but towards the afternoon you'll need stuff although absolute
worst case you'd be back at Central by 8:30pm but should easily manage
6:30pm.

Timetable details:-

Central  8:18am Inter-city service
Strathfield  8:31am
Parramatta   8:44am
Zig Zag 11:05am
morning tea
Bottom Points 11:50am Steam train service
Clarence  12:20pm
Lunch
Clarence   1:40pm Rail Motor service
Bottom Points  2:15pm
Workshop tour
Zig Zag  3:41pm or 5:41pm cityrail services
Parramatta   6:04pm or 8:04pm
Strathfield  6:17pm or 8:17pm
Central  6:30pm or 8:30pm

Alternately if you go by car you can meet us at Clarence (10km from
Lithgow) after 12:20 and catch the train down the mountainside with us and
go back separately.

Also checkout http://www.cityrail.nsw.gov.au/trackwork/index.jsp for
Cityrail trackwork info a day or two before.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.




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


[SLUG] RSVP for Restaurant booking post-SLUG meeting this Friday

2005-11-23 Thread Grant Parnell
Due to catching Spice Boys in the middle of a move we've gone with our old
restaurant this month, the House of Guangzhou (AKA House of Boiled
Television Entrails).

I need to confirm the booking today so I'd like and indication of numbers
- off list thanks.

Price $25/head + drinks

Here's the banquet menu:-

Mixed Entree
Guangzhou Special Chicken
Salt & Pepper Calamari
Sizzling Mongolian Lamb
Beef & Vegetables with Oyster Sauce
Pork Spare Ribs (Peking Style)
Fried Rice & Steamed Rice
Chocolate [I'm guessing after dinner mints?]

The address is 76 Ultimo Rd Haymarket and it's on the corner of Hay St
from memory.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.




-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


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


[SLUG] exporting contacts from Evolution 1.2.2-5

2005-11-17 Thread Grant Parnell - EverythingLinux
Firstly I have a customer who's developed a problem with this 
version of Evolution.
 -- quote --
COULD NOT CREATE COMPOSER WINDOW:
UNABLE TO ACTIVATE HTML EDITOR COMPONENT.
PLEASE MAKE SURE YOU HAVE CORRECT VERSION
OF GTKHTML AND LIBGTKHTML INSTALLED.

THE ERROR FROM THE ACTIVATION SYSTEM IS:
CHILD PROCESS DID NOT GIVE AN ERROR MESSAGE, UNKNOWN FAILURE OCCURED

 -- quote --

This is the same machine they've been using for years now and it's 
intermittent, they get this when they click on new/reply and before the 
message editor window pops up.

So...I have a need to convert someones contact list to something like
Squirrelmail or Thunderbird (assuming it'll run). The contact list seems
to be stored in a Berkley DB version 7 format if that helps - vaguely
remember some way of dumping it but can't find it.

The system is a RedHat 9 box and unfortunately - I'm trying to organise an 
upgrade - would have been done sooner if it weren't for the Pulsar ADSL 
card in it.

... Just got off the phone... good they'll take the upgrade suggestion, 
still means I have to figuire out the export - it's probably easier if I 
copy the data to a Fedora Core 4 box running a later evolution and go from 
there just to do an export. I'm off the hook for tonight though 

This time round I'm going to setup Cyrus-IMAPd for the shared email access 
they need. Should be a lotta fun next week.

-- 
-- 
Grant Parnell - senior consultant
EverythingLinux services - the consultant's backup & tech support.
Web: http://www.everythinglinux.com.au/support.php
We're also busybits.com.au and linuxhelp.com.au and elx.com.au.
Phone 02 8756 3522 to book service or discuss your needs.

ELX or its employees participate in the following:-
OSIA (Open Source Industry Australia) - http://www.osia.net.au
AUUG (Australian Unix Users Group) - http://www.auug.org.au
SLUG (Sydney Linux Users Group) - http://www.slug.org.au 
LA (Linux Australia) - http://www.linux.org.au


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


  1   2   3   4   5   6   7   >