Re: [SLUG] Ports needed for linux repositories

2011-10-25 Thread Sonia Hamilton
Depends what protocol you're using - http, https, ftp, rsync.

On Wed, 26 Oct 2011 10:15:43 +1100, Joshua Rasnier
jrasn...@gmail.com said:
 Hi Guys,
 
 Just got a question. What ports are needed to download from linux
 repositories, port 80 and 443 only?
 
 Regards,
 
 Joshua Rasnier
 -- 
 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] Ports needed for linux repositories

2011-10-25 Thread Sonia Hamilton
Wireshark/tcpdump are your friends in these cases.

http://www.wireshark.org/
http://www.tcpdump.org/tcpdump_man.html

Sonia.

On Wed, 26 Oct 2011 12:25:03 +1100, Joshua Rasnier
jrasn...@gmail.com said:
 Sorry I figured out the issue. What I was having trouble with was a
 simple
 yum update through RHEL 5.
 
 What I had was to allow 443 between host and
 https://xmlrpc.rhn.redhat.com,
 which redhat documentation and redhat costumer service told me that was 
 all
 I needed.
 
 But I found that communication also needed to be allowed from host to
 https://deploy.akamaitechnologies.com.
 
 
 Regards,
 
 Joshua Rasnier
 
 On Wed, Oct 26, 2011 at 11:52 AM, Sonia Hamilton so...@snowfrog.net
 wrote:
 
  Depends what protocol you're using - http, https, ftp, rsync.
 
  On Wed, 26 Oct 2011 10:15:43 +1100, Joshua Rasnier
  jrasn...@gmail.com said:
   Hi Guys,
  
   Just got a question. What ports are needed to download from linux
   repositories, port 80 and 443 only?
  
   Regards,
  
   Joshua Rasnier
   --
   SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
   Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] gnome: folder shortcut on gpanel?

2011-10-20 Thread Sonia Hamilton
Hmmm... the first option works but is ugly, the second option only
allows you to create links to files not directories.

But combining the two options you get a solution: create a launcher with
location file:///tmp. Or even easier - just drag a folder (eg /tmp)
from Nautilus onto gnome-panel - duh!

Right clicking on gnome-panel is inconsistent - I might lodge a bug.

* Kyle k...@attitia.com [2011-10-21 09:03:44 +1100]:
  Could you not create the link in terminal and then either from file
 browser, drag it to the panel? Or create via whatever menu right
 click option there is?
 
 On 20/10/11 2:23 PM, Sonia Hamilton wrote:
 How do you put a link to a folder on gnome-panel?
 
 For example, in Nautilus I can create a link to a folder (/tmp say) in
 the Side Pane. Then when I click on the /tmp link, Nautilus opens up a
 view on /tmp. (A link to /tmp also appears in Places).
 
 How do a put a similar link directly on gnome-panel? ie so I don't have
 to go via places?
 
 I've been googling and reading pages like 
 http://www.yolinux.com/TUTORIALS/GNOME.html
 but not much luck...

--
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] gnome: folder shortcut on gpanel?

2011-10-19 Thread Sonia Hamilton
How do you put a link to a folder on gnome-panel?

For example, in Nautilus I can create a link to a folder (/tmp say) in
the Side Pane. Then when I click on the /tmp link, Nautilus opens up a
view on /tmp. (A link to /tmp also appears in Places).

How do a put a similar link directly on gnome-panel? ie so I don't have
to go via places?

I've been googling and reading pages like 
http://www.yolinux.com/TUTORIALS/GNOME.html
but not much luck...

--
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
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: SUSE 11.4 failsage boot only after a first update (Joseph Buk)

2011-09-25 Thread Sonia Hamilton
* James Linder j...@tigger.ws [2011-09-25 10:44:47 +0800]:
 my words will generate hows of anguish from the slug-cognoscii, but
 your questions show that you are a new user so... , this is what I'd
 do:
 ..
 Never turn on automatic updates. What for? They all too often break
 things, despite the hype don't do anything for you.

cough if you going to take this path, at least install security
patches. For example in Ubuntu, Install Security Updates without
Confirmation.

--
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mounting a shared folder from one Mint PC on another Mint PC

2011-09-21 Thread Sonia Hamilton
* Jon Jermey jonjer...@gmail.com [2011-09-21 14:12:21 +1000]:
 The only help I can find with Google is horrendously complicated.
 Can anyone provide a simple solution or point me to a
 straightforward set of instructions?

Jon, for simple sharing you could try using ssh sharing instead of smb.

1. check you can ssh between the machines. If not, do this on both
machines:

sudo apt-get install openssh-server
sudo service ssh restart

(you may want to later setup ssh keys and tighten security by only
allowing key-based authentication if the boxes are exposed to the
internet, but that's another email)

2. install sshfs and mount the remote home directory:

sudo apt-get install sshfs
cd ~
mkdir mnt
sshfs target_servers_ip_or_hostname mnt
cd mnt
ls

I tend to use sshf for quick and dirty sharing, and nfs/smb (samba) for
longer term or higher bandwidth sharing.

HTH,

--
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Mounting a shared folder from one Mint PC on another Mint PC

2011-09-21 Thread Sonia Hamilton
On Thu, 22 Sep 2011 11:08:54 +0800, James Linder j...@tigger.ws said:
  I tend to use sshf for quick and dirty sharing, and nfs/smb (samba) for
  longer term or higher bandwidth sharing.
 
 Although I do agree with Sonia, I find this even easier
 
 1) put your public key on the other box
 
 [ 
 ssh-keygen
 ssh-copyid otherbox
 ]
 
 2) Use nautilus to 'connect to remote server'
 
 The other file system is just visible

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


[SLUG] mail follow ups

2011-08-29 Thread Sonia Hamilton
* Michael Chesterton che...@chesterton.id.au [2011-08-29 09:15:17 +1000]:
  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.

Thanks, and no worries! I've explicitly set the options in my ~/.muttrc,
though they default to yes anyway:

 set followup_to=yes
 set honor_followup_to=yes

Always good to learn something :-)

--
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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

2011-08-28 Thread Sonia Hamilton
Hi Adam,

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

Thanks, Sonia.

On Mon, 29 Aug 2011 10:10:45 +1200, adam.bogacki
adam.boga...@clear.net.nz said:
 I am trying to reinstall GNU GRUB 1.97~beta4 on an Ubuntu
 WattOS RC1 (/dev/sda) / Debian 6 (/dev/sdb) dual-boot
 system.
 
 sudo fdisk -l
 
 Disk /dev/sda: 200.0 GB, 200049647616 bytes
 255 heads, 63 sectors/track, 24321 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x0001
 
Device Boot  Start End  Blocks   Id 
 System
 /dev/sda1   *   1   23572   189342058+  83 
 Linux
 /dev/sda2   23573   24321 60163125 
 Extended
 /dev/sda5   23573   24321 6016311   82 
 Linux swap / Solaris
 
 Disk /dev/sdb: 320.1 GB, 320072933376 bytes
 255 heads, 63 sectors/track, 38913 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x00060463
 
Device Boot  Start End  Blocks   Id 
 System
 /dev/sdb1   1   38127   306246656   83 
 Linux
 /dev/sdb2   38127   38914 63221775 
 Extended
 /dev/sdb5
 
 I mount dev, proc, sys, and usr on /dev/sda (aka w1), and
 
 guest@guest:~$ sudo chroot /mnt/w1 /bin/bash
 root@guest:/# update-grub2
 root@guest:/# grub-install /dev/sda
 /usr/sbin/: Not found.
 
 I'm stumped.
 
 I have previously done
 
 root@guest:/# grub-install /dev/sda1
 
 getting ...
 
 init[1]: segfault at 0 ip (null) sp bfd65e44 error 4
 kernel panic - not syncing: Attempted to kill init !
 Pid: 1 comm: init Not tainted
 2.6.31-23-generic # 75-Ubuntu 
 
 .. but have since become aware I should not specify
 partition number.
 
 Inspecting files on the WattOSRC1 drive (w1), it seems I
 have two GRUB folders
 
 guest@guest:/mnt/w1$ ls
 bindebootstrap  grubinitrd.img.old  man1  
 openbox  proc sbin sys  var
 boot   dev  homelib media  opt  
resolv.conf  selinux  tmp  vmlinuz
 cdrom  etc  initrd.img  lost+found  mntopt1 
root srv  usr  vmlinuz.old
 
 
 and
 
 guest@guest:/mnt/w1/boot$ ls
 bindebootstrap  grubinitrd.img.old  man1  
 openbox  proc sbin sys  var
 boot   dev  homelib media  opt  
resolv.conf  selinux  tmp  vmlinuz
 cdrom  etc  initrd.img  lost+found  mntopt1 
root srv  usr  vmlinuz.old
 
 The best way to get a working dual-boot GRUB2 seems to be to
 delete one of the grub folders, and tell GRUB2 where the
 kernel and root fs are. 
 
 I have been messing around with rescue prompt boot
 instructions and have been able to 
 boot into the debian drive, initially in graphic (with
 stationary mouse) and later in text mode, but it seems a bit
 hit and miss, lately mostly miss. Dunno why .. maybe too
 many changes.
 
 I'd appreciate any constructive advice as I am about to move
 house and will be off-line for a while. I'm starting to
 appreciate Live-CDs.
 
 Cheers,
 
 Adam Bogacki,
 
 adam.boga...@clear.net.nz 
 
 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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

2011-08-22 Thread Sonia Hamilton
I've come across an interesting feature on the later Ubuntu's - ssh
key-based authentication to a target box doesn't appear to work, unless
I've logged onto the target box through the GUI (X).

Anyone come across this? Anyone know of a fix?

Here's the target box:

% cat /etc/issue.net 
Ubuntu 10.10

Here's me trying to logon to the target box, and I'm not logged on the
GUI on the target box:

% ssh -v cereza
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /home/sonia/.ssh/config
debug1: Applying options for cereza
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to cereza [10.68.206.77] port 22.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file /home/sonia/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/sonia/.ssh/id_rsa-cert type -1
debug1: identity file /home/sonia/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: identity file /home/sonia/.ssh/id_dsa-cert type -1
debug1: identity file /home/sonia/.ssh/id_ecdsa type -1
debug1: identity file /home/sonia/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_5.5p1 Debian-4ubuntu5
debug1: match: OpenSSH_5.5p1 Debian-4ubuntu5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.8p1 Debian-1ubuntu3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-ctr hmac-md5 z...@openssh.com
debug1: kex: client-server aes128-ctr hmac-md5 z...@openssh.com
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA
dc:f1:0d:ee:d0:56:b8:64:d5:64:c8:99:ef:00:3d:a7
debug1: Host 'cereza' is known and matches the RSA host key.
debug1: Found key in /home/sonia/.ssh/known_hosts:148
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/sonia/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Offering DSA public key: /home/sonia/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/sonia/.ssh/id_ecdsa
debug1: Next authentication method: password
sonia@cereza's password: 

Then I logon to the GUI of the target box, and hey presto ssh key-auth
works from my source box:

% ssh cereza
Linux cereza 2.6.35-30-generic #56-Ubuntu SMP Mon Jul 11 20:00:22 UTC
2011 i686 GNU/Linux
Ubuntu 10.10

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

 New release 'natty' available.
 Run 'do-release-upgrade' to upgrade to it.

 Last login: Tue Aug 23 09:50:38 2011 from zapote.local

--
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
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-22 Thread Sonia Hamilton
* Amos Shapira amos.shap...@gmail.com [2011-08-23 13:11:47 +1000]:
 This made me think about another option - do you use encrypted home
 directories?

* James Polley jamezpol...@gmail.com [2011-08-23 14:39:53 +1000]:

 On Tue, Aug 23, 2011 at 1:11 PM, Amos Shapira amos.shap...@gmail.comwrote:
 Depending on how much effort you want to put in to work around this, you
 could:
  - Turn off homedir encryption
  - Configure sshd to look for authorized_keys in another place
  - Use Kerberos auth, which doesn't need to read your homedir (nb: not a
 simple solution)

Duh! It's encrypted home directories... Thanks guys!

  - Use signed SSH keys

I'm not sure how signing my ssh key would help... could you explain a
bit more?

Thanks,

-- 
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
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] Kernel panic .. attempted to kill init !

2011-08-22 Thread Sonia Hamilton
* adam.bogacki adam.boga...@clear.net.nz [2011-08-23 14:12:52 +1200]:
 ==
 resume: libcrypt version 1.4.4 init[1]: segfault at 0 ip
  

Encrypted home directory??

-- 
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
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] search and replace multiple files?

2011-08-02 Thread Sonia Hamilton
* Nick Andrew n...@nick-andrew.net [2011-08-02 15:44:02 +1000]:
 If it's a problem with leaving the editor open with only changed files,
 then I can suggest something like this:
 
   vim -o $(git status --porcelain | awk ' /^ M/ { print $2 } ')

* Erik de Castro Lopo mle+s...@mega-nerd.com [2011-08-02 18:07:11 +1000]:

 Assuming that you are keeping this in git, why not just do the
 following:
 
   a) Make sure everything has been commited.
 
   b) Use sed/perl/python/whatever to do the changes on the command
  line.
 
   c) Use git with an external graphical diff program to review the
  changes.

Thanks guys for your suggestions! I like the idea of combining
sed/git/vim:

git commit -m cleanup
sed 's/foo/bar' *
vi `git st -s | grep '^ M' | cut -c4-` # edit changed files

Eric, I'll also check out mgdiff.

-- 
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton


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

[SLUG] search and replace multiple files?

2011-08-01 Thread Sonia Hamilton
I'm looking for a GUI that allows me to search and replace in multiple
files, then leaves open the files that have changed - any pointers?

For example, I want to replace def fubar with def snafu across 50
files. I then want to close all the files that didn't have changes, so I
can investigate the changed files in more detail (yes, I'm refactoring).

PS I know about sed, and how to edit multiple files in vim [1].

[1]
(http://blog.stevenocchipinti.com/2011/05/search-and-replace-in-multiple-files.html).

--
Sonia.
-- 
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] search and replace multiple files?

2011-08-01 Thread Sonia Hamilton
* Nick Andrew n...@nick-andrew.net [2011-08-02 12:23:43 +1000]:
 On Tue, Aug 02, 2011 at 10:29:44AM +1000, Sonia Hamilton wrote:
  For example, I want to replace def fubar with def snafu across 50
  files.
 
 perl -p -i -e 's/def fubar/def snafu/g' *

I said: PS I know about sed, and how to edit multiple files in vim
[1]. Supplying a perl recipe therefore isn't very useful. Perhaps I
should've said ditto for ruby, perl, python, 

 If you are not using SCM (or git in particular), then you should be.

http://soniahamilton.wordpress.com/tag/git/

Again, not the question I was asking...

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


Re: [SLUG] Skipping/Mapping bad blocks

2011-07-25 Thread Sonia Hamilton
* Jake Anderson ya...@vapourforge.com [2011-07-23 22:35:30 +1000]:

 +1 for ddrescue
 works well.
 
 On 07/23/2011 07:15 AM, Amos Shapira wrote:
 You should use ddrescue (I use the gnu ddrescue) which will skip bad blocks.
 On Jul 22, 2011 10:14 PM, Simon Maless...@sime.net.au  wrote:

I've found that myrescue is better than ddrescue, especially with
corrupted devices. It has options for exponential backoff of corrupted
sections, retries, etc

sudo aptitude install myrescue

-- 
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
-- 
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 9.04 to 10.04 upgrade

2011-05-29 Thread Sonia Hamilton
The old Ubuntu repos are kept under
http://old-releases.ubuntu.com/ubuntu/

eg a Gutsy (7.10) sources.list would look like:

deb http://old-releases.ubuntu.com/ubuntu/ gutsy main restricted
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ gutsy universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy multiverse
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security main
restricted
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security universe
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security multiverse

Sonia.

On Mon, 30 May 2011 13:51:11 +1000, david da...@kenpro.com.au said:
 I've been putting it off, but now the 9.04 repo has vanished, along with 
 the upgrade-to-new-distribution button in synaptic.
 
 Are there any gotchas if I just change my sources list and do a 
 dist-upgrade? This is a complicated desktop which would be a horror to 
 rebuild, so I really would rather know any problems in advance
 
 
 Thanks
 
 David.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Linux for seniors?

2011-03-03 Thread Sonia Hamilton
I'm investigating Linux for seniors, wondering if anyone has any
pointers. 

One of my relatives is getting frail :-( and having more and more
problems - randomly clicking/dragging stuff, destroying applications and
the desktop, etc. A computer for them = email, ninemsn (ie web), and
occasionally get photos from camera, print stuff.

So far Ubuntu Remix looks good (big icons, simplified). Or maybe
standard Ubuntu desktop and use Pessulus [1] to lock it down a bit.

Any other suggestions?

[1]
http://library.gnome.org/admin/system-admin-guide/2.22/lockdown.html.en

--
Thanks, Sonia.
-- 
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] website questionnaire software?

2011-01-07 Thread Sonia Hamilton
Thanks everyone for all your replies (both on and off list). You've
given me lots of ideas to play around with :-)

Sonia.

On Fri, 07 Jan 2011 14:40:26 +1100, Sonia Hamilton
so...@snowfrog.net said:
 Can anyone recommend software for setting up website questionnaires?
 
 What I mean is a friend wants customers to be able to login to a
 website, answer a few questions, then get emailed the results.
 
 Whilst I could obviously setup a website and write each questionnaire in
 language de jour, I'm looking for something that easily allows a
 computer novice to design/modify their own questionnaires, have multiple
 questionnaires, enable/disable questionnaires, logins/passwords, etc,
 etc.
 
 BTW, by questionnaire I mean something like:
 
 Name:_
 
 Fav colour:  a) red b) blue c) green
 
 Choose 3 sports: * cricket
  * football
  * soccer
  * hockey
  * golf
  * tennis
  * other (specify)
 
 Thanks, Sonia.
 
 
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] website questionnaire software?

2011-01-06 Thread Sonia Hamilton
Can anyone recommend software for setting up website questionnaires?

What I mean is a friend wants customers to be able to login to a
website, answer a few questions, then get emailed the results.

Whilst I could obviously setup a website and write each questionnaire in
language de jour, I'm looking for something that easily allows a
computer novice to design/modify their own questionnaires, have multiple
questionnaires, enable/disable questionnaires, logins/passwords, etc,
etc.

BTW, by questionnaire I mean something like:

Name:_

Fav colour:  a) red b) blue c) green

Choose 3 sports: * cricket
 * football
 * soccer
 * hockey
 * golf
 * tennis
 * other (specify)

Thanks, Sonia.



-- 
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] [slightly OT] video upload site with API?

2010-09-05 Thread Sonia Hamilton
Thanks guys, I'll check out blip.tv. Also, there seems to be a few ruby
api's for youtube around, I'll have a play with them.

I like that blip.tv seems to have an ftp upload interface, too.

Sonia.

On Sun, 5 Sep 2010 14:39:24 +0930, Ryan Verner r...@uanywhere.com.au
said:
 blip.tv - seems to have the best video API out there, have used it
 extensively for uploading/tagging/etc many videos programatically. 
 Sample code in php/python/ruby if I remember correctly -
 http://blip.tv/about/api/
 
 They offer a private video service as part of their Pro service ($8/month
 I think) which allows you to password videos / limit to particular users
 / etc.
 
 R
 
 On 05/09/2010, at 11:46 , Sonia Hamilton wrote:
 
  [slightly OT]
  
  Can anyone recommend a video upload site (like Youtube, DailyMotion)
  that has an easily scriptable API, for uploading a lot of videos, that
  also allows passwording of the videos?
  
  I've got a lot of small mp4 videos (about 5 mins in length) that add up
  to a couple of gigs. I'd like to share them with my friends, but protect
  the videos with a password. Most importantly, I'm looking for something
  that's easily scriptable (Perl, Python, Ruby, ...), so I can just start
  the upload overnight and forget about it...
  
  The videos are of martial arts competions, not pr000n :-)
  -- 
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
  
 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] [slightly OT] video upload site with API?

2010-09-04 Thread Sonia Hamilton
[slightly OT]

Can anyone recommend a video upload site (like Youtube, DailyMotion)
that has an easily scriptable API, for uploading a lot of videos, that
also allows passwording of the videos?

I've got a lot of small mp4 videos (about 5 mins in length) that add up
to a couple of gigs. I'd like to share them with my friends, but protect
the videos with a password. Most importantly, I'm looking for something
that's easily scriptable (Perl, Python, Ruby, ...), so I can just start
the upload overnight and forget about it...

The videos are of martial arts competions, not pr000n :-)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] displaying file notes in Nautilus

2010-04-05 Thread Sonia Hamilton
(Ubuntu 9.04)

Nautilus (the default file manager in Ubuntu) has a nice feature where
you can attach notes to files (right-click, Properties, Notes). The icon
for the file will then change to have a little yellow notepad on it.

What I'd like to do is display these notes inline with the file in
Nautilus, rather than having to right-click on the file and then select
the notes tab. (I have a lot of video files I'm working on, and I'd like
to attach and view explanatory notes).

Anyone know a way of doing this? A plugin perhaps? A hack in Nautilus?

PS I know about displaying notes using the side pane [1]. However this
only seems to work for directories, not files :-(

http://linux.about.com/library/gnome/blgnome6n6o.htm

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


[SLUG] squid ACL question

2009-11-23 Thread Sonia Hamilton
A question about Squid ACL's (from an existing config I'm working on).

Let's say the config file defines (in this order) these ACL's and rules:

acl foo src 1.2.3.4
acl bar url_regex -i .bar.com
http_access allow foo
http_access allow foo bar
http_access deny all

The second http_access line is redundant, isn't it? Or have I missed
something here? Any request with a source address of 1.2.3.4 would match
the first http_access rule and never get to the second rule.

Quoting chapter and verse from O'Reilly:

As with the algorithm for matching the values of an ACL, when Squid
finds a matching rule in an access list, the search terminates.

Thanks for any clue sticks,

Sonia.




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


Re: [SLUG] IPTables

2009-11-10 Thread Sonia Hamilton
On Tue, 10 Nov 2009 18:06:50 +1000, Rick Phillips r...@greyheads.net
said:
 I am not very good at IPTables and was seeking opinions as to whether
 this formula would work to fully block a connection from computer A to B
 but allow ssh and web only from B to A.  The tables would reside on A.

In addition to rate limiting, dns, ntp (which others have mentioned),
you should also consider protecting against route spoofing and RFC1918
addresses (192.168, etc).

You can write all the iptables rules yourselves, or better use something
like Shorewall http://www.shorewall.net/

Sonia.

-- 
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] advice on security compliance

2009-11-02 Thread Sonia Hamilton
On Mon, 2 Nov 2009 16:28:25 +1100, Daniel Bush dlb.id...@gmail.com
said:
 have to sign.  One of the tick boxes says Do you operate a firewall that
 is
 regularly updated?
 
 I have an iptables firewall which basically blocks all ip6 and all ip4
 except for a couple of ports I expose to the internet.  I don't see why I
 need to update it regularly.

It's just a standard security checklist for Windoze blinkered admins -
say 'yes'. 

And you do update your firewall regularly, via 'sudo apt-get update' (or
similar) :-)
-- 
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: Advice Request for moving a Ubuntu installation to a larger disk and 4Gb RAM

2009-10-28 Thread Sonia Hamilton
On Wed, 28 Oct 2009 21:04:12 +1100, Bill Donoghoe
donogh...@gmail.com said:
 snip/
 
 Thanks everyone for the advice.
 
 Following the KISS principle I am going to:
 1. Live within the RAM can access now (just over 3Gb)
 2. Use a single Linux partition (besides boot) on the larger drive

I find it useful putting /home on a separate partition. Then if you
totally hose your o/s, you can just reinstall and keep all your existing
data and app preferences (though of course you'll need to reinstall any
additional apps).

Sonia.
-- 
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] NIS problem - non-existent map

2009-08-12 Thread Sonia Hamilton

Nigel Allen wrote:


Hi

Running Centos 4 with one machine as YP server (ypserv 2.8) and one as 
a yp client.


In the messages log of the server I constantly see messages like this:

Aug 12 12:28:46 sydsrv12 ypserv[20413]: refused connect from 
192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1)
Aug 12 12:29:14 sydsrv12 ypserv[20413]: refused connect from 
192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1)
Aug 12 12:29:22 sydsrv12 ypserv[20413]: refused connect from 
192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1)
Aug 12 12:30:13 sydsrv12 ypserv[20413]: refused connect from 
192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1)


sydsrv56 is the client btw.

How can I find what program is trying to access the shadow.byname map? 
I suspect (from the frequency) that it dovecot may be the culprit


The server does not have that map and on the client there is no 
mention of shadow in the nsswitch.conf - all commented out.


Any clues please?

touch the file shadow.byname and use lsof + grep in a loop in a shell 
script?

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


[SLUG] Git - merging individual diffs?

2009-08-10 Thread Sonia Hamilton
A git question: how do I merge just *some* diffs from branch A into branch B?

ie I want to do a sort of combination of git cherrypick  git add -i (patch 
mode) - pull in some of the diffs from some of the files from A revision x into 
B's HEAD.

I could just make another clone into another directory, git reset to revision 
x, and use vimdiff. But that seems inelegant :-)

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

[SLUG] mutt and imap folder hooks?

2009-03-18 Thread Sonia Hamilton
I'm trying to set mutt folder hooks on an IMAP folder, and I'm not
having much luck. I haven't been able to google up any examples. 

For example:

folder-hook . set from=so...@foo.com
folder-hook imaps://my.mailserver.net/INBOX/blah set from=so...@bar.com

Anyone got any ideas why this is wrong, or got a working example?

Thanks,
Sonia.


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

Re: [SLUG] Re: [chat] Version control

2009-03-18 Thread Sonia Hamilton
* Alan L Tyree a...@austlii.edu.au [2009-03-18 11:55:51 +1100]:
   Looking for some advice. I have used RCS version control for writing
   LaTeX documents for some time, but am looking at the advantages of
   using a distributed version control system.

Is there any reason why you want to use a *distributed* VCS? For
personal stuff it's probably overkill, and using a centralised VCS will
make your life easier. In which case use Subversion.

Sonia.


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

Re: [SLUG] virtualisation solutions?

2009-03-18 Thread Sonia Hamilton
* Daniel Pittman dan...@rimspace.net [2009-03-19 10:22:50 +1100]:
 Respectfully, VMware server no longer really qualifies as simple given
 that the dependency list for basic management now includes Java, a Java
 application server, a Firefox plugin, binary-only components included in
 that plugin, an AJAX web application, and the basic server stuff.

vmrun, vmware-cmd solves most of these problems.


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

Re: [SLUG] mutt and imap folder hooks?

2009-03-18 Thread Sonia Hamilton
* Alex Samad a...@samad.com.au [2009-03-19 11:47:13 +1100]:
  folder-hook . set from=so...@foo.com
  folder-hook imaps://my.mailserver.net/INBOX/blah set from=so...@bar.com
 
 try folder-hook . set from=so...@foo.com
 folder-hook imaps://my.mailserver.net/INBOX/blah set from=so...@bar.com

Legend! - I combined single quotes with a regex:

folder-hook . 'set from=so...@foo.com'
folder-hook '.*blah' 'set from=so...@bar.com'

Sonia.


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

Re: [SLUG] Re: [chat] Version control

2009-03-18 Thread Sonia Hamilton
* Robert Collins robe...@robertcollins.net [2009-03-19 12:02:41 +1100]:

 On Thu, 2009-03-19 at 11:46 +1100, Sonia Hamilton wrote:
  Is there any reason why you want to use a *distributed* VCS? For
  personal stuff it's probably overkill, and using a centralised VCS will
  make your life easier. In which case use Subversion.
 
 Whoa there Tonto. Using *nearly* any DVCS is simpler for personal use
 than using a centralised client-server system like svn.

Why?

I'm still learning git, but one of the things I found annoying was that
I need to commit to the local repo, then merge my changes up my
central git repo, then commit my changes on the central git repo.
(Maybe I'm doing it the wrong way, I'm only up to page 2 of the
manual). Whereas with a centralised VCS check in only takes one step.

However I can see the advantages mentioned by John Ferlito of better
branching in DVCS's. And of course if you've regularly got limited
connectivity, a DVCS is the only way to go.

PS You might want to lookup what tonto means [1] before you go around
calling people it. It was a term of disrespect for Amerindians on the
US/Mexican border in the 1800's. At least be grammatically correct, and
call me tonta :-p
[1] http://www.spanishdict.com/translate/tonto


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

[SLUG] Re: [CTTE] Re: [activities] SLUG Committee elections: progress so far

2009-03-16 Thread Sonia Hamilton
* Sridhar Dhanapalan srid...@dhanapalan.com [2009-03-16 20:24:39 +1100]:
 Good idea. I've updated the 2009 AGM wiki page:
 
   http://wiki.slug.org.au/2009agm
 
 Unless I missed something, I still need to be publicly seconded :)

I second Sridhar Dhanapalan for President of SLUG.

Sonia Hamilton.


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

Re: [SLUG] NAS storage compatibility

2009-03-13 Thread Sonia Hamilton
* Kevin Shackleton kev...@reachnet.com.au [2009-03-14 08:04:44 +0900]:
 Any thoughts on multi-disc NAS devices, firmware capability and drive
 formats?  Looking at a mirroring dual-drive device for reliability, but
 what happens if the box dies - are the drives ext2/vfat/proprietary?
 Are they all SMB/ftp or do some require Windows-only client software?

Kevin,

I asked a question on SLUG about this several months ago [1]. While not
directly relevant to your question about firmware, I got some good
replies, especially about a specialised NAS distro called
http://www.freenas.org/.

[1] http://lists.slug.org.au/archives/slug/2009/01/msg00037.html

Sonia


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

[SLUG] [OT] how to wipe a mini dv tape?

2009-03-12 Thread Sonia Hamilton

(totally off topic)

I'm doing lots of video stuff at the moment, and I'm wondering how to 
wipe/format mini DV video tapes. My camera doesn't have such a function, 
and at the moment I'm doing it by leaving the lense cap on and just 
leaving the video camera to record over the whole tape. Any ideas?


Reason I ask - not for any secret squirrel stuff - it's just that at 
sports comps I tend to record lots of short scenes (3-5 mins), and 
sometimes review them immediately with my team mates, then record again, 
then  Old and new stuff gets mixed up easily, and it gets kind of 
messy...


--
Sonia Hamilton.

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


Re: [SLUG] [OT] how to wipe a mini dv tape?

2009-03-12 Thread Sonia Hamilton
Cool, I'll give that a go. S.

* Marghanita da Cruz marghan...@ramin.com.au [2009-03-12 20:13:04 +1100]:

 Kino has a function to write back to the tape, via the Export/IEEE1394
 option. This might be marginally better than recording the inside of your 
 lens cap.

 Marghanita

 Sonia Hamilton wrote:
 (totally off topic)

 I'm doing lots of video stuff at the moment, and I'm wondering how to  
 wipe/format mini DV video tapes. My camera doesn't have such a 
 function, and at the moment I'm doing it by leaving the lense cap on 
 and just leaving the video camera to record over the whole tape. Any 
 ideas?

 Reason I ask - not for any secret squirrel stuff - it's just that at  
 sports comps I tend to record lots of short scenes (3-5 mins), and  
 sometimes review them immediately with my team mates, then record 
 again, then  Old and new stuff gets mixed up easily, and it gets 
 kind of messy...



 -- 
 Marghanita da Cruz
 http://www.ramin.com.au
 Phone: (+61)0414 869202


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


Re: [SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-09 Thread Sonia Hamilton
Thanks everyone. I didn't realise the difference in the layout of the 
live and alt cd. I'll also check out aptoncd for future uses.


Sonia Hamilton.



Jeff Waugh wrote:

quote who=Jeff Waugh

  

quote who=Sonia Hamilton



Last night I was trying to upgrade some Ubuntu machines using the Ubuntu
CDs (rather than downloading all the packages), in order to save
bandwidth. I couldn't get the upgrade to download packages off the CD;
in the end I did clean installs - no big deal since /home was separate.

I'm just wondering how you're supposed to do it, and more importantly,
how a newbie would be supposed to do it.
  

8 ... snip ... 8



The only thing I can think of is that I was using the Live CDs - should
I have used the Alternate CDs instead?
  

Yes, stick an alternate CD in the drive and a dialogue will pop up asking
if you'd like to use it as a source (and then upgrade).



Salient point that I managed to skip: The alternate CD has packages on it,
while the Live CD is just a great big compressed image of a filesystem... so
it won't help with upgrades at all (yet [1]).

- Jeff

[1] Years ago there was some inspired brainstorming about ways to do this
very cleverly, but I don't imagine it's on the agenda at the moment. Net
connected upgrades are just so bloody convenient and simple (and ALL of the
developers have fantastic net connections, of course).

  

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


[SLUG] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Sonia Hamilton
Last night I was trying to upgrade some Ubuntu machines using the Ubuntu 
CDs (rather than downloading all the packages), in order to save 
bandwidth. I couldn't get the upgrade to download packages off the CD; 
in the end I did clean installs - no big deal since /home was separate.


I'm just wondering how you're supposed to do it, and more importantly, 
how a newbie would be supposed to do it.


I tried doing it the GUI way - adding the CD via Software Sources, 
then upgrading via Update Manager


I tried doing it via the shell - various combinations of `apt cd-rom 
add`, `apt-get update`, `apt-get upgrade`, `apt-get dist-upgrade`, 
editing /etc/apt/sources.list.


The only thing I can think of is that I was using the Live CDs - should 
I have used the Alternate CDs instead?


--
Sonia Hamilton.

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


Re: [SLUG] SLUG Committee elections: progress so far

2009-03-08 Thread Sonia Hamilton

I second Melissa Draper.

Sonia Hamilton.



Sridhar Dhanapalan wrote:

Hi everybody,

It's been over a week since nominations were opened for the SLUG
Committee elections.

So far we only have one person accept their position. There have been
two other nominations, but they have not been seconded and so cannot
be accepted yet.

Here are the statuses of the current nominations:

Sridhar Dhanapalan for President
http://lists.slug.org.au/archives/activities/2009/03/msg1.html
Status: requires seconding

Melissa Draper for Secretary
http://lists.slug.org.au/archives/activities/2009/02/msg00021.html
Status: requires seconding

Tim Ansell for Ordinary Committee Member
http://lists.slug.org.au/archives/activities/2009/02/msg00022.html
Status: accepted

We are still in need of candidates to fill all seven positions. The
means to nominate a candidate is simple: simply send an e-mail to
activit...@slug.org.au in the manner shown in the links above. We also
welcome self-nominations.

For more detail on the process, see these pages:

http://wiki.slug.org.au/2009agm (2009 AGM info)
http://wiki.slug.org.au/agm_guide (general guide to the AGM)
http://slug.org.au/participation (includes a summary of Committee
responsibilities)
http://www.slug.org.au/node/112 (Web announcement)
http://lists.slug.org.au/archives/announce/2009/03/msg1.html (mail
announcement)

If you still have questions, feel free to raise them on the Activities 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] upgrading Ubuntu with CDs to save bandwidth?

2009-03-08 Thread Sonia Hamilton

Thanks for that, I'll give it a go on the next upgrade I do.

But going back to the second part of my question, how would a 
non-technical user do it?


For example, here's a hypothetical use case for a 3rd world country I've 
worked in:


Juan-Carlos has been using Ubuntu for 12 months, and now wants to 
upgrade because he's heard that Network Manager will solve some 
networking issues he's having. He is currently sharing an expensive 
satellite link with several neighbours, and downloading 1G of files to 
upgrade is out of the question. He travels by bus into the district 
capital, and downloads and burns the next Ubuntu iso at an internet 
cafe. Upon getting home, he tries to upgrade using the CD but none of 
the menu items cause the files on the CD to be used. In disgust, he 
let's his neighbour reinstall a pirate copy of Window$ XP SP2 and solves 
his network problems.


(It's Guatemala, and privatise everything has done wonders for the 
cost of utilities).


Sonia Hamilton.



Blindraven wrote:

2 Ways you can do that :

 Mount the ISO as a drive with a command like: sudo mount -o loop
~/Desktop/ubuntu-8.10-alternate-i386.iso /media/cdrom0

or

gksu sh /cdrom/cdromupgrade



Regards,
Harrison.


On Mon, Mar 9, 2009 at 3:08 PM, Sonia Hamilton so...@snowfrog.net wrote:
  

Last night I was trying to upgrade some Ubuntu machines using the Ubuntu CDs 
(rather than downloading all the packages), in order to save bandwidth. I 
couldn't get the upgrade to download packages off the CD; in the end I did 
clean installs - no big deal since /home was separate.

I'm just wondering how you're supposed to do it, and more importantly, how a 
newbie would be supposed to do it.

I tried doing it the GUI way - adding the CD via Software Sources, then upgrading via 
Update Manager

I tried doing it via the shell - various combinations of `apt cd-rom add`, 
`apt-get update`, `apt-get upgrade`, `apt-get dist-upgrade`, editing 
/etc/apt/sources.list.

The only thing I can think of is that I was using the Live CDs - should I have 
used the Alternate CDs instead?

--
Sonia Hamilton.

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





--
None are so hopelessly enslaved as those who falsely believe they are free.
  

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


[SLUG] Re: SLUG activities in March and April

2009-03-04 Thread Sonia Hamilton

Hi Oliver,

I've forwarded your message to our main email list. Maybe others are 
aware of some upcoming activities.


Sonia.

Oliver Bechhold wrote:

Hello,

I stumbled over your mail address on the SLUG website and hope you're the right 
person to address my question to.

Visiting Australia from mid March to mid April this year, I'd love to take the opportunity to mingle with members of SLUG. Unfortunately I'll most likely won't by in Sydney for the monthly meeting in March. 
Checking the events calender on the web site, I couldn't find any other scheduled activities for this period of time.

Are you aware of any other upcoming events, which are likely to happen yet 
might not have made it on the calender? Or could you point me to another event 
where I could get in contact with SLUG members or people interested in Linux?

I'm greatly appreciating your help.

Kind regards
Oliver Bechhold


Pt! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123


  

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


[SLUG] compress videos post Kino?

2009-03-02 Thread Sonia Hamilton

I've been using Kino to record videos of my BJJ training and
competitions [1]. Kino's all working nicely but I've noticed that the
videos (.avi version 2) are large - too large to record to dvd for backup.

What's the canonical way of compressing videos? Any tool people would
recommend?

[1] http://en.wikipedia.org/wiki/Bjj

--
Sonia Hamilton.


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


Re: [SLUG] Re: compress videos post Kino?

2009-03-02 Thread Sonia Hamilton

Richard Ibbotson wrote:

On Sunday 01 March 2009 21:01:35 Sonia Hamilton wrote:
  

What's the canonical way of compressing videos? Any tool people
would recommend?



This might not be the answer you want but have you thought about using 
Kino to produce .flv format ?  The resulting video using broadband 
quality isn't all that good but it's good enough for YouTube and 
other video streaming sites.
  
Thanks everyone for your replies - I'll try each of .flv format, 
avidemux, and mencoder.

[1] http://en.wikipedia.org/wiki/Bjj



Yes, done a lot of that


  
Yeh, bjj, it should be called the geeks martial art - it's not called 
physical chess [2] for nothing :-)


[2] 
http://clothing.cafepress.com/item/physical-chess-bjj-hooded-sweat-shirt/137870493

--
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] NAS device for home?

2009-01-06 Thread Sonia Hamilton

Ben wrote:

I'm using a Gigabyte motherboard with 4x1TB SATA drives,and 2x 200MB
IDE drives. I could give you the model number but it's out of date, so
wouldn't be of any use.
  
Thanks Ben, that's a wicked setup you've got. Someone mentioned 
http://www.freenas.org/ in a later post - I think I'll have a play with 
that, just expand an old mobo I've got lying around.

Oh, and you misspelt pr0n. ;-)
  

Thanks for the correction :-p

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


[SLUG] NAS device for home?

2008-12-18 Thread Sonia Hamilton
Can anyone recommend a NAS device for home? ie something for that takes 
more than 2 large disks, does RAID5, does NFS and CIFS. (I've seen a few 
devices for home, but they were limited to 2 disks).


I'm wondering if buying such a NAS device would be more expensive than 
buying a barebones mobo/cpu + case and putting Linux on. If so, any 
recommendations for a mobo that takes a large number of SATA drives (eg 
6 or 8) and doesn't have some weird BIOS thing that requires Windoze to 
support said large number of drives?


Thanks, Sonia,
who has much p0rn to store (martial arts videos)
:-)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux training course for experienced Windows admin

2008-12-18 Thread Sonia Hamilton

Glen Turner wrote:


Hi folks,

Looking for a good Linux training course for someone with a
deep background in PC hardware and Windows.

Pref held in Sydney.


Hi Glen,

Many ppl recommend the LPI semester-long evening courses done by 
Geoffrey Robertson at Granville TAFE. Google for more details.


Also, commercial training companies do courses do courses - eg Excom, 
New Horizons.


Sonia.


--
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-07 Thread Sonia Hamilton
On Sun, 7 Dec 2008 14:10:24 -0800 (PST), Daniel Bush
  What hosted system will be easiest to extract the data from in the
  future (I'm happy trying to write code to talk to database APIs, but
  would prefer not trying to automate page scraping).

I've got mine on wordpress.com; I can second other people's high
opinions of it. Best part about not hosting it myself is not having to
worry about security patches - they do them.

 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? 

Would be quite nice when travelling - write blog posts offline on
netbook without time pressure, go to netcafe  post to blog  download
email  only pay for 5 minutes of usage :-)

Sonia.

Thanks,

--
Sonia Hamilton.

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


[SLUG] how to find if cpu is 32 or 64 bit

2008-12-02 Thread Sonia Hamilton

How do I find out if a cpu is 32 or 64 bit? (Notice: cpu, not kernel).

Googling seems to suggest 'cat /proc/cpuinfo' and look for lm in the flags.

Are there any other ways of doing this?

Yes you can look at the model name, but this is only useful if you know 
from memory that model x is 32 bit and model y is 64 bit.


Sonia.
--
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 8.10 Ibex - annoying flashing in Firefox

2008-11-24 Thread Sonia Hamilton

jam wrote:

On Monday 24 November 2008 10:00:09 [EMAIL PROTECTED] wrote:
  

I've recently upgraded from Ubuntu 8.04 to 8.10 (Ibex).

I've noticed that Firefox now has this annoying habit of automagically
going into a semi-fullscreen mode, that causes Alt-Tab to flash nastily
whenever Firefox is selected or passed over. Anyone having this problem?
Anyone know of a fix?

A quick fix seems to be to take Firefox to proper fullscreen and back to
normal window mode using F11 F11. But after a while Firefox reverts to
semi-fullscreen mode.



url:about:config
http://kb.mozillazine.org/About:config_entries

I didit, but stuffed up other stuff, so no howto.
James
  
Thanks Jam. I didn't have time to work it out; I've had other annoyances 
with 8.04  8.10 that I haven't had time to fix so have reinstalled 7.10 
- not too big a deal as I usually have /home as a separate partition on 
my desktops/laptops.


Also, +1 for other comments about how annoying Network Manager is. What 
I find annoying (as others have mentioned) is that the internals aren't 
visible, the manpage sucks, and there's no text conf file (it uses some 
gconf nastiness, reminiscent of Windoze 95).


Sonia.

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


[SLUG] Ubuntu 8.10 Ibex - annoying flashing in Firefox

2008-11-23 Thread Sonia Hamilton

I've recently upgraded from Ubuntu 8.04 to 8.10 (Ibex).

I've noticed that Firefox now has this annoying habit of automagically 
going into a semi-fullscreen mode, that causes Alt-Tab to flash nastily 
whenever Firefox is selected or passed over. Anyone having this problem? 
Anyone know of a fix?


A quick fix seems to be to take Firefox to proper fullscreen and back to 
normal window mode using F11 F11. But after a while Firefox reverts to 
semi-fullscreen mode.


Sonia.
--
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 8.10 Ibex - annoying flashing in Firefox

2008-11-23 Thread Sonia Hamilton

Peter Chubb wrote:

Sonia == Sonia Hamilton [EMAIL PROTECTED] writes:



Sonia I've recently upgraded from Ubuntu 8.04 to 8.10 (Ibex).  I've
Sonia noticed that Firefox now has this annoying habit of
Sonia automagically going into a semi-fullscreen mode, that causes
Sonia Alt-Tab to flash nastily whenever Firefox is selected or passed
Sonia over. Anyone having this problem? Anyone know of a fix?

I think this may be devilspie.  I removed it, because it made
everything start in fullscreen mode, and go spontaneously into
fullscreen mode whenever selected.

You can try removing it, if you don;t need its features; or trying to
configure it if you do.

  

Thanks Peter, but devilspie isn't installed...
--
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] Steve Ballmer live rally Sydney November 6

2008-11-11 Thread Sonia Hamilton

Cibby Pulikkaseril wrote:

I only hope that it's as high energy as this notorious performance:

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

  
Ahhh, the monkey dance video - always good for a laugh. Makes you 
wonder what his white powder of choice is

--
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] en-AU Translation problem with Synaptic

2008-11-11 Thread Sonia Hamilton

http://soniahamilton.wordpress.com/2007/02/22/apt-translation-en_au/

(though my explanation deals with apt rather than synaptic)

Murray Waldron wrote:

G'day all,

Each time I reload my package lists with Synaptic I keep getting the 
same error repeated and packages fail. The error I get is (from the 
list of upgraded packages):


  Failed Translation-en_AU http://     Translation-en_AU.

Does anyone know how to remove this. It gave me great problems the 
last time I did a distro upgrade.


Thanks in advance
Murray.

--
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] OT: moving from Access to ...?

2008-11-11 Thread Sonia Hamilton
Others have raved about Django and mentioned Rails - I'll rave about 
Rails :-)


I confess that in the mid 90's I was an Access programmer; I find 
programming in Rails to be almost as easy as Access programming, but 
giving you a web frontend on an open-source stack.


When I was researching frameworks a few years ago, what tipped me 
towards Rails was that there was a lot more books available for Rails 
than Django, and this still seems to be the case. Pragmatic Programmers 
have a lot of Ruby/Rails books, but for a beginner I would recommend 
Build your own Ruby on Rails Web Applications, Lenz, published by 
Sitepoint.


Sonia.

Sebastian wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

this is a bit OT but as I want to do it at home on my linux box I
thought I ask here for some guidance.

For a bigger project at work I set up a access database a while ago -
it does the job but I would like to get away from access.
The database is basically a large list of past job/FEAdesigns for
later reference. At some stage I wanted to import/export from and to
out FEA software (a text file).

I have to admit my knowledge in Access is not huge but I would be even
more keen on learning something more open. I know a bit of VBA and
HTML which is why I thought could there something be done with PHP and
mySQL.

I would prefer to have the reporting and data entry done in a web based format.

Are there any simple good options?

Thanks for any ideas.

Cheers,

Sebastian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: http://getfiregpg.org

iD8DBQFJE7hgMuBzgG5z7F8RAtHFAJ4obAQ+DCuETdbLcwxWUxEYDNYDhgCgtJh3
Uj3k4zmGELWKtwbGyDXhIUo=
=Wg4A
-END PGP SIGNATURE-
  

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


Re: [SLUG] Debian: How do I remove a package and all it's dependencies?

2008-08-09 Thread Sonia Hamilton

Michael Lake wrote:

Hi all

I have a Debian server and I wish to remove several dozen packages.
How do I remove a package and it's dependencies?


Perhaps use a tool like aptitude - it will find/display dependencies for 
you.


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


[SLUG] postfix - moving queue to another server?

2008-08-05 Thread Sonia Hamilton
A question for the postfix gurus about moving the queue to another 
server ...


I'm working on a system with n postfix mailservers behind load 
balancers. I want to take one of the the servers (say MTA2) off the load 
balancers for testing a new configuration (there's no test environment - 
duh!).


I then want to move the existing queue onto another mailserver (MTA1), 
so that real emails don't get lost. What's the easiest way of doing this?


I was thinking of changing the transport table on MTA2 to point 
everything at MTA1 and force flushing the queue - sound sane?


% cat '* smtp:[mta1.example.com]'  /etc/postfix/transport

# rebuild map
% postmap dbm:/etc/postfix/transport

% postfix reload

# flush queue
% postqueue -f

# watch contents of queue until empty
% postqueue -p

# start playing
% la-la-la...

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


Re: [SLUG] Is someone is snooping my wireless?

2008-06-17 Thread Sonia Hamilton

Rick Welykochy wrote:

A new icon I have never seen before for a PC connection to my
wireless LAN has alerted me that someone the area is attempting
to connect. The icon only indicates that it is a PC. No IP or
any info like that.

What I am after is intrusion detection software for a wireless
LAN.

* how can I get the IPs of the connected or trying to connect?

* can I snort out those trying to break in with WEP cracks?


Lots of replies to this - mac filtering, WPA2, limited ip range, etc. 
Whilst mac filtering and a limited ip range are passable, security is 
usually a layered approach, so use them in combination.


Also, keep in mind that upgrading the firmware on your wireless router 
may give you new features (like ips of those trying to connect, or 
showing the DHCP lease table). In addition some products eg WRT54G have 
open source replacement firmware that give you tonnes of additional 
features that may help you here.


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


[SLUG] SLUG Monthly Meeting, Friday 27 June and Call for Speakers

2008-06-15 Thread Sonia Hamilton

=== Call for Speakers ===

SLUG is currently looking for speakers to fill our General and In-Depth 
Talk slots for this month's talks. Please contact the committee if you 
would like to talk - [EMAIL PROTECTED]


== June SLUG Monthly Meeting ==

You can read the full version of this announcement on the Web at
http://www.slug.org.au/node/102

When:
   18.30 - 20.30, Friday, 27 June, 2008

We start at 18:30 but we ask that people arrive 15 minutes early so we 
can all get into the building and start on time. Please do not arrive 
before 18:00, as it may hinder business activities for our host!


Appropriate signage and directions will be posted on the building.

Where:
   Atlassian[0], 173-185 Sussex Street, Sydney
   (corner of Sussex and Market Street)

Entry is via the rear on Slip Street. There are stairs going down along 
the outside of building from Sussex St to near the entrance. A map of 
the area and directions can be found here[1].


= Talks =

General Talk: TBA
In-Depth Talk: TBA
SLUG-Lets: Sonia Hamilton - hard disks, partitioning and mounts

We will release another announcement after we confirm our speakers.

= Meeting Schedule =

See here[2] for an explanation of the segments.

* 18:15 : Open Doors
* 18:30 : Announcements, News, Introductions
* 18:45 : General Talk (see above)
* 19:30 : Intermission
* 19:45 : Split into two groups for
* In-depth Talk (see above)
* SLUGlets: Linux QA and other miscellany
* 20:30 : Dinner

Dinner is at Golden Harbour Restaurant, in Chinatown. We will be having 
the $24 Banquet[3], but we will be collecting $25 per head for ease of 
accounting and to cover a tip. We will be taking numbers during the 
break to confirm the reservation size. If you have any particular 
dietary requirements (e.g. vegetarian), or if you would prefer to order 
separately, let us know beforehand. Dinner is a great way to socialise 
and learn in a relaxed atmosphere :)


We hope to see you there!

[0] http://www.atlassian.com
[1] http://tinyurl.com/35fxes
[2] http://www.slug.org.au/meetings/meetingformat
[3] http://www.goldenharbour.com.au/specials.html

--
Sonia Hamilton
Committe Member
Sydney Linux Users Group
http://www.slug.org.au

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


[SLUG] Ubuntu Hardy - Removeable Media - gconf-editor section?

2008-06-08 Thread Sonia Hamilton

I notice that in Ubuntu Hardy the configuration area for removeable
media actions has moved from System - Preferences - Removeable Drives
and Media to Nautilus - Edit - Preferences - Media.

For DVD Video the dialog box gives me a choice of Movie Player or GXine;
I want to use VLC.

Two questions:

* anyone know which branch of gconf I'd modify, using gconf-editor?

* what options would I add for the launch command? ie the command would
be /usr/bin/vlc ???

Thanks, Sonia.

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


[SLUG] easiest way to check if a .deb is installed?

2008-06-07 Thread Sonia Hamilton
What's the easiest accurate way to check if a .deb has been installed
on a system, from a script?

At the moment I'm using `dpkg -l | grep ...`, which is messy.



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

Re: [SLUG] easiest way to check if a .deb is installed?

2008-06-07 Thread Sonia Hamilton
* Michael Chesterton [EMAIL PROTECTED] [2008-06-07 18:01:05 +1000]:
 What's the easiest accurate way to check if a .deb has been installed
 on a system, from a script?

 At the moment I'm using `dpkg -l | grep ...`, which is messy.


 [EMAIL PROTECTED]:~# dpkg -s bash /dev/null 21  echo installed
 installed
 [EMAIL PROTECTED]:~# dpkg -s basha /dev/null 21  echo installed

Thanks Lindsay  Michael. Sonia.


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

Re: [SLUG] Re: turning off blog comments

2008-06-04 Thread Sonia Hamilton
* Rev Simon Rumble [EMAIL PROTECTED] [2008-06-04 10:12:00 +1000]:
  A blog without comments is like posting to a list and not reading the 
  followups.
 
 Who says I want your comments?  I have a link to my contact form on my 
 blog posts.  If people want to talk to me, they can.
 
 Your conception of a blog is different to mine, clearly.

I like comments on my blog - I learn stuff, people correct errors in my
tech posts.

  I have three wordpress plugins for comment spam.
 
 Great, not one but three pieces of software to maintain.  Then I get to 
 moderate messages too.  Not like I've got anything better to do.

Outsource it. I now host mine on wordpress.com (for $free), they do all
that boring stuff. About one spam comment every 2 months gets thru their
filters.


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

Re: Compromised Linux box stories (Re: [SLUG] upgrading complicated installs

2008-06-02 Thread Sonia Hamilton

jam wrote:

First thanks to everyone who contributed to this interesting thread :-)


Isn't it about time this opinionboring/opinion thread went onto 
slug-chat?


:-)

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


Re: [SLUG] simple text formatting language

2008-05-29 Thread Sonia Hamilton
* Sonia Hamilton [EMAIL PROTECTED] [2008-05-29 10:27:39 +1000]:
 Can anyone recommend a simple text formatting language/package?

Thanks everyone for your suggestions - a lot to experiment with :-)

Sonia.


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

[SLUG] simple text formatting language

2008-05-28 Thread Sonia Hamilton

Can anyone recommend a simple text formatting language/package?

To explain a bit more: I want a formatting language that's text based 
(so it's easier to keep track of diffs in source control, and editable 
in vim), for doing stuff you'd usually do in Open Office Word Processor 
- bullet points, bold/italic, tables, etc. I'd like output in pdf, so 
it's easily printable cross-platform.


I've briefly thought about things like LaTeX, postscript and Docbook, 
but they all seem overkill for what I want to do, and will take too much 
time to learn.


Thanks,

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


Re: [SLUG] Partitions

2008-05-28 Thread Sonia Hamilton

David Liell wrote:

Two other questions:

1. How do I direct my console output to the Clipboard so that I can 
forward it? Currently I do a cut  paste.


ls  foo.txt (create and overwrite file)
ls  foo.txt (append to file)

2. How do I print documentation like Intro to Linux which is in HTML 
format? At present using Firefox  I only get a small part of a page 
printed in the middle. I would really like to read some of this 
excellent documentation.


If you want to print stuff from TLDP, probably easier to download the 
pdf versions - look here http://tldp.org/guides.html


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


Re: [SLUG] deletion and IMAP in Evolution

2008-05-27 Thread Sonia Hamilton

Ian Wienand wrote:

On Sun, May 25, 2008 at 6:22 PM, Sonia Hamilton [EMAIL PROTECTED] wrote:

I notice that when I delete email with IMAP accounts, the email gets
marked as deleted rather than being moved to the Trash.


That's the IMAP way, you have to explicitly expunge before the
message gets deleted.  Since moving consists of copy and delete, the
old message hangs around until you expunge it.  With one client it's
fine, but put mutt or OWA into the mix and things become confusing...


Anyone know if there's a way of changing Evolutions's behaviour ie so
that when I delete a message it get's moved to the Trash?


I recently struggled to make thunderbird do this; it requires fiddling
with behind-the-scenes variables (expunge_after_delete in
about:config).  A quick google suggests the default for Evolution is
to expunge on program exit or in response to ctrl-e, but nothing
seemed to come up about automagically doing it.  I think it's not
common because it puts more load on the server.


Odd that you say that - I thought I'd try Thunderbird again, and it has 
an option When I delete a message - Move it to the Trash. Seems to 
work too. It also has a nice option Expunge on Exit.


So problem solved - I'll just use Evolution when I have to work with 
Exchange.


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


Re: [SLUG] Partitions

2008-05-27 Thread Sonia Hamilton

David Liell wrote:

Thanks, Sonia but I don't follow.

I know which partition has / and which has /home. What I don't 
understand is which one has the Ubuntu system and what is /home for?


% mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
/dev/sda3 on /home type ext3 (rw)
snip

In this case / contains the Ubuntu system and /home is sort of like My 
Documents in Windows.


In Windows you can have multiple partitions on a hard drive, but they 
appear as c: d: e: etc.


In Linux you can have multiple partitions on a hard drive, and they 
appear as folders underneath the top of the tree / - a cleaner system 
than Windows.


Why divide up the system into different partitions like / and /home? One 
reason is that you can easily re-install the o/s in / and keep all of 
your stuff under /home untouched. Another reason is that you can have 
different settings for different partitions eg one partition optimised 
for small files (eg emails), another partition optimised for large files 
(eg movies), etc.


Read more:
http://tldp.org/LDP/intro-linux/html/sect_03_01.html#sect_03_01_02
http://tldp.org/LDP/sag/html/filesystems.html

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


Re: [SLUG] Partitions

2008-05-27 Thread Sonia Hamilton

Mary Gardiner wrote:

However, the reported contents of his /home is rather odd.


From his original mail:


 [EMAIL PROTECTED]:/home$ ls
 bindev initrd.img  media  root  tmp  vmlinuz.old
 boot   etc initrd.img.old  mntsbin  usr
 cdrom  homelib optsrv   var
 david  initrd  lost+found  proc   sys   vmlinuz

That does rather look like somehow things that should be in / have been copied
to or installed in /home.


Yes, looks like someone has made a mistake installing/migrating a system.

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


partitions (was Re: [SLUG] Re: slug Digest, Vol 28, Issue 27)

2008-05-26 Thread Sonia Hamilton
On Mon, 2008-05-26 at 16:32 +1000, David Liell wrote:
 Hi Sluggers,
 
 Would someone fill me in on which partition my Ubuntu Hardy system is
 on.  Is it / or /home?  A list of both directories follows:
 
  [EMAIL PROTECTED]:/home$ ls
  bindev initrd.img  media  root  tmp  vmlinuz.old
  boot   etc initrd.img.old  mntsbin  usr
  cdrom  homelib optsrv   var
  david  initrd  lost+found  proc   sys   vmlinuz
 
  [EMAIL PROTECTED]:/$ ls
  bin   cdrom  etc   initrd  lib media  opt   root  srv
  tmp  var
  boot  devhome  initrd.img  lost+found  mntproc  sbin  sys
  usr  vmlinuz

The 'mount' command will show you/us. E.g. on my machine:

% mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
/dev/sda3 on /home type ext3 (rw)
snip

-- 
Sonia Hamilton.

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


[SLUG] deletion and IMAP in Evolution

2008-05-25 Thread Sonia Hamilton
I'm using Evolution as my GUI email client at the moment (and mutt for
text mode stuff).

I notice that when I delete email with IMAP accounts, the email gets
marked as deleted rather than being moved to the Trash.

Anyone know if there's a way of changing Evolutions's behaviour ie so
that when I delete a message it get's moved to the Trash? A setting I'm
missing, or some sort of plugin, script, etc?

Yes I know email client foo can do it, but the Exchange integration of
Evol is useful...

-- 
Sonia Hamilton.


signature.asc
Description: This is a digitally signed message part
-- 
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] Further to the deadly authentication.

2008-05-18 Thread Sonia Hamilton
On Sun, 2008-05-18 at 08:26 +1000, Erik de Castro Lopo wrote:
  Well, I did, although I like to know what I'm doing. The sudo etc I
  understand, but what's LANG= please?
 
 Did this then allow you to install the software without having to 
 install software that was un-authenticated? If so, then the update
 grabbed the the digital signatures.
 
 The 'LANG=' clears the LANG environment variable. For some reason
 this helps but I've never seen this myself.
 
 HTH,
 Erik

Clearing LANG seems to prevent all the errors caused by aptitude looking
for localised package sources. This may be the right way to do things,
or maybe the error messages are spurious and I should eat my laptop. Can
any .deb gods comment?

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

-- 
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] Anyone else having problems with Ubuntu's latest openvpn?

2008-05-14 Thread Sonia Hamilton
On Thu, 2008-05-15 at 07:39 +1000, Mary Gardiner wrote:
 I haven't tried OpenVPN yet, but a new security advisory came out this
 morning saying A regression was introduced in OpenVPN when using TLS

Out of interest, what source are you using for your security advisories?


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


Re: [SLUG] help! resetting nm-applet on Hardy Herron to make wireless work again

2008-05-14 Thread Sonia Hamilton
On Wed, 2008-05-14 at 22:39 +1000, Jeremy Visser wrote:
 If it still doesn't work, go edit /etc/network/interfaces (I hope your
 distro has its config there), and delete every single line _except_ for
 the ones containing auto lo and iface lo inet loopback. Log out and
 log in to see if it worked.

Out of interest, what is the canonical (vs Canonical) way of giving NM a
kick when you've changed something, apart from logging out/in? In the
olde days when manually editing /etc/network/interfaces I used to
do /etc/init.d/network restart or ifdown eth0; ifup eth0, but NM often
appears to ignore those.

And where does NM actually store it's configuration? Sometimes I'd like
to see what NM thinks all it's settings are. I've looked through files
mentioned in dpkg -L, no dice. Started to look through the source code,
got sidetracked.

Sonia.

-- 
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] The deadly authentication.

2008-05-12 Thread Sonia Hamilton
On Tue, 2008-05-13 at 10:55 +1000, [EMAIL PROTECTED] wrote:
 When I'm connected to the net and I log in, I'm told there are updates.
 All well and good.
 
 Just lately, I was told that a certain update (a CUPS job) was not
 authenticated and to install it would render my laptop liable to
 penetration by al-Queda and the leprosy bacterium and aliens.

Having fallen into this trap before (and posted to the list about it),
the solution usually seems to be to upgrade your package list:

LANG=
sudo apt-get update


-- 
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] Telephone Call Logger?

2008-05-05 Thread Sonia Hamilton
 Hi All
 
 I'm looking for a simple telephone cal logging system (or anything that 
 can be simply modded to suit).

Maybe a simple implementation of a crm system, like Sugar CRM?

-- 
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.



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


Re: [SLUG] Linux clustering - what are the options?

2008-05-04 Thread Sonia Hamilton
On Mon, 2008-05-05 at 11:44 +1000, DaZZa wrote:
 Does the Linux world support the concept of active/passive (passive
 node takes over if active fails) clustering for this kind of
 situation? Or even active/active (both nodes answer requests depending
 on load)?

http://www.linux-ha.org/

-  
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.



-- 
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] OT Open Source CRM Package

2008-04-30 Thread Sonia Hamilton
On Wed, 2008-04-30 at 08:41 +0200, [EMAIL PROTECTED] wrote:
 We are looking for an Open Source CRM package that will take all e-mails
 from Microsoft Outlook and export the mail folders from them into the CRM
 package and have all the e-mails stored on the server so that all customer
 details will be on the server. On the CRM package there can be levels of
 security so that the md's data and the data for the staff are separate.

Seems that you have 2 issues here:

1) getting the emails from Outlook
2) an Open Source CRM

For 1), what details do want? Email address only? All email to that
customer? Name? Is the email stored in .pst files on each user's
workstation, or up on an Exchange server? If on an Exchange server, one
way to access the emails would be to enable IMAP and get at the data via
a perl script

For 2) don't know. But I seem to remember Sridar posting about a package
a few days ago.

-- 
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.

-- 
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] Outputing progress counters with PHP/HTML

2008-04-29 Thread Sonia Hamilton
On Wed, 2008-04-30 at 12:30 +1000, Matthew Hannigan wrote:
 On Wed, Apr 30, 2008 at 12:08:50PM +1000, Howard Lowndes wrote:
  
  The process is:
  Read a line from the file.
  Decompose the line into the data elements.
  For each data element, do a select on the database to see whether it
  ^^^
  already exists, if not then do an insert into the database.
  Rinse and repeat...
  
  It certainly has the smell of being a PHP memory leak, but how I can work
  around it I am just not sure.
 
 You do a select before every insert?!  Is the table indexed?
 If not that might explain the slowdown; a select WILL take
 longer the bigger the table.

Perhaps better to put a unique index on the appropriate column(s), then
just do an insert and throw away the error if the data is already there.

-- 
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.

-- 
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] perl equivalent for cd $(dirname $0)?

2008-04-28 Thread Sonia Hamilton
On Thu, 2008-04-24 at 22:05 +1000, Amos Shapira wrote:
 On Wed, Apr 23, 2008 at 5:37 PM, Sonia Hamilton [EMAIL PROTECTED] wrote:
  In my bash scripts I often use this (to change to the directory where
   the script is):
 
   cd $(dirname $0)
 
   Is there an equivalent in perl?
 
 1. Short answer: http://perldoc.perl.org/File/Basename.html, and $0
 in perl works like in the shell.

Thanks everyone for all your replies about this.

 2. Longer answer: install the FF search engines for perldoc.perl.org
 and CPAN and you'll always be a simple search away from answers to all
 perl-related questions you'll ever have.

The difficulty in solving problems in any new topic is often knowing
what question to ask :-) I searched and searched (got the perl doco
locally), but didn't know what to look for...

-- 
Thanks,
.
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.

-- 
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] Deleting a mailman list

2008-04-28 Thread Sonia Hamilton
On Tue, 2008-04-29 at 09:21 +1000, Peter Chubb wrote:
 Hi,
   How do I delete a mailman list (as far as being able to send
 new messages to it goes) but leave the archive website up?
 
 The documentation suggests 
   rmlist list-name
 deletes the list but leaves the archives; but they've disappeared from
 the website too.

From memory, an easier way is to delete the mailserver archive that
forwards to mailman, rather than deleting the list within mailman.

-- 
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.

-- 
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] Multiple Domains - Apache

2008-04-28 Thread Sonia Hamilton
On Tue, 2008-04-29 at 05:05 +0530, Deepan wrote:
 Hi All,
   I am serving two domains from the same machine
 using Apache. I want www to be used in both of the
 domains, hence I redirect  urls without www to
 appropriate urls with www. I have the following
 configuration in httpd.conf to achieve this.

Setting up aliases in your dns is probably the way to do this:

ie domaina.com is an alias for www.domaina.com.

-- 
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.

-- 
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] Deleting a mailman list

2008-04-28 Thread Sonia Hamilton
On Tue, 2008-04-29 at 10:02 +1000, Sonia Hamilton wrote:
 On Tue, 2008-04-29 at 09:21 +1000, Peter Chubb wrote:
  Hi,
  How do I delete a mailman list (as far as being able to send
  new messages to it goes) but leave the archive website up?
  
  The documentation suggests 
  rmlist list-name
  deletes the list but leaves the archives; but they've disappeared from
  the website too.
 
 From memory, an easier way is to delete the mailserver archive that
 forwards to mailman, rather than deleting the list within mailman.

Duh! That should read delete the mailserver *alias* that forwards
emails to mailman *for that list*, rather than deleting the list within
mailman

-- 
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.

-- 
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] Deleting a mailman list

2008-04-28 Thread Sonia Hamilton
On Tue, 2008-04-29 at 11:37 +1000, Peter Chubb wrote:
 Sonia Duh! That should read delete the mailserver *alias* that
 Sonia forwards emails to mailman *for that list*, rather than
 Sonia deleting the list within mailman
 
 Thanks for the suggestion.  Except there aren't any :-)
 My exim4.config has:
 
 mailman_director:
 driver = accept
 require_files = MAILMAN_HOME/lists/$local_part/config.pck
 local_part_suffix_optional
 local_part_suffix = -bounces : -bounces+* : \
  -confirm+* : -join : -leave : \
  -owner : -request : -admin
 transport = mailman_transport
 

That's because Exim seems to be very sensible (I'm migrating away from
Postfix, to get away from horrors like what Mary is dealing with).

Last time I played with mailman it was on a qmail machine (doubleplus
horror), where multiple .qmail files under /var/qmail/something were
used for each mailman list eg .qmail-foo-join .qmail-foo-admin etc. Ergo
remove them to stop the list working.

-- 
Thanks,
.
Sonia Hamilton
http://www.snowfrog.net
http://training.snowfrog.net
http://www.linkedin.com/in/soniahamilton
.
Your manuscript is both good and original; but the part that is good is
not original and the part that is original is not good - Samuel Johnson.

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


[SLUG] uptime and multicore/multithreaded cpu's

2008-04-23 Thread Sonia Hamilton
A question about uptime. My understanding of the load average figures is
that a figure less than 2.0 on a 2 CPU machine means the CPUs don't have
more work than they can keep up with (on average).

How is this figure (1 per CPU) affected on multicore CPUs? What about
multi-threaded CPU's?

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

-- 
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] uptime and multicore/multithreaded cpu's

2008-04-23 Thread Sonia Hamilton
Yes that was the example I found too. I'm still not sure about
multi-threaded CPU's though

On Thu, 2008-04-24 at 07:43 +1000, James Polley wrote:
 I was going to say something,
 but http://www.teamquest.com/resources/gunther/display/5/index.htm
 says it much better than I can, so I'll just go back to bed.
 
 On Thu, Apr 24, 2008 at 6:38 AM, Dean Hamstead [EMAIL PROTECTED]
 wrote:
 multiple cores are seen as multiple cpus. so there is no
 difference.
 
 i dont know how threads are implemented in the cpu.
 
 a load average of 2.0 on a dual cpu (or dual core) system is a
 100% load average. accroding to man.
 
 
 Dean
 
 
 Sonia Hamilton wrote:
 A question about uptime. My understanding of the load
 average figures is
 that a figure less than 2.0 on a 2 CPU machine means
 the CPUs don't have
 more work than they can keep up with (on average).
 
 How is this figure (1 per CPU) affected on multicore
 CPUs? What about
 multi-threaded CPU's?
 
 -- 
 
 
 SLUG - Sydney Linux User's Group Mailing List -
 http://slug.org.au/
 Subscription info and FAQs:
 http://slug.org.au/faq/mailinglists.html
 
 
 
 
 
 -- 
 There is nothing more worthy of contempt than a man who quotes himself
 - Zhasper, 2004
-- 
Thanks,
.
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
.
I want to share something with you -- the three sentences that will get you 
through life. Number one, Cover for me. Number two, Oh, good idea, boss.
Number three, It was like that when I got here. -- Homer Simpson

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


[SLUG] perl equivalent for cd $(dirname $0)?

2008-04-23 Thread Sonia Hamilton
In my bash scripts I often use this (to change to the directory where
the script is):

cd $(dirname $0)

Is there an equivalent in perl?

-- 
Thanks,
.
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
.
I want to share something with you -- the three sentences that will get you 
through life. Number one, Cover for me. Number two, Oh, good idea, boss.
Number three, It was like that when I got here. -- Homer Simpson

-- 
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: Sending mail from within a highly locked down network

2008-04-21 Thread Sonia Hamilton
On Mon, 2008-04-21 at 16:31 +1000, Mick Pollard wrote:
 To automate this 'script' you could build a simple smtp profile system.
 Grub allows you to pass extra info to it and this is made available to
 the init process in shell variable $CMDLINE. 

So would one access $CMDLINE in /etc/rc.local (Ubuntu), or elsewhere?

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

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


[SLUG] installing moodle - .deb or from cvs?

2008-04-21 Thread Sonia Hamilton
I'm about to setup moodle [1] on a vps. I'd be interested to know from
people who have worked with moodle if they recommend installing it from
a .deb or via cvs [2] (to more easily keep up with security patches).

This question comes from my experiences (bruises?) of maintaining a
drupal site, where I eventually found it easier to keep up with security
patches by using cvs (I even wrote a howto on this [3]).

[1] http://moodle.org/
[2] http://docs.moodle.org/en/CVS_for_Administrators
[3] http://howtoforge.com/multisite_drupal_installation_ubuntu

-- 
Thanks,
.
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton
.
I want to share something with you -- the three sentences that will get you 
through life. Number one, Cover for me. Number two, Oh, good idea, boss.
Number three, It was like that when I got here. -- Homer Simpson

-- 
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: Sending mail from within a highly locked down network

2008-04-20 Thread Sonia Hamilton
On Mon, 2008-04-21 at 14:37 +1000, Mary Gardiner wrote:
 I wasn't clear in my original mail: I'm more interested in how people
 get their laptop to switch mail settings between inside horrible
 network and normal operation than I am in specifically what their
 inside-horrible-network settings are, because in this particular case I
 can use the university's mail server to get mail out (and I also have an
 SSH server on my own machine listening on 443, so if I couldn't I could
 do various SSH tunneling). It's just annoying to have to remember to
 re-configure my mail client (in this case, actually Postfix, but similar
 problems apply to any client, whether full MTA or not) when I am located
 at uni, and again when I leave.

Using postconf -e

An example script (probably broken) that I used to run on my laptop:

if (( `id -u` != 0 )); then { echo Sorry, must be root.  Exiting...;
exit; } fi

postconf -e defer_transports = 
postconf -e relayhost = 
postconf -e transport_maps = 

# check if eth0 not up - send email later (TODO: handle ppp0 for evdo)
myip=`ip a sh eth0 | grep 'inet\'`
if [ -z $myip ] ; then
postconf -e defer_transports = smtp
postfix reload
postfix flush
exit 0
fi

# if we're at home, send email instantly using sandia as relay
myip=`ip a sh eth0 | grep 'inet\' | awk '{print $2}'`
if [ $myip = 192.168.1.1/24 ] ; then
postconf -e relayhost = [192.168.1.254]:25
postfix reload
postfix flush
exit 0
fi

# if we're on didata staff network, relay POE email via
sydmta.POE.com.au
myip=`ip a sh eth0 | grep 'inet\'| awk '{print $2}' | awk -F. '{print
$1 . $2}'`
if [ $myip = 148.182 ] ; then
postconf -e relayhost = [sydmta.POE.com.au]:25
# TODO: work out bug in transport map  combine with ssh tunnel
#postconf -e transport_maps = hash:/etc/postfix/transport
postfix reload
postfix flush
exit 0
fi

# otherwise, just defer transport (until I implement ssh tunnel)
# including 10.172.x.y addresses (when on classroom net) - can't relay
via sydmta
postconf -e defer_transports = smtp
postfix reload
postfix flush
exit 0

# TODO bring up ssh tunnel
# otherwise, just use ssh tunnel
#postconf -e relayhost = [127.0.0.1]:2525
#postfix reload
#postfix flush
#exit 0



-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

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

2008-04-17 Thread Sonia Hamilton
On Thu, 2008-04-17 at 19:58 +1000, Jeff Waugh wrote:
 quote who=Richard Heycock
 
  Is it possible to use ssh as a type of dynamic vpn so that when I connect
  to a remote machine the remote machine has access to the initiating
  machine?
 
 See the man page section for the -R option to map a remote port to a local
 port. It complements the -L option, which does the opposite. I don't believe
 there's a reverse analogue to the -D option though (SOCKS proxy through the
 remote end), so you're stuck with port mapping.
 
 You can also do sick stuff like ppp-over-ssh.
 
 Or sensible stuff like OpenVPN.

For what you're trying to do, autossh would be useful - keeps a -L/-R tunnel 
alive permanently. I've used it with success to solve *cough* various firewall 
issues at POE's.

$ sudo aptitude install autossh
$ dpkg -L autossh | less

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

-- 
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] Manipulating DNS

2008-04-17 Thread Sonia Hamilton
On Fri, 2008-04-18 at 09:23 +1000, Amos Shapira wrote:
 I never got around to check this but we use an internal domain
 company.local for the internal IP address, wouldn't it be possible
 to configure a DNS server (bind9) on the laptop to forward
 .company.local to the internal DNS server and the rest to the
 'default' DNS server? It looks like the zone statement with type
 forward would achieve just that.

Slightly OT question here: given that zeroconf now uses .local, is
using .local for internal domains via bind the right way to do things,
or should another name be used?

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

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


[SLUG] working wvdial.conf file for Vodafone Huawei E220?

2008-04-15 Thread Sonia Hamilton
I've just bought a 3G Mobile Broadband plan from Vodafone. Anyone got a
working wvdial.conf file?

I'm running a recent kernel so the device is detecting ok:

$ less /var/log/messages
Apr 15 15:48:45 uva kernel: [12639.596000] option 5-2:1.0: GSM modem
(1-port) converter detected
Apr 15 15:48:45 uva kernel: [12639.596000] usb 5-2: GSM modem (1-port)
converter now attached to ttyUSB0
Apr 15 15:48:45 uva kernel: [12639.596000] option 5-2:1.1: GSM modem
(1-port) converter detected
Apr 15 15:48:45 uva kernel: [12639.596000] usb 5-2: GSM modem (1-port)
converter now attached to ttyUSB1
Apr 15 15:48:45 uva kernel: [12639.596000] usbcore: registered new
interface driver option
Apr 15 15:48:45 uva kernel:
[12639.596000] 
/build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/option.c: USB 
Driver for GSM modems: v0.7.1

And the devices are being created ok  I'm in the dip group:

$ ls -al /dev/ttyUSB*
crw-rw 1 root dialout 188, 0 2008-04-15 16:34 /dev/ttyUSB0
crw-rw 1 root dialout 188, 1 2008-04-15 16:22 /dev/ttyUSB1

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

-- 
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] managing .bashrc in subversion?

2008-04-08 Thread Sonia Hamilton
On Tue, 2008-04-08 at 16:06 +1000, Erik de Castro Lopo wrote:
 Sonia Hamilton wrote:
 
  A process rather than technical question about subversion.
  
  My personal subversion repo is setup, works ok, etc. But I notice that
  subversion only lets you checkout a directory, not a file.
 
 You can get a single file using export:
 
 svn export svn://server/full/path/name.whatever

I was thinking about that, but the advantage of having .*rc files under
svn is easily keeping them in sync on multiple machines - exporting
drops the file out of svn.
 
-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

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


[SLUG] kernel code for client ephemeral port allocation?

2008-04-07 Thread Sonia Hamilton
When a tcp (or udp) connection is setup, the client is allocated a
source port - a so-called ephemeral port (this can be seen in the Local
Address column of netstat).

Out of interest, I wouldn't mind looking at the code that
pseudo-randomly allocates this port number. Can anyone point me in the
direction of the directory (or even file) I should look at? I'm not 
very familiar with the layout of the kernel code.

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

-- 
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] kernel code for client ephemeral port allocation?

2008-04-07 Thread Sonia Hamilton
Thanks! S.

On Tue, 2008-04-08 at 08:13 +1000, Erik de Castro Lopo wrote:
 Sonia Hamilton wrote:
 
  When a tcp (or udp) connection is setup, the client is allocated a
  source port - a so-called ephemeral port (this can be seen in the Local
  Address column of netstat).
  
  Out of interest, I wouldn't mind looking at the code that
  pseudo-randomly allocates this port number. Can anyone point me in the
  direction of the directory (or even file) I should look at? I'm not 
  very familiar with the layout of the kernel code.
 
 LXR (Linux Cross Reference) is a really good resource:
 
 http://lxr.linux.no/linux
 
 Searching for ephemeral results in (among others):
 
 http://lxr.linux.no/linux/drivers/char/random.c#L1567
 
 which I think may be what you are looking for.
 
 The hard way to do this of course would be just grab an unzip a source
 code tarball, cd into it and then:
 
grep -r ephemeral .
 
 and see where that leads you.
 
 Have fun :-).
 
 Erik
 -- 
 -
 Erik de Castro Lopo
 -
 The question of whether a computer can think is no more interesting
 than the question of whether a submarine can swim. -- edsger dijkstra
-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

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


[SLUG] managing .bashrc in subversion?

2008-04-07 Thread Sonia Hamilton
A process rather than technical question about subversion.

My personal subversion repo is setup, works ok, etc. But I notice that
subversion only lets you checkout a directory, not a file.

I want to manage (for example) my .bashrc file in subversion - how to do
it? I could check in all of /home/sonia, but I'd have to setup heaps of
exclusions - nasty. I could put .bashrc in /home/sonia/bin (for example)
and link to it cd; ln -s bin/.bashrc .bashrc) - a hack.

Any other suggestions?

-- 
Thanks,

Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

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


Re: [SLUG] Linux on Iphone

2008-04-01 Thread Sonia Hamilton
On Wed, 2 Apr 2008 09:06:45 +1100, Morgan Storey [EMAIL PROTECTED]
said:
 I can see if it had 3.5g a decent camera, real gps and ran Linux I would
 go
 for it... But there are linux Phones coming out that are more open, or
 run
 Linux by default these are the better options.

So there's OpenMoko [1], Android [2], imcosys [3].

Any recommendations on one of these (or others) that I can buy right
here right now? My Palm Treo 650 has been dropped one too many times
and is getting a bit flaky. 

I want a phone/PDA that does Contacts/ToDo/Diary/Memos well, and sync's
with Linux easily. I had a Linux based Zaurus for a while a few years
ago and didn't think much of it - went back to Palm.  

[1] http://www.openmoko.org/
[2] http://code.google.com/android/
[3] http://www.imcosys.com/html/english.html

Thanks,

--
Sonia Hamilton.

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


  1   2   3   4   >