Re: [SLUG] ISP in Sydney? Unwired ?

2006-12-18 Thread Byron Hillis
When it comes to unwired, I have nothing but negative things to say. I 
would strongly discourage it's use unless you don't mind the following 
features:


- Even though I'm in a good coverage area (Summer Hill), and 
occasionally get the supposed full signal strength (green light), I get 
drop outs regularly for no apparent reason. In addition, the modem 
doesn't recognise that it's dropped out until you actually attempt to 
send packets and then it tries to reconnect. Incredibly annoying.
- You can get good speeds, but the latency is poor. Don't even think 
about any sort of gaming.
- The plans are expensive in comparison to ADSL. In reality, I don't 
think you'll save that much when compared to a similar plan + line rental.

- Support is pretty poor.
- They block outgoing SMTP except to their SMTP servers that are not 
hosted by Unwired, nor are they even in Australia. In addition, this 
server does not support any form of secure connection, which means you 
need to authenticate with your Unwired username and password to send 
mail. Even more annoying is the fact that this SMTP server is 
occasionally listed on SpamCop which means your mail gets blacklisted 
and bounced...fun. I've brought this up with tech. support, but they 
won't make the changes necessary (it appears to be a semi-open relay).
- They selectively shape traffic such as FTP, Bittorrent etc., which as 
Linux users, is a killer. And when I say shape, I mean, they just start 
dropping packets until you get about 95% packet loss.
- And the clincher, once you get capped, you get dropped to 32K speeds, 
which, on an Unwired connection with packet loss, is the equivalent of 
no connection at all. Seriously. To make matters worse, they changed 
this speed from 64K WITHOUT informing their customers, essentially 
changing the contract Terms & Conditions without notice.


It might seem like I'm being overly harsh or perhaps just ranting, but 
everything is the truth. Just head over to the unwired forums or 
whirlpool and you'll see exactly the same stuff.


Byron Hillis


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


Re: [SLUG] Ubuntu opera repository

2006-12-18 Thread Nick Croft
* Steve Kowalik ([EMAIL PROTECTED]) wrote:
> On Tue, 19 Dec 2006 13:00:57 +1100, Nick Croft uttered
> > Wondering if anyone has any idea why Opera for Ubuntu (ppc) can't be found
> > on any of the sites that everyone recommends.
> > 
> > deb http://archive.canonical.com/ubuntu dapper-commercial main
> > 
> In this repository, opera is only built for i386.
> 
> > or
> > 
> > deb http://deb.opera.com/opera etch non-free
> > 

That line (and variations dapper, dapper-commercial etc)  gave the  
404 File not found. I DID download it from Opera and installed with dpkg
but couldn't run it because of dependencies. Opera and canonical may be 
out of action atm .

> What does 'apt-get update' say about the repository, and if it
> succeeds, what about 'apt-cache policy opera'?
> 
Can't check it out right now -- I'm doing a massive update. 

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


Re: [SLUG] ISP in Sydney??

2006-12-18 Thread Peter Hardy

Ben wrote:

On 12/13/06, Nathan Eckenrode <[EMAIL PROTECTED]> wrote:

My wife and I are quite possibly moving to Sydney - maybe to Manly - in a
couple of months. I go to school online and need a high speed connection,
preferrably one with a static IP address, any recommendations for 
which ISP

is 'best'?


DISCLOSURE: I receive a commission on new services with Internode
ordered through my business.

If you find an area with an Agile DSLAM (Agile being Internode's
sister company), you can get up to 2.5Mbps upload (starts at $70/month
for 10GB) if you live close enough to the exchange) Other ISPs with
ADSL2+ top out at 1.1, 1.0 or 0.5 upstream depending on how they've
configured things, but may be adding support for faster uploads in the
future.


It's probably worth noting that, at least in theory, activating Annex M 
to increase upload speeds like this entails an approximately equal 
decrease in the maximum download speed for the service[1].


[1] - 
http://www.internode.on.net/adsl2/faq/annex-m.php#What_impact_does_Annex_M_have_on


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


Re: [SLUG] ISP in Sydney? Unwired ?

2006-12-18 Thread Rev Simon Rumble
This one time, at band camp, john gibbons wrote:
> I have been using Unwired in Sydney for most of the year. Provided you 
> check out reception quality in your area, which you can do via their 
> website, it is a good service and about 99.5% reliable.

I think this is the key thing about Unwired, and not something they make 
terribly clear in their marketing.  It works well in some areas and very 
very badly in other areas.  My area is supposedly well covered, but I 
was getting modem speeds and >modem latency.

What they also don't make clear is they'll refund your money if you 
can't get it to work acceptably.  So it is an option worth trying out.  

-- 
Rev Simon Rumble <[EMAIL PROTECTED]>
www.rumble.net


"Impact: Non-privileged primitive users can cause the
 total destruction of your entire invasion fleet and
 gain unauthorized access to files."
- CERT Advisory CA-96.13 - Alien/OS Vulnerability
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Access Card on Background Briefing

2006-12-18 Thread Rev Simon Rumble
I listened to this edition of ABC RN's Background Briefing last night.  
It's about the government's proposed "Access Card" which is basically 
the Australia Card Mark II.  Quite scary the privacy and security 
implications of this.  You've got to worry when a government minister 
sells it by saying "we're basically giving every Australian a mini 
iPod".

There's a downloadable mp3 of the programme.
http://www.abc.net.au/rn/backgroundbriefing/stories/2006/1805501.htm

The really funny (and scary, when you consider this is probably the kind 
of "robust" technology that will be holding all your private, personal 
information) part was this bit, where they're demonstrating the smart 
card on Brisbane public transport:

Now we're just walking up to a big vending machine here. How does this 
work into the pilot?

Luke Franzman: Well the vending machine at the moment, is where people 
add value to their cards. So you can touch the screen and -

Sharona Coutts: But the screen isn't working. It flickers a couple of 
times and then, weirdly, a Microsoft start-up screen springs up as if a 
home PC has suddenly invaded the ticket machine.

Luke Franzman: What's happening there, mate?

Sharona Coutts: Luke turns to another Translink person who's come along 
with us on the trip.

Man: This one's frozen, I'd say the touch screen's frozen. If we present 
a card ...

Luke Franzman: Cancel?

Man: See it's exactly accepting my card, but the touch screen is frozen. 
Then there's a known issue with the drive on the touch screen. It won't 
respond until it's been re-set.

Luke Franzman: So we have to get them out to re-set it? Will they be 
coming?

Man: We have to tell Cubic.

-- 
Rev Simon Rumble <[EMAIL PROTECTED]>
www.rumble.net


Warning - Contains nuts!

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


Re: [SLUG] ISP in Sydney? Unwired ?

2006-12-18 Thread john gibbons
I have been using Unwired in Sydney for most of the year. Provided you 
check out reception quality in your area, which you can do via their 
website, it is a good service and about 99.5% reliable.


John.

hav wrote:

Nathan:  I wouldn't want to be you, being the only yank - oh the what
that you shall cop!  ;-0
However, If you're asking around you'll probably be told to ignore
UnWired.  However, if you only operate within Syd or Melb, then its
actually a lot more reliable than most Sydneysiders know.  I think
they've given up advertising so much up there, however this is the
Unwired story as far as I can gather:  They started up in Sydney, and
cover that town however a lot of dropouts gave them a bad name.  Where
I live, Melbourne, they use Nathan Buckley (AFL star) to promote and bc
they had their teething probs up north, they're growing quite well.  I
don't know what else you would use if you don't have a landline - any
comments on it?  I don't know about default ports, but this is what I
know so far.  I'm sharing a landline and don't stray too far outside
the CBD but I'd appreciate any other suggestions?
Henz

  


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


Re: [SLUG] Something oddball with iptables

2006-12-18 Thread Alex Samad
On Tue, Dec 19, 2006 at 02:17:54PM +1100, Howard Lowndes wrote:
> I have a number of iptables rules on my border ppp0 connection that are 
> designed to collect traffic stats.
> 
> One of the rules looks for inbound IPIP (protocol 4) traffic.
> 
> The counters for this rule should not be changing as there should be no 
> inbound IPIP traffic, but they are, but when I do a tcpdump on the ppp0 
> interface specifically looking for protocol 4 - nothing.
> 
> Here is the rule:
> # iptables -L wanacctin -vnx
> Chain wanacctin (2 references)
> pkts  bytes target prot opt in out source 
>  destination
>   126052 42815767 RETURN 4--  *  *   0.0.0.0/0 
>0.0.0.0/0

why not add a log statement before 

> 
> and here are the rules that call this chain:
> # iptables -L INPUT -vnx |grep -e bytes -e wanacctin
> Chain INPUT (policy DROP 639 packets, 44355 bytes)
> pkts  bytes target prot opt in out source 
>  destination
>  4600933 2224764386 wanacctin  all  --  ppp0   *   0.0.0.0/0 
>  0.0.0.0/0
> 
> and:
> # iptables -L FORWARD -vnx |grep -e bytes -e wanacctin
> Chain FORWARD (policy DROP 917 packets, 68087 bytes)
> pkts  bytes target prot opt in out source 
>  destination
>  7248300 880565184 wanacctin  all  --  ppp0   *   0.0.0.0/0 
> 0.0.0.0/0
> 
> 
> Weird...
> 
> 
> 
> -- 
> Howard.
> LANNet Computing Associates - Your Linux people 
> When you want a computer system that works, just choose Linux;
> When you want a computer system that works, just, choose Microsoft.
> --
> Flatter government, not fatter government; abolish the Australian states.
> 
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 


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

Re: [SLUG] Ubuntu opera repository

2006-12-18 Thread Steve Kowalik
On Tue, 19 Dec 2006 13:00:57 +1100, Nick Croft uttered
> Wondering if anyone has any idea why Opera for Ubuntu (ppc) can't be found
> on any of the sites that everyone recommends.
> 
> deb http://archive.canonical.com/ubuntu dapper-commercial main
> 
In this repository, opera is only built for i386.

> or
> 
> deb http://deb.opera.com/opera etch non-free
> 
That should work, based on my digging around the repository via
HTTP. What does 'apt-get update' say about the repository, and if it
succeeds, what about 'apt-cache policy opera'?

Cheers,
-- 
Steve
C offers you enough rope to hang yourself.
C++ offers a fully equipped firing squad, a last cigarette and
a blindfold.
 - Erik de Castro Lopo
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ISP in Sydney??

2006-12-18 Thread Ben

On 12/13/06, Nathan Eckenrode <[EMAIL PROTECTED]> wrote:

My wife and I are quite possibly moving to Sydney - maybe to Manly - in a
couple of months. I go to school online and need a high speed connection,
preferrably one with a static IP address, any recommendations for which ISP
is 'best'?


DISCLOSURE: I receive a commission on new services with Internode
ordered through my business.

If you find an area with an Agile DSLAM (Agile being Internode's
sister company), you can get up to 2.5Mbps upload (starts at $70/month
for 10GB) if you live close enough to the exchange) Other ISPs with
ADSL2+ top out at 1.1, 1.0 or 0.5 upstream depending on how they've
configured things, but may be adding support for faster uploads in the
future.

Downstream synch speed should be high enough from any ADSL2+ provider,
but actual speed depends on their international and international
capacity which is highly variable.

As far as speed goes, you're basically looking at:

ADSL
Maxium upstream/downstream MBps
22.5/2.5 (Internode SOHO or higher)
24/1.1 (most ADSL 2+ providers)
8/0.384 or 0.5/0.5 (in areas without any ADSL 2+ providers)

Cable
17/0.256 or 10/0.128 or possible 10/0.256 (Telstra and Optus only)

Wireless
A few apartment blocks have in building low latency wireless broadband
from BigAir, but not many. All other wireless options will be lower
speed and higher latencies that may not be suitable for VoIP or other
things.

The forums at http://www.whirlpool.net.au will be loaded with advice,
but take it with a grain of salt.

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


[SLUG] ISP in Sydney? Unwired ?

2006-12-18 Thread hav
Nathan:  I wouldn't want to be you, being the only yank - oh the what
that you shall cop!  ;-0
However, If you're asking around you'll probably be told to ignore
UnWired.  However, if you only operate within Syd or Melb, then its
actually a lot more reliable than most Sydneysiders know.  I think
they've given up advertising so much up there, however this is the
Unwired story as far as I can gather:  They started up in Sydney, and
cover that town however a lot of dropouts gave them a bad name.  Where
I live, Melbourne, they use Nathan Buckley (AFL star) to promote and bc
they had their teething probs up north, they're growing quite well.  I
don't know what else you would use if you don't have a landline - any
comments on it?  I don't know about default ports, but this is what I
know so far.  I'm sharing a landline and don't stray too far outside
the CBD but I'd appreciate any other suggestions?
Henz

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


[SLUG] Ubuntu opera repository

2006-12-18 Thread Nick Croft
Wondering if anyone has any idea why Opera for Ubuntu (ppc) can't be found
on any of the sites that everyone recommends.

deb http://archive.canonical.com/ubuntu dapper-commercial main

or

deb http://deb.opera.com/opera etch non-free

I keep getting the 404 not found. I've got mostly dapper on this 
little powerbook.

Nick
-- 
Imagine a fearsomely comprehensive disclaimer of liability. 
Now fear, comprehensively.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] JMicron woes....

2006-12-18 Thread John Clarke
On Mon, Dec 18, 2006 at 08:16:04 +1100, Grant Parnell wrote:

> I've got a GA-965P-S3 motherboard with on-board JMicrcon controller. I've 

Any motherboard with a 965 chipset is a bit of a bugger to get going ...

I've installed Ubuntu Edgy on a couple of different Intel 965
motherboards but I needed to build a custom installation CD to do it. 
There are two problems:

1.  The PATA controller doesn't work unless "all-generic-ide" is passed
on the kernel command line, but this option doesn't work if the
driver is a module.  Solved by compiling the module in to the
kernel.
2.  The e1000 network driver in the kernel doesn't support the new h/w.
Solved by replacing the e1000 driver with the latest from sf.net.

A few days ago, Ubuntu released a kernel update which apparently
includes these fixes.  I've installed it on one Intel 965 motherboard
and it appears to work.  I haven't done a huge amount of testing but
both the PATA optical drive and the network are OK.

I've only found one live CD which boots and runs on the Intel 965
motherboards: grml (http://grml.org/).

> 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 

A few other options that I've seen suggested to deal with various
problems with 965 chipsets: pci=nommconf, acpi=off, irqpoll.  Zero or
more of those may work for you.


Cheers,

John
-- 
[Terminator 6] ... a robot is sent back in time to kill James Cameron and 
Celine Dion.  The world becomes a much better place.
-- Joe Creighton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Dovecot & ACK problems

2006-12-18 Thread Glen Turner
Howard Lowndes wrote:

> Any ideas where I should be looking.


Try a straight-forward HTTP GET of a huge file and see if you
have the same issues. Then you'll know if you are looking at
network or application behaviour.

Personally, I'd be thinking ethernet autonegotiation and
a failure causing a duplex mismatch and lost packets. But
there's little point jumping to conclusions in this sort
of investigation.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] mounting /tmp non executable ?

2006-12-18 Thread Alex Samad
On Tue, Dec 19, 2006 at 08:26:52AM +1100, Voytek Eymont wrote:
> on several ocassions I had malware downloaded and executed from /tmp
> (through CMS vulnerability);
> 
> there was a suggestion here to mount /tmp as non executable;
> 
> - do I need to partition the HD and make a separate partition for /tmp?
> - good/bad/excellent idea ?
I do this (/tmp is mount from another partition) the only catch is under debian
you have to either set TMP or remount tmp as exec before running aptitude,
because some of the pre|post install scripts are run from $TMP/

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


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

Re: [SLUG] Programming language

2006-12-18 Thread Alex Samad
On Tue, Dec 19, 2006 at 01:10:44AM +1100, Jacinta Richardson wrote:
> Alexander Samad wrote:
> 
> >Haven't seen the previous emails but what about
> >
> >sed -e 's/\([^:]*\):\([^:]*\):\(.*\)/Question number \1\n\2\n\3'
> >
> >or even
> >
> >awk -F : '/^.+$/ {print "Question number "$1"\n"$2"\n"$3}'
> 
> Very cool.  Although probably not going to help the OP learn how to 
> program. Your sed program is missing it's final /.  Also you're missing the 
> double newline between Questions.  Adding this gives:

true bad cut and paste! but you don;t need the last \n as it is part of the
input line any way
> 
> sed -e 's/\([^:]*\):\([^:]*\):\(.*\)/Question number \1\n\2\n\3\n/'
> awk -F : '/^.+$/ {print "Question number "$1"\n"$2"\n"$3"\n"}'
> 
> Compared with the equivalent Perl one-liner:
> 
> perl -F: -anle 'print "Question number ",join "\n",@F,"";'
> 
> I think the Perl golf wins.  ;)  Which is cute, because I honestly thought 
> awk would.
> 
> All the best,
> 
>   J
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 


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

Re: [SLUG] Linux for Seniors

2006-12-18 Thread Andreas Fischer

Hello,
Sorry for the late reply.  I live up in glenorie at the moment, and I have
to travel past Castle hill (I go Right past the retirement village) almost
every day, and I'd consider donating my time and expertise.

I'm not a guru or anything, but I'm familiar with many of the standard linux
apps, and the user interface, and basic system administration, and the
instalation of various Linux distributoins on old hardware (ranging from
P1's, to PIII's)  I might even be able to help get you some more old
computers.

I'll be moving in about a month, but I still won't mind coming out to help
after that.

- Andreas

On 12/5/06, Pia Waugh <[EMAIL PROTECTED]> wrote:


Hi Lynton,



> Would there be one of your members in the general Castle Hill area I
could
> make contact with for advice?

Please contact me on 0400 966 453 (my phone number is public knowledge
anyway :) and perhaps I'll be able to help you or assist in finding help.

Cheers,
Pia

--
Linux Australia
http://linux.org.au/

"If you have any trouble sounding condescending, find a Unix user to
   show you how it's done." - Scott Adams
--
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] mounting /tmp non executable ?

2006-12-18 Thread Voytek Eymont
on several ocassions I had malware downloaded and executed from /tmp
(through CMS vulnerability);

there was a suggestion here to mount /tmp as non executable;

- do I need to partition the HD and make a separate partition for /tmp?
- good/bad/excellent idea ?

-- 
Voytek

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


[SLUG] convert image to text?

2006-12-18 Thread Martin Ivanov
Hello!
 
 I am running Slackware Linux 11.0. I have a pdf file from which I want to 
select text and paste in openoffice as text, not as image (picture). With other 
pdf files I have no problem using the text select tool, but with that 
particular pdf file only images can be selected, not text. I browsed quite a 
lot of literature on converting images to text, but of no avail. I also tried 
the pdftotext tool, but vainly. With other pdf files it worked, but with this 
not. Obviously the pdf file has been created as image. I will be thankful to 
any suggestions on how to convert that pdf file to file from which text can be 
copied as text, not as image.
 
 Thank you very much in advance.
 Regards,
 Martin

-
Всички гледат! Гледай и ти! www.neterra.tv/bg 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Programming language

2006-12-18 Thread Ben

On 12/16/06, john gibbons <[EMAIL PROTECTED]> wrote:

What would be the easiest programming language to learn? Important
variables: (1) my technical knowledge of Linux is limited though I love
the philosophy of openness and (2) I am 80 years old, so at my age
'simple' also implies 'soon'. Not being pessimistic about my life span,
but a race is on.


It could depend on what kind of learner you are as well as what you
want to do with it. I've found some languages I tried to use just
didn't seem to work with my brain, but it could have had more to do
with those helping me.

The first program I wrote was two (human) player game of Go. I wrote
it in Perl in a very simple but probably inefficient manner.

I'm trying to learn Python now, because that's what a CMS I'm using is
written in.

I think Python, Perl, Java or PHP would probably be a good idea as
they seem to be in fairly common use and can be used in a wide variety
of environments, especially simple stuff.

You could probably write a self scoring questionnaire very easily in
HTML, but I don't know if that counts as programming :-)

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] Programming language

2006-12-18 Thread Jacinta Richardson

Jacinta Richardson wrote:


sed -e 's/\([^:]*\):\([^:]*\):\(.*\)/Question number \1\n\2\n\3\n/'
awk -F : '/^.+$/ {print "Question number "$1"\n"$2"\n"$3"\n"}'

Compared with the equivalent Perl one-liner:

perl -F: -anle 'print "Question number ",join "\n",@F,"";'


Apparently this is still too readable.  It can also be written:

perl -F: -alpe '$"=$/;$_="Question number @F\n"';

Which shows all too clearly why some people think Perl is line noise.  (Please 
don't use golfed code in production).


All the best,

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


Re: [SLUG] Programming language

2006-12-18 Thread Jacinta Richardson

Alexander Samad wrote:


Haven't seen the previous emails but what about

sed -e 's/\([^:]*\):\([^:]*\):\(.*\)/Question number \1\n\2\n\3'

or even

awk -F : '/^.+$/ {print "Question number "$1"\n"$2"\n"$3}'


Very cool.  Although probably not going to help the OP learn how to program. 
Your sed program is missing it's final /.  Also you're missing the double 
newline between Questions.  Adding this gives:


sed -e 's/\([^:]*\):\([^:]*\):\(.*\)/Question number \1\n\2\n\3\n/'
awk -F : '/^.+$/ {print "Question number "$1"\n"$2"\n"$3"\n"}'

Compared with the equivalent Perl one-liner:

perl -F: -anle 'print "Question number ",join "\n",@F,"";'

I think the Perl golf wins.  ;)  Which is cute, because I honestly thought awk 
would.


All the best,

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