Re: [SLUG] Spellchecking

2015-02-19 Thread Michael Chesterton
On 16/02/15 17:15, William Bennett wrote:
> Up to now, I've always felt that ispell was pretty good.
>
> But I thought I'd enquire.
>
> Has anybody experience with any others?
>
> William Bennett.

I use ispell in irssi, and it's not that good at unravelling the noodliness
of my mind and guessing what I meant to spell.

If one character is wrong, it will make the right suggestion, but if
two characters are wrong, forget about it. If ispell can't make a
suggestion, I then I google it, and google always knows what I meant
to spell. Pretty scary.

here's a weird example:

dribl

ispell says

& dribl 5 0: drib, dribs, drib l, drib-l, drill

aspell says

& dribl 19 0: dribble, drably, tribal, drill, dribbler, drivel, drub,
durable, durably, dbl, driblet, droll, drool, drab, treble, drawl,
trial, tribe, trill

I have heard in the past aspell is better, and I would concur.



-- 
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] Weird behaviour of Intel Nuc's

2014-11-11 Thread Michael Chesterton
On 12/11/14 15:13, DaZZa wrote:
> And it flat out refused to boot. Nada. Get nicked.
>
> I thought I must have stuffed up the image - but both disks booted the
> first device fine.
>
> After scratching my head for a few hours and trying every BIOS option
> I could find, I decided to try a fresh install from the CD onto the
> new device - and stuff me if it didn't work.
>
> Now I'm at the point where one "disk" will boot on one device but not
> on the other.
>
> Has anyone come across this before? Is it something specific to
> Ubuntu, or is it the stupid "SecureBoot" crap (which was turned off,
> by the way) they put into the BIOS for these things doing *something*
> to the "disk" to make the second device not recognise it?
>
> Not really an issue, because I've fixed them so they both boot now -
> but I'm intensely curious as to *why* this happened.
>
> DaZZa

I have no idea aboot secure boot, it might be the problem, no idea.
I have seen a linux appliance that wouldn't work after being dd'd
because the mac address changed and the ethernet device
became eth1, and the appliance had hard coded eth0 in it.

I can't see how that would matter in this scenario, but thought
I would mention it.
 


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


Re: [SLUG] Weird nslookup problem - Apologies

2014-10-30 Thread Michael Chesterton
On 30/10/14 18:31, Ben Donohue wrote:
> Also didn't know about the google groups either so thanks Michael.
> Do we still post to SLUG or just go to google groups now?
> Ben

no no, I just posted it for the archives, you said you lost
some slug mail.
-- 
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] Weird nslookup problem - Apologies

2014-10-29 Thread Michael Chesterton
On 30/10/14 07:15, Ben wrote:
> Hi all,
>
> To anyone who responded, I'm really sorry if you replied to my last
> email about a nslookup problem and it was not delivered due to my
> mailbox running out of space.
>
> To anyone who took the time to respond with any solutions to try,
> could you please resend.
>
> Thanks,
> Ben
>
https://groups.google.com/forum/#!forum/sluggers
-- 
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] Low Cost Linux Laptop for Learning

2014-10-20 Thread Michael Chesterton
On 21/10/14 11:17, Tom Worthington wrote:
> I bought a $300 11.6" laptop  and found Linux Mint and a $50 mSATA
> 64GB drive improved it:
> http://blog.tomw.net.au/2014/10/low-cost-linux-laptop-for-learning.html
>
>
nice write up. thanks for that. laptops and SSDs are getting so cheap now.

I recently replaced my 2.4G wifi with a 5G on my dell inspiron something
or other laptop,
and it was a major pain. Granted no ribbon cables need to be removed to
replace the HDD,
but to replace the wifi I had 5 delicate ribbon connectors to deal with. I
only broke one. oops, but a piece of cardboard and it's as good as new.


-- 
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] BIND9 zone question

2014-08-14 Thread Michael Chesterton
On 14/08/14 09:44, Chris Barnes wrote:
> Hi Christopher,
>
> So that works perfectly for Netflix because any part of that service that
> cares about Geolocation is in the Netflix domain.
>
> Hulu on the other hand, has services that are outside of the Hulu domain
> that take issue with my location - a248.e.akamai.net.
>
>
> you might be wondering why i dont just use a VPN?
>
> Well I dont want to tunnel all streaming traffic accross it and Netflix
> doesnt require all connections to be from the U.S. Only when you browse the
> Netflix catalog and when you chose a show/movie to watch does the service
> check location, after that the web browser, Apple TV, other media device is
> redirected to a CDN to stream the content. and that CDN doesnt care where I
> am from. So I get better throughput by not tunnelling the video stream.
>
>
> Now a hosts file would fix this problem very nicely.but Apple TV doesnt
> have a hosts that is accessible and thats where I do most my streaming from.
>
> Interestingly, I can watch Hulu on my PC with my current setup with zero
> problems. Its when I try on the Apple TV that it talks to a248.e.akamai.net
> and throws an error that I'm outside the U.S.
>

I believe dnsmasq lets you change host addresses of single hosts in
a large domain with a 1 line entry, not a bind solution, but it's really
easy to do with dnsmasq, i have no idea how to do it with bind.

dnsmasq has this functionality for things like blocking ads, but you
can use it for any purpose

# Add domains which you want to force to an IP address here.
# The example below send any host in double-click.net to a local
# web-server.
#address=/double-click.net/127.0.0.1

# --address (and --server) work with IPv6 addresses too.
#address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83

# Add the IPs of all queries to yahoo.com, google.com, and their
# subdomains to the vpn and search ipsets:
#ipset=/yahoo.com/google.com/vpn,search


-- 
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] apt-get update GPG error

2014-07-22 Thread Michael Chesterton
On 22/07/14 22:58, David wrote:
>
> On 22/07/14 18:13, Amos Shapira wrote:
>>
>> Could it be that the proxy has a corrupted cache? Try clearing it.
>>
>
> Thanks.. .but
>
> At the risk of being ignorant how do I clear it short of removing the
> /var/cache/apt-cacher/ directory?
> I can't find any obvious command.
>
> If this does work, I still don't know why the apparent corruption
> happened so I can avoid it happening again :(

I think apt-cacher listens on a port and you can connect
to it with a web browser to fix it. see /etc/apt-cacher-ng/security.conf
to set a password also try restarting the apt-cacher daemon

http://david:3142/acng-report.html

I had no end of problems with it, constantly had to restart it and 
delete/ //var/lib/apt/lists/partial/*
and often /var/lib/apt/lists/* too

I just use squid now, you just have to increase the maximum file size that's
saved to disk so debs get saved.


-- 
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] Getting the correct time on Raspberry-Pi

2014-07-17 Thread Michael Chesterton
On 17/07/14 17:32, Amos Shapira wrote:
> Which distribution is it? The method to set system timezone depends on the
> answer to this question.
>
> And BTW - what you are asking about is setting the time ZONE. Setting the
> correct time is usually a matter left to NTP.
>
>
>
> On 17 July 2014 10:51, David Lyon  wrote:
>
>> I'm trying to get the correct datestamp in a logfile for Raspberry-Pi for a
>> server task.
>>
>> The task runs under supervisord with root permissions.
>>
>> I modified /root/.profile and added TZ='Australia/Sydney'; export TZ
>>
>> However, in Python, the logging/task doesn't see dates with the correct
>> timezone delta added.
>>
>> How can I get this to work?

/root/.profile is only going to be read for root login shells, like sudo
-i or su -
you can set environment variables in supervisord config which will just
affect
the supervised program, or set it system wide which amos is going tell
you how

you'll have to check the docs, but I believe in your [program:x] section
you add
environment=TZ="Australia/Sydney"
-- 
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] shell script to parse html and date comp ?

2014-02-13 Thread Michael Chesterton
On 13/02/14 22:47, li...@sbt.net.au wrote:
> Jiri, thanks that didn't seem to stick, I've now edited
> "/etc/sysconfig/i18n" ,that seems to return correct LANG # set | grep
> LC_ # set | grep LANG LANG=en_AU.UTF-8 BUT, using 'date' it still
> wants m/d/y # date --date='20/03/2014' +"%s" date: invalid date
> `20/03/2014' 

try

sudo grep -r en_US /etc

also the locale command on systems prints what everything is set for

$ locale
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
LC_CTYPE=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LC_COLLATE=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_MESSAGES=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_ALL=

-- 
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] Issues with Ubuntu 12.04 LTR

2014-02-07 Thread Michael Chesterton
On 07/02/14 22:01, Johannes Nielsen wrote:
> Hi Ben
> Thanks for your email...I have booted from an Open SUSE 12.1 CD that I have
> it works well so in that case its the Ubuntu distro, so how do I go back to
> the previous release?

Did you install the 32 bit or 64 bit 12.04 LTS version?
if you're not sure, paste the output of uname -a

There's no downgrade option, you can restore from backups, but I would
recommend fixing the problem rather than going backwards.


-- 
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] ownCloud alternatives

2013-12-10 Thread Michael Chesterton
On Tue, Dec 10, 2013 at 9:14 PM, Ben Donohue  wrote:

> Hi all,
>
> been watching this thread with interest.
>
> I have a client that needs something exactly like this.
>
> What does it run on? Linux I suppose?
>

The server runs on LAMP, so I guess WAMP and MAMP would work too, the
clients work on everything.
windows, linux, os x, android and ios and anything that supports a web
browser and or webdav. The server
also works with nginx, which is what I run it on. there are two .htaccess
files that someone has
converted to nginx


> Anyone have experience with backing up/restoring this in the event of a
> hardware meltdown?
>

No experience, but dump the mysql db, the webserver config and backup a
directory, like any LAMP app,
not too difficult as far as I can see.


>
> I would put it in if there is a bullet proof way of ensuring a restore in
> case of a failure.
>

Practice and document.
-- 
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] apt-database

2013-11-08 Thread Michael Chesterton
On Fri, Nov 8, 2013 at 10:21 PM, James Linder  wrote:

> Hi
> I have a customer who has indulged in extreme stupid stuff.
>
> > root@bol04:/home/stm# dpkg -r x11vnc x11vncdata
> > dpkg: warning: there's no installed package matching x11vnc
> > dpkg: warning: there's no installed package matching x11vncdata
>
> but
>
> The following packages have unmet dependencies:
> x11vnc : Depends: x11vnc-data (= 0.9.12-1build1) but 0.9.13-1.1 is to be
> installed
> E: Unable to correct problems, you have held broken packages.
>

held broken packages? I'm not sure what that means exactly, if it means they
were held manually, unhold them I would suggest.

I haven't fixed a broken debian package system for a while, but first I
would
disable any third party sources, then apt-get update.

if
dpkg --get-selections | grep 'hold$'
is blank, then try

apt-get -f install

also,

dpkg remove --force-depends somepackage
apt-get -f install

force depends to fix a broken system is fine, it's just not fine to use it
to install a package
on a working system though. (hello red hat of old)


> So I want to scrap and rebuild the package database. All my googling says
> 'you don't really want to do that'
> I do!
> all the --set-selections etc options don't do anything for me
>
>
set selections doesn't change any packages immediately, you then have to
run something to have
the selections acted on, it used to be dselect, I'm not sure what it is
today.


> Short of suggesting he climb to the top of the tower, dagga clenched
> between teeth ...
> Is there any sane (telling him to manually edit the status file is not
> sane!) way to recover?
>

you can probably fix it with dpkg and apt commands.
-- 
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] Bogus PPPoE length ?

2013-11-06 Thread Michael Chesterton
On Wed, Nov 6, 2013 at 8:03 PM, Jiří Baum  wrote:
> Hi,

> Jiří:
> >> Can anyone tell me what it means when I get the error message "Bogus
> >> PPPoE length field (1502)" a few hundred times a day, usually in
> >> bunches? Always the same number, 1502, never any other.
>
> Jeremy:
> > Have you tried negotiating a differently sized MTU to see if it changes
> > the length field displayed in the error message?

> No, I haven't... Part of the problem is that I don't know what triggers
> it, which makes it hard to debug. It appears from time to time in the
> log, usually in a bunch, but not associated with any activity that I've
> been able to notice.

find a nice area of space and run something like

#!/bin/bash
dmesg -c
cd /some/nice/area/of/space
while true; do
  d=`date +%s`
  tcpdump blah options -c 1 -w tout-$d
  if dmesg | grep "Bogus PPPoE length"; then
echo omg i think i found something | mail -s OMG y...@there.com
exit
  fi
  find -name "tout-*" -mmin +1440 -delete
done

run it in screen so it doesn't get hup'd if the ssh session closes.

completely untested, what it might do is
1. destroy your system.
2.
clear the contents of dmesg
write the contents of tcpdump to a file until it receives 1 packets
(adjust number to suit)
then tcpdump will exit and then grep to see if the error message is present
on your system,
if it is, email you and exit the script. I'm guessing the error is present
in dmesg,
then delete files starting with tout- that are over a day or two old
then goto beginning of while

also, to possibly trigger the error, try scping a multi meg file to and
from the location, the point being to
get a full sized packet going over the link in both directions, not
necessarily at the same time.
-- 
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] assessing vps performance issues

2013-10-29 Thread Michael Chesterton
show the support people your evidence of high IO wait.
if they can't fix it, change providers.

Also if they have a public forum, ask for help on their public forum
with the output showing high IO. If they're an au company, ask
for help on whirlpool in the appropriate forum, they probably watch
that for mentions of their name.




On Wed, Oct 30, 2013 at 12:17 PM,  wrote:

> On Fri, October 25, 2013 1:36 pm, Michael Chesterton wrote:
> > I know it's resolved, but look at the 6th column in the original post.
> > 90+% iowait, 90% of the time, the cpu is waiting for IO.
>
> > now what you should do is run the same command when everything is working
> > normally so you'll know what the output looks like. Then when you have
> > another problem, you can compare with the normal output. --
>
> the "resolved" problem keeps coming back,
> under normal situation, I'm ruining load average of .2
> then, for maybe 1 to 2 hours high iowait, load average peaks at 130+
>
> aprt from sar and bonnie (haven't installed it yet, wasn't in my repo),
> what other indicators can I use ?
>
> I'm thinking of feeding it into cacti.
>
> meanwhile, data centre response has been:
>
> 'we can ping it, there is nothing wrong' and 'reboot the server'
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] assessing vps performance issues

2013-10-24 Thread Michael Chesterton
I know it's resolved, but look at the 6th column in the original post.
90+% iowait, 90% of the time, the cpu is waiting for IO.

now what you should do is run the same command when everything
is working normally so you'll know what the output looks like.
Then when you have another problem, you can compare with
the normal output.
-- 
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] Happy 20th birthday Debian!

2013-08-25 Thread Michael Chesterton
Since we are being nostalgic, today (the 25th of August for those
earthlings living in the past),
22 years ago, Linus sent a message to the minix newsgroup announcing a free
OS that he had
been working on since April.

Linus today announced 3.11-rc7 as a homage to that famous message.
Also Linux 3.11 is code named Linux for workgroups, and rc5  was
released  the same day as windows for workgroups 3.11 was in '93.

https://en.wikipedia.org/wiki/History_of_Linux
https://plus.google.com/109995262342451767357/posts/f96weYxzEu1
https://plus.google.com/109995262342451767357/posts/Yhu7JWtmXkq

-- 
http://www.linuxsupportsydney.com.au
greets NSA

On Mon, Aug 19, 2013 at 10:03 AM, Martin Visser wrote:

> The announcements posts are always nostalgic (From
>
> https://groups.google.com/forum/#!msg/comp.os.linux.development/Md3Modzg5TU/xty88y5OLaMJ
> ) :-
>
> Fellow Linuxers,
>
> This is just to announce the imminent completion of a brand-new Linux
> release,
> which I'm calling the Debian Linux Release.  This is a release that I have
> put
> together basically from scratch; in other words, I didn't simply make some
> changes to SLS and call it a new release.  I was inspired to put together
> this
> release after running SLS and generally being dissatisfied with much of it,
> and after much altering of SLS I decided that it would be easier to start
> from scratch.  The base system is now virtually complete (though I'm still
> looking around to make sure that I grabbed the most recent sources for
> everything), and I'd like to get some feedback before I add the "fancy"
> stuff.
>
> Please note that this release is not yet completed and may not be for
> several
> more weeks; however, I thought I'd post now to perhaps draw a few people
> out
> of the woodwork.  Specifically, I'm looking for:
>
> 1) someone who will eventually be willing to allow me to upload the
> release to their anonymous ftp-site.  Please contact me.
> Be warned that it will be rather large :)
>
> 2) comments, suggestions, advice, etc. from the Linux community.
>  This
> is your chance to suggest specific packages, series, or
> anything you'd like to see part of the final release.
>
> Don't assume that because a package is in SLS that it will necessarily be
> included in the Debian release!  Things like ls and cat are a given, but if
> there's anything that's in SLS that you couldn't live without please let me
> know!
>
> I'd also like suggestions for specific features for the release.  For
> example,
> a friend of mine here suggested that undesired packages should be selected
> BEFORE the installation procedure begins so the installer doesn't have to
> babysit the installation.  Suggestions along that line are also welcomed.
>
> What will make this release better than SLS?  This:
>
> 1) Debian will be sleeker and slimmer.  No more multiple binaries
> and
> manpages.
> 2) Debian will contain the most up-to-date of everything.  The
> system
> will be easy to keep up-to-date with a 'upgrading' script
> in
> the base system which will allow complete integration of
> upgrade packages.
> 3) Debian will contain a installation procedure that doesn't need
> to
> be babysat; simply install the basedisk, copy the
> distribution
> disks to the harddrive, answer some question about what
> packages you want or don't want installed, and let the
> machine
> install the release while you do more interesting things.
> 4) Debian will contain a system setup procedure that will attempt
> to
> setup and configure everything from fstab to Xconfig.
> 5) Debian will contain a menu system that WORKS... menu-driven
> package installation and upgrading utility, menu-driven
> system setup, menu-driven help system, and menu-driven
> system administration.
> 6) Debian will make Linux easier for users who don't have access to
> the
> Internet.  Currently, users are stuck with whatever comes
> with
> SLS.  Non-Internet users will have the option of receiving
> periodic upgrade packages to apply to their system.  They
> will
> also have the option of selecting from a huge library of
> additional packages that will not be included in the base
> system.  This library will contain packages like the S3
> X-server, nethack and Seyon; basically packages that you
> and I
> can ftp but non-netters cannot access.
> 7) Debian will be extensively documented (more than just a few
> READMEs).
> 8) As I put together Debian, I am keeping a meticulous record of
> where I got everything. This will allow th

Re: [SLUG] Fwd: Connection issues with Ubuntu 11.10

2013-07-19 Thread Michael Chesterton
hey

On Fri, Jul 19, 2013 at 9:03 PM, Johannes Nielsen wrote:

> Hi all at Micheals suggestion I went into terminal and ran IP AD and this
> is what came up
> IP AD
>
> johannes@Trinity:~$ ip ad
> 1: lo:  mtu 16436 qdisc noqueue state UNKNOWN
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: eth0:  mtu 1500 qdisc pfifo_fast state
> UP qlen 1000
> link/ether 00:26:9e:94:2b:2c brd ff:ff:ff:ff:ff:ff
> inet6 fe80::226:9eff:fe94:2b2c/64 scope link
>valid_lft forever preferred_lft forever
> 3: wlan0:  mtu 1500 qdisc mq state UP qlen
> 1000
> link/ether 00:24:d6:36:c9:7e brd ff:ff:ff:ff:ff:ff
> inet6 fe80::224:d6ff:fe36:c97e/64 scope link
>valid_lft forever preferred_lft forever
> johannes@Trinity:~$ ^C
> johannes@Trinity:~$
>
>
eth0 is your lan cable interface, it has no ip address
wlan0 is your wifi, and it has no ip address.

So the question on the tip of my chicken lips is, what happened
to your router? In a typical home network, the adsl, or the wifi router
hands out the ip addresses.

Do you have the international symbol for radio waves at the top of your
screen? that's network manager, click that and go into it and see if
your wifi is connected.

what's your usual mode of connection, lan cable or wifi?

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


Re: [SLUG] Connection issues with Ubuntu 11.10

2013-07-18 Thread Michael Chesterton
On Thu, Jul 18, 2013 at 9:14 PM, Johannes Nielsen 
 wrote:

> Hi all
> I am having connection issues with Ubuntu 11.10 I have wireless signal and
> a cable LAN and both say that there connected only I am unable to get a web
> page to display or Skype to boot.
>

Hey Johannes,

what do the commands

ip ad
ip ro
cat /etc/resolv.conf

say? also

ping 8.8.8.8
ping google.com

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


Re: [SLUG] TCP/IP over I2C

2013-06-01 Thread Michael Chesterton
On Sat, Jun 1, 2013 at 5:42 PM, David Lyon
wrote:

>
> It's probably much easier to just use the network port that's already
> available on the Raspberry-Pi.
>

or maybe rs232, then you can use ppp.


>
> You could buy a hub/switch and some RJ45 cable and it would be done in a
> few minutes.
>
> One interesting benefit is that you could run USBIP which is USB sharing
> for Linux over
> TCP/IP. Something I've always wanted to try.


That will come in handy. I've got a dell/samsung(I think) printer connected
to my
odroid, which is arm. Unfortunately it seems to require a binary driver
which is
only available for i386 and amd64.

I tried using qemu to emulate i386, and with debian's multiarch support it
was surprisingly
simple to get going, unfortunately arm qemu is missing a piece of
functionality (futex) that
the binary driver needs. So usbip might be the way to go.

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


Re: [SLUG] python in linux mint

2013-05-29 Thread Michael Chesterton
Have you looked at the raspberry pi? it's designed for the classroom to
teach kids about programming and computers.

The ipython shell is nicer than the plain python shell and I'm sure there
are other GUI apps that I'm not aware of that do what you want, so stay
tuned ;)

-- 
http://www.linuxsupportsydney.com.au


On Thu, May 30, 2013 at 3:58 PM, Ben Donohue  wrote:

> Hi all,
>
> I'm trying to get my kids into programming... (I'm not a programmer by the
> way)...
>
> anyway Linux Mint has Python installed.
>
> If I type python at the shell prompt I get a python >>>
>
> However I'd like something that they can type the program in and another
> window opens and displays their program running... or something like that.
>
> (Yes I'm a complete noob at this.)
>
> Is there such a beast or what is something that I can get the kids started
> on... python-wise...?
>
> Thanks,
> Ben
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: 
> http://slug.org.au/faq/**mailinglists.html
>
-- 
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] Bi-directional rsync?

2013-05-13 Thread Michael Chesterton
> rsync -v -rlt 
>
> Can anyone suggest a better option set which could make this a two way
> sync by just running on the one server?
>

You can run rsync twice on the one server

rsync -options server1:/dir1 /dir1
rsync -options /dir1 server1:/dir1

with the rsync options, you probably want

-u, --updateskip files that are newer on the receiver

you could also play with git-annex for a smarter sync. In a nutshell the
file metadata is
kept under version control, not the files.

There's also ceph, there was a talk on ceph at slug, i think, a few months
ago.

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


Re: [SLUG] working around dependency failure

2013-05-09 Thread Michael Chesterton
On Thu, May 9, 2013 at 4:27 PM,  wrote:

> I'm trying to install 'qshape' and get this(1):
>
> what's my best way forward, try uninstalling pflogsumm-1.1.0-2.noarch,
>
>
>
centos is good for somethings, but if you're going to add unsupported
third party repositories you end up with the worst of both worlds.
a) it's an unsupportable mess. b) it's still centos

that is if you are using centos, i don't think you mentioned, I don't
think you mentioned if you added any third party repositories, either.
I'm just guessing.

May I guess the circumference of your ears? :P
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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

2013-04-30 Thread Michael Chesterton
I use an odroid u2 as a server at home. It has the same problem as the pi
with usb ethernet and disk.
but it's fast enough to watch videos over wifi, so that's all I care about.

there are pi like boards that have sata, but the one I saw around the same
time I bought the odroid
had only one sata port, and I needed 2 or more. If i was going to use it
for a small business server,
i would want 2 sata ports for raid1.

odroid u2 is about $100 usd, quad core arm cpu, quad core gpu, and 2GB ram.
looks awesome, very few
cases available for it, but that wasn't important to me. It's basically a
short business card size pcb
mounted onto a heatsink. has an option for a fan for hot environments and
overclocking, but it runs fine without,
and has an option for what I think they call emmc storage, which from what
I can gather is really fast storage
with a micro sd interface. With emmc it compiles a kernel in a few minutes.

It runs on 5v 1amp (needs a 2amp PS for headroom and to power usb devices)



On Tue, Apr 30, 2013 at 4:38 PM, David Lyon  wrote:

> I'm really slow to get new stuff. I only just got a sata SSD.
>
> However, I've seen these:
>
>
>-
>
> http://www.ebay.com.au/itm/Free-PP-Case-USB-2-0-to-2-5-SATA-Hard-Disk-USB-Interface-Converter-Adapter-/181006710919?pt=AU_CablesConnectors&hash=item2a24d73887
>
>
> That might allow me to connect an SSD. The one I have is really tiny like
> this:
>
>
>- www.ebay.com.au/itm/360579278186
>
>
> It's an indirect path. It has to sit on a SATA convertor:
>
>
>-
>
> http://www.ebay.com.au/itm/SYBA-SY-ADA40050-mSATA-PCI-E-PCIE-SSD-50mm-to-2-5-inch-SATA-Adapter-Converter-/390550912626?pt=LH_DefaultDomain_0&hash=item5aeea5fe72
>
> It's a lot of adaptors...
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] 20 years of using Linux at home

2013-04-05 Thread Michael Chesterton
On Sat, Apr 6, 2013 at 9:54 AM, Heracles  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Ah! The early days! I must have started a little later than you - either
> late 92 or early 93 - as my version was on 11 5 1/4 inch floppies. I had
> to boot on disk 11 and then install using the other 10 floppies. The
> install was awkward but what a sense of achievement when you got it
> working. My system was a 386SX16 with 1 MB RAM.
> I was so impressed with the speed of Linux I have used nothing else since.
> Heracles
>

My first install was in about 95-96, there was some distro starting with y
that i have no idea how to pronounce or spell, I think slackware was
my first install, but I ordered a midnight magic cd and tried them all.
A colleague recommended debian and I switch to that.
Full time linux at home was pretty quick afterwards, and full time at
work as a desktop was probably sometime in the naughties.
I ran lotus notes under wine, which ran really well.
-- 
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] Question: I gave a lightning talk 1 or 2 months ago. Are these still being posted, downloadable?

2013-03-31 Thread Michael Chesterton
On Mon, Apr 1, 2013 at 11:59 AM, David Lyon  wrote:

> Not sure but it might be some time.
>
> I just checked the homepage at http://www.slug.org.au/ and it's been
> recently updated to show a talk from 2010 !
>
> (Maybe they are just testing new features - not sure)
>

I think it randomly selects a talk from
http://www.youtube.com/user/GoogleFOSSSydney

The newest video appears to be 5 months old though.
-- 
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] Importing new SNMP MIB's

2013-03-18 Thread Michael Chesterton
On Tue, Mar 19, 2013 at 4:22 PM,  wrote:

> > "DaZZa" == DaZZa   writes:
>
> DaZZa> Folks.  I've got a monitoring server (CentOS 5.9) that I want
> DaZZa> to add some vendor-specific MIB's to for SNMP to use.
>
> DaZZa> I've put the MIB's in /usr/share/snmp/mibs (which is where all
> DaZZa> the default ones are located) and modified (created)
> DaZZa> /etc/snmp/snmp.conf) to include the new MIB names, however I
> DaZZa> don't seem to be able to get snmpwalk (or net:snmp) to use
> DaZZa> them.
>
>
> snmpwalk uses the MIBS from the remote host IIRC.  Are you wanting to
> see things on the host you installed the new config on, or somewhere
> else?
>

I'm not sure about using the remote hosts MIBs, I think the snmp protocol
is all numbers, and the client uses the MIBs to map numbers to names,
like DNS. But, it's been 5 years since I played with snmp, so I'm in no
way saying you're wrong and I'm right, I'm just offering what I remember.

   -m MIBLIST
  Specifies a colon separated list of MIB modules (not files)
to load for this application.   This  over‐
  rides  (or  augments) the environment variable MIBS, the
snmp.conf directive mibs, and the list of MIBs
  hardcoded into the Net-SNMP library.

  If MIBLIST has a leading '-' or '+' character, then the MIB
modules listed are loaded  in  addition  to
  the  default  list,  coming  before or after this list
respectively.  Otherwise, the specified MIBs are
  loaded instead of this default list.

  The special keyword ALL is used to load all MIB modules in
the MIB directory search list.   Every  file
  whose name does not begin with "." will be parsed as if it
were a MIB file.

   -M DIRLIST
  Specifies  a  colon separated list of directories to search
for MIBs.  This overrides (or augments) the
  environment variable MIBDIRS, the snmp.conf directive
mibdirs, and the default directory hardcoded into
  the Net-SNMP library (/usr/share/snmp/mibs).

  If  DIRLIST  has  a  leading  '-' or '+' character, then the
given directories are added to the default
  list, being searched before or after the directories on this
list respectively.  Otherwise, the  speci‐
  fied directories are searched instead of this default list.

  Note that the directories appearing later in the list have
have precedence over earlier ones.  To avoid
  searching any MIB directories, set the MIBDIRS environment
variable to the empty string ("").

  Note that MIBs specified using the -m option or the mibs
configuration directive will  be  loaded  from
  one  of  the  directories listed by the -M option (or
equivalents).  The mibfile directive takes a full
  path to the specified MIB file, so this does not need to be
in the MIB directory search list.

Use those options above, and if it works, then you might have a typo in the
snmp config file, or maybe it's in the wrong location.
strace -o /tmp/snmpwalk.out snmpwalk blah to see what config file it's
trying to open.
-- 
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] Jobs list

2013-03-06 Thread Michael Chesterton
On Thu, Mar 7, 2013 at 11:42 AM,  wrote:

>
> I just tried the j...@slug.org.au list for slug and it is not active.
> Is this still working???


from what I've heard some old lists that weren't being used were disabled.
so that means you're free to post your linux related job here, I guess.

don't forget the jobs list at linux.org.au, too.
-- 
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] hosts bind order?

2013-03-05 Thread Michael Chesterton
On Wed, Mar 6, 2013 at 5:36 PM,  wrote:

> On Wed, March 6, 2013 3:24 pm, Michael Chesterton wrote:
>
> > strace it to see what it's doing, post the output (maybe post a link to a
>
> Michael, thanks
> is this correct, just used 'strace host' with no options
>

both host and postfix ignore /etc/hosts I believe, so you can't use
/etc/hosts to work around broken DNS.
-- 
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] hosts bind order?

2013-03-05 Thread Michael Chesterton
On Wed, Mar 6, 2013 at 3:09 PM,  wrote:

> any other thoughts ? googleing just brings ppl with similar issue, but no
> resolution so far.
> it seems 'it doesn't work anymore like it used to' ?


what command is not using /etc/hosts?

strace it to see what it's doing, post the output (maybe post a link to a
pastebin if it's huge)
-- 
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] Restore laptop screen after use in Google Sydney seminarroom?

2012-12-05 Thread Michael Chesterton
On Thu, Dec 6, 2012 at 8:32 AM, Tom Worthington  wrote:

> ps: Is there a small screen (about 11.6 inch display) low cost (under
> $500) laptop replacement anyone could recommend?
>

I just bought a chromebook for $249 plus about $70 in reshipping.

The battery lasts over 6 hours, you can hack it or install ubuntu. It boots
in seconds.

The only thing that annoys me is I haven't worked out the key combo to
switch tabs.
It's ctrl pg up and pg dn normally, but it has no pg up or pg dn keys,
that's alt arrow.

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


Re: [SLUG] Tuning Systems and Energy Use (Sys Admin Roles and Responsibilities)

2012-10-18 Thread Michael Chesterton
On Fri, Oct 19, 2012 at 12:43 PM, David Lyon <
david.lyon.preissh...@gmail.com> wrote:

> In fact, if anything, Sydney/NSW Governments are more adverse
> to automation and programming than other countries (say the US,
> Japan, Europe) and simply won't entertain having computer operated
> systems such as trains, cars and other things like that. Perhaps
> on the grounds that having such systems do use too much power.
>
> When in fact, precisely the reverse is true..


Sydney trains have been planning to computerise since the waterfall
accident. There will be constant monitoring of speed and position and
overrides if something goes out of whack, too fast, too close, or whatever.
Its primary goal is safety though, not efficiency.

I want to add a linux angle, but can't think of one.

-- 
https://chesterton.id.au/blog/
-- 
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] curious spawning of cron caused server crash

2012-07-17 Thread Michael Chesterton
> root   388  0.0  0.0   3480   764 ?D04:50   0:00 cp
/var/www/html/sks.com/images/**backgrounds/8.jpg
 
/var/www/html/sks.com/images/**backgroundimage.jpg

Others have answered your question, I thought I'd chip in with why they are
saying it's a file system/disk issue.

That line above is the key, the 8th column is a D, that means the process
is in an un-interruptible state waiting on I/O.
You can't kill it, root can't even kill it. The ps man page has the text
book definition of processes in D, but D doesn't mean disk, it's any I/O,
it could be network, like an nfs mount.

if you ran dmesg before rebooting you might have seen some disk errors,
they still might be in a syslog file now.
-- 
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] "GPS timing notes" and don't forget to add the leap second this weekend!

2012-07-01 Thread Michael Chesterton
On Fri, Jun 29, 2012 at 12:07 AM, Mark Willis wrote:

> This weekend there will be the first leap second insertion in
> four and a half years, and the first mid year change for
> fifteen years.
>
> Unlike the Australian banks needing to shut down for daylight
> saving changes (discussions on SLUG), with leap seconds
> Unix/Linux does not have a simple solution (but Linux handles
> them much better than on Microsoft platforms).
>
>
So you're the reason all hell broke loose on the internet today. ;)
Handles them much better indeed.


> So "Don't forget to add the leap second".
>
-- 
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] disabling ipv6 on centos? telnet localhost fails

2012-06-21 Thread Michael Chesterton
On Fri, Jun 22, 2012 at 9:19 AM,  wrote:

> On Thu, June 21, 2012 5:58 pm, Michael Chesterton wrote:
>
> > where 1.2.3.4 is your eth0/wlan0/whatever address. If you don't have a
> > static ip, say a roaming laptop, use
> > 127.0.1.1 my_hostname.my_domain my_hostname
> > That way forward and reverse lookups will make sense. If you do that,
> > don't forget to remove my_hostname from the localhost{,6} line.
>
>
> Michael,
>
> thanks, this just brought something up:
> so, for my cell phone/tablet, I should do that, yes..?
>
> 127.0.0.1.1 mycell.tld mycell
>
> what do I put in my domain dns ? do I put ...CNAME ..? dyndns ?


It's mainly used for daemons like web servers and mail servers, so if you
aren't running them on your tablet, it's not critical.
If you don't have a valid fqdn just make something up, like

127.0.1.1 mycell.home mycell

or whatever, you could even leave the fqdn out and just have 127.0.1.1
mycell
-- 
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] disabling ipv6 on centos? telnet localhost fails

2012-06-21 Thread Michael Chesterton
On Thu, Jun 21, 2012 at 5:35 PM,  wrote:

> On Wed, June 20, 2012 3:34 pm, micha...@heimic.net wrote:
> > What does hosts file look like on this client?
>
> Michael:
>
> 127.0.0.1   localhost.localdomain   localhost.localdomain   localhost4
> localhost4.localdomain4localhost   my_hostname
> ::1 localhost.localdomain   localhost.localdomain   localhost6
> localhost6.localdomain6localhost   my_hostname


It wasn't the cause of your problem, but it's not the best idea to put
my_hostname on the localhost line.
If you have a static ip for eth0 add a separate line like

1.2.3.4 my_hostname.my_domain my_hostname

where 1.2.3.4 is your eth0/wlan0/whatever address. If you don't have a
static ip, say a roaming laptop, use

127.0.1.1 my_hostname.my_domain my_hostname

That way forward and reverse lookups will make sense. If you do that, don't
forget to remove my_hostname from the localhost{,6} line.
-- 
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 12.04 wierdness

2012-06-04 Thread Michael Chesterton
On Tue, Jun 5, 2012 at 12:46 PM, Ashley  wrote:

> I am still having an odd problem with my setup.
> When I start up my system (Athalon ii X4, 8GB, Ubuntu 12.04) it will
> always connect to my modem/router but sometimes it refuses to connect
> to the internet.
>

Two things to check. When it doesn't work, check you can resolve hosts, ie
host google.com
also check your routing table for a default gateway and try a traceroute.

I could also be a duplicate ip or something weird like that.

when it's not working, try tcpdump -nvei eth0 and try ping google to see
what happens.
-- 
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] updated kernel causing problems

2012-05-21 Thread Michael Chesterton
On Mon, May 21, 2012 at 6:49 PM, Ben Donohue  wrote:

> Hi Thanks all. Much appreciated.
>
> For future reference in the archives I did the following...
>
> rpm -qa | grep kernel
> yum erase kernel-2.6.XX
> then rebooted. All clean and nice.
>

Do another yum update to make sure the erased kernel isn't going to be
reinstalled.
I don't know if it will or won't, I'll bet it will, and I'll also bet that
I'm wrong. I can't lose.
-- 
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] Job Management Apps

2012-05-08 Thread Michael Chesterton
On Wed, May 9, 2012 at 4:06 PM, Nigel Allen  wrote:

>
> Whatever we can come up with would ideally have an android client or at
> least sync with Google calendar for appointments and / or follow ups. I
> was looking at SugarCRM but I think that that is a little sledge hammer
> / nut for this.
>
> Any suggestions? Any Ideas? Any thought?
>

You mentioned google calendar, so maybe google spreadsheet and google forms?
Not an FOSS solution though, which means if google decides to change
something,
you're kind of locked into doing whatever google wants you to do,
although I imagine you'd always be able to download your data.
-- 
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] FreeNAS share mount problem

2012-04-08 Thread Michael Chesterton
On Sun, Apr 8, 2012 at 9:35 PM, elliott-brennan
wrote:

> Hi all,
>
> Has anyone much experience with FreeNAS?


Nope.


> I had to use USF as the file system as the manual says that ZFS can'/t be
> used as I'm using only 2G of RAM.


Wow, that's a lot of memory for a file system.


> If I try:
>
> # mount -t nfs 192.168.2.2:/mnt/data /mnt
>

What OS is this? Check the man page for mount, you might have nfs and nfs4
as mount types, try nfs4.
-- 
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] notebook Linux distro suggestion?

2011-10-23 Thread Michael Chesterton
2011/10/24 Marghanita da Cruz 

> There is also Lightweight Portable Security (LPS)-A Linux distro from the
> US DOD.
>

LPS interests me, and from the very little I know about LPS and tiny core
linux (TCL) they seem similar in that they have a file system blob that gets
loaded into memory, so any malware can affect the files in memory, but if
you reboot, you get a clean slate.

The idea is if you want to do some (eg) banking, you reboot, do your banking
on a known clean environment, then after you've finished, you reboot again.

One of these days I will try TCL. TCL is run by the guy who was the work
horse behind DSL.
-- 
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 11.10

2011-10-18 Thread Michael Chesterton
On Tue, Oct 18, 2011 at 4:36 PM, Heracles  wrote:

> Has anyone made the mistake of moving to this unusable version? It seems
> glued to unity which is the best argument for the demise of Ubuntu I have
> ever seen. At least in 11.04 I was able to choose gnome as a desktop. With
> 11.10 the only choices are unity and unity 2D.
>

apt-get install gnome

It has been demoted to universe.

I guess it's time to move to try another distro.
>

I've been thinking of returning to debian.
-- 
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] Reputable notebook repairer?

2011-10-11 Thread Michael Chesterton
On Wed, Oct 12, 2011 at 3:18 PM, DaZZa  wrote:

> On 12 October 2011 14:36,   wrote:
>
> > But unless you have a really high-end laptop, it's probably cheaper to
> > buy a new one.  Keep an eye out on
> >
> http://www.shoppingexpress.com.au/shop/laptop-of-the-day/laptop-of-the-day
> > until you see what you like.  Yesterday they had 15.6" HP core-i3
> > laptops for under $500, and a repair will cost you at least $300,
> > mostly in labour costs.
>
> I echo what Peter has said here - the price of laptops these days is
> so low that repairing anything but a serious, high-end business grade
> machine if it's not under warranty just isn't worth the effort. It's
> cheaper to buy a new one, and you get a new machine warranty to go
> with it.


Since we are talking laptops, does anyone know of a cheap 15" that has a
screen resolution of 1440x900 ish, all the cheap 15" models I've seen are
1366x768, which is the same resolution as the cheap 13" models. I have a 5
year old 15" mac with 1440x900, I don't want to downgrade.

>From what I've seen, the best value 15" laptop with 1440x900 are macs, and a
don't want to support apple by buying anything more from them.
-- 
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] Shared library not located

2011-09-17 Thread Michael Chesterton
On Sun, Sep 18, 2011 at 1:06 PM, elliott-brennan 
 wrote:

>
> David L just suggested I try:
>
> aweather SET LD_LIBRARY_PATH /usr/local/lib/
>
>
> Which works. So the next question is how I make it do this all by its
> lonesome :)
>

Ah, I maybe you need to run ldconfig manually after adding libraries to
/usr/local/lib?
I would try running as root on the command line
ldconfig

actually, before you do that run
ldconfig.real --print-cache | grep grits
then
sudo ldconfig
then
ldconfig.real --print-cache | grep grits
-- 
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] Shared library not located

2011-09-17 Thread Michael Chesterton
On Sun, Sep 18, 2011 at 11:33 AM, elliott-brennan
wrote:

>
> Just checked
>
> /etc/ld.so.conf
>
> The only thing it contains is the following:
>
> include /etc/ld.so.conf.d/*.conf
>
> Should I just add the text:
>
>  /etc/ld.so.conf.d/*.conf
>
> to the file?
>
> Do I then need to restart something so the system reads this?


It's most likely included by default, but to double check, run

grep local /etc/ld.so.conf.d/*
(i get this as the output)
/etc/ld.so.conf.d/libc.conf:/usr/local/lib

Which means it's looking in /usr/local/lib for libraries.


> ldd /usr/local/lib/libgrits.so.0
>>
>>
> My apologies for my lack of understanding. I'm assuming you mean to run:
>
>
> ldd /usr/local/lib/libgrits.so.0
>
> In a shell.
>

yes


> Is this as root?


run as a normal user, it will just print information, not make any changes.
It should be pretty clear if it finds a problem.

Here's an example I made up, I can't remember the exact wording.

ldd /usr/lib/libxml2.so.2
linux-gate.so.1 =>  (0x00d12000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00cd9000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x00c5a000)
libm.so.6 => (missing)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00e57000)
/lib/ld-linux.so.2 (0x004c)

So in my made up example, libm.so.6 is missing, and will need to be
installed before libxml2.so.2 can be used.

 and do the same to aweather while you're at it.
>>
>>
> This has me completely confused. How do I 'do the same' to aweather?
>
>
ldd /usr/local/bin/aweather

Thanks for the help :)
>

Sorry for being so brief.
-- 
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] Shared library not located

2011-09-17 Thread Michael Chesterton
On Sun, Sep 18, 2011 at 10:10 AM, elliott-brennan <
m...@elliott-brennan.id.au> wrote:

> $ aweather
> aweather: error while loading shared libraries: libgrits.so.0: cannot open
> shared object file: No such file or directory
>
> If I search for the missing library:
>
> $ locate libgrits.so.0
> /usr/local/lib/libgrits.so.0
>
> Which is itself a link to libgrits.so.0.1.2 which shares the same
> directory.
>
> I wouldn't be surprised if the solution is simple, but it's a bit beyond
> me.
>
> Any assistance would be most appreciated.
>

I'm assuming /usr/local/lib is in ld.so.conf{,.d/*}

try

ldd /usr/local/lib/libgrits.so.0

and do the same to aweather while you're at it.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Text to HTML?

2011-08-28 Thread Michael Chesterton
On Mon, Aug 29, 2011 at 10:04 AM, DaZZa  wrote:

> I've got some routers reporting to my syslog server on a Linux box,
> but I want to be able to do a quick scan for bad things without having
> to SSH to the box and scrolling through the text file.
>

It's not what you asked for, but I like logcheck, it runs syslog through a
whole bunch of regex and emails you anything out of the ordinary. It comes
with a default set of rules and you can add to them as you receive emails
with mundane lines. I set mine to run every hour, and I get about 5 emails a
day, depending on what's happening with my boxes.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: Was 'kernel panic', now '/usr/sbin/: Not found.'

2011-08-28 Thread Michael Chesterton
On Mon, Aug 29, 2011 at 9:06 AM, Michael Chesterton  wrote:

>
>
> On Mon, Aug 29, 2011 at 8:40 AM, Sonia Hamilton wrote:
>
>> Hi Adam,
>>
>> Please don't direct emails to me directly - that's what the slug email
>> list is for :-)
>>
>
> To be fair, Sonia, you haven't told our mail clients how you want followups
> to be handled. Had you done so, this message would not have gone directly to
> you.
>
> Google "mail followup to".
>

Well, I did a little more looking and it appears you do sometimes use mail
followup to header, but it was missing in the message I replied to. Oh well.
At least my message might help someone new to lists, if not you. Peace, love
and mung beans.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: Was 'kernel panic', now '/usr/sbin/: Not found.'

2011-08-28 Thread Michael Chesterton
On Mon, Aug 29, 2011 at 8:40 AM, Sonia Hamilton  wrote:

> Hi Adam,
>
> Please don't direct emails to me directly - that's what the slug email
> list is for :-)
>

To be fair, Sonia, you haven't told our mail clients how you want followups
to be handled. Had you done so, this message would not have gone directly to
you.

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


Re: [SLUG] ssh key-based auth not working Ubuntu without GUI (X) login??

2011-08-23 Thread Michael Chesterton
> * Amos Shapira  [2011-08-23 13:11:47 +1000]:
> > This made me think about another option - do you use encrypted home
> > directories?
>

Brilliant, I never would have guessed, even though I have run into a similar
situation with start up scripts running before home was ready. If it was me,
I would put the authorized_key file in /home/sonia/.ssh while home is
unmounted. You just have to remember it's living in both places, it's there
when you aren't logged into the console, when you log into the console, it
gets hidden by the mounted encrypted drive and is inaccessible, but it's
already on your encrypted drive so both cases will work.

It's just a little fragile, because you have to remember if you update the
file you have to update it twice. But I could live with that.
-- 
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] Hacked email

2011-07-02 Thread Michael Chesterton
On Sat, Jul 2, 2011 at 3:17 PM, DaZZa  wrote:

> > My suggestion is to fill this form out ASAP. Any of your online accounts
> > that use dagi...@gmail.com could reset your password at will.
> >
> > 
>
> Done that.
>
> Twice.
>
> Unfortunately, the brd who hacked the account changes all the
> password recovery questions - which means I am S.O.L - Google says "We
> can't verify who you are" - Christ, it's been 10 years since I started
> using Gmail, how am I supposed to remember the date? Or the invite
> time and date?
>

I thought when you (or someone else) changes your recovery email address,
you get sent an email to the old recovery address and can undo the changes
from there?

Interestingly, the message I'm replying to was flagged as forged by gmail, I
found it in my spam bin.

And to respond to Scotts post, putting a condom on after the baby is born is
leaving it a bit late.
-- 
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] Libre Office

2011-06-26 Thread Michael Chesterton
On Mon, Jun 27, 2011 at 3:52 PM, Heracles  wrote:
>
> How do I get rid of this piece of crap and get Open Office back? I have
> tried the Synaptic package manager but it converts my request from Open
> Office to Libre Office.
>

You should file a bug with libreoffice. Oracle fired all the 100+ developers
of open office.

I find packages for ubuntu by googling for the software name ppa, ie google
open office ppa. I have no idea how useful that will be in this case.

You could also try a libre office ppa, it might have a later version with
the bug already fixed.
-- 
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] Tape Backups and Scripting

2011-06-07 Thread Michael Chesterton
On Wed, Jun 8, 2011 at 9:15 AM, Troy Rollo  wrote:

> The approach here is to figure out what file system types need to be backed
> up,
> and exclude everything else.


The trouble with that approach is the backup doesn't contain the mount
points for the excluded file systems. So when you restore, you have to
create the mount points manually.
IMO, it's better to list all file systems you want to backup, and then
backup with --one-file-system or equivalent.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] IPv6 using ufw on Debian stable

2011-06-06 Thread Michael Chesterton
On Tue, Jun 7, 2011 at 1:56 PM, miloska  wrote:

> You need a rule to allow packages for existing connections in -
> something like this:
>
> $IPT6 -A INPUT -i $PUB_IF -m state --state RELATED,ESTABLISHED -j ACCEPT
>
> I'm not sure if you need any special setup to tell to the kernel that
> connections should be tracked for v6 as well.
>
> I'm not familiar with ufw so I'm not sure how it's called there.


 I believe the old stable 2.6.18 kernel on linode doesn't support ipv6
connection tracking. If you're running that kernel, swapping to the new
linode kernel will solve that.
-- 
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] libc6 depency issue

2011-01-10 Thread Michael Chesterton
On Tue, 2011-01-11 at 18:04 +1100, Steven McDonald wrote:

> That said, you can override dependencies with dpkg if you really want
> to, like this:
> 
> cd /var/cache/apt/archives/
> sudo dpkg -i --force-depends mondo*.deb
> 
> It's probably best to tab-complete the package name rather than
> globbing it, as it's possible you'll have multiple versions of a
> particular package in /var/cache/apt/archives/. It's also probably not
> the best of ideas to be doing this on a production server --
> dependencies exist for a reason. 

I know you recommended not to do it, but I wouldn't have even mentioned
the possibility.

There's one semi good reason that I know of to use force-deps on 
a working system, it's otherwise there for emergencies like 
a broken dpkg database. 

Occasionally you might use it to purge a package temporarily, 
and reinstall it straight away, if the package has other packages
depending on it, and you don't want to purge them too. 

In the old days, it was standard to see instructions using no-deps on
rpm based systems, and it caused a lot of pain. Basically once you've
used no-deps once, you have to use it every time.

> The alternative is to try to build the
> package yourself from source:
> 
> sudo apt-get build-dep mondo
> apt-get -b source mondo
> sudo dpkg -i mondo*.deb

Yeah, that's one way, or look around in backports or ppa repositories.
If you back port it yourself, it's up to you to keep it updated, if you
can find it in a ppa or backport repository, someone else will do it
for you (you hope).


-- 
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] Slow Cable Internet Speed on Debian (Lenny)

2010-12-30 Thread Michael Chesterton
On Thu, 2010-12-30 at 15:00 +1100, Gerard Blacklock wrote:
> I will look into this tonight, you are right there are heaps of files, 
> any clues where to start?

Not really, maybe that's not the best first step, anyway.

Try playing with ping and mtr, change the size of the ping packets,
A ping -s 1472 will give a 1500 byte packet. It's a bit hard to
workout the speed based on rtt because your link is asymmetric,
but you can compare rtt between different distros. Ping your gateway
for a test, rather than mirror.aarnet.edu.au.
 
There are tools that works out the speed of an asymmetric link, though 
Tcpanaly Pathchar Bing Bprobe.
 



-- 
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] Slow Cable Internet Speed on Debian (Lenny)

2010-12-29 Thread Michael Chesterton
Hello

On Wed, Dec 29, 2010 at 11:09 PM, Gerard Blacklock
wrote:

> Sluggers,
>
>
> In a nutshell, I found that on the debian lenny machine I could get at best
> the equiv. to ADSL 1500 speeds, this was confirmed using ozspeedtest.comand 
> downloading a iso file from
> mirror.aarnet.edu.au. Now, how do I know this is slow? I tried the same
> modem on a laptop with windows and clocked out the speed test at the
> 30mb/sec (cable extreme speeds). This lead me to do a few more tests, I got
> hold of the latest version of knoppix 6.2.1 (which is damn awesome btw, the
> last version I used was 5.01) and tried this on the same laptop and modem
> setup, I got the same result as the windows result, full 30 mb/sec speeds. I
> then downloaded the live version of debian and tried that, this time the
> speed was a terrible ~1500kb/sec, basically the same as my current
> installation on the gateway/proxy/firewall.
>
> So, after some research, I did find some information regarding the
> disabling of IPV6 on debian that may help internet speeds however this was
> mostly a few years old and I felt this was like crippling the future just to
> get things to work now (i did try it though but made no difference in my
> case) and plus I knew knoppix worked fine and gave me great speeds. I
> definitely do not have that intricate knowledge of debian and knoppix to
> really know what the cause of this is so I am wondering whether anyone else
> has experienced this with debian or has any clues on how I can resolve it?
>
> I can get into more specifics about my setup and provide more information
> as required. I am pretty sure I have isolated the issue down to debian,
> however am open to other possible causes.
>

The IPv6 issues where mainly with firefox, and the symptoms were different
to yours, mainly a page would take ages before it started to load, then it
would load fast.

Some issues that can cause problems are MTU and duplex mismatch.

I don't think it's one of those, but they are easy to test.

Run ifconfig and look at the traffic stats on eth0 (or whatever your network
interface is), see if there are any errors or collisions.

run ifconfig eth0 mtu 1000 and then try a download. ifconfig eth0 mtu 1500
to reset (if it was 1500 to begin with)

It could be some weird tcp setting, have a look at /etc/sysctl.conf to see
if kernel parameters are being set. If you're up for it, have a look
at /proc/sys/net/ipv4 and compare between knoppix and debian to see if there
are any differences. There's lots of files though, you can cat them to see
the settings.

Lastly, run
tcpdump -nvvvi eth0 -s0 -c100 >/tmp/tcpdump.out
then do a download, maybe use a pastebin to upload the data and link to it
in a follow up post rather than pasting it into a message to the list.
-- 
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] Greylisting Sendmail

2010-10-12 Thread Michael Chesterton

On 12/10/2010, at 4:04 PM, Nigel Allen wrote:

> Hi All
> 
> Customer of mine currently has their own in-house mail server. Machine
> runs CentOS 4.8 with Sendmail, spamassassin and mimedefang. RBL's are
> covered in sendmail.mc with spamhaus and SORBS.
> 
> Can anyone think of any reason why this combination would not play nice
> if they also implement greylisting?
> 
> Any gotchas anyone is aware of?


I personally don't think it's worth the hassle these days. Years ago it used to 
be
very effective, now, not so much. Some spam now retries, or they just send it 
multiple
times regardless if the first one was accepted, both ways defeating 
greylisting. 

I rely on RBLs and spamassassin, and they are effective for me. The spam that 
did
get through were to poker sites, and I fixed that up by adding rules to 
spamassassin.

I think spamassassin has a db that needs daily updating, is that happening?

-- 

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


--
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] Banning non Australian IP's from Aussie ecommerce site

2010-10-10 Thread Michael Chesterton

On 11/10/2010, at 3:09 PM, Ben Donohue wrote:

> Thanks all,
> 
> I'm seeing mostly brute force password attacks on ssh.
> 
> I've also found configserver firewall...
> 
> Anyway still looking at what is around.


I've configured my servers to only allow 3 ssh connections a minute.
It stops most brute force password attacks, but not all. When they start
timing out, they usually move on. Some just slow down.

There's other software like fail2ban and at least one other i've forgotten
the name of. They run as root, and periodically scan the logs and insert 
rules to block ip addresses if they have too many failed password attempts. 

I decided against fail2ban in favour of rate limiting ssh connections.



-- 

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


-- 
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] Banning non Australian IP's from Aussie ecommerce site

2010-10-10 Thread Michael Chesterton

On 11/10/2010, at 1:29 PM, Ben Donohue wrote:

> I'm running an ecommerce site and currently I only deal with Australian 
> shoppers.
> 
> However there are many hacking attempts from non Aussie IP addresses.
> 
> I'm looking at blocking everything that is non-Australian.
> 
> Has anyone done this? Any issues/ gotcha's/ tips/ etc?
> 
> Should I do it at the ISP or iptables? (would need a hand with IP tables)
> 
> I've found geoip, still looking into it.


I've thought about doing the same, but it's only a bandaid. It might stop the 
zombie
probes, but won't stop a targeted attack, which will use a compromised host in
australia to relay through and probably break in through the web server.

What sort of attacks are you seeing? A lot of the attacks I see are harmless 
zombie
probes looking for old and well know exploits on unpatched systems, or brute 
force
password attacks on ssh.

ie if you keep your system up to date, and use good passwords, or better, keys, 
you
shouldn't be bothered by the probes.

The biggest risk as I see it is the web software, sql injection, xss, etc. As 
far as iptables
is concerned, it's legitimate traffic, you need to look inside the web requests 
coming
in, ie deep packet inspection. Also do penetration testing. 

If you're running apache, look at mod_security.

-- 

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


--
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] Learning Linux

2010-09-22 Thread Michael Chesterton

On 22/09/2010, at 4:53 PM, Lee Isaacson wrote:

> Hi all,
> 
> What would be the best Distro to learn linux.
> 
> Fedora or Ubuntu.


yes.

Take your time and learn both. I take it you're looking to get experience for
work? Both are handy to know. 

If you have, say, a gig+ of ram, you can install virtual machines of centos for
playing on, get bored with it, delete it and install debian, etc.

If you have $20/month to spend, you could get a vps from linode which you
can play with email and web servers. But of course you can do all that from
home without spending money, but if you have a dynamic ip it's not going to
be the same experience as an internet connected vps.

-- 

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


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


Re: [SLUG] Re: Using a DNS with Dynamic IP

2010-08-28 Thread Michael Chesterton

On 29/08/2010, at 8:02 AM, Mike Andy wrote:

> I"m trying to stay away from dyndns because I've got to log in monthly
> to keep it up to date. Also woudln't dns lookups be slow if i linked
> from my new one back to dyndns>?
> 
> I'm just hosting my own portal it's basically a good search page with
> links on it that go to password protected parts for me (mythweb and
> rutorrent) but i'll probably expand on it eventually.

I don't think crazydomains offer a dns service, at least not for free. Whereas
the slightly more expensive registrars sometimes do. 

There are some free dns servers out there, but IMHO the best one got bought
out and I don't think it's as good as it was anymore. I'll leave it up to you 
to google
for them.

Basically, you need 2 or more dns servers (which have static ip addresses) to 
point your crazydomain to, then you set up the dns with whatever you want with 
a short ttl, say 300 seconds, and update the dns (not crazydomain) every time 
your ip changes, presumably programmatically and automatically.


-- 

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


--
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] Reply-to address on SLUG posts

2010-07-26 Thread Michael Chesterton

On 27/07/2010, at 3:13 PM, Erik de Castro Lopo wrote:
> 
> I do this filtering using procmail triggered by the List-Id.

I hear you. I think it's possible, though, to filter direct mails
into the list folder. Obviously not with the List-Id, but some
other method (like your +slug address, for one example). 
You might end up with duplicate emails in the list folder, 
but they won't hit your inbox.

> The thing that appals me most, is that if reply-to munging was used
> this wouldn't be a constant problem.

You set the reply-to and still got a direct mail.

> Instead, there would be the
> ocassional problem of a mail sent to the list when it was meant as
> a private response. Yes, i have read the repy-to-munging-is-evil
> thing but I choose to disagree.


And if Mail-Followup-To was used by everyone...



-- 

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


-- 
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] Reply-to address on SLUG posts

2010-07-26 Thread Michael Chesterton

On 27/07/2010, at 2:08 PM, Jon Jermey wrote:

> I've been caught by that a few times, mainly because this is the only mailing 
> list I currently subscribe to (out of a dozen or so) that doesn't 
> automatically set the reply-to address to the list. I have a vague memory of 
> this issue being raised before, and I'm sure there were good reasons given 
> why that was the case. But I still find it really annoying. Is there any 
> support for a re-think on this?

I think because we've always done it this way, it won't change. Also, we are 
open source
advocates (don't look at my useragent) and open source mail clients supports 
lists very
well. There's usually a list reply button or key press that does the right 
thing.

We are also fast learners, so if we make a mistake in list etiquette, someone 
(or five) will
let us know. Like top posting. (but that's a losing battle) 

Personally I find lists and people setting reply-to annoying. I mean how 
important are you
that you can't be disturbed by an email in your in box. There's also the option 
of filtering the direct emails so you never have to see them. 

How you want your replies handled on lists can be done with the Mail-Followup-To
header. Then you (and everyone else) use the followup function of your mail 
client, 
rather than reply.

-- 

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


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


Re: [SLUG] Re: WordPress, PHP ... Re: Ubuntu 10.04

2010-06-29 Thread Michael Chesterton

On 30/06/2010, at 6:54 AM, Richard Ibbotson wrote:

> Now I just have to work out why it is that web pages are so slow to 
> download from this box.  Not sure what that's about.  DNS configuration 
> seems to be okay and there is 2 Megabits of bandwidth on my home line.  
> Shouldn't be any problems.


Both google and yahoo have firefox plugins that might help diagnose the
problem. One is called yslow (I think that's yahoo's) and googles is speed
test toolbar or something obscure like that.

Does the page wait for a few seconds on a blank screen and then download 
quickly, or does it start downloading straight away but slowly?

-- 

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


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

2010-06-17 Thread Michael Chesterton

On 18/06/2010, at 2:15 AM, dave b wrote:

> On 15 June 2010 22:08, Craig Warner  wrote:
>> I don't know whether this is correct or not but its working for now
>> 
>> add to the following script
>> 
>> /etc/network/if-up.d/mtu
>> 
>> #!/bin/sh
>> ifconfig eth0 mtu 1300
>> 
>> restart networking
>> 
>> now wireshark is not reporting the error and I can sent emails and
>> access https sites
>> 
>> 
> I would suggest using iptables to perform MSS clamping.
> https://blue-labs.org/howto/mtu-mss.php


Does that fix all protocols, or just tcp?

-- 

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


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

2010-06-14 Thread Michael Chesterton

On 15/06/2010, at 2:15 PM, Nick Andrew wrote:
> Due to heat, or what? That paper seems to concern itself primarily with the
> differences between PS (personal storage) drives and ES (enterprise storage),
> in order to justify why the SCSI drives have so much higher cost per bit.
> 
> The only mention I could see about multiple disks affecting failure rate
> was "A high density server rack with many disc drives grouped close together
> may experience much higher temperatures than a single drive mounted in a
> desktop computer". Nothing about whether multiple disks in a machine affect
> failure rate for any reason other than high temperature (which is usually
> controlled in server environments).

Google released a study to suggest heat didn't affect the life of a disk much.

I don't think multiples disks in a machine affect failure rate, it's just that 
the more
disks you have, the more likely you are of having a dud one that will fail. 

It doesn't matter how the disks are arranged, if a company has 1000 PCs with 
a single disk in each spread throughout Australia, they're more likely to see a 
disk fail than if you have one PC with one disk.


-- 

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


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

2010-06-14 Thread Michael Chesterton

On 14/06/2010, at 6:35 PM, Craig Warner wrote:

> An interesting problem I'm having with Ubuntu 10.04 in accessing
> certain websites such as https sites and sending emails using
> evolution. When using  Fedora 13,  there no problems connecting to
> https sites and using email.
> 
> Looking at the problem, with wireshark monitoring, I get "Destination
> unreachable (fragmentation needed)" when access https or sending a
> message with evolution.

Do you get that with both fedora and ubuntu.

The only thing i can think of is the icmp message is being blocked.
Do you have any iptables rules, filter and/or nat?

-- 

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


-- 
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] mount LVM from Ubuntu live CD

2010-02-20 Thread Michael Chesterton

On 19/02/2010, at 1:41 PM, Daniel Pittman wrote:
> Try booting the kernel with 'init=/bin/bash' on the command line, and then:
> 
> ] mount / -o remount,rw
> ] passwd root  # ...and give it a good password
> ] mount / -o remount,or
> ] sync; sync; sync
> # wait thirty seconds, because paranoia never hurts
> ] sync; sync; sync; reboot
> 
> That should get you past the problem, at least as far as the next issue.


i guess that's mount / -o remount,ro

I'm curious about the order of the read-only command, and the syncs. I did 
assume
there would be nothing to sync on a read-only file system, but I take it sync 
works
below the file system level?

-- 

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


--
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] Testing glue records

2010-02-19 Thread Michael Chesterton

On 19/02/2010, at 11:12 PM, Ashley Glenday wrote:

> What I'm after is any known way to test the glue records are in fact set up 
> properly and if they are, what else could I have missed?


I find http://www.intodns.com/ handy for debugging dns issues.


-- 

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


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


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

2009-12-11 Thread Michael Chesterton

On 12/12/2009, at 3:50 PM, Mike Andy wrote:

> ok i'll try ssh, but i'm not sure if an SSH server will be set up on a
> live cd boot

Oh sorry, didn't realise you hadn't installed yet. In my case I was able
to install but the first boot after failed.

You could try the alternate iso instead of the desktop one. Or move 
hard drives around like you said.

-- 

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


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


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

2009-12-11 Thread Michael Chesterton

On 12/12/2009, at 3:29 PM, Mike Andy wrote:

> ok so I've just got the time to try your ideas out and here's where
> i'm at with booting into mythbuntu/ubuntu 9.10
> 
> still no good!
> 
> as suggested i can't access /var/lib/Xorg.0.log because once the
> screen starts flashing i can't input anything, i can only see the
> commend line, the black, command line, black etc...

I had a similar issue with 9.10, but different brand video card.
(it was fixed a day or to after release)

The way I "fixed" it was to ssh into the box and kill gdm, the old behaviour 
was if X died a few times in a row, to stop trying to restart it. Didn't seem
to be the case this time.

If you can't ssh in, at the grub prompt when you first turn on the computer 
there 
should  be at least 2 linux boot options, the second one should be safe or 
rescue mode, I forget the exact term. Try that to see if you can then access 
the console and look at the logs.


-- 

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


--
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] apt-get purge aftger apt-get remove

2009-10-28 Thread Michael Chesterton


On 28/10/2009, at 9:35 PM, Daniel Pittman wrote:


pe...@chubb.wattle.id.au writes:

I've done apt-get remove to get rid of some packages, but I should  
have done
apt-get remove --purge.  How do I get rid of the config file  
droppings all

over my system?


   dpkg --list | grep ^rc

# sudo dpkg --purge $(dpkg --list | grep ^rc | awk '{print $2}')


What a waste, piping grep to awk. I suppose you also eat kittens?

sudo dpkg --purge $(dpkg --list | awk '/^rc/ {print $2}')



--

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


--
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] Dreamweaver clone for Linux ?

2009-09-17 Thread Michael Chesterton


On 17/09/2009, at 1:16 PM, Kyle wrote:


Thanks all for the suggestions.

Meryl,

he's 9. I.e. the attention span of a goldfish.

I think we'll start with baby steps.




I wonder if openoffice.org might have something, the word processor
can save as html.
If you search around, you might be able to find web templates, too.  
Templates

might be easier than starting with a blank page.

--

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


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


Re: [SLUG] odd system loss

2009-07-13 Thread Michael Chesterton


On 14/07/2009, at 2:42 AM, Geoffrey Cowling wrote:


This is mostly a 'wot hoppen?' and 'wot's going on' -- but advice what
to do about it would be very welcome.

I was using a bash script with convert (from ImageMagick) to convert a
lot of big tiff files, I mistyped a / for a x ... everything froze,
and when I goto ut (it rebooted) there was only a Error 15: File not
found.  This was Ubuntu 8.04


Were you addicted to root, the superuser? It's a common phenomena
for new users to get addicted to the power of root and do everything
as root. I know I did. That was before SUA, Super User Anonymous.
Now I do everything as an ordinary user, and sudo when I need.

I would try and find your root partition by mounting all /dev/sdb1
/dev/sdb2 /dev/sdb3 etc etc.

But at least you've got home, and on a separate partition, worse comes
to worse you might have to reinstall leaving /home intact.

--

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


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


Fwd: [SLUG] SLUG meeting videos/slides? SYSADMINS:- LOOK AT VIDEO STORAGE

2009-05-30 Thread Michael Chesterton

This time to the list :(

Begin forwarded message:


From: Michael Chesterton 
Date: 31 May 2009 3:53:41 PM
To: Ken Wilson 
Subject: Re: [SLUG] SLUG meeting videos/slides? SYSADMINS:- LOOK AT  
VIDEO STORAGE



On 30/05/2009, at 9:22 PM, Ken Wilson wrote:

Jamnes and Jeffs talks recorded OK, are uploaded to LA site,  
available some time soon,, when fancy automatics happens.


The videos are up, (thank you very much) they're in the 2008  
directory.


http://mirror.linux.org.au/lug/slug/2008/

Thanks Ken.

--

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




--

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


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


Re: [SLUG] Videos and slides from Linux Conf?

2009-05-11 Thread Michael Chesterton


On 11/05/2009, at 6:58 PM, Nick Urbanik wrote:

Call me an idiot (Nick's a blind idiot!) but I haven't found the
slides and videos from the last Linux Conf.  Can someone point me
there?  I'm looking firstly for Peter Chub's "I Hate SPAM!" talk.


http://mirror.linux.org.au/pub/linux.conf.au/2009/
http://mirror.linux.org.au/lug/slug/2008/

Here's some talks, there's a peter_chubb-I_hate_spam-20080926.ogg in the
second link, but it's not from the latest linux conf.


--

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


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


Re: [SLUG] 64 bit flash

2009-05-04 Thread Michael Chesterton


On 05/05/2009, at 12:09 PM, Daniel Pittman wrote:
(Plus, the flashblock extension is your friend, so that you don't  
get a

dozen competitive pages with flash at ones, but you probably already
knew that. :)


I used to run a plugin which i think was called aniblock, which gave you
options of not running animated gifs (or running once only), but you  
could

right click the gif and run it if you wanted.

Anyone know how to do this now? ATM I've turned animated gifs off via
about:config but I've lost the option of right clicking running them.

--

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


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


Re: [SLUG] Increasing RAM

2009-04-18 Thread Michael Chesterton


On 18/04/2009, at 10:02 PM, Kyle wrote:


Hi Slug,

I've decided to increase the RAM on my home CentOS server. As best I  
can recall, the accepted wisdom is to have SWAP approx.~ 2 x RAM. Or  
was that approx.~ 50% of RAM?


Can someone point me in the direction of an explicit tutorial on how  
I might go about increasing SWAP without destroying data on my other  
partitions please?


Or if I'm actually upping the RAM, should I just not worry about it?


These days there's no hard rules about swap. The old rule was 2 x RAM.

I don't think you mentioned how much ram you had or how big your swap  
was,

but if you aren't running out of swap, you don't need any more.



--

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


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


Re: [SLUG] Downloading files with .asc extention.

2009-03-09 Thread Michael Chesterton


On 10/03/2009, at 7:09 AM, Erik de Castro Lopo wrote:


Hi all,

I've got a pair of files on  my website:

   http://www.mega-nerd.com/libsndfile/libsndfile-1.0.19.tar.gz
   http://www.mega-nerd.com/libsndfile/libsndfile-1.0.19.tar.gz.asc

The second doesn't seem to want to download in  Mozilla due to a
"Content Encoding Error". It downloads file with wget and gpg is
happy to verify the tag.gz.

Anyone got any idea whats going on here?



It's got something to do with Content-Encoding: x-gzip

I think apache is telling the browser to accept a gzip file, then is
sending an ascii file.

wget -S http://www.mega-nerd.com/libsndfile/libsndfile-1.0.19.tar.gz.asc

--

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


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


Re: [SLUG] A little SAMBA help, maybe?

2009-03-09 Thread Michael Chesterton


On 10/03/2009, at 8:43 AM, Kyle wrote:


Hi Dean,

I have the 'write list' flag. The one diff between your share and  
mine is the 'read only' flag. But according to the man pages, that  
shouldn't matter.


Unless order of params for the share makes a diff.?



It's been a while since I looked at samba, but i'm thinking it's  
because you have write

permissions on the directory, and the others don't.

There's an option to force group, if you set that to the group of the  
directory, and have

the directory group read writable, it should work.

--

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


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


Re: [SLUG] Ubuntu Hardy update weirdness?

2009-03-04 Thread Michael Chesterton


On 05/03/2009, at 6:43 AM, Erik de Castro Lopo wrote:


Hi all,

I've got an Ubuntu Hardy box that I update regularly, but when I
went to update it today, apt wants to upgrade almost everything,
a dowload of some 900Meg.

Anyone else seeing this? Any idea whats happened?



How are you updating it?

Is /etc/apt/sources.list still tracking hardy?

--

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


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


Re: [SLUG] Need a lesson in routing [WAS: memory]

2009-02-20 Thread Michael Chesterton


On 21/02/2009, at 3:04 PM, Kyle wrote:

Keeping it simple with HTTP (using Firefox),  a site like smh.com.au  
(where I visit daily, so if there's any local caching going on, it's  
cached and I reckon internode would likely be caching smh.com.au)  
takes a minimum 11 secs to load and regularly 20+ secs.  This is  
from behind the linux box. However, if I attempt to load smh.com.au  
from the linux box, it loads in 3secs flat. I don't have squid or  
any proxying server running myself - at least not that I have  
personally configured.


Does it sit there for 11 seconds, then load all of a sudden, or does  
it start loading right from

the start?

I'm wondering if firefox is doing IPv6 lookups and failing. If you  
want to test, disable IPv6 in firefox (about:config) or use the same  
nameservers as the linux router


--

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


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


Re: [SLUG] useful bash tricks thread

2009-02-06 Thread Michael Chesterton


On 06/02/2009, at 9:06 PM, Tony Sceats wrote:

It's been a while since there's been a thread like this, so I  
thought it

would be fun :)



Here's quickie.

if you want to rename a file by appending, for example, a .txt to the  
end


mv filename{,.txt}

or to remove .txt

mv filename{.txt,}

--

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


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


Re: [SLUG] Apps hanging when writing to /dev/log

2009-01-29 Thread Michael Chesterton


On 29/01/2009, at 11:24 PM, John Ferlito wrote:


On Thu, Jan 29, 2009 at 10:49:09PM +1100, Jeremy Visser wrote:

`fuser -u /dev/log` reveals that indeed, syslogd listens on /dev/log.

Funny thing is, if I restart syslogd, and do things that write to the
log, it works fine. I can see the log entries coming through in  
syslog,

and it's all good. Just after a few hours, it conks out and starts
hanging.


Last time I saw something similar it was on our syslog host. ie many
servers were logging to it. The problem occurred where some of the
servers didn't have reverse DNS and syslogd was hanging trying to
perform reverse lookups.



If you haven't already, you could attach strace to syslogd and see what
it's up to, from memory it's strace -p 

also, (if you haven't already) you could try googling syslogd hanging

http://lkml.org/lkml/2005/3/26/37

--

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


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


Re: [SLUG] Re: hosted blogging account with open backend.

2008-12-15 Thread Michael Chesterton


On 08/12/2008, at 3:43 PM, Sonia Hamilton wrote:

I found the docs a bit confusing, but I've tested it using curl.  eg
for POSTing a new article (something very roughly like this):

curl -H "Authorization: GoogleLogin auth=$Auth" \
   -H "Content-Type: application/atom+xml" \
   -d "@example_post.xml" \
   https://www.blogger.com/feeds/$blog_id/posts/default


Anyone know how to do the same for wordpress?



I used this recently. It worked for me, probably won't work for you ;)
The blog post has the subject as the first line, and the body in the  
rest.

For me, every paragraph was one long line, and a blank line between
paragraphs, I'm not sure how formating will look if you press enter at
the end of every line.

call it whatever and run it with the filename as the first argument.
./whatever 

The address, username and password are hard coded in the python program.

#!/usr/bin/python

import xmlrpclib
from pprint import pprint
from datetime import datetime
from sys import argv
from string import rstrip

def blogPost( server, username, password, date, title, content ):
   datastruct = {'pubDate': date, 'description':content, 'title':title}
   returncode =  
server.metaWeblog.newPost('1',username,password,datastruct,1)

   print returncode

servname = xmlrpclib.Server("http://blog.com/xmlrpc.php";)

d_username = 'admin'
d_password = 'password'

n_date = datetime.isoformat(datetime.now(), ' ')

try:
   f = open(argv[1])
except:
   print("error opening file")
   exit()

n_title = rstrip(f.readline())
content = f.readlines()
n_content = str()

for line in content:
   n_content = n_content + line.rstrip() + "\n"

n_content = n_content.decode('ascii', "replace")
print(blogPost(servname, d_username, d_password, n_date, n_title,  
n_content))



--

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


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


Re: [SLUG] Re: Backup notes from Mary's talk (28 Nov)

2008-11-28 Thread Michael Chesterton


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


On 2008-11-28, Michael Chesterton <[EMAIL PROTECTED]> wrote:

Very minor nitpick, rsync can save older data, and put them in
whatever dir you want.

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


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


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



--

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


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


Re: [SLUG] Backup notes from Mary's talk (28 Nov)

2008-11-28 Thread Michael Chesterton


On 28/11/2008, at 11:56 PM, Mary Gardiner wrote:
See http://jwz.livejournal.com/801607.html for someting similar (and  
the

partial inspiration for the talk), although rsync doesn't save older
data, which I definitely recommend.



Very minor nitpick, rsync can save older data, and put them in  
whatever dir

you want.

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




--

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


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


Re: [SLUG] Recovering data from failed hard drive

2008-11-28 Thread Michael Chesterton


On 28/11/2008, at 8:02 PM, Ben Donohue wrote:

hard drives very commonly won't spin up. if you can get them to spin  
up then they tend to allow you to get all the data off.


The way to get it to spin up is to remove it from the computer,  
attach the cables, turn on the computer and rotate the drive in your  
hand in the same direction (back and forth) as the platters spin.  
(don't bash the disk but be gentle)
This frees up the disks and they start spinning. I've had very many  
times of spinning up disks like this that have failed and have got  
all the data off.



I've heard with some types of failures, sealing the drive in air tight  
plastic and putting it in the freezer resurrects it for a while.  
Research before you do it, though. I'm not sure if it will help in  
this case.


--

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


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


Re: [SLUG] sata drive problems - slow load

2008-11-20 Thread Michael Chesterton


On 21/11/2008, at 12:08 AM, Ken Foskey wrote:



I installed a very large harddrive today and now everytime I boot I am
dropping to a kernel prompt.

I have figured out that I need to
   modprobe sata_via
   exit
It all boots OK but the modprobe takes a huge amount of time.

Is there a step that I have not done in setting this up?  Is there a
quick fix to stop it dropping to the command prompt?



Perhaps you need to rebuild your initrd?
Try reinstalling the running kernel, which should regenerate initrd.
Or you can regenerate an initrd from the command line, but I can
never remember the exact command, I think the bin is called
mkinitramfs

--

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


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


Re: [SLUG] Desktop integration with Google Calendar and Remember the Milk

2008-11-16 Thread Michael Chesterton


On 17/11/2008, at 12:08 AM, Sridhar Dhanapalan wrote:


So, how does one have their head in the cloud without losing sight of
the real world?



LSD.

Have you heard of CalDAV? It's all shiny and new, but google supports  
it, and

there are linux aps out there.

--

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


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


Re: [SLUG] ssh certificate logins

2008-10-09 Thread Michael Chesterton


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



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

guess passwords via iptables.



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

on.

--

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


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


Re: [SLUG] Comp TIA+ / CLP

2008-09-25 Thread Michael Chesterton


On 25/09/2008, at 6:03 PM, Blindraven wrote:

I did take a peek at the LPI site the other day and found no  
indication of
how it works, where I can sit the exam and what material I'd need to  
be

studying in order to prepare myself. The site is very vague on this.

Do you know of any yourself?


I think there's a tafe course run from granville that covers LPI.

http://archive.slug.org.au/2006/training.html
http://www.gonzo.edu.au/moodle/

Everything looks a little out of date, but Geoffrey Robertson looks  
like the
contact for tafe, and there's lots of links on those pages, include  
some to

study material http://lcdp.sourceforge.net/

--

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


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


Re: [SLUG] dns test tools ?

2008-08-14 Thread Michael Chesterton


On 15/08/2008, at 8:02 AM, Voytek Eymont wrote:


can anyone recommended free dns online test tools ?



http://www.intodns.com

--

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


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


Re: [SLUG] comparing domain registrar prices

2008-08-10 Thread Michael Chesterton


On 11/08/2008, at 12:27 PM, Peter Miller wrote:


Dear Lazy Web,

I did actually try to find this on my own, honest!

Is there an equivalent to whirlpool.net.au for domain name registrars?
I.e. a single site which allows me to compare pricing over all of the
Australian domain name registrars?


In the fine tradition of not answering the question asked.
name.com does $6 domain names. I don't believe they
do au domains, though.

--

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


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


Re: VoIP adapter configuration was /Re: [SLUG] Thunderbird send problems

2008-07-26 Thread Michael Chesterton


On 26/07/2008, at 12:17 PM, elliott-brennan wrote:


Now, one last question :))

In the DSL-502T, there is nothing that comments on MTU *but* there  
is a option to change the MRU' which is currently 1492 (when  
Columbus sailed the ocean blue)...are these related? Errr, not  
Columbus but MTU/MRU


I've had trouble finding if they are the same or different elements.



From memory, MRU maximum receive unit, I've seen it with PPP.

Sure, minus 36 from it and see what happens, you're not going to hurt
anything. Change it back if it doesn't have the desired result.

--

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



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


Re: VoIP adapter configuration was /Re: [SLUG] Thunderbird send problems

2008-07-25 Thread Michael Chesterton


On 25/07/2008, at 10:19 PM, elliott-brennan wrote:


MICHAEL IS THE MAN!

:)

For the more sensitive of our members, please accept my apologies  
for the loud noise.


Thanks Michael.

sudo ifconfig eth0 mtu 1464

was the sweet spot. My problem with uploading and sending large/ 
long e-mails is now resolved.


It might be that adjusting settings in the VoIP or router will fix it  
too. Lowering the MTU
on the router adsl interface by 36 bytes might work, too. Then it's  
fixed in one place,

you won't have to touch your desktops.

One last question. How do I fix the MTU setting so I don't have to  
reset it each time I reboot. For my desktop this is not really a  
problem - it's on 24/7, but I'd rather just have it sorted.


It depends, it depends on the distro, how new it is or how it's  
already configured.

I guess I would probably edit /etc/network/interfaces and add

up ifconfig eth0 mtu 1464

to the eth0 stanza. I'm not sure if the interfaces file supports  
setting MTU or whether
you need to do it like I did above with an up command. Also,  
NetworkManager

complicates things.


--

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



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


Re: VoIP adapter configuration was /Re: [SLUG] Thunderbird send problems

2008-07-25 Thread Michael Chesterton


On 25/07/2008, at 5:54 PM, elliott-brennan wrote:


Okay, so, without the VOIP adapter involved, I get:

ping -s 472 google.com
PING google.com (72.14.207.99) 472(500) bytes of data.
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=1  
ttl=245 (truncated)


64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=23  
ttl=245 (truncated)


--- google.com ping statistics ---
24 packets transmitted, 23 received, 4% packet loss, time 23098ms
rtt min/avg/max/mdev = 245.945/247.086/248.054/0.890 ms

***
Errr...whasismean?



means 472 gets through, try 1472

--

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



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


Re: VoIP adapter configuration was /Re: [SLUG] Thunderbird send problems

2008-07-25 Thread Michael Chesterton


On 25/07/2008, at 5:45 PM, elliott-brennan wrote:


Yes, should have at least tried to look first :)

Given (as below) the current MTU is 1500 and you're suggesting  
changing this to 576, what are the consequences I should be aware of?



It's just a temporary change, next reboot will reset it, it  
determines how big packets
leaving your interface will be. But if you get it wrong it could  
cause your NIC to

catch on fire (I'm joking, there's nothing to worry about)

sudo ifconfig eth0 mtu 576

to reset

sudo ifconfig eth0 mtu 1500

but you don't even need to change the MTU, you can test the same  
thing with ping


ping -s 100 google.com
ping -s 512 google.com
ping s 1472 google.com

(1472 will give you a packet (frame i guess) size of 1500)


--

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



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


Re: VoIP adapter configuration was /Re: [SLUG] Thunderbird send problems

2008-07-25 Thread Michael Chesterton

sorry, another brain fart

it's

ifconfig eth0 mtu 576

but try the pings, see if you can find the maximum size that gets  
through.

Well, that's assuming it's an MTU problem.

On 25/07/2008, at 5:10 PM, Michael Chesterton wrote:



On 25/07/2008, at 5:02 PM, elliott-brennan wrote:


Hi Michael,

I would...but I'm not sure exactly what you are asking me to do!

:)

Sorry for my lack of understanding. Could you please provide me  
with a bit more information?


PS. This problem exists on all three machines (desktop x2 and  
laptop x1) when the VOIP adapter is connected.


Regards.

Patrick


MTU I mean, sorry.

ifconfig mtu 576 eth0


you could also try

ping -s 1472 google.com
ping -s 512 google.com

etc

--

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



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


--

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



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


Re: VoIP adapter configuration was /Re: [SLUG] Thunderbird send problems

2008-07-25 Thread Michael Chesterton


On 25/07/2008, at 5:02 PM, elliott-brennan wrote:


Hi Michael,

I would...but I'm not sure exactly what you are asking me to do!

:)

Sorry for my lack of understanding. Could you please provide me  
with a bit more information?


PS. This problem exists on all three machines (desktop x2 and  
laptop x1) when the VOIP adapter is connected.


Regards.

Patrick


MTU I mean, sorry.

ifconfig mtu 576 eth0


you could also try

ping -s 1472 google.com
ping -s 512 google.com

etc

--

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



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


  1   2   3   >