Re: plastic hard drive support for an old ibm tinkcentre

2010-06-30 Thread Craig Falconer

Adrian Mageanu wrote, On 07/01/2010 04:28 PM:

Does anyone have a spare plastic support band/thing that keeps the hard
drive in place in an old IBM TinkCentre pc?

To be honest I don't even know what that plastic thing looks like, and I
can't even tell the exact model of the PC (I guess desktop A58 with
approximation), but the inside of the PC looks exactly like in these
pictures:


It'll be a blue frame the same light blue as the other bits of trim plastic.

If you buy it new would probably cost around $50.

What's the IBM model and part number for the case?  should be of the 
form -xxx and on a black sticker on the front of the case.




http://www-307.ibm.com/pc/support/site.wss/51261_locatecomp.gif



http://media.photobucket.com/image/ibm%20thinkcentre%20desktop%20hard%20disk%20enclosure/spike888ph/08-Desktops/Thinkcentre%2520M50%25208187/inside.jpg



It'd be cheaper for you to cobble it in rather than buying the correct 
bracket.



--
Craig Falconer


Re: resolution Problem Ubuntu 10.4

2010-06-22 Thread Craig Falconer

chris wrote, On 06/23/2010 07:52 PM:

   As I needed to keep SWMBO happy I uncoupled the box from my KVM switch
and set it up with the Viewsonic as a standalone system.

...

Bingo, it picked up the monitor and the edid information and immediately
settled onto the 1680x1050 resolution.
Also in the gui, it shows the full range of resolutions, and the monitor
name etc.

So the problem apparently is the KVM switch.
(which has not been an issue up until this release).


So the KVM switch is filtering out the EDID info.   Get a better KVM 
switch.   Novaview and Rextron ones work well.


A four port PS2 switch with OSD is about $200+
A four port USB switch with OSD is about $220+
2 port ones are available, but they don't do OSD or chaining.

Cables are normally extras too, in case they're a part of your existing KVM.

You can get 8 and 16 port ones too, but they're getting really pricy.

Interestingly - some KVM switches support dual monitors now.


Another option is to buy a new separate monitor and lose the KVM switch 
completely - probably quite similar costs.



--
Craig Falconer


Re: why oh why...

2010-06-15 Thread Craig Falconer

Steve Holdoway wrote, On 06/16/2010 09:43 AM:

... cant linux get it's sound sorted out properly?


Now I have that damn nursery song in my head... over and over.

Thanks, Steve.

--
Craig Falconer


horse accounts cleanup

2010-06-07 Thread Craig Falconer
There are 37 accounts on horse, and 24 of them have not been used for 
over a year.


I'm intending on deleting the old accounts sometime next week - if you 
want to keep it please login.


Anyone who has forgotten their password please let me know too.

I'm also following up on users with specific firewall rules.

--
Craig Falconer


Re: Telecom kills Bigtime plan

2010-05-20 Thread Craig Falconer

Solor Vox wrote, On 05/21/2010 12:25 AM:

If you haven't seen this already, Telecom is pulling their Big Time
(unlimited) data plan.  Existing customers will be given notice and
have to find something new.


Big time hasn't been a valid plan since 2006/7.   That's the one where 
they didn't admit to shaping and throttling. The replacement was called 
  Go Large  and stated that shaping would be done.   Still it had a 
"fair use" policy.



What do you guys recommend for higher (50GB+ per month) data usage in
CHCH?  Do any of the plans exclude data from citylink or other NZ open
source mirrors? =)


I suggest you look at ways to use less data.

No DSL or cable plan includes any form of split routing.  There was a 
TCL cable plan at 128K that gave a 1/10 charge for national traffic, but 
that was long ago.


True flat-rate starts at $1k/month.   There will not be a real domestic 
all-you-can-eat connection for double-digits/month.


--
Craig Falconer


Re: laptop recommendations pls

2010-05-03 Thread Craig Falconer

Robert Fisher wrote, On 05/04/2010 11:56 AM:



1. Economy - can be new / 'on special' or ex-lease.


I can get you a Dell Latitude D610 for less than $500

Intel T7200 Core 2 Duo 2.0Ghz Processor

2GB DDR2 Ram, 80GB SATA HDD

OnBoard Graphics, DVDRW

Gigabit Ethernet, USB2.0, WiFi, Bluetooth

14" Screen, XP Home (OS Pre-installed)



I second this - those are "good enough" and cheap enough so that it pays 
for itself if it lasts more than 18 months.   And generally the 
ex-corporate ones have had an easy life.



--
Craig Falconer


Re: Stopping disk I/O from massively slowing down the desktop - any suggestions?

2010-04-21 Thread Craig Falconer

Phill Coxon wrote, On 04/22/2010 12:27 PM:

When I upgrade to 64bit with the new install I'll get use of the full
4Gb which won't hurt either.


You don't require 64 bit kernels to use 4GB physical ram...  you can 
boot a PAE kernel and it'll find the memory okay.


Still a 64 bit CPU works better in a 64 bit kernel.


--
Craig Falconer


Re: Connecting to a Thompson WiFi router.

2010-04-14 Thread Craig Falconer

Christopher Sawtell wrote, On 04/14/2010 05:54 PM:

Anyway what device would the list wisdom recommend?


Depends on a lot of things.

At work we absolutely recommend a cisco SR520, or a SR520W if you want 
an AP.However I realise this is outside the reach of most home 
users.  If you find an 857 cheap then grab it  (where cheap is under 
$hundred)   Don't bother with an 837 or older, they only do ADSL1.


Personally I don't mind a venerable linksys WRT54GL but its only an 
ethernet router, you still need a DSL modem and then you're in the 
realms of double NAT.

..Then again I'd not have DSL by choice.  Ever.

My folks got a linksys WAG54G2 - new about $150 at the time.   Does 
everything and has fair wireless range despite having no external 
aerials.  Probably you'd get an 802.11N variant nowdays.


--
Craig Falconer


Re: Connecting to a Thompson WiFi router.

2010-04-13 Thread Craig Falconer

Christopher Sawtell wrote, On 04/14/2010 10:51 AM:

I have been trying persuade an updated to the moment Linux lappie to
connect to a Thompson ADSL to WiFi router as supplied 'free' by the
Telebrats. Result - Singular lack of success. It very connected
occasionally, but it was a utterly hit and miss affair.

   War stories and the incantations for success would be most
gratefully received.


They're utter crap.

We use them as LCD monitor stands here. At least telephone books get 
recycled.



Is someone else in the area using the same channel?  Is it near a 
microwave or a 2.4 GHz cordless phone?


--
Craig Falconer


Re: Bluetooth dongles

2010-04-11 Thread Craig Falconer

Dave G wrote, On 04/10/2010 08:00 PM:

I got this one from Jaycar for about 30 bucks:  Jaycar Electronics Tiny
Bluetooth Adaptor CAT. NO. XC4892

And this on Trademe for about $10:  Bus 003 Device 004: ID 0a12:0001
Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)



http://www.dealextreme.com/details.dx/sku.11866
$2 USD each, free shipping.

I'm going to buy a couple dozen for our new office cell phones.

If you're leery about buying from an asian place over the web please let 
me know and I'll get a couple spares.


The downside is shipping can be several weeks.

--
Craig Falconer


Re: md RAID

2010-04-08 Thread Craig Falconer

Solor Vox wrote, On 04/09/2010 11:25 AM:

Sorry, I didn't remember asking for help in choosing RAID type.  Guess
I should re-read my own message.


Given some of your earlier comments - I'm guessing this is for a media 
PC of some description?


Cos if all you're storing is broadcast TV  its not really that 
important IMO.


I've done a wee bit with mythtv, and it has a feature called Storage 
Pools.  This allows you to set a collection of disks of any size (and 
quality) as One-Big-Disk but loss of one disk will not affect the rest.

The other media center apps may have something similar.

So you'd get all 6 TB of storage, but with no protection.



--
Craig Falconer


Re: md RAID

2010-04-08 Thread Craig Falconer

Bryce Stenberg wrote, On 04/09/2010 10:21 AM:

My experience with RAID is all from windows - but it may translate to
Linux.
I would have ask why not use Hardware RAID (unless not available) so in
the OS all your dealing with is a single disk setup rather than all this
software RAID complication?


Windows software raid is arse, thats why.

Linux software raid shows you all the gory detail and lets you shoot 
yourself quite successfully.  Its much more versatile.




As a side note on the Informix list I watch it is repeatedly said not to
use RAID 5 if you can - explanation here:
http://www.miracleas.com/BAARF/RAID5_versus_RAID10.txt


Nice - I saw somewhere that the likelyhood of losing a second drive 
increases exponentially once one has failed or started erroring.


One way to reduce that risk is to assemble the raid on drives of 
different brands/models or different production runs.  Then again... 
that seagate firmware bug last year affected many models/sizes


--
Craig Falconer



Re: md RAID

2010-04-08 Thread Craig Falconer

Solor Vox wrote, On 04/09/2010 09:16 AM:

So for argument's sake, lets say that of the
usable 4.5TB, 4TB is for large 8GB and up files.  I also plan on
either ext4 or xfs.


Another variable here is fsck time.  We found jfs to have the most 
consistent fsck times (not the shortest, but never the longest)  However 
that was for backup drives with lots of files.



While this all may seem like a bit much, getting it right can mean an
extra 30-50MB/s or more from the array.  So, has anyone done this type
of optimization?  I'd really rather not spend a week(s) testing
different values as 6TB arrays can take several hours to build.


You've really got no option but to test.

I suggest you create a test regime that creates and destroys raids, and 
tests them.   Your tests don't need to be full sized, but you'd have to 
wait for the md to finish synching.


We go with raid1 with some minor exceptions which are raid5.  For them, 
we found the defaults is "good enough"  unless you push numbers right 
out to the ends, where performance drops off massively.


Even the default settings should be enough to saturate gig ethernet.


--
Craig Falconer


Re: Netbook opinions?

2010-04-06 Thread Craig Falconer

Solor Vox wrote, On 07/04/10 13:39:

Only one thing to say about that...
http://28.media.tumblr.com/tumblr_kxb4hyZ9pM1qb1o1fo1_500.jpg
And it speaks for itself.


Far too reasoned and logical.

Here's something with gratuitous violence... much more fun.
http://laughingsquid.com/ipad-will-it-blend/


--
Craig Falconer



Re: Netbook opinions?

2010-04-06 Thread Craig Falconer

Craig Falconer wrote, On 07/04/10 13:33:

Robert Fisher wrote, On 07/04/10 12:23:

I looked at netbooks but in the end bought a ex lease Dell D420 from
laptop universe. Reasons:


I have had an ex lease Dell D410 for ages and like it for the same 
reasons

Nick mentioned.


Have we eliminated all the Apple fanboys ?  Noone has mentioned the ipad 
at all.   Rather spendy, but looks very pretty.


No idea if you can get to  terminal.app  still.
And thats a BSDish not linux.


Bad form replying to myself...   This just arrived.

Acer eMachines eM250 10.1" Atom N270 1GB 160GB XP Home

10.1" 1024x600 LED Screen, Atom N270 Processor, 1GB DDR2 Ram, 160GB SATA 
HDD Hard Drive, No Optical Drive, 802.11b/g, 3hr battery, 1.2Kg, 
eMachine webcam, XP Home, 1 Year PRR.


RRP is $499 +GST

http://www.dove.co.nz/jump/6545


--
Craig Falconer
  The Total Team - Secure Networks for Serious Business
  Office: 0800 888 326 / +643 974 9128
  Email: workor...@totalteam.co.nz
  Web: http://www.totalteam.co.nz/



Re: Netbook opinions?

2010-04-06 Thread Craig Falconer

Robert Fisher wrote, On 07/04/10 12:23:

I looked at netbooks but in the end bought a ex lease Dell D420 from
laptop universe. Reasons:



I have had an ex lease Dell D410 for ages and like it for the same reasons
Nick mentioned.


Have we eliminated all the Apple fanboys ?  Noone has mentioned the ipad 
at all.   Rather spendy, but looks very pretty.


No idea if you can get to  terminal.app  still.
And thats a BSDish not linux.


--
Craig Falconer



Re: Netbook opinions?

2010-04-06 Thread Craig Falconer

Aidan Gauland wrote, On 07/04/10 09:13:

I have a birthday coming up, and up for grabs is a netbook.  I have heard good
things about the Eee PC family from CLUGers a while ago, so I would like to
hear any opinions on this model in particular:
<http://www.enetcomputers.co.nz/ProductDetails.asp?ProductCode=ASUS103>. (For
the impatient and those confined by an over-restrictive firewall, it is listed
as an "Asus EeePC 1005HA").  Any recommendations of or opinions on other
models or families would be welcome, as well.


I've got a 901, which is fantastic.  But it has some drawbacks.

* Keyboard is small - its not a desktop replacement.
* Screen is fine, but some apps can put themselves (and their OK 
buttons) below the bottom of the screen.  Not as much of a problem as it 
used to be with the 800x480 screens on the 700 models

* CPU is "adequate" but its not a desktop replacement.
* Battery life is great - five hours, more if its intermittent.
* Wireless Aerial is great - I see way more SSIDs on the eee than I do 
on other laptops.  Never tested the N wireless though.

* Webcam is kinda useless - never had a purpose for it other than playing.
* Bluetooth to a bunch of cell phones etc works nicely.


I still end up carrying a mouse with a shortened USB cable.  The 
touchpad is better than a 700, but its not stunning.


The provided foam pouch is fine, and the PSUs are nicely small.

One niggle - I swear mine reported a gigabit PCIe wired ethernet card. 
Then I did a BIOS upgrade and it reverted to 100 Mbit.


I'd suggest the Solid State version for durability.  I've got 4+8 GB 
onboard and a 16 GB SDHC card for stuff permanently in the slot.

I dual boot XP and linux depending on the task at hand.

Debian works fine for me with all hardware.


Slightly bigger keyboard would make it fantastic - go for it.


--
Craig Falconer



Re: 2 hard drives - filesystem question?

2010-03-31 Thread Craig Falconer

Ryan McCoskrie wrote, On 01/04/10 17:44:
 > How desperately do you want this done? The whole partitioning

scheme is designed on the assumption that no one is going to try
something like this.


"Designed" ?  Nah - wrong word.

Most of the interesting differences between unixes and other OSs come 
from the sheer age of the original.


Disks were much smaller and having a separate disk for /usr /home /var 
and mail was much more likely.


We've just taken that restriction and called it a feature.

LVM is one way around this, now that disks have got much larger.


--
Craig Falconer



Re: 2 hard drives - filesystem question?

2010-03-31 Thread Craig Falconer

Bryce Stenberg wrote, On 01/04/10 15:03:

Luckily, this is all using PV's and LV's. So I'll go add another LV for
/var.  I was trying to get it all in one LV to simplify backup/restore
procedures, but looks like it can't be done without going via a
'horrible answer' :)


Actually its less hard for you with LVM already in use.

Run pvdisplay and look for "Free PE" If you have some then its easy.


Else you'll have to free some space.   What filesystem is /home ?  I 
understand ext2 and ext3 can be shrunk but xfs and jfs cannot.  No idea 
about ext4.





--
Craig Falconer



Re: 2 hard drives - filesystem question?

2010-03-31 Thread Craig Falconer

Bryce Stenberg wrote, On 01/04/10 14:48:

I have two hard drives on this server.
Everything except /home is on the first drive.
/home is on the second drive, as configured during the install.



(so now the bit I don’t get):
I also want /var on the second drive.
I want /var and /home to be on the same partition on the second drive.
How do I go about that?
I get confused as /home is currently the mount point for that whole 
partition, so how do I add /var in at that level also? In windows I’d 
just add or move the directories on to the second drive, not sure what 
to do in linux.


If the home partition uses the complete second drive then you're stuffed.

You'll either have to reduce the size of the sdb1 partition to provide 
room on sdb for sdb2, or add a third drive.


You could move var into /home, but its a horrible answer.  Package 
management can get terribly upset. As root, something like:


init 1
mkdir /home/var
rsync -avH /var /home/var
mv /var /var.old
ln -s /home/var /var
reboot


In the future use PVs and create enough space for what you need, with 
some spare extents for adding to LVs later, if needed.




--
Craig Falconer



Re: Print large image across multiple sheets

2010-03-29 Thread Craig Falconer

Roy Britten wrote, On 29/03/10 23:57:

In that case you might care to take you file to one of the sign and
poster printing houses and get it professionally printed on a single
piece of paper / plasstic.


Ah, that was my original plan, right up to the point where I found out
how much they charge...


I know it might be considered a bit analogue, but have you thought about 
buying the printed topomap for the area?


mapworld in 255 Manchester Street (0800 627 967) should have what you need.


--
Craig Falconer





Re: Print large image across multiple sheets

2010-03-29 Thread Craig Falconer

Roy Britten wrote, On 30/03/10 10:50:

Created with Image Magick from a number of TIFFs obtained from the
LINZ web site (where all the new 1:50,000 series maps are available
for download). I have to stitch together 6 maps to cover the tramp I'm
doing later this year.


So - why combine it to split it ?

Can you just print the 6 original pieces ?


--
Craig Falconer



Re: Print large image across multiple sheets

2010-03-29 Thread Craig Falconer

Roy Britten wrote, On 29/03/10 23:31:

The image was created on the same machine with no real problems.


So what created the image?  I'm guessing its a map.


--
Craig Falconer



Re: Reducing log file noise

2010-03-28 Thread Craig Falconer

Tom Munro Glass wrote, On 29/03/10 11:24:

On Mon, 29 Mar 2010 11:19:33 Craig Falconer wrote:

Tom Munro Glass wrote, On 29/03/10 11:11:

Mar 28 22:56:50 localhost init: Id "ACM0" respawning too fast: disabled
for 5 minutes



Your problem is that init is bringing up the process and failing.  Not
that its logging too much.


Thanks Craig - I figured that was the problem. Is there a way of making init 
quieter? Associated with this, is there a way of changing the disabled period 
from 5 minutes?


I think you're patching the symptom, not the cause.  init's job to to 
make sure certain processes are running.


Perhaps udev is your answer instead of init - if the modem is found then 
run something, otherwise don't.



--
Craig Falconer



Re: Reducing log file noise

2010-03-28 Thread Craig Falconer

Tom Munro Glass wrote, On 29/03/10 11:11:
Mar 28 22:56:50 localhost init: Id "ACM0" respawning too fast: disabled for 5 
minutes


Your problem is that init is bringing up the process and failing.  Not 
that its logging too much.




--
Craig Falconer



Re: horse and webshell

2010-03-23 Thread Craig Falconer

Tom Smith wrote, On 24/03/10 12:07:

I followed this link but only got this.. must be just my system right??

shell.clug.org.nz uses an invalid security certificate.
The certificate is not trusted because it is self signed.
The certificate is only valid for shell.clug.net.nz
The certificate expired on 24/05/09 13:59.


Yep - its a self-signed certificate.   This is not a problem, but most 
of the web browsers will raise a warning.


My problem is that I created it for shell.clug.net.nz and now we're only 
using clug.org.nz, and also that its expired.


Point is moot given its going away soon.

--
Craig Falconer



Re: horse and webshell

2010-03-22 Thread Craig Falconer

Ryan McCoskrie wrote, On 23/03/10 10:42:

On Tue, 23 Mar 2010 08:25:50 C. Falconer wrote:

Hi all - with respect to horse, how many of the current users make use
of the webshell running on port 443?


That webshell looks really cool! What do people use it for?


Accessing horse from sites that only allow http/https  access out.
It was originally an ssh app for the iphone, hence the onscreen keyboard 
thing.


Why?   http requests can be transparently proxied/logged and the user 
has no idea or control of this.
Meanwhile, https can be logged but it cannot be proxied,  so while a 
firewall operator might see you going to 
https://yourbank.co.nz/accounts/balances they cannot read the page content.


So, running an  ssh app on that port allowed users to access horse via 
ssh without actually being able to connect out on port 22.


If you're interested, look in /opt/WebShell on horse.
Its run as
 screen -d -m /opt/WebShell/webshell.py

Source is in /usr/src/WebShell*



--
Craig Falconer



Re: horse and webshell

2010-03-22 Thread Craig Falconer

Steve Holdoway wrote, On 23/03/10 08:42:

... it's usual to run openvpn over udp, so shouldn't clash???


You can run openvpn with either TCP or UDP transport.  My wife wants to 
use a wireless service that only allows port 80/tcp (transparently 
proxied) and port 443/tcp.


Either that or she gets a vodem/aircard/t3g card.



--
Craig Falconer



Re: Ditto: OT: Free external 56k modem

2010-03-21 Thread Craig Falconer

rob...@tmail.com wrote, On 22/03/10 13:46:



...nothing?

Did you leave a word out Rob?


--
Craig Falconer



Re: Good SSH client for windows?

2010-03-18 Thread Craig Falconer

Bryce Stenberg wrote, On 19/03/10 15:11:

I have my Ubuntu Server 9.10 up and running.
I connect to it from my windows pc with a SSH client called Tunnelier
(by BitVise).

But the colours are no good - get a dark blue on black for directories
in a listing and comments in vim - almost unreadable.  I can't find any
way to change these colours so...

I need a good SSH client to use on my windows machine.

Any recommendations?


PuTTY.  It works, its free, and it works.

Some people use teraterm which looks terrible to me.

Or you could install cygwin and compile up xterm and ssh for windows.

Or you could install linux on your desktop.

Or look at your aliases once logged in... perhaps you don't want colour 
ls listings.


Like good open source - theres five different ways for you to go :)


--
Craig Falconer



Re: Ditto: OT: Free external 56k modem

2010-03-16 Thread Craig Falconer

yuri wrote, On 17/03/10 17:16:

On St Paddy's Day at 13:15, Ross Drummond wrote:

no matter what conditions the copper cables submerged
below the water table for 30 years or Telecoms coal
fired exchange threw at it.


Pity the poor cable jointer who has to dig up a cable to repair it,
and the hole keeps filling with water.


They have pumps in the truck for that, and spanky wee tents to keep the 
rain off.


I'd be more worried about the lead and tar sheathe they use to 
waterproof the bundles.   Using a gas blowtorch to soften the lead and 
make it watertight again...



--
Craig Falconer


Re: Ditto: OT: Free external 56k modem

2010-03-16 Thread Craig Falconer

Ross Drummond wrote, On 17/03/10 13:15:

On Wednesday 17 March 2010, you wrote:

Chris Downie wrote, On 17/03/10 11:59:

I too have a modem free to a good home. It's a Dynalink e-modem
(1456VQE-C). Complete, in original box. Please contact me off-list if you
want it.

Crikey - that might class as a collectible antique by now... Specially
when its in the original box still.


My old ISA Dynalink modem, V1456VQH-R5-NZL, will forever hold a special place 
in my heart.
Why? This dial up modem never disconnected, no matter what conditions the 
copper cables submerged below the water table for 30 years or Telecoms coal 
fired exchange threw at it.
I used to download iso images with wget and this 56k modem. It would take 
three nights, downloading between bed-e-byes and sparrow fart.


Likewise - my netcomm pocket rocket is safely stored  1200 baud of 
goodness, and it used 9V batteries like they were going out of fashion.




--
Craig Falconer
  The Total Team - Secure Networks for Serious Business
  Office: 0800 888 326 / +643 974 9128
  Email: workor...@totalteam.co.nz
  Web: http://www.totalteam.co.nz/



Re: Ditto: OT: Free external 56k modem

2010-03-16 Thread Craig Falconer

Chris Downie wrote, On 17/03/10 11:59:
I too have a modem free to a good home. It's a Dynalink e-modem (1456VQE-C). 
Complete, in original box. Please contact me off-list if you want it.


Crikey - that might class as a collectible antique by now... Specially 
when its in the original box still.



--
Craig Falconer



Re: ssh testing - fail2ban

2010-03-11 Thread Craig Falconer

Derek Smithies wrote, On 12/03/10 10:16:
yes yes, this is security by obscurity, (which is a poor form security), 
but it is a start in the right direction. It will cut down on the number 
of attacks on your box.


I suggest using fail2ban or something similar.
It allows 5 failed ssh connections then firewalls off that source IP for 
a time.  Works well on horse.


horse:/var/log# iptables -L
Chain fail2ban-ssh (1 references)
target prot opt source   destination
DROP   all  --  203.167.214.38   anywhere
DROP   all  --  16.102.7.91  anywhere
RETURN all  --  anywhere anywhere
...


Or if this is something you'll do more in the future then look at a 
proper VPN setup.



--
Craig Falconer



Re: cable testing?

2010-03-04 Thread Craig Falconer

Robert Fisher wrote, On 05/03/10 14:18:

Cable is actually pretty tough stuff.  I once helped someone lower a
hefty old wooden desk out a second-story balony and all we had was a 20
metre length of coax cable with RCA connectors.


Did you use NetBui?


No it was audio cable not data cable.


--
Craig Falconer



Re: cable testing?

2010-03-04 Thread Craig Falconer

Nick Rout wrote, On 05/03/10 13:28:

Now for the upstairs connection, which cable had an even harder time on the run!


Cable is actually pretty tough stuff.  I once helped someone lower a 
hefty old wooden desk out a second-story balony and all we had was a 20 
metre length of coax cable with RCA connectors.


A couple months later I needed a spare cable to run composite video to a 
projector - grabbed this and it worked perfectly.




--
Craig Falconer



Re: twitter clients?

2010-03-04 Thread Craig Falconer

Steve Holdoway wrote, On 05/03/10 11:17:

What do people recommend? I'm sick of gtwitter crashing for no apparent
reason! Ubuntu 9.10 64 bit platform...


nothing.

Twitter is so insanely pointless.

--
Craig Falconer



Re: cable testing?

2010-03-03 Thread Craig Falconer

Christopher Sawtell wrote, On 04/03/10 14:42:

 > Stop - first check you have plugs that match your cable.  RJ45 plugs for
 > solid do not work well on stranded and vice versa.
How do you tell the difference?


Without trying to be funny - you read the label.

The actual physical difference is the shape of the cutting/gripping edge 
on each metal spade, and the cost is almost 1/3 more for stranded plugs.



EG
http://www.cdlnz.com/index.html?do=viewproduct&code=RJ-45%20R%20LD&ID=2689410
DYNAMIX RJ-45 8P8C Modular Plug (Round, Stranded) - 50 micron Latch Down 
Clip

40 cents each ++


http://www.cdlnz.com/index.html?do=viewproduct&code=RJ-45%20SR&ID=2689415
DYNAMIX RJ-45 8P8C Modular Plug (Round, Solid) - 50 micron
25 cents each ++




--
Craig Falconer



Re: cable testing?

2010-03-03 Thread Craig Falconer

Nick Rout wrote, On 04/03/10 14:28:

Having now cross-examined the cable layer (she who must be skinny
enough to crawl under the house) I suspect the cable may have been
damaged going around some brick work and needing a damn good tug at
some points. She has "volunteered" to try again [1], luckily we have
plenty of cable. I will report back in due course.



Stop - first check you have plugs that match your cable.  RJ45 plugs for 
solid do not work well on stranded and vice versa.


Secondly - if you fasten the new wire to the old wire and pull it 
through, then there's no need to go under the house again.



--
Craig Falconer



Re: OT: Telecom Proxy servers?

2010-03-03 Thread Craig Falconer

CABLE CABLE CABLE!

Or if you live in an internet-ghetto^Wnon-cabled area then you're pretty 
stuck with telecom DSL, whether it be xtra or wholesaled through another 
ISP.


Some areas (mostly city) allow telstraclear DSL, but thats PPPoE and 
only in places they have their own copper but not coax.


I've heard excellent stuff about netspeed wireless, and they have 
provided a decent pipe in Hoon Hay, at a location where DSL was under 2 
Mbit.

http://www.netspeed.net.nz/
http://www.f1.co.nz/Christchurch franchise



Paul Swafford wrote, On 04/03/10 12:14:

Thanks Craig ..
Well there is an opt out .. its called find another provider ..
I guess the next question is who?



Craig Falconer wrote:

Paul Swafford wrote, On 04/03/10 11:50:

I've started working more from home lately .. sadly I'm on Telecom DSL

I've noticed a lot of caching going on .. particularly (but not only) 
when I update pages on a US server.
I'm constantly fed old version of these pages rather than the new 
page I just uploaded.

.. even demanding an uncached version fails to work.

Has anyone else noticed this?
I guess I first noticed it about 2 or 3 months ago.


Yes - domestic DSL are now being transparently proxied since August 
last year.   There's no opt-out.

http://list.waikato.ac.nz/pipermail/nznog/2009-August/015729.html



--
Craig Falconer



Re: OT: Telecom Proxy servers?

2010-03-03 Thread Craig Falconer

Paul Swafford wrote, On 04/03/10 11:50:

I've started working more from home lately .. sadly I'm on Telecom DSL

I've noticed a lot of caching going on .. particularly (but not only) 
when I update pages on a US server.
I'm constantly fed old version of these pages rather than the new page I 
just uploaded.

.. even demanding an uncached version fails to work.

Has anyone else noticed this?
I guess I first noticed it about 2 or 3 months ago.


Yes - domestic DSL are now being transparently proxied since August last 
year.   There's no opt-out.



http://list.waikato.ac.nz/pipermail/nznog/2009-August/015729.html





--
Craig Falconer



Re: cable testing?

2010-03-02 Thread Craig Falconer

Nick Rout wrote, On 02/03/10 21:49:

I have run a couple of cat5e cables and I am trying to terminate them,
unsuccessfully at present.


What kind of cable?  Solid core or stranded?  Is it fixed in the wall or 
is it running around the floor?



Will a cable tester help me? I suspect that each time I put a plug on
the end one or more of the wires is in the wrong place, or not quite
long enough to make the connection. Coupled with this I am only 90%
sure which cable end is which at the switch end (ie the centre of the
star), having failed to mark them.


Easy way is to use a tone source.  I have one.


Is there some sort of cable tester that can, eg, tell me what wires
are right and what are wrong, and which end of the cable is wired
wrong?


Yes and no...  Cable continuity testers are $20 to $100ish and they step 
across 8 or 9 pins sequentially, putting a voltage on the other wires to 
 complete the circuit.


More expensive boxes are called scanners and cost thousands - they can 
do things like testing all OSI layers (ie speak a full smtp session with 
a remote host) as well as testing actual voltages, cable lengths, noise 
factors, etc.


We had an issue with an IBM x3350 server... loverly 1RU box with a dual 
core CPU, lightpath, raid, dual PSUs etc etc.  Worth around $7k.  It 
would randomly drop HD0, and possibly lock up and die.  Once it 
completely lost both ethernet interfaces on a dual port PCIe NIC.

It is dual UPSed up the wazoo.
We replaced the IBM motherboard, drives three times, cables, backplane, 
raid controller, ethernet card, riser board etc all to no avail.
Turns out that there was a POE injector up the cable, and it was putting 
out-of-spec voltages down the ethernet straight into the firewall. 
Putting a fuse in place (actually a cheapie 5 port ethernet switch as a 
sacrificial protection) seems to have cured the problem.

So a voltage-reading scanner scope would have found that much quicker.
The previous box in the same position was an IBM x306, which died in a 
similar but more permanent way.


http://www.atecorp.com/equipment/fluke/675.asp
That one even measures token ring round-trip time and corrupt packet 
generation.  Its worth around $25k.




And, heres the hit, can someone in ChCh  lend me one?


Of course!



--
Craig Falconer


Re: chroot sftp users

2010-03-01 Thread Craig Falconer

Glenn Cogle wrote, On 02/03/10 16:30:
Box is in DMZ behind a pretty tight firewall, so not really touching the 
'net.


The box can't even get out to the net (http or FTP) to do an apt-get 
update, which is another reason it doesn't get dist-upgraded.


Okay that's not so bad.

To my shame, I have a windows 2000 server on the net, and a fedora core 
3 server doing critical stuff for a corporate.


You do have backups, right Glenn ?

--
Craig Falconer



Re: chroot sftp users

2010-03-01 Thread Craig Falconer

Glenn Cogle wrote, On 02/03/10 16:10:
Although the hardware is meaty enough (xeon 3.6GHz, 3GbRAM) , upgrading 
the OS + software isn't really an option because


1. the box is owned by CompanyA, and used by CompanyB.  I work for CompanyC.
2. I lack the testicular fortitude to dist-upgrade for fear of breaking 
who-knows-what


Please tell me this box is not facing the internet.

You're just asking for a security compromise running a distro that old.


--
Craig Falconer



Re: chroot sftp users

2010-03-01 Thread Craig Falconer

Steve Holdoway wrote, On 02/03/10 09:38:
I recommend you edit /etc/apt/sources.list and change sarge to "stable" 
then do a full

apt-get update && apt-get dist-upgrade

Woah there just one minute Craig. I really wouldn't skip a release when
doing this.


Doh - yes good point.


It's long-winded, but I'd perform a dist-upgrade to etch, then to stable
if you're going that route.



But, tbh, I'd do a clean install of lenny (stable) in preference.


Yes quite right - and if the new box is 64 bit capable, just do that 
from the start.


--
Craig Falconer


Re: chroot sftp users

2010-03-01 Thread Craig Falconer

Glenn Cogle wrote, On 01/03/10 17:27:
I want to chroot my sftp users to their respective home directories, but 
apparently this isn't the default behaviour.
My server is debian 3.1, openssh 3.8.1p1 & vsftpd 2.0.3 - not exactly 
cutting edge, but it works.

...


Interested in comments from those who have been here...


I've not done this myself, but at the glacial speed of debian releases 
your 3.1 / sarge install dates from 2005 and probably hasn't had a 
security update since 2007.

Try a
dpkg -S openssh-blacklist
and see if you're still vulnerable to that.

Lenny is 5.0 and is classed as stable.

I recommend you edit /etc/apt/sources.list and change sarge to "stable" 
then do a full

apt-get update && apt-get dist-upgrade

Or possibly its time for new hardware  the box has to be fairly old 
now.   To build on a newer box will be better than trying to rebuild the 
existing one.


After that, all the updated versions should work much better.
vsftp is 2.2.2-3
openssh is 1:5.3p1-1


--
Craig Falconer


Re: Filesystem and replacing .. The final word??

2010-02-28 Thread Craig Falconer

Aidan Gauland wrote, On 26/02/10 21:41:

I'm glad to see the labs have Emacs 23 this year.  I love Emacs.


Dunno why - vi is everywhere, emacs isn't.
Even if you hate it, you still have to know how to use it.


--
CF



Re: Filesystem and replacing .. The final word??

2010-02-16 Thread Craig Falconer

Peter Glassenbury (CSSE) wrote, On 17/02/10 13:13:


Different folks wrote :
 > Lots of things...

Since you are doing Computer Science and I am doing the rollout :-)
I can tell you a few things...


Yeah - watch out... Pete lurks here.


The MINIMUM machine for unix courses is a quad core with 4Gig of
memory and a 22" widescreen. (They dual boot windows)


Wow - screens have got smaller since the sun days ;)

Another option is some mega-fat VM servers which generates new windows 
machines from a template.  Guest OS get destroyed when user is finished 
with it and a fresh one is copied for the next user.


I guess a terminal server environment isn't appropriate ?


> If you want to do things that don't effect other users, and improve
> your learning...  that is what the department wants you to do.

That's not what you said back then!


--
Craig Falconer



Re: Filesystem and replacing the window manager

2010-02-16 Thread Craig Falconer

Aidan Gauland wrote, On 16/02/10 21:01:

I am about to start university next week, and I do not like either KDE or
GNOME, which is all that is available in Canterbury's C.S. computer labs.  I
would like to put my favourite window manager on my memory stick, and run it
in place of the one into which I login.

This raises two problems: how do I switch window managers within an X session
(without terminating the X session)?  And what filesystem can I put on my
memory stick that is more UNIX friendly than FAT, but that does not have the
ext filesystems' problem of confusing the system that mounts it when moving
between systems with different UIDs?

These are, of course, not huge issues, but I would like to figure this out at
some point.


Buy a laptop and use that instead.  You can do whatever you want on your 
own box.


Of course, you might not be allowed to connect it to the cosc network. 
Better check the aup.


I vaguely remember running afterstep as a window manager on the old sun 
3/50.  I had the binary statically compiled in my home directory and it 
worked fairly well.  Depends how much of your profile is automatically 
generated.  (mush!)


--
Craig Falconer



Re: wifi router recommendations

2010-02-09 Thread Craig Falconer
You can see a bunch of other SSIDs?  Perhaps they're using all available 
channels and your's has a lower power output?  Is the aerial on okay?



Dave G wrote, On 10/02/10 14:24:

the eth0 ports are all working  fine and I have confirmed that the
wifi on my lappy is all
working as I can see other local wireless networks (but not mine) and
it connects up fine at other wireless hotspots etc.



--
Craig Falconer



Re: Revamping my storage

2010-02-08 Thread Craig Falconer

You need to rate your data's importance too.

Server 1 - file/etc
2x200 GB drives in a RAID1 for my important stuff
1TB for exported myth recordings (long term storage)
200 GB system drive

Server 2 - mythtv and backups
500 GB for myth live recordings (expires over time)
250GB for backups
40GB system drive

So while I'd like to raid everything, I can't afford that.
Only the important stuff is on a raid, then backed up to another disk, 
which is then off-sited on a USB drive.



How much important data do you have?

We have been toying with freenas and openfiler lately, using iSCSI and 
NFS and cifs to access disks over the network.  Works nicely, but its 
another box


New drives aren't too bad these days - consider a couple of 1-2TB drives 
in a raid1 for all your data.  Depends on budget.




Nick Rout wrote, On 09/02/10 16:27:

OK I have been collecting media files for ages and have:

2 compaq small form factor boxes, one freebsd and one linux, each with
a 300G hard drive for videos. (PATA)

2 external usb hard drives with 300 SATA and 250G PATA respectively.
(each has a brick power supply)

1 mythtv backend box in a tower with a 1TB SATA drive (for tv) and a
750G SATA drive (for videos and music)

These plus a cable modem and router under the stairs contribute
significantly to global warming and power consumption. I'd like to
rationalise this, particularly the 2 compaq boxes and the external
drives. The mythtv box I will pretty well leave alone, its working and
the one mantra about mythtv is that if it ain't broke, don't fix it!

I am wondering about turnkey NAS systems, maybe something to hold
everything that's not in the myth backend box. Ignoring the operating
systems that's about (300+300+300+250 = 1.15T) - so to allow headroom
and avoid the same problem again later I figure something with 2-4TB
would be needed. But that'll cost quite a bit I imagine, and then I'll
have all those drives left over and nothing in particular to do with
them unless I foolishly start down the same track again...

OTOH I could resurrect a tower from the garage with an IDE
motherboard, get a PCI SATA card and shove all those drives in one
box, and maybe a couple more besides.

Anyone got any suggestions to restore sanity to all this?



--
Craig Falconer


Re: Tip O'The Day : pigz and pbzip2

2010-02-08 Thread Craig Falconer
Yep - I've not used pigz, but be advised that pbzip2 does not produce 
the same file as bzip2 with the same options.


Functionally they're the same and can be treated as such, but a parallel 
bzipped file is a few bytes larger and has multiple  "index/lookup 
tables" of one per core/thread.  (probably have the name wrong there but 
you get the idea)


So, md5 will be different.

John Carter wrote, On 09/02/10 11:11:

Multicores are becoming more and more common. Compression is still
something I need to do regularly.

So some new tools that combine multi-core speed up with compression.

pigz   is a drop in replacement for gzip
pbzip2 is a drop in replacement for bzip2



John Carter Phone : (64)(3) 358 6639
Tait ElectronicsFax   : (64)(3) 359 4632
PO Box 1645 ChristchurchEmail : john.car...@tait.co.nz
New Zealand





--
Craig Falconer



Re: Ubuntu karmic and Dynamix UPS-1000CL NUT setup?

2010-02-02 Thread Craig Falconer

steve wrote, On 03/02/10 09:35:

I second this! I actually have an old APC rackmount UPS, which is on
it's 3rd set of ( easy to get on Trademe ) batteries now. 


Celltown (colombo street) do new SLA batteries cheap.


Nut *just works* to some level, and is pretty good at determining what
it can and can;t do with your UPS. It's a good idea to work through all
the available tests, just to give you a better sense of wellbeing.
Especially if it's an old machine, which it probably is if it's serial.


nut 2.4 actually lost some functionality compared to nut 2.2 - mostly 
around USB and their desire to integrate to a specific framework.

I'm sure it'll resolve in time though.  Or fork.


--
Craig Falconer



Re: Ubuntu karmic and Dynamix UPS-1000CL NUT setup?

2010-02-02 Thread Craig Falconer

Andrew Sands wrote, On 02/02/10 23:35:

Anyone on list tried to connect up a Dynamix UPS-1000CL (serial version)
to Ubuntu Karmic via NUT?

Before I invest too much time, I'd like to hear any possible war stories?


Specifically that one?  no.  However I've used a serial-based 1700 VA 
dynamix fairly well, and the more modern USB variant of the same is 
utter rubbish and doesn't obey USB guidelines.


YMMV.  However, even if you don't monitor the UPS it will still Supply 
Uninterrupted Power.  At least until the battery gives up.


APC make *damn* fine UPSs, but you pay silly money for them.  Also 
Liebert are excellent.


Dynamix is fine for a low-end UPS, and in their favour they use alarm 
SLA batteries which are reasonably cheap.  Brand name UPSs use whacky 
battery packs that cost a significant amount.



--
Craig Falconer


Re: 1.8" SSD or HDD wanted

2010-02-01 Thread Craig Falconer

I'd worry about spending that much on a laptop that's had an issue already.

Try "mini PCIe SSD"

Here's one still for sale for $100.
http://www.geekzone.co.nz/forums.asp?forumid=77&topicid=41073

http://www.trademe.co.nz/Computers/Components/Hard-drives/Laptop/auction-267867445.htm
$100 and it didn't sell.

You could hack a USB pen drive internally, but they tend to be quite slow.
http://www.engadget.com/2007/12/04/the-20gb-eee-pc-mod/

Or you could buy something like this 
http://www.memoryc.com/storage/solidstatedisk/32gbpatriotliteseriesasuseeepc.html
http://www.memoryc.com/storage/solidstatedisk/16gbsupertalentsataminipciexpresseees101.html 
 $75 US



What about an SDHC card ?  They're cheap and easy to fit.


Christopher Sawtell wrote, On 02/02/10 15:47:
Try our Jason www.flashcards.co.nz <http://www.flashcards.co.nz> he is 
very helpful.

or
http://cgi.ebay.com.au/Samsung-1-8-128GB-SSD-MMCQE28G8MUP-Lenovo-41W0518_W0QQitemZ300392014884QQihZ020QQcategoryZ11171QQcmdZViewItemQQ_trksidZp3286.m7QQ_trkparmsZalgo%3DLVI%26itu%3DUCI%26otn%3D1%26ps%3D6

Starting bid is AU $280.00

On 2 February 2010 13:47, Stephen Irons <mailto:stephen.ir...@tait.co.nz>> wrote:


After 7 hours in transit at Perth airport, my family was about ready
to give up the ghost; the SSD in my Acer Aspire netbook did.

So I now have a netbook that boots Ubuntu Netbook Remix fine from a
USB flash drive, but refuses to partition the internal SSD. dmesg
gives a string of errors that leads me to believe that the SSD is
completely useless, although the BIOS does recognise the make and
reports the serial number.

I managed to get my personal data off the (EXT3 formatted) SD card
onto another flash drive.

But I am now looking for a replacement, either an SSD or HDD. This
is a 1.8" form factor thing, and price spy is not helping me.
Neither is google.

Can someone recommend a place where I can find a 1.8" SSD or HDD, or
a google search term that it actually useful?
Christopher Sawtell



--
Craig Falconer


Re: OT: Is anyone else sick of gamers?

2010-01-31 Thread Craig Falconer

Ryan McCoskrie wrote, On 29/01/10 20:35:

I know that this is a very OT but is anyone else sick the assumption that all
computer enthusiast are and _only_ are gamers?

I'm an amateur software engineer, I dabble in 3D imaging, I just passed the 
LPIC 101 and people ask me for my informed opinion on computer games.



If I'm really, really bored, the kind of bored that you only are when sick 
I'll play SuperTux. That's about it for me.


Do I only get this because I'm under twenty or does it go for everyone here?


No I think its just you... the only gamer here in the office isn't 
assumed to be a gamer (or so he says)


Perhaps its age / dress / mannerisms / conversations about frag rounds 
and the best strategy for placing snoods.



--
Craig Falconer


Re: Ubuntu server: no network after restore to new hardware?

2010-01-26 Thread Craig Falconer

Hadley Rich wrote, On 27/01/10 13:31:
Or, because the NIC is a different interface e.g. eth1 and you only have eth0 
specified in your interfaces config.
Ubuntu will create a persistant interface name for each NIC, this uses the 
file;

/etc/udev/rules.d/70-persistent-net.rules
which you can alter or delete.


Oh yeah that's probably most likely.


--
Craig Falconer



Re: Ubuntu server: no network after restore to new hardware?

2010-01-26 Thread Craig Falconer

Bryce Stenberg wrote, On 27/01/10 13:14:
I've been continuing my experimentation with backup and restore using 
Ubuntu server 9.04.
Today I restored my system to completely different hardware to see how 
it coped. Went from an old Intel P4 with PATA drives and 100mbps realtek 
network card to an Intel quad core with sata drives, nvidia graphics 
card and onboard 1Gbps network card.
 
After restoring the only thing not going seems to be my network connection.

In my /etc/network/interfaces I still have the lines:
auto eth0
iface eth0 inet dhcp
 
ifconfig only shows local loopback.
 
I may have restored something that I shouldn't have, or missed something off?
 
I was hoping someone could give me ideas of what to look at to locate 
the problem as I really haven't got my head around how linux handles 
things like network cards and how the drivers fit in...


Sounds like you haven't got a module loaded for the NIC in the new 
machine.  What kind of network card does it have?


You might need to twiddle the contents of
/etc/modules or  /etc/modules.conf   if the old one has been explicitly 
specified there.


Or try doing anifconfig -a because plain ifconfig only shows 
interfaces that are up.


dmesg  | grep -i ethshould give some kind of hints
lspci | grep -i eth also should suggest something useful


Is the onboard NIC disabled in the BIOS ?



--
Craig Falconer



Re: vodafone traffic issue?

2010-01-26 Thread Craig Falconer

Roger Searle wrote, On 27/01/10 11:57:
Hi there, anyone else experiencing chronically slow internet this 
morning?  On vodahug here in Stanmore Road, and only getting partial 
connectivity - some sites load but only very slowly, others not at all.  
Can't check the vodafone site for issues (been transferring data for 
that page for the last hour) and may have to resort to talking to a 
human on one of those telephone things before too much longer ;-)


Yes - there's something weird going on, but they're not saying what.

We have a couple of sites on vodafone DSL and they're slow-as presently.

http://forum.vodafone.co.nz/forum/8-network-issues/ says nothing since 
Jan 25th.


"Ya gets whats ya pays for"

--
Craig Falconer



Re: Gnome or KDE

2010-01-17 Thread Craig Falconer

Robert Fisher wrote, On 18/01/10 09:59:

I am think of changing my main PC to Gnome but thought first I might
canvas the list for reasons why I should (or should not) change.

I do not want personal preferences (for example I currently prefer KDE
probably because I am more used to it).

How about posting short pros and cons to start a discussion?


twm and a bunch of xterms - what more do you want ?



--
Craig Falconer



Re: Completely Offtopic: Any recommendations for computer technicians in Rangiora?

2010-01-12 Thread Craig Falconer

Brett Davidson wrote, On 13/01/10 12:40:
My Aunt lives out there and I'm a little too busy to fix her Windows 
machine at present.


Get it on topic = give her a linux box :)

--
Craig Falconer
  The Total Team - Secure Networks for Serious Business
  Office: 0800 888 326 / +643 974 9128
  Email: workor...@totalteam.co.nz
  Web: http://www.totalteam.co.nz/



Re: Completely Offtopic: Any recommendations for computer technicians in Rangiora?

2010-01-12 Thread Craig Falconer

Adrian Mageanu wrote, On 13/01/10 14:11:

On Wed, 2010-01-13 at 13:45 +1300, Kerry Mayes wrote:

My brother in law has recently used two locals out there and I
wouldn't recommend either of them.  Both were quite pricey for
incredibly simple things.  ($200+ to remove Norton anti virus and
install a replacement.) Sorry, don't know either's name.



I think I'm in the wrong business.


No - there's no money in computers  Everyone wants it cheap and good.

Personally I charge either $30/hr or "a cup of coffee" depending on who 
it is etc, or sometimes I trade time against other things they can do 
for me.


Nothing is more soul destroying than doing work for someone and it goes 
to custard.



--
Craig Falconer


Re: Netbook recommendations?

2010-01-12 Thread Craig Falconer

Nick Rout wrote, On 13/01/10 11:11:

On this topic, one thing I noticed most netbooks in the current market
offer 1024x576 (or 600) screen resolution. However some of the newer
ones offer 1366x768. Whether text is readable at that resolution is a
moot (and subjective) point, but it does point the way to what the
next generation of netbooks are offering. Like all tech purchases you
might be annoyed if you buy the current generation only to find
something better available at the same price in N months time.


If you take that stance, you'll never ever upgrade because there's 
always something new coming.


Personally I've avoided bleeding edge stuff, and waited till that tech 
has hit mainstream.


And screen res doesn't mean smaller fonts - it means more and smaller 
pixels available for smoother display.


--
Craig Falconer



Re: Backup wierdnesses...

2010-01-05 Thread Craig Falconer

steve wrote, On 06/01/10 11:39:

I've got an external backup disk that I use for backup. As it's living
in a primarily Microsoft desktop environment, it's formatted NTFS for
easy retrieval in case of failure.

/etc/fstab entry:

/dev/sdc1/backupntfs-3g
defaults,nls=utf8,umask=007,noauto0   2

Mounts fine.
/dev/sdc1 on /backup type fuseblk
(rw,allow_other,default_permissions,blksize=4096)

Now I want to create a new directory ...
mkdir -p '/backup/Wednesday/user/projects/YEAR 10/01/06 Jan 2010'

mkdir: cannot create directory: `/backup/Wednesday/user/projects/YEAR
10/01/06 Jan 2010': Operation not supported

Debian lenny, up to date.

Any ideas??


That's weird.

Is it complaining about the path?  can you make those directories one at 
a time?


Can you write to or touch any file on disk?

Was it an unclean dismount earlier which left the drive needing a 
chkdisk/scandisk ?   Look in syslog output.


And the final one - can you make those directories from a windows box?

--
Craig Falconer



Re: List stats

2010-01-04 Thread Craig Falconer

Christopher Sawtell wrote, On 05/01/10 10:57:
Yes, it would bit interesting to repeat the exercise when the messages 
are filtered through  egrep -vi "vatsala|infohelp|rik". I also seem to 
remember a 300+ messages thread about getting a dial-up modem to go, but 
cannot remember a suitable egrep term.


I do miss some of those more... amusing posts.

BTW-today alone, we've doubled the number of list messages in this year.
...and that makes this thread a meta-meta-topic?


--
Craig Falconer



List stats

2010-01-04 Thread Craig Falconer

For those who care

YearMessages
20105 to date
20092355
20082758
20076124
200619031
200513809
200411225
20039514

Is this a sign that linux is becoming more mature, and fewer problems 
arise?  Or was 2006 the year of the troll ?


I wonder how these numbers line up with total list membership in the year.


--
Craig Falconer



Re: Very OT: USB cable question

2009-12-08 Thread Craig Falconer

ke...@katipo.net.nz wrote, On 09/12/09 10:47:

Ahh, thanks all for the replies, that makes sense.


I've got a desktop that does not put out enough power on the front USB 
ports to run a 2.5" hard drive with one USB port connected.  However the 
same drive works perfectly on my laptop with only one port plugged. 
Even if laptop is running off its own battery.



--
Craig Falconer



Re: Fun with find - finding the newest files

2009-11-26 Thread Craig Falconer

This one cleans up sqlite databases that firefox uses.



find /home/ -name \*.sqlite -exec /usr/local/bin/clean-sqlite "{}" \;


where /usr/local/bin/clean-sqlite contains

#!/bin/tcsh
echo "VACUUM;" | /usr/bin/sqlite3 "$*"





Douglas Royds wrote, On 27/11/09 11:41:

find . -type f -printf "%TY-%Tm-%Td %TT %p\n" | sort -r | head
Newest files
   %Ta  Day of week as well


--
Craig Falconer


Re: Wireless car in Christchurch?

2009-11-25 Thread Craig Falconer

Lee Begg wrote, On 26/11/09 13:59:

Paul Swafford wrote:

maybe checking for over-boosted WiFi antennae ?


Or building a wireless coverage map (not necessarily WiFi)?


The aerials looked like simple $10 magnetic base ones, with cables 
snaking loose over the roof and into a rear door.  Not exactly 
industrial quality.



--
Craig Falconer


Wireless car in Christchurch?

2009-11-25 Thread Craig Falconer
Does anyone know anything about a blue Nissan TIIDA with the licence 
plate ETS847 ?


I've seen it twice now, driving around Christchurch.

The odd thing is, its got about five wireless ethernet aerials on the 
roof, and its been going up and down random side streets.


Its not a google car - there's no pole mounted camera or anything, and I 
didn't get close enough to see the driver or any gear inside.


I'm curious enough to order the carjam report and see who owns it. 
Anyone know any more than that?



--
Craig Falconer



Re: karmic upgrade broken name resolution

2009-11-02 Thread Craig Falconer

Don Robertson wrote, On 03/11/09 08:26:
I often get some buzzing on the phone line when the modem is switched 
on. not sure if it is the phone lines or the modem. Have you had 
problems like that?


That sounds like borked filters, or something with no filter, a reversed 
or broken hardwired splitter, or 802.11 wireless messing with a 2.4 GHz 
cordless phone.


--
Craig Falconer



Re: VMware opinion, was Re: Karmic Koala 64bit and VMWare Server

2009-11-01 Thread Craig Falconer

Roger Searle wrote, On 02/11/09 14:12:

I have zero experience with VirtualBox - can I bring in my vmware installs?


No idea.

I did convert horse and an XP box successfully to kvm from vmware, but I 
reinstalled horse to get  64 bit, and the XP box just needed a 
maintenance reinstall anyway.




--
Craig Falconer



Re: New CPU and M/Board

2009-11-01 Thread Craig Falconer

steve wrote, On 02/11/09 12:21:

On Mon, 2009-11-02 at 12:05 +1300, Chris Downie wrote:

Is there any combination I should steer clear off regarding Linux
compatibility? My current Athlon/ASUS combination has played well for seven
years but five leaking capacitors has finally done it in. I am leaning
towards a dual-core Phenom II and sticking with a MB with Nvidia chipset.
Should I be leaning some other way.



Depends rather that you're looking to do. I think the core duo's are a
better vfm at the moment, but haven't looked for 6 months or so. 
That's what I got... a low powered quad core to run plenty of VM's upon.


Agreed - whatever you get, make sure its got VT support.
Personally I'd stick with an intel E6300 or similar - go for 64 bit 
install with 4 GB ram minimum and it should be fine.


Pretty much any motherboard works fine with linux these days.  Most 
driver problems come with bleeding edge new stuff, or cheap nasty items.


If you like the nvidia chipset then that's fine - but my preference I 
wouldn't care either way.


However a 9400 nvidia graphics card is a nice spec and low price video 
card.  Again that depends on your level of Open Source requirement.


And a lot of it comes down to your budget.



--
Craig Falconer



VMware opinion, was Re: Karmic Koala 64bit and VMWare Server

2009-10-31 Thread Craig Falconer

Robert Fisher wrote, On 31/10/09 20:44:

Robert Fisher wrote:
I have the same problem as Roger trying to install VMWare Server onto 
64bit Karmic Koala (Kubuntu)


/tmp/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many 
arguments to function ‘smp_call_function’

make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

Googling now.
Rob

Found this and I think it works (visitors just arrived so not fully tested)
Installation completed without errors after following this...
http://blog.mymediasystem.net/uncategorized/vmware-server-2-0-1-installation-howto-for-karmic-koala-x86_64/ 


From my point of view, VMware has really lost the plot in keeping up 
with new kernels etc.


The vmware-any-any patches have fragmented into individual efforts and 
it was just a nightmare to get working on any "current" kernel.


Just use KVM - its absolutely stunning.   Drawback is you need a CPU 
with VMX, and not all current CPUs have it yet.




--
Craig Falconer


Re: failed raid1 drive

2009-10-28 Thread Craig Falconer

Roger Searle wrote, On 29/10/09 11:34:

Roger Searle wrote, On 29/10/09 10:47:
 From my reading of man mdadm, it suggests doing a fail and remove of 
the faulty drive, possibly at the same time as adding a new device, 
like:

mdadm /dev/md0 --add /dev/sda1 --fail /dev/sdb1 --remove /dev/sdb1

Is this a good process to follow or is it redundant/unnecessary?

Craig Falconer wrote:
Sounds silly actually - remove the only good drive as you add the 
blank one?
Perhaps I have confused things by quoting that line direct from the man 
page rather than changing to reflect my actual devices - it is just 
saying that in one line you can add a new device, the example being sda1 
and removing a failed one that is sdb1.  I'd be adding sdd. does that 
sound better?  The question really being more about the need to fail and 
remove the bad drive?


You'll have to power off the box to change the drive anyway, unless you 
are feeling really adventurous and want to hot swap.


I suggest you down the box, swap out the drive, then bring it all back 
up.  The raid will assemble degraded and then you can go from there.






--
Craig Falconer



Re: lp0 permission problems

2009-10-28 Thread Craig Falconer

Barry wrote, On 29/10/09 11:16:

I had a problem where cups would not print to lp0. I finally solved it
by changing permissions from 660 to 666.

since running the print job I have rebooted and find that permissions on
lp0 have reverted to 660. Can someone tell me where this is (re)set on
startup and/or how to fix the problem.



Sounds like udev is doing it wrong.  You could twiddle udev, or add the 
user that cups runs as, to the group which owns /dev/lp0 and then gets 
affected by the group ( middle 6) in the permissions, rather than the 
world permissions.



--
Craig Falconer



Re: failed raid1 drive

2009-10-28 Thread Craig Falconer

Roger Searle wrote, On 29/10/09 10:47:

Craig Falconer wrote:

Then two ways to progress
0Boot in single user mode
1Add one new drive to the machine, partition it  with similar but 
larger partitions as appropriate.

2Then use
mdadm --add /dev/md3 /dev/sdb4
mdadm --add /dev/md2 /dev/sdb3
mdadm --add /dev/md1 /dev/sdb2
mdadm --add /dev/md0 /dev/sdb1
sysctl -w dev.raid.speed_limit_max=999
3While this is happening run
watch --int 10 cat /proc/mdstat
Wait until all the drives are synched
4If you boot off this raidset you'll need to reinstall a boot 
loader on each drive

5Down the machine and remove the last 320 GB drive.
6Install the other new drive, then boot.
7Partition the other new drive the same as the first big drive
8Repeat steps 2 and 3 but use sda rather than sdb
Once they're finished synching you can grow your  filesystems to 
their full available space

9Do the boot loader install onto both drives again
10Then you can reboot and it should all be good.

I have a new drive installed, partitioned and formatted, ready to add to 
the raidset, first some questions related to the above, to ease my mind 
before proceeding.
Is it necessary to boot to single user mode (and why?) since this will 
make the machine unavailable to the network as a file server for the 
duration of the process? Machine is used solely to serve up files.  
Based on the time it took to re-add the drive last week, it would need 
to go offline for some hours, and therefore means a very late (start 
and) finish to a work day or needing to be at a weekend to keep it 
available to users during working days.


You're right - single user is not necessary.  The only real reason for 
doing that is so that files aren't changed on your only disk, and then 
some failure before the synch has completed.


BTW I did this last night on a live box and it worked fine.



 From my reading of man mdadm, it suggests doing a fail and remove of 
the faulty drive, possibly at the same time as adding a new device, like:

mdadm /dev/md0 --add /dev/sda1 --fail /dev/sdb1 --remove /dev/sdb1

Is this a good process to follow or is it redundant/unnecessary?


Sounds silly actually - remove the only good drive as you add the blank 
one?



Just in case I run into issues reinstalling the boot loader from a live 
CD, I understand that I would (as an interim measure) be able to boot 
the machine with a single partition marked as bootable from just the 
current good drive by disconnecting the new drive?


As long as the good drive is bootable it will be fine.  I had an issue 
where the boot loader was only on the second drive of a raid1, but the 
machine was fine until that second drive gave out.  The first drive then 
wasn't bootable.


You will want something like this for grub:

# grub --batch --no-floppy

then type in

root (hd0,0)
setup (hd0)
root (hd1,0)
setup (hd1)
quit




Finally, I'm somewhat unclear how the resulting partitions are going to 
work out, current failing drive is /dev/sdb, /dev/sdc holds backups, new 
larger drive comes up as /dev/sdd. Surely once sdb is physically removed 
sdc and sdd move up a letter and this messes with adding to the raid 
array as sdd?  Or, is a better approach to do a fail & remove of the 
failing drive, physically remove it and put the new drive on the same 
sata connector?


Check your dmesg output for things like
md:  adding sda5 ...
md: sda3 has different UUID to sdb5
md: sda2 has different UUID to sdb5
md: sda1 has different UUID to sdb5
md: created md1


As long as the partition type is FD then the kernel will try to use it 
to assemble a raid device.



--
Craig Falconer


Re: failed raid1 drive

2009-10-21 Thread Craig Falconer
adm
running on jupiter

A Fail event had been detected on md device /dev/md1.

It could be related to component device /dev/sdb2.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] 
[raid4] [raid10]

md3 : active raid1 sda4[0]
  290977216 blocks [2/1] [U_]
 
md2 : active raid1 sda3[0] sdb3[1]

  104320 blocks [2/2] [UU]
 
md1 : active raid1 sda2[0] sdb2[2](F)

  1951808 blocks [2/1] [U_]
 
md0 : active raid1 sda1[0]

  19534912 blocks [2/1] [U_]
 
unused devices: 




Subject: DegradedArray event on /dev/md3:jupiter
Date: Wed, 07 Oct 2009 08:26:49 +1300

This is an automatically generated mail message from mdadm
running on jupiter

A DegradedArray event had been detected on md device /dev/md3.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] 
[raid4] [raid10]

md3 : active raid1 sda4[0]
  290977216 blocks [2/1] [U_]
 
md2 : active raid1 sda3[0] sdb3[1]

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

  1951808 blocks [2/2] [UU]
 
md0 : active raid1 sda1[0]

  19534912 blocks [2/1] [U_]
 
unused devices: 


Cheers,
Roger




--
Craig Falconer
  The Total Team - Managed Systems
  Office: 0800 888 326 / +643 974 9128
  Email: workor...@totalteam.co.nz
  Web: http://www.totalteam.co.nz/



Re: Off topic - Anyone else have Telecom broadband usage skyrocket yesterday?

2009-10-21 Thread Craig Falconer

Nick Rout wrote, On 22/10/09 15:50:

On Thu, Oct 22, 2009 at 3:22 PM, Craig Falconer
 wrote:

Phill Coxon wrote, On 22/10/09 14:33:

I woke up to an automated email saying that we'd blown our 40Gb xtra
ADSL traffic quota for the month and were now paying 2c / MB etc.
Checking our usage meter it showed we'd supposedly downloaded 9.5Gb
yesterday.
I don't think I've managed to downloaded 9Gb over an entire week in the
past let alone in one day, so I will be submitting a complaint.

Just wondering if anyone else on Xtra broadband had a massive "usage"
hike yesterday?
Hmmm... interesting - broadband usage meter is now offline while a
problem is being fixed:

"Some customers may be experiencing problems with their usage meter. Our
technicians are currently working on this problem. At this stage our
representatives are unable to provide any additional information. We
apologise for any inconvenience and thank you for your patience."

Yes - their readings are screwey for the last day or so.

Your best protection is to do something to record your traffic.

I recommend probing your DSL router via SNMP and graphing the output in
cacti.  At least that gives ammunition in the event of a disagreement.
http://shell.clug.org.nz:8080/rrd-cacti.png


pfsense is capable of graphing its interfaces internally, but I'm not sure
if that data survives a reboot.
http://shell.clug.org.nz:8080/rrd-pfsense.png


Aren't those rate graphs rather than total usage graphs? They may show
that particular link isn't used much, but you really need the integral
with respct to time to get total usage over a period.

I am pretty sure an rrd tool can do this too, if fed the right info.



Eyes - open them... bottom line shows 11.91 MBytes for that 3 hour 
window in the top of the cacti graph


Likewise the pfsense rrd graphs show 12.6 MBytes in 10.4 out and 23.03 
MBytes total in the 2 days graph.


But you are right - the graphs are of bandwidth usage.  However the only 
difference would be the scale and units on the vertical axis... the 
graph line would look exactly the same shape.


Admittedly that probably wasn't the best interface to graph... should 
have shown my internet connections like this 5 day window.....

http://shell.clug.org.nz:8080/traffic%20bytes.png



--
Craig Falconer



Re: SMTP Problem

2009-10-18 Thread Craig Falconer

I agree with Steve - the fault is your machine saying

EHLO localhost

where it should say pretty much anything other than localhost.

Everyone's localhost is themself.


To prove it - do a manual smtp session but type in

ehlo thisisatest

instead to prove it to yourself.



Steve Brorens wrote, On 19/10/09 05:11:

Surely your EHLO is the problem. You are claiming to be "localhost"
... which isn't true from the receiving SMTPs pov

- steve

On Sunday, October 18, 2009, Chris Downie <9...@xnet.co.nz> wrote:

 was rumoured to say:

As I can't even talk to smtp.wxnz.net, it's looking only to a restricted
IP list, which includes yours. However, it seems to think that you're not
authorised to send mail... do you need to provide any extra authentication,
like logging in???

I am required to login to receive but not send (I have tried but it made no
difference).



--
Craig Falconer


Re: DNS-misdirection on a grand scale

2009-10-17 Thread Craig Falconer

Jim Cheetham wrote, On 17/10/09 21:59:

I'd guess that the original domain referenced has expired, and that a
domain squatter has purchased it ...

Domain ID:D157250839-LROR
Domain Name:BEGINNINGRUBY.ORG
Created On:02-Oct-2009 18:03:30 UTC
Last Updated On:02-Oct-2009 18:04:47 UTC
Expiration Date:02-Oct-2010 18:03:30 UTC

The current owner of the domain has listed his full contact details
though, which isn't normal. Perhaps you could give him a call and ask
about it :-)


To misquote...  "A domain is for life, not one renewal cycle."


--
Craig Falconer



Re: telstra VDSL

2009-10-15 Thread Craig Falconer

steve wrote, On 16/10/09 13:43:

Has anyone played with this? It's my understanding that I just need to
be able to talk pppoe on the ethernet uplink, and all will be well?


Yes - its nice.



--
Craig Falconer


Re: OT: Voda outage

2009-10-13 Thread Craig Falconer

Kerry wrote, On 13/10/09 19:25:

I hope this isn't an example of their service, I've just signed up with them.


No - they're pretty stable normally, so whatever blew up must have been 
major.


They've been a bit laggier than xtra DSL is the only gripe.


--
Craig Falconer


Re: Backing up server?

2009-10-06 Thread Craig Falconer

Bryce Stenberg wrote, On 02/10/09 16:53:
First question –  is it right that ‘tar’ does not need to run using 
‘sudo’, as in it can still access all the files?


Wrong - tar is a running process that has the same file access as the 
user it runs as.  If you run it as root, you can read all files.
If it runs as a user, it can only read the files they'd have access to. 
 If you're starting it from cron, its likely you're running as root.


Secondly, does it backup all open files as well?  (in windows ntbackup 
use to choke on open files)


Depends... a file that is opened read/write should be skipped, but a 
file opened read-only will backup okay.



And this brings me to the other type of backup

... windows backups

Firstly you need to decide what you require from the machine if it was 
rogered.


1   User data
2   email
3   sql databases
4   /etc
5   /root
6   /usr/local
7   /opt
plus a list of installed packages, and anything else critical.

OR you can do some kind of rsync backup to another machine with a large 
drive and use that to restore.


RAID1 is good, and disks are cheap enough these days.



--
Craig Falconer



Re: Security, to much of it.

2009-09-30 Thread Craig Falconer

David Lowe wrote, On 01/10/09 14:43:
On Thu, Oct 1, 2009 at 9:49 AM, Kerry Mayes <mailto:ke...@mayes.co.nz>> wrote:

Whereas IPCop by default has minimal security: nothing in, anything out.
Perfect for parents' network?


FWIW, from my standpoint as a non-technical enthusiastic amateur, I can 
say that I set up an Ipcop box on an old PC over a year ago, pretty much 
default settings everywhere, and its been running ever since with no 
interference from me. I cant even remember the last time I rebooted. In 
fact, it was so easy i wondered if I had done it right, but everything 
on my home network is fine.


Yeah - no egress filtering... so anyone on your network can be going out 
without question.  Might be okay for a home network... maybe.


You can't assume there's nothing dodgy on your LAN.


--
Craig Falconer



Re: Maybe OT - printing aerial photos

2009-09-29 Thread Craig Falconer
Yep those photos are worth a phenomenal amount to license.  It was quite 
a shock when google put fair quality photos out for free.


A screen scrape is generally not going to be as good a quality as a full 
res version either, but could be good enough.




goldedge wrote, On 30/09/09 16:21:

Hi Nick,
there's an add in for firefox that lets you select and capture
the portion of the screen that you want to copy rather than the whole 
screen, sorry I don't have the name to hand at the moment (screen snip 
or similar), you'll need to search the firefox extensions.


It works well and may do what you want.

Regards
Michael




Link to linux? Lets put it this way, I don't want an IE solution :)

Nick.







--
Craig Falconer


Re: Another old server...

2009-09-28 Thread Craig Falconer

Nick Rout wrote, On 29/09/09 16:27:

On Tue, Sep 29, 2009 at 3:42 PM, Robert Fisher  wrote:

Steve Brorens wrote, On 29/09/09 13:59:
Yeah I had one like that... my watt-meter measured a solid 1.5 Amps of
power when it was running, and 0.5 Amps even when it was totally off.



Actually a "watt-meter" measures power and is not very common.
An ammeter measures current (amps).

Regards
A Pedant



Yes but you can deduce one from the other.

A N OtherPedant


Hey Stadtler and Waldorf!Isn't there a TV show somewhere missing a 
couple of characters like you?



Consider my statement modified - "Server class gear uses lots of power 
(more than modern PCs) and costs a fair bit to run."



Gosh - I have a mad urge to go watch some muppets episodes now


--
Craig Falconer



Re: Another old server...

2009-09-28 Thread Craig Falconer

Steve Brorens wrote, On 29/09/09 13:59:

Another, but *much* nicer box. Not quite free - top bid is $1.50 at the moment!
http://www.trademe.co.nz/Browse/Listing.aspx?id=244793102
HP Proliant ML350 XEON Server, 6 x UltraSCSI drives, 2GB RAM, AIT tape drive etc


Yeah I had one like that... my watt-meter measured a solid 1.5 Amps of 
power when it was running, and 0.5 Amps even when it was totally off.


That's a lot of power - I think it was > $30 a month when running 24/7.

My comparison my desktop uses ~0.3 amps, and my atom laptop is about 
0.12 amps.



--
Craig Falconer



Re: OT, Re: Good broadband provider in Christchurch

2009-09-23 Thread Craig Falconer

Nick Rout wrote, On 24/09/09 12:25:

On Thu, Sep 24, 2009 at 10:28 AM, Craig Falconer
 wrote:

Daniel Hill wrote, On 24/09/09 09:48:

Recomended Naked DSL provider? I found http://www.xnet.co.nz/fusion/
but it's bundle only

I can't make any recommendations as I use cable.


So fo I. will telstra give you naked cable?


*boggle* mental images.

Cable is naked anyway - the phone services they offer are supplied over 
a separate copper pair from the coaxial cable used for cable


The smallest plan you can get from Telstraclear that doesn't have a 
bundled phone service is 10 Gbytes at 4/2 Mbit.

Any less than that, you have to get a package with a phone line...

Which is another way of saying "there's not enough margin in low use 
data connections"


--
Craig Falconer



Re: OT, Re: Good broadband provider in Christchurch

2009-09-23 Thread Craig Falconer

Daniel Hill wrote, On 24/09/09 09:48:

Recomended Naked DSL provider? I found http://www.xnet.co.nz/fusion/
but it's bundle only


I can't make any recommendations as I use cable.


--
Craig Falconer



Re: OT, Re: Good broadband provider in Christchurch

2009-09-23 Thread Craig Falconer

Daniel Hill wrote, On 24/09/09 09:28:

You can do VOIP to somewhere like 2talk for $cheap.



I've always had A problem with the idea of running VoIP, what happens
when your internet is down? how do you ring customer service?


You spend some of that money you save on a cell phone call.

Telecom phone = $50 a month, plus $3.95 for CID plus $10 for voicemail

2talk phone = $15 a month, includes CID and voicemail.

A linksys pap2t pays for itself in only 3 months, and the increase in 
internet traffic is fairly small - for me its ~1GB/month but thats with 
a teenager on the phone 2 hours a day.



If you are still unsure - get a 2talk free account - allows you to make 
15 minutes/month of voip calls for nothing.  And you can get a softphone 
for linux or windows so there's no hardware costs to trial.

Of course if your DSL is ratelimited then voip will be pretty terrible.

--
Craig Falconer



Re: Good broadband provider in Christchurch

2009-09-23 Thread Craig Falconer

Payne, Owen wrote, On 23/09/09 16:21:

On a similar note and sorry to top the thread...but what are the
contract terms like for broadband, are they all 12 months 24 months or
are there any that offer short term, casual contracts?


You could also go for a cellular device like a vodem or a t3g stick, so 
that you're not tied down to a specific location/property.



--
Craig Falconer



Re: Good broadband provider in Christchurch

2009-09-22 Thread Craig Falconer

Dan Wallis wrote, On 23/09/09 13:38:

I'm currently living in the UK, and am moving to Christchurch in
January. Does anyone have any recommendations for a good ISP in NZ?
When I was growing up (in NZ), Clear.net.nz were good, but that was
back in the days of dial-up. Is the information on
http://www.internetchoice.co.nz reliable? How long does it typically
take to get a DSL line installed, or would you recommend going
wireless? I have my own DSL router, so it'd be nice to be able to use
that; although I'm yet to determine if it's 2+ ready.


Apparently the DSL standards in the UK and NZ are compatible but not 
identical.   VPI/VCI numbers are 0/100 here.


Telecom will give you a free modem with a new connection, but its a 
ratty thomson speedtouch.  Most ISPs will have some similar deal.


Even if your current router is ADSL2 capable, doesn't mean your location 
will be.  I get only 3.2 Mbit, 2 km from the city centre.


Frankly I think you should find somewhere to rent short-term, in the 
city you're working in, while you see what's really available.


Some locations have cable from telstraclear, and some are VDSL capable 
if theres telstraclear copper to the property.


If you're central city there will be FTTH - how big are your pockets?

Wireless availability depends 100% on your location.  Netspeed are good 
in Christchurch, but they're twice the cost of DSL.


DSL install is normally a couple of days - tech rocks out to the 
exchange or cabinet, and hooks your house pair to a DSLAM or ASAM.  You 
get couriered a pack with a modem/filters etc.   Or you can get the full 
install where a tech fits a hardwired filter and tests it on site.


FYI - ISPs other than Xtra/Telecom can offer Naked DSL, where there is 
no telephone service on the wire.  You can do VOIP to somewhere like 
2talk for $cheap.  Specially if you'll be calling the UK a lot.

Feel free to email me off list for more info


--
Craig Falconer



LVM was Re: Allocating unused drive space to a root partition

2009-09-16 Thread Craig Falconer

Daniel Hill wrote, On 16/09/09 20:10:

don't like articles that don't state what they are trying achieve or
what LVM does


LVM is another layer of indirection for disk storage.  Allows you to 
expand the LV a filesystem lives on, without having to shuffle 
partitions on disk like the OP.   Most filesystems these days support 
some kind of expand function.  Some do it live, and some even can be shrunk.


You have Physical Volumes (PV), which are one or more partitions, that 
are combined to form Volume Groups (VGs)   and inside a PV you create 
Logical Volumes (or LVs).


Example

[r...@server ~]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/md1  2.8G  2.1G  599M  78% /
/dev/md0   97M   22M   71M  23% /boot
/dev/mapper/VG00-home 157G  129G   20G  87% /home
/dev/md2  5.8G  1.3G  4.3G  23% /usr
/dev/md3   29G   19G  9.3G  67% /var
/dev/mapper/VG00-imap  50G   16G   32G  33% /var/spool/imap



[r...@swerver ~]# pvdisplay
  --- Physical volume ---
  PV Name   /dev/md4
  VG Name   VG00
  PV Size   421.95 GB / not usable 448.00 KB
  Allocatable   yes
  PE Size (KByte)   4096
  Total PE  108019
  Free PE   54594
  Allocated PE  53425
  PV UUID   CLxPXr-BC7N-vv3H-vs06-UcuA-etdo-tk7DNT


So there's 54594 blocks of 4MB (~220GB) which could be allocated to new 
LVs or appended to existing ones






[r...@sever ~]# lvdisplay
  --- Logical volume ---
  LV Name/dev/VG00/home
  VG NameVG00
  LV UUID00------00
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size158.59 GB
  Current LE 40600
  Segments   2
  Allocation normal
  Read ahead sectors 1
  Block device   253:0

  --- Logical volume ---
  LV Name/dev/VG00/imap
  VG NameVG00
  LV UUID00------01
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size50.10 GB
  Current LE 12825
  Segments   1
  Allocation normal
  Read ahead sectors 1
  Block device   253:1



Note the home LV has 2 segments - it has already been expanded once.

Note also that LVM is not RAID.  LVM provides only convenience, and no 
additional reliability in itself.




--
Craig Falconer



Re: Allocating unused drive space to a root partition

2009-09-16 Thread Craig Falconer
Yes LVM would have made it easy to add space.  But I doubt you can 
convert an existing filesystem to a LV inside a PV.


I still think Steve's idea (moving /usr or /var to the space freed up by 
shrinking swap) would be the best fix.


By all means use LVM on new installs.

Maurice Butler wrote, On 16/09/09 18:12:

After spending today testing at work I have suddenly become a fan of LVM
that gets around this problem

http://linuxbsdos.com/2008/11/11/lvm-configuration-in-ubuntu-810/

All my futher installs (home & work) are going to be using LVM including
some servers we are setting up

Maurice


-Original Message-
From: ke...@katipo.net.nz [mailto:ke...@katipo.net.nz] 
Sent: Wednesday, 16 September 2009 2:02 p.m.

To: linux-users@it.canterbury.ac.nz
Subject: Re: Allocating unused drive space to a root partition


On Wed, 16 Sep 2009 10:59:09 +1200, Craig Falconer
 wrote:

steve wrote, On 16/09/09 09:18:
Alternatively ( SIMPLEST SOLUTION! ), mounting the spare 

9GB as /var
or /usr and copying the stuff over may give you enough 

space... copy,

then remove when happy! - you'll need a live CD to do that.

Excellent solution - I agree with Steve.
Thanks for all your pointers, I think I'll go for the solution below  
for now, then get a 1T HD soonish
Sorry for double posting, my hosting provider was having some issues  
last night and I assumed my first post got lost in the void.



--
Craig Falconer



Re: Allocating unused drive space to a root partition

2009-09-15 Thread Craig Falconer

steve wrote, On 16/09/09 09:18:

Alternatively ( SIMPLEST SOLUTION! ), mounting the spare 9GB as /var
or /usr and copying the stuff over may give you enough space... copy,
then remove when happy! - you'll need a live CD to do that.


Excellent solution - I agree with Steve.


--
Craig Falconer



Re: Thin Client Devices

2009-09-15 Thread Craig Falconer

Glenn Cogle wrote, On 16/09/09 10:05:
I need to purchase a bunch of thin client devices which are capable of 
running an RDP client, PuTTY and a web browser.


Ideally they should be solid state - ie no fans or disks.
Traditional WinXPe devices are painfully and unnecessarily slow. 
I find the same hardware running Damn Small Linux is much better.


Therefore a "PC" with 256Mb flash memory, 10/100 NIC, USB or PS2 for 
input, and Video card and a solid state PSU would be fine.


Does anybody have any recommendations for a locally available Thin 
Client Device or Mini PC that I should I consider?


Try an atom board with a CF card or a netboot, and run something like 
Thinstation, which is a bootable linux install.


I've used RDP or firefox but not together.  Might be good to try.
http://www.thinstation.org/

--
Craig Falconer



Re: Allocating unused drive space to a root partition

2009-09-15 Thread Craig Falconer

Kerry wrote, On 15/09/09 20:56:
I've nearly run out of disk space on the root partition of my Kubuntu 9.04 
machine. I have around 10G of unallocated space at the end of my drive and I 
am wondering how I can safely allocate some of this space to root?


I've taken a screenshot of the partition on gparted and you can check that our 
here: http://manukadesign.co.nz/assets/Images/screen_shot_gparted.png

I've had a pit of a google but all info seemed to be a few years old


Disk is split into contiguous partitions.
Filesystems exist over a partition.

So, you're stuffed.
You'd need to boot into single user mode and extend the extended 
partition to cover the whole space, then shuffle sda8 to the right, then 
delete sda7 and make a new swap partition no larger than 1GB.  Then 
shuffle sda6 to the right,


Then reboot off a rescue CD or knoppix or something, and expand the root 
partition.  Shouldn't have to do anything with bootloaders though.


Another option... even with 9.25GB +17ishGB is only adding 26GB.  Add 
another drive for $150ish and get another 1TB.



--
Craig Falconer



Re: qemu problems

2009-09-14 Thread Craig Falconer

Barry Marchant wrote, On 14/09/09 23:58:
When I attempt to start it from a terminal all I get is "VNC server 
running on `127.0.0.1:5900'". this is the same whether or not I give it 
a win.img file to open. Google and the qemu wiki are not being helpful. 
The start instructions in qemu docs do not work


the same image file opens without problems under qemu-0.9

Any ideas appreciated, thanks


Does virt-manager tell you anything more helpful?  What about /var/log/ ?


--
Craig Falconer



Re: OT wallwarts/power adaptors

2009-09-13 Thread Craig Falconer

Hadley Rich wrote, On 14/09/09 11:50:

On Mon, 14 Sep 2009 11:40:58 Nick Rout wrote:

Anyone know where to find a higher rated switchmode 5v ower supply?


The Linksys PA100 adapter (designed for their VoIP stuff) is 2A from memory and 
should be the same pin type - they are all pretty standard.


Agreed - and they're quite cheap, and good for DLink devices that cook 
their own PSUs after a couple years.



--
Craig Falconer



  1   2   3   4   5   6   7   8   >