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

2008-07-30 Thread Simon Wong
On Fri, 2008-07-25 at 17:15 +1000, Michael Chesterton wrote:
 Well, that's assuming it's an MTU problem.

oh the hours I have lost trouble shooting VPN problems caused by
transient MTU problems - I knew you were on the money :-)

And don't they also manifest themselves in the weirdest ways like not
being able to send emails...!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Oracle 9i database and samba

2008-03-05 Thread Simon Wong
On Mon, 2008-03-03 at 18:52 +1100, Alex Samad wrote:
 Any reason to put oracle on windows ? why not make up oracle on a linux
 (vm or real box)

Because at this stage all I know is that it appears to be a bundled
installation on Windows.  Sadly it used to be a unix application that
has been ported to Windows.  It still uses an Xserver and goodness
knows what else has been hacked in there?!


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Oracle 9i database and samba

2008-03-02 Thread Simon Wong
On Fri, 2008-02-29 at 15:06 +0900, Adrian Chadd wrote:
 Again, why are you asking here versus the two vendors in question?

Because I am interested in some independent advice/war stories.

 I strongly suggest you just ask your vendors and get them to sign off on it.
 I sincerely doubt anyone here is qualified to tell you yes or no;
 and Minescape looks like a serious piece of mine design and operations 
 planning
 software.

I will be.

Thanks.

-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Oracle 9i database and samba

2008-02-28 Thread Simon Wong
Hi all!

Can anyone confirm whether Oracle 9i running under Windows will work if
it's DB files are stored on a samba share?

I have to try and run Mincom's Minescape under Windows but want the data
and DB shared via Samba.

TIAs

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Oracle 9i database and samba

2008-02-28 Thread Simon Wong
On Thu, 2008-02-28 at 18:04 +0900, Adrian Chadd wrote:
  Can anyone confirm whether Oracle 9i running under Windows will work if
  it's DB files are stored on a samba share?
  
  I have to try and run Mincom's Minescape under Windows but want the data
  and DB shared via Samba.
 
 .. why do you think this would be a good idea?

because the instance of Windows will be running under VMware server (or
Workstation) and I like to keep the data outside the VM where it can
also be shared with other instances of the app.

What are you thinking?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Oracle 9i database and samba

2008-02-28 Thread Simon Wong
On Fri, 2008-02-29 at 11:18 +0900, Adrian Chadd wrote:
 That I'd be asking Oracle and your application vendor whether your proposed
 setup is fully supported.

I don't think it is well supported!

 Backending databases onto random network attached storage is a very bad idea

I agree but this is shared on the same machine.  I think that is a lt
more reliable apart from other FS issues.

 unless you Know What You Are Doing; and if you're on here asking then you
 probably don't fall into that category.

Not it in this instance! ;-)

 The other poster who runs Oracle off a netapp filer is surprising to me, as 
 I've
 had no end of issues with databases on network attached storage, but -my- 
 experiences
 haven't been with Oracle on Netapp NFS, just MySQL on Linux NFS. In any case, 
 knowing
 what I know about the wildly different flavours of NFS implementations, I'd 
 not be
 putting a critical SQL DB on it (or heck, even hash tables with shared 
 writers!) unless
 my vendor told me it was ok.

OK

 In short: Ask your vendors. Thats what you're paying them for. :)

I will and will post back here if I get it running too!


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Oracle 9i database and samba

2008-02-28 Thread Simon Wong
On Fri, 2008-02-29 at 10:38 +1100, Joel Heenan wrote:
 Why don't you run the database on a big fat database server then have
 all the applications connect to it via oracle listeners through
 TCP/IP. That would be the standard solution to this problem.

hmmm, the more I look into this application (Mincom Minescape) it seems
that may in fact be what it does, it has a Design File Server.

 This solution is strange because 
 
   - you may hit issues because not all FS locking commands will be
 supported
   - running multiple database instances connecting to the same DB
 files is normally done in an Oracle RAC configuration. You don't run
 Oracle on the app servers you run it on database servers and use a
 shared filesystem like ASM or OCFS2 normally connected to the DB files
 over a SAN. Network filesystems are not normally used for database
 files. 

I am sure you are correct, I don't have any experience with Oracle or
large, distributed DB installations.

 Is there a good reason you need more than one oracle instance?

No!

I think I phrase the question incorrectly to start with.  If I just want
one instance of the Oracle DB (the Design File Server) can I run it
installed in a VM and have it's DB files stored on Samba shared to it
from the host OS?

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Oracle 9i database and samba

2008-02-28 Thread Simon Wong
On Fri, 2008-02-29 at 14:40 +1100, Amos Shapira wrote:
 Do you plan to have access to that database in parallel to having that
 VMware WIndows running?

There will be multiple VMs running on the same machine.

 Because if so then Joel Heenan's solution is the right one - run Orcale 9i
 on the host and have it accessed from the Windows under VMware.

I think the solution will be one Windows VM running Oracle (possible
with the DB files on Samba) and the other VMs accessing that Oracle
instance.
 Generally, the advise I remember (at least for Postgres) is that running
 databases on top of network file systems is a bad idea at least for
 performance, but I never tried this personally.

Understandable but these DB files are on the same physical machine,
different OS (Linux VMware host).

Thanks.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] USB to serial

2007-12-17 Thread Simon Wong
I would recommend the Keyspan USA-19HS.



On Tue, 2007-12-18 at 13:33 +1100, Martin Barry wrote:
 $quoted_author = DaZZa ;
  
  On Dec 18, 2007 12:59 PM, Alan L Tyree [EMAIL PROTECTED] wrote:
   Is there anything that I need to look for in these USB to serial
   converters? Any special software needed?
  
  Be careful which one you buy. Some of the cheaper ones simply don't work.
  
  I have one from Lindy, and it's never let me down. Cost a bit more,
  but well worth it.
 
 I can recommend the Belkin one. Detected automatically in Ubuntu. YMMV
 
 cheers
 marty
 
 -- 
 xterm The problem with America is stupidity. I'm not saying there should be 
 a
   capital punishment for stupidity, but why don't we just take the safety
   labels off of everything and let the problem solve itself?
 
 http://www.bash.org/?4753

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

2007-12-08 Thread Simon Wong
I had a chance to have a quick look at one at a school I visited
recently - they were considering them for all the Primary kids :-)

My interest is that it is cheap, small and light.  Assuming that I can
install OpenVPN on it, then it's a great device to take away on holidays
if I need to SSH/OpenVPN in to any basic support and I haven't lost my
$4000 laptop if someone steals it.

OOo seemed to start reasonably quickly (ie same as my *real* laptop) and
the built-in wifi means surfing the web is possible for looking up maps,
timetables etc.

I want one!

Can't believe that they have sold out down there will have a scout
around Brissie...


On Wed, 2007-12-05 at 21:20 +, Rev Simon Rumble wrote:
 So they've sold out apparently.  Anyone got one?  Comments?
 
 http://www.smh.com.au/news/technology/australias-cheapest-laptop-sells-out/2007/12/05/1196812808404.html
 
 -- 
 Rev Simon Rumble [EMAIL PROTECTED]
 www.rumble.net
 
 The Tourist Engineer
 Nerds need vacations too.
 http://engineer.openguides.org/
 
 Only one person ever attended a parliament with
 honest intentions - and that was Guy Fawkes.

-- 
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] tip: how to renumbber screens in gnu screen

2007-11-14 Thread Simon Wong
On Tue, 2007-11-13 at 13:47 +1100, Sonia Hamilton wrote:
 If you use gnu screen, here's a tip on how to reorganize/renumber your
 screens:
 
 http://lists.gnu.org/archive/html/screen-users/2007-11/msg2.html
 
 Really useful, and given it took me so many years to work it, probably
 useful to others.

Thanks a useful tip.

The hardest thing about finding tip for screen is that typing screen
into Google is not exactly definitive!


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] MySQL transfer from one host to another over SSH (pull)

2007-06-18 Thread Simon Wong
Hi everyone!

I'm trying to dump a MySQL DB from one host and import it directly into
another MySQL server using SSH.  The catch is that I want to pull
rather than push (which is quite easy).

What I am trying to do is...

$ ssh DBMASTER mysqldump --opt -u root -p live | mysql -u dbuser -p 
live
Enter password: [EMAIL PROTECTED]'s password: 
ERROR 1045 (28000): Access denied for user 'dbuser'@'localhost' (using 
password: YES)

But I end up with both password prompts (SSH and MySQL) coming up at the
same time so it fails.

Any SSH gurus out there that can help with this?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] MySQL transfer from one host to another over SSH (pull)

2007-06-18 Thread Simon Wong
On Tue, 2007-06-19 at 12:33 +1000, Michael Chesterton wrote:
 You can get rid of the password prompts.
 
 On the remote host in ~/.my.cnf put
 
 [client]
 password= supersecret
 port= 3306
 socket  = /var/run/mysqld/mysqld.sock
 
 chmod 600 ~/.my.cnf
 
 Actually, you'd probably want to do the same on both hosts.
 You can then get rid of the -p switches.

So do you think that it's not possible to do it ad-hoc like I am doing?

I'll try your suggested setup - thanks.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] MySQL transfer from one host to another over SSH (pull)

2007-06-18 Thread Simon Wong
On Tue, 2007-06-19 at 11:46 +0800, [EMAIL PROTECTED] wrote:
 This must not be
 mysqldump --opt -u root -p live
 
 it must be
 mysqldump --opt -u root -plive

actually live is the database name!

 Then you need to be consistant (what is --opt ??)

From the manpage...

ยท  --opt

  This option is shorthand; it is the same as specifying
  --add-drop-table --add-locks --create-options
--disable-keys
  --extended-insert --lock-tables --quick --set-charset.
It should
  give you a fast dump operation and produce a dump file
that can be
  reloaded into a MySQL server quickly.

  The --opt option is enabled by default. Use --skip-opt
to disable
  it.  See the discussion at the beginning of this
section for
  information about selectively enabling or disabling
certain of the
  options affected by --opt.

MySQL v5.0 in Ubuntu.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] MySQL transfer from one host to another over SSH (pull)

2007-06-18 Thread Simon Wong
On Tue, 2007-06-19 at 13:08 +1000, Amos Shapira wrote:
 You can specify the MySQL password on the command line with
 --password=supersecret (not recommended if you have untrusted users
 on that system - it'll be visible to ps).

I always avoid doing that!

 Another option (especially if you want to do this regularly) might be
 to setup a MySQL user which can do this particular operation and allow
 only root to login to that MySQL user without a password. I'm not sure
 about the details but dig around, there is tons of documentation about
 MySQL.
 
 You can get rid of the ssh password prompt by using private/public keys.

Yeah sure.

Thanks for all the comments.

So I now have it working using a combination of SSH keys (I have a
problem with it not working in .ssh/config but works if you specify the
keyname on the command line with the -i option?!) and setting up the
MySQL username/password in ~/.my.cnf as recommended by Michael
Chesterton.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Locking network interface number to specific MAC address

2007-05-29 Thread Simon Wong
On Thu, 2007-05-17 at 14:49 +1000, Erik de Castro Lopo wrote:
 Thanks Jdub. Perfect fix. Also explains why the interfaces on
 this machine were eth2 and eth3 and not eth0 and eth1 (the drive
 was cloned from another machine with the same motherboard).

Yes, one of the two main things that are not portable with Ubuntu - that
and the xorg.conf video driver.


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Help with strace - WinDev HyperFile Server

2007-05-24 Thread Simon Wong
) 
= 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION, 0, 20bb1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0xbf974a6c, 34, 
(nil), 0}) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
brk(0)  = 0x807a000
brk(0x809b000)  = 0x809b000
readlink(/proc/self/exe, /usr/local/HyperFile/manta, 259) = 26
open(/usr/local/HyperFile/HFConf.ini, O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=85, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7f5d000
read(3, [INIT]\nDBRootPath = %%EXE%%/BDD\n..., 4096) = 85
read(3, , 4096)   = 0
close(3)= 0
munmap(0xb7f5d000, 4096)= 0
open(/usr/local/HyperFile/HFConf.ini, O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=85, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7f5d000
read(3, [INIT]\nDBRootPath = %%EXE%%/BDD\n..., 4096) = 85
read(3, , 4096)   = 0
close(3)= 0
munmap(0xb7f5d000, 4096)= 0
rt_sigaction(SIGSEGV, {0x80536e4, [], 0}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x80536e4, [], 0}, NULL, 8) = 0
rt_sigaction(SIGILL, {0x80536e4, [], 0}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x80536e4, [], 0}, NULL, 8) = 0
getppid()   = 19925
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7da9928) 
= 19927
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)   = ?





-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Fixed : Ubuntu Edgy : Booting to SATA disks

2007-04-30 Thread Simon Wong
On Mon, 2006-12-18 at 06:59 +1100, Erik de Castro Lopo wrote:
  I've now made 5 or 6 attempts to get Ubuntu Edgy installed on a new
  amd64 system with SATA disks. The install goes fine but when it
  goes reboot it gets to GRUB  and then nothing.

I've also had problems with one mobo where the SATA disks are enumerated
in a different order from install and booting the installation
(different kernels I guess).


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] i386 to amd64?

2007-04-30 Thread Simon Wong
On Sun, 2006-12-17 at 13:30 +0900, [EMAIL PROTECTED] wrote:
 PS FYI: /dev/hda1 /, You have not selected a root partition round-n-round 

When doing installations using RAID you sometimes need to reboot in
between because the kernel has not re-read the partition layout (AFAIK).

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] CUPS Dying

2007-04-25 Thread Simon Wong
On Wed, 2007-04-25 at 12:17 +1000, Trent Murray wrote:
 I'm currently running Ubuntu Feisty and am sharing a HP LaserJet over
 SAMBA/CUPS to two windows hosts at home.  The issue is CUPS dies if the
 server is left on for several days and I need to reboot before all the jobs
 that have been sent to the spool actually get sent to the printer.
 
 Anyone know what might be going on here?

I wonder if CUPS is marking the printer as unavailable when the
printer's power management turns it off?

Go to the CUPS web admin page (http://localhost:631) and see if the
printer is still accepting jobs or check from the cli with lpstat -a.

Also, no need to reboot for something trivial like that, just restart
the daemon sudo /etc/init.d/cupsys restart.


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Terrible dedicated webhosting

2007-04-18 Thread Simon Wong
I just recently had a very bad experience with a local provider of
dedicated web hosting who proved multiple times that they had no idea
what they were doing!

I obviously will not name them here but if anyone is looking into
dedicated hosting feel free to drop me an email so I can warn you!


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Backup System - Any recommendations

2007-04-16 Thread Simon Wong
On Fri, 2007-02-23 at 14:12 +1100, Sonia Hamilton wrote:
 * On Fri, Feb 23, 2007 at 12:11:51PM +1100, Trent Murray wrote:
  Can anyone recommend a backup solution that can be run centrally from a
  linux box and can also backup windows boxes on a  LAN

I have recently come across Dirvish which looks quite interesting
http://www.dirvish.org/

Anyone used it?

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Kunbuntu Edgy Eft Evaluation on a Targa Laptop

2007-04-16 Thread Simon Wong
On Mon, 2007-04-16 at 10:56 +1000, Marghanita da Cruz wrote:
 After checking out Knoppix 5.1 I am now  evaluating upgrading to
 Kunbuntu Edgu Eft on my Targa Laptop.

The next version of Ubuntu 7.04 will be out in a few days.  If possible
you'd probably be best to wait for that since each release tends to have
better support than the last.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] cPanel reliability on linux

2007-04-06 Thread Simon Wong
On Mon, 2007-04-02 at 17:36 +0930, lloy0076 wrote:
 Like all tools of its ilk, it has its foibles but a tool is only as 
 useful as those who configure it. If you're looking for a hosting 
 solution then it is possibly the type of tool you want.

Unfortunately, in this case it was running on a dedicated machine and
the developer upgraded it to the EDGE version ie the development
version.

I guess under normal circumstances that would not have been possible.

-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] cPanel reliability on linux

2007-04-02 Thread Simon Wong
I have just been looking at a customer's machine that has cPanel
installed (http://en.wikipedia.org/wiki/CPanel).

I'm scared!  It gives unskilled people the ability to install packages
and configure all sorts administrative activities even things like
format and mount disks, even change the root password.

Does anyone have any anecdotes that can give me some confidence in
allowing these people to keep using it (after we downgrade to SATBLE not
EDGE) or hair-raising stories about how easy it is to mis-configure your
linux server?

-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] PC h/w and s/w Inventory apps - OCS Inventory

2007-04-01 Thread Simon Wong
Hi all!

I just came across OCS Inventory in SF's top 30 list
(http://ocsinventory.sourceforge.net/index.php?page=features) and was
wondering if anyone had used it and hwat their thoughts were.  It looks
quite good on the surface.

Does anyone have any alternate recommendations for this type of software
(hardware and software audits of linux and Windows PCs)?



-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] PC h/w and s/w Inventory apps - OCS Inventory

2007-04-01 Thread Simon Wong
On Mon, 2007-04-02 at 07:21 +1000, Dave Kempe wrote:
 its not bad - you need to couple it with GLPI to get the best results I 
 reckon. The two products integrate at a database layer to that works 
 pretty easily.
 
 http://glpi-project.org/spip.php?lang=en
 
 I have used it for software, OS and hardware auditing pretty successfully.

Thanks for your feedback, Dave.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Linux laptop and training for new user

2007-03-01 Thread Simon Wong
On Thu, 2007-03-01 at 22:15 +1100, Sridhar Dhanapalan wrote:
 Thinkpads have been long revered for their GNU/Linux support, but I don't 
 know 
 how they are these days. Dells _can_ be good due to the sheer number of 

I am on to my second Thinkpad (a T60, previously a T40) and everything
works on Ubuntu Edgy - wireless, infrared, 3D ATI card (using
proprietary driver in Ubuntu), suspend (most of the time), hibernate
(virtually always), I can even talk to the 3G WAN modem with some
fiddling.

Bluetooth appeared to be working until I disabled it in BIOS and seem to
have lost the supervisor password.  But that is another story :-(

I can give them some training if they are in Brisbane :-)


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] What about /boot [was] Swap = 2xRAM

2007-03-01 Thread Simon Wong
On Wed, 2007-02-28 at 14:54 +1100, Zhasper wrote:
 I think there's a bit more utility than that in at least making /home
 it's own partition:

Totally agree for your reasons provided.  Problem is that it's not a
newbie task to create a separate home partition nor to choose what size
the rest should be.

-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] vsftpd

2007-02-12 Thread Simon Wong
I have an existing vsftpd setup that uses virtual users as per the
supplied example in the Ubuntu deb.

What I am wondering is if I can add per user configurations to multiplex
that to multiple users or mix virtual and local users?

TIAs


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Keyboard nav in Evolution (or GTK?)

2007-01-28 Thread Simon Wong
The 2.8.1 version of Evolution in Ubuntu Edgy (or maybe it's whatever
GTK version is in Gnome 2.16) seems to have broken/changed some of the
old keyboard navigation.

In the 2.6.x version in Dapper, I could use shift-leftarrow to collapse
threads and shift-rightarrow to expand threads when viewing them in
Evolution.  That no longer works in the email list and is a PITA.

Incidentally it works when selecting folders when moving an email?!

Can anyone suggest how I can fix it or if there's a different key combo
(I've tried ctrl, alt) that does this?

Thanks.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Edgy Upgrade, more

2006-11-19 Thread Simon Wong
On Sun, 2006-11-19 at 16:56 +1100, david wrote:
  * LCD screen is invisible. I've had to use an old CRT. I've no idea what
  the problem is except that the LCD is not faulty (works during boot
  until X starts)

This is similar to something a colleague of mine is experiencing.  If
you wait long enough does the LCD come back?  His di after about
5-10minutes.  Not sure why though.



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


Re: [SLUG] Re:SLUG] Edgy Upgrade

2006-11-19 Thread Simon Wong
On Sun, 2006-11-19 at 19:13 +1100, Richard Neal wrote:
 Trust me don't bother, yes I did get it finally installed via the net
 update procedure but for reasons unknown to me some things didn't get
 installed  (like the kernel).

Despite the improvements in GUI tools I would not trust an upgrade fully
with a graphical desktop.

Drop to single user mode (sudo init 1) or at least logout of gnome and
switch to a console then change your sources (backup the Dapper one),
apt-get update  apt-get dist-upgrade.



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


Re: [SLUG] Web based poll/survey software

2006-11-08 Thread Simon Wong
On Tue, 2006-11-07 at 22:38 +1100, Pia Waugh wrote:
 PHP Surveyor is pretty good. Also there are good components for both drupal
 and joomla :)

Their demo looks really good.  Thanks.

http://www.cpsuvic.com/phpsurveyor/index.php?sid=10token=

Is it reasonably easy for non-technical people to use?



-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Web based poll/survey software

2006-11-08 Thread Simon Wong
On Tue, 2006-11-07 at 21:15 +1100, Del wrote:
 I've used PHPESP in the past and been pretty happy with it.
 
 http://www.butterfat.net/wiki/Projects/phpESP/

Thanks, Del.

Do you find it's easy for non-technical people to use and setup?


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Web based poll/survey software

2006-11-06 Thread Simon Wong
I am looking for some web based software to run a poll or more of a
survey with multiple questions eg

Q1 Do you like Pizza? yes/no
Q2 What toppings would you like in the future? 
Q3 Choose your favourite crust. (i) thin (ii) thick (iii) cheesy

I have found the VotePlugin and PollPlugin for twiki but not sure if
that will do the job.

Does anyone have any suggestions for something that can be pretty much
dropped into a site hosted by an external Web Host?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] apt-get upgrade problems

2006-10-31 Thread Simon Wong
On Tue, 2006-10-31 at 18:08 +1100, T Murray wrote:
 Yesterday did the usual # apt-get update   # apt-get dist-upgrade and
 have been receiving the following error ever since... Anyone got some
 ideas of how i can resolve this issue:

In general, if things go a little awry during package updates try using
apt-get -f install and dpkg --configure -a to try and recover the
situation.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Problems with Evolution email

2006-10-26 Thread Simon Wong
On Sat, 2006-10-21 at 21:46 +1000, Ken Caldwell wrote:
 Error while Storing folder 'Inbox'.
 Summary and folder mismatch, even after a sync
 
 I have seen other queries about this on Ubuntu forums but not what
 causes it or how to fix.
 
 Can anyone on this list cast any light on this?

Ken, this happens for me when I first open Evolution after rebooting my
laptop.

I have a lot of email and Evolution seems to get out of sync when it is
downloading new email while still indexing the folders on a new start of
Evolution.

When it happens I just restart Evolution after my email has finished
downloading.  This hasn't caused any problem that I have noticed so far.

Since it doesn't seem to cause any lasting problems that's as far as I
have looked into it.

Hope that gives you some comfort :-)

I know, I should have filed a bug...



-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Best Linux soft-phone?

2006-08-24 Thread Simon Wong
On Thu, 2006-08-24 at 07:48 +1000, Alan L Tyree wrote:
 Ekiga is the king of them all. It allows registration with multiple
 servers and I have found it very reliable. I use it with an iMic usb
 sound card. Ekiga is also particularly good at maintaining STUN
 connections with no drama.

I have used it recently and call quality was adequate.  Maybe I needed
to spend more time tweaking.

 Should mention Xten: it's not free (as in speech) software, but it also
 allows multiple registrations and seems to work well. Ugly interface on
 Linux though.

I use this regularly now as the call quality is significantly *better*
than a std Telstra phone line as it has the G711U codec.  More
bandwidth, I think maybe up to 80Kb (bits, I can never remember if it's
a big or little b!).

A very good STUN server is Counterpath's (the company behind xten)
stun.counterpath.net.

You will need to play around with SIP port forwarding for best results.

Enjoy!



-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] How to force which device is eth0?

2006-08-21 Thread Simon Wong
On Mon, 2006-08-21 at 09:27 +1000, Jeff Waugh wrote:
 Check out /etc/iftab (and the iftab man page).
 
 - Jeff

Bingo!  Thanks, mate!


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] How to force which device is eth0?

2006-08-21 Thread Simon Wong
On Mon, 2006-08-21 at 09:30 +1000, Ian Wienand wrote:
 I think you have two options; firstly is the ifrename package, which
 reads /etc/iftab.  

This exists in Ubuntu so it looks the easiest way to go.

 The other option is you can give your cards static names with udev,
 and then refer to those for your interfaces; see
 
 http://www.debianhelp.co.uk/udev.htm

Thanks, I'll have a read of this reference.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] ubuntu desktop

2006-08-20 Thread Simon Wong
On Sun, 2006-08-20 at 12:10 +0800, [EMAIL PROTECTED] wrote:
 1) A toolbar icon
for spam:

Go in to preferences  Mail Preferences  Junk Mail and activate the
in-built junk filter (bogofilter?).

I think you can also instal spamassasin and have it work along with that
too.

click icon
spam is bounced to notifyspam@

Don't know if it does this.

spam is bounced to learner

Tick.

  gets learned for spamassassin

Definately for the in-built spam filter.  Not sure about SA.

spam is removed from inbox

Tick.  Get sremoved to the Junk folder.

 2) Get mail with a wmv attachment
xine DOES play wmv's
No right click open with xine, remember this association (kmail)
 
totem dies with 'can't do this'
save as works as with xine
 
gconf-editor seems to have no association bits

ave the file.  Open a nautilus window, right click on the file 
properties  Open With.  Can you select Xine from there? That should set
the association correctly.

To get Totem to work you'll need the appropriate gstreamer plugin (if it
exists).  Try the gstreamer-plugins-ugly package in synaptic.


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] How to force which device is eth0?

2006-08-20 Thread Simon Wong
Occasionally, I come across a situation where the network device I am
using gets changed after a new kernel is installed eg from eth0 to eth2.
This is on a machine with 3 NICs.

I thought I found the right setting for /etc/network/interfaces using
hwaddress ether XX:XX..., however, that doesn't seem to be working on
my Dapper machine.

Can anyone offer any advice on how to force which hardware is eth0?

TIAs

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] crazy dapper mouse

2006-08-15 Thread Simon Wong
On Mon, 2006-08-14 at 11:09 +1000, david wrote:
 Sadly, it's not that simple. Google reports quite a few problems with
 Belkin KVM's. Does anyone else know about KVM issues, or whether another
 type is better?

I have a 4 port Belkin SOHO series USB KVM and it works fine under
Dapper (and Breezy) on a number of Intel and AMD hardware platforms.

The only problem I have is on one PC that I have, it does not work on
the Ubuntu CD install menu (but works fine once installed!).  Bug filed.

X configuration is as installed by Ubuntu for both OS versions.




-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] udev/jpilot question

2006-08-15 Thread Simon Wong
On Fri, 2006-08-11 at 01:53 +1000, Sonia Hamilton wrote:
 BUS=usb, SYSFS{product}=Palm Handheld*, KERNEL=ttyUSB*,
 NAME{ignore_remove}=pilot, MODE=666
 
 My question is: what is this supposed to be doing, and why would I want
 to do it? (man udev didn't help...).

Does it force that device to be created at startup?  I know that some of
the palm tools don't like the device not existing before they start.

Which Treo do you have?

I have a 650 (and a 600 prior to that) and it doesn't work too well in
Dapper :-(  Breezy was .. a Breeze ;-)  There's a bug in the current
2.6.15 kernel that affects USB and my Treo.

BTW thanks a lot for your notes on the Telstra wireless broadband
card...got me up and running in no time flat :-)


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Firewall Device Opinions

2006-07-17 Thread Simon Wong
On Wed, 2006-07-12 at 19:59 +1000, Christopher Vance wrote:
 Soekris (US) make the net4801, and PC-Engines (Switzerland) make
 the WRAP.  Both companies make a range of boards.
 
 Yawarra distributes both in Aus with a variety of cases available, and
 sells wireless cards which work well with them.  Paul is also a nice
 guy.  :-)

ah, thanks for the lead, this might be the answer to some of my Linux
prayers!

The net4801 looks like what I've been trying to find...

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Re: Firewall Device Opinions

2006-07-10 Thread Simon Wong
On Mon, 2006-07-10 at 10:02 +0200, Ben Buxton wrote:
 I've just installed an Asus device running OpenWRT to replace my home
 gateway box, and I'm very impressed.

Which device did you use Ben?

I've been wanting to try this out with the WRT54G but could only
purchase a newer version (v5) than was supported at the time.  This
makes it a bit hard to use on an ongoing basis.

Maybe Asus's device have a more stable hardware selection.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Firewall Device Opinions

2006-07-10 Thread Simon Wong
On Mon, 2006-07-10 at 17:45 +1000, Phil Scarratt wrote:
 2. Small form factor pc with some sort of solid state memory running linux.

The biggest problem I have come across looking at these is finding
something with 3 NICs without spending a fortune on a multiple interface
card from Intel.

Another issue seems to be that they are sold as whole units, you can't
replace many parts or even the MoBo without returning the whole unit.

-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Nagios - changing scheduled downtime

2006-07-10 Thread Simon Wong
I know there are some Nagios users out there so this one's for you.

How do you change a scheduled downtime period once you have scheduled
it?

I made the mistake of making some downtime too long but I can't find
where to change the time frame.

I don't want to have to delete the entry as I should be able to keep it
as a record.

System is Ubuntu Dapper.

For anyone else wondering what this is about...Nagios is a network
monitoring framework.  You can use it to monitor all sorts of services
or machine parameters via built-in and external plugins.



-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Sync contacts with Evolution

2006-06-29 Thread Simon Wong
I'm looking at a new mobile phone and wondering how I'm going to go with
synching with Evolution.

I've been happily using a Palm based PDA/phone and synching with
Evolution for a couple of years now.

Now I am interested in the Samsung D820, Nokia N70 or even a Blackberry
8700g.  These new phones seem to support SyncML but linux support seems
to be in transition from multisync to opensync.

Is anyone using any of these and synching their contacts successfully
with Evolution?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Dapper : slow disk access?

2006-06-22 Thread Simon Wong
On Fri, 2006-06-23 at 10:00 +1000, Phil Scarratt wrote:
 I stopped it from running altogether, which I believe means you have to 
 stop using locate (no big deal).

It shouldn't take too long to update anyway.  I find locate very useful
to have.


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] VPN server for Mac clients

2006-06-07 Thread Simon Wong
I'm just starting to look into providing a VPN server for some Mac OS X
10.3 clients.

Can anyone give any pointers on what is good to use on the server side
(Ubuntu dapper) for minimal client setup and ease of use for Mac
types ;-)

Access is primarily for accessing files remotely.

I am also looking at using FreeNX as that has a Mac OS X client but i'm
not sure about file transfers, I think it may be able to use Samba?

I guess it's even possible to simply use SSH port forwarding as a last
resort?

TIA



-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] VPN server for Mac clients

2006-06-07 Thread Simon Wong
On Wed, 2006-06-07 at 19:21 +1000, Jeff Waugh wrote:
 For minimal client setup, use PPTP, which is supported in OS X as of 10.2.
 You can use poptop on the server (pptpd in dapper). PPTP isn't the greatest

I've heard that PPTP has some serious flaws in the protocol.  It would
be good to avoid.

 of VPN protocols though, so you could look to things like IPSEC (supported
 as of 10.2) and OpenVPN (which you'll need additional client software for).

I had an ugly experience recently, failing to get IPsec and Racoon
working in Breezy.

OpenVPN would be good.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] VPN server for Mac clients

2006-06-07 Thread Simon Wong
On Wed, 2006-06-07 at 05:10 -0400, Crossfire wrote:
 I have litle trouble accessing OpenVPN services from my OSX systems.
 There is an excellent interface to openvpn on OSX called Tunnelblick.

ah ha, that looks like the missing piece of the puzzle, thanks!

 Beware of the version 3.0 beta however, it currently has a few nasty bugs.

OK, tah.

 Teach them how to use Fugu to copy from sftp. :)  I'm not sure if SMB 
 works properly over openvpn.  I think it does.  Safari, however, does not 
 for some strange reason.  Camino is not afflicted by this issue however.

I'll look into Fugu, sounds useful.

I'm down on Safari at the moment.  I used to think that it was good but
now that Firefox is available for Mac, I'm recommending that.

Thanks, for the pointers.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] VPN server for Mac clients

2006-06-07 Thread Simon Wong
On Wed, 2006-06-07 at 19:12 +1000, David Kempe wrote:
 I dunno about all these OSX things, but from memory OSX is just samba, 

yep

 and I know that works fine over openvpn. You need wins for reliable name 
 resolution though - same as any vpn. (unless you bridge the connections, 
 not route)

cool, will do if required but access is only to one server so
some /etc/hosts (or wherever it is) editing will be manageable.

Thanks!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Installing Ubuntu with no CD

2006-06-05 Thread Simon Wong
On Mon, 2006-06-05 at 13:07 +1000, Jeff Waugh wrote:
  The Ubuntu installation guides found at
  https://wiki.ubuntu.com/Installation reveal all. :-)
 
 Please don't look at these ones, they're out of date and recommend some
 really crazy stuff... The doc team are trying to push the good stuff out to
 help.ubuntu.com, but there are some fixes to do (I just found out that the
 dapper installation documentation is on doc.ubuntu.com).

Shouldn't someone comment the wiki if this is the case?  Perhaps just a
link to the good stuff?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-28 Thread Simon Wong
On Fri, 2006-05-26 at 14:57 +1000, John Clarke wrote:
 Do you have an answer for my second question: How can I find the source
 difference between two versions of a package?

Not sure exactly.  Does the source package page have any details?
There's the Debian/Ubuntu changelog but that will not give you an exact
diff.

I'd try going to the package's web page via packages.debian.org then
follow the links at the bottom of the page to the source packages etc
and see what you can find.

HTH


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] citrix scroll bars do not go back up

2006-05-28 Thread Simon Wong
On Fri, 2006-05-19 at 11:07 +1000, Ken Foskey wrote:
 I have citrix installed and it has grey scroll bars,  It uses the motif
 libraries.  The problem I am getting is that I can scroll down but not
 back up using the scroll bars.  I have seen this problem with another
 program as well, vnc I think.

In motif, it's left-click down, right-click up anywhere in the
scroll-bar area.

BTW, if you're using Citrix and are interested in the Linux equivalent
try out FreeNX the FOSS version of NX from NoMachine www.nomachine.com.
The X performance is quite amazing.  There's an Ubuntu Wiki page about
it too https://wiki.ubuntu.com/FreeNX


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-25 Thread Simon Wong
On Fri, 2006-05-19 at 18:39 +1000, John Clarke wrote:
 And if anyone can tell me how to downgrade my kernel package
 I'd be grateful.  I'd also like to know how to find the source
 difference between any two arbitrary package versions.

To install a specific version of a package do something like:

$ sudo apt-get --reinstall install linux-686=2.6.12.16.1

You'll need to pin that version though to stop it upgrading
automatically.

Do that through Synaptic with the force version menu item.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] USB to IDE adaptor

2006-05-17 Thread Simon Wong
On Wed, 2006-05-17 at 13:00 +1000, david wrote:
 I bought this gadget thinking that I could test HD's conveniently
 without having to install them internally. Unfortunately it's not
 automounting, so now I'm not sure what to do.

I usually end up looking in /var/log/messages or /var/log/syslog and see
what device has been assigned to the USB mass storage device
eg /dev/sda.  Then mount that manually with

sudo mount /dev/sda /mnt/sda

You'll have to make a directory as the mount point or use an empty
directory that already exists.

You may need to specify the partition.  Get a list with 

sudo fdisk -l /dev/sda

I wish I knew a better way to obtain the assigned device...let me know
if you find out...


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Dialup.

2006-05-15 Thread Simon Wong
On Mon, 2006-05-15 at 19:29 +1000, Paul Maloney wrote:
 Error kppp. You don't have sufficient permission to run /usr/sbin/pppd.
 Please make sure that kppp is owned by root and has the SUID bit set

In Debian/Ubuntu you have to be a member of the dialout group.  Perhaps
there's a similar group for SuSe?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] touchpad - can i turn it off?

2006-05-09 Thread Simon Wong
On Tue, 2006-05-09 at 23:27 +1000, david wrote:
 I've got a dell laptop whose touch pad has gone birko... otherwise it
 works fine. 
 
 Can I turn the touchpad off in X so that the nipple or a usb mouse still
 works?

You can turn it off in the BIOS iirc.

Otherwise, you'll probably have to edit the /etc/X11/xorg.conf file.

This looks useful as well:


$ apt-cache show tpconfig
Package: tpconfig
Priority: optional
Section: universe/utils
Installed-Size: 192
Maintainer: Osamu Aoki [EMAIL PROTECTED]
Architecture: i386
Version: 3.1.3-7
Replaces: synaptics
Depends: libc6 (= 2.3.4-1), debconf (= 0.5) | debconf-2.0
Filename: pool/universe/t/tpconfig/tpconfig_3.1.3-7_i386.deb
Size: 59328
MD5sum: 1e74cc83330f7b8a86b125745eb75a53
Description: configure touchpad devices
 This program can show or modify the configuration of several
 different kinds of touchpad devices, including the Synaptics
 TouchPad and the ALPS Glidepad/Stickpointer.
Bugs: mailto:[EMAIL PROTECTED]
Origin: Ubuntu



-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] pam ldap question

2006-05-08 Thread Simon Wong
On Mon, 2006-05-08 at 16:02 +1000, Alexander Samad wrote:
 my common-auth looks like
 auth [success=1 default=ignore] pam_unix.so nullok_secure
 auth required pam_ldap.so ignore_unknown_user use_first_pass
 auth required pam_permit.so

I doubt you want to use the permit module as it always succeeds.

 when I modfy my common-auth to look like this
 
 #auth [success=1 default=ignore] pam_unix.so nullok_secure
 auth required pam_ldap.so ignore_unknown_user use_first_pass
 auth required pam_permit.so

This link describes the various modules (I know, when you're having
trouble it barely seems to cover much at all!):

http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-6.html

I don't know whether the parameters [success=1 default=ignore] are
valid.  Look at /var/log/auth.log for pam logging.

 Q1) if pam_ldap.so fails because of the host command why does it still
 allow me in even though there is a pam_permit afterwards, shouldn't the
 required part fail the whole lookup 

Check out the documentation at
http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam-4.html#ss4.1

What you are thinking of is requisite so that a failure returns to the
app immediately.  Required is used where you require multiple modules to
be successful to allow the authentication to succeed.

 Q2) why when I uncomment the first line does it not use the pam_filter
 defined in pam_ldap.conf, my presumption is that pam_unix uses glibc and
 thus nsswitch - is this the catch it it access the ldap via glibc
 because of my nsswith setup above ?

No idea!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] A Sys Admin's worst nightmare

2006-04-22 Thread Simon Wong
On Fri, 2006-04-21 at 18:01 +1000, Matthew Hannigan wrote:
 When are you going to set the root password?  Are you sure
 no-one is going to put a key-logger on the keyboard cable?
 A camera over your shoulder?  Trojan /bin/login to mail/store
 the cleartext?

Initially it was setup prior to anyone having access to the machines.
Now it's all being done remotely over SSH.  I think that's the best that
you can do really.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Re: A Sys Admin's worst nightmare

2006-04-22 Thread Simon Wong
On Sat, 2006-04-22 at 08:14 +0800, [EMAIL PROTECTED] wrote:
 It's probably too late now, but the proponants are enthusiastic and there is 
 much contributed stuff that various internet cafe's have given.
 http://www.ltsp.org

I had looked into LTSP briefly but nothing jumped out about semi-thin
clients.  Maybe I didn't look hard enough.

 A point worth considering: how do you handle RJ45 customers.
 That seems to be a major business need.

We will have a wireless access point captive portal and that is really
infintely easier to handle than providing terminals.  I think that it's
the same for RJ45.

Sure people can use their own software/mahcines to attack but that's soo
much easier to protect against than users you have ALLOWED onto your PC.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Re: A Sys Admin's worst nightmare

2006-04-22 Thread Simon Wong
On Fri, 2006-04-21 at 18:37 +1000, David Kempe wrote:
 vlans are fine. but seriously in an internet cafe, just rebuild the 
 machines every day. imaging or scripted builds are possible. netbooting 
 the whole os makes rebuilding pretty easy. just depends on how you set 
 it up etc, but just don't consider the client oses worth keeping would 
 be my strategy. scales better too.

Thanks for your comments Dave.

I initially wanted to work things this way but had a lot of trouble with
scripted builds, particularly with scripting the custom configurations.

There's not a lot of in depth documentation about preseeding that I
could find.

I was trying to get base-config/early_command, base-config/late_command
and preseed/late_command to download and run a customisation script but
didn't manage to tame it.  Seemed to be a problem with the sub-shell
being killed off?

If you have any sources on this I'd love to see them.

Thanks for your thoughts.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] A Sys Admin's worst nightmare

2006-04-21 Thread Simon Wong
On Fri, 2006-04-21 at 13:31 +1000, Simon Bowden wrote:
 Getting the root password itself is quite separate from getting root 
 access (unless you've not cleaned up after that ubuntu bug which leaves it 

I know.  I guess it should be an impossible task since he doesn't want
to give away the money but just attract some clientelle, in a sick kind
of way.

I added in the read a file bit so it sounded more interesting.

 cleartext). Unless someone is regularly keying in the root password and 
 they're capturing that somehow, then they'll need to break they crypt to 
 get it... (right?). Which seems a little unfair.

I agree it sounds unfair but do we really want people to have much of a
chance?

Anyway, thanks for your comments, Simon.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] A Sys Admin's worst nightmare

2006-04-21 Thread Simon Wong
On Fri, 2006-04-21 at 15:38 +0930, Glen Turner wrote:
 Of course, once you've got root access you can change the root password :-)

Good point.

I guess the Rules are that you have to provide the original password.

It's funny how I have this feeling of wanting it to be fair for some
strange reason yet that is so obviously not want I want either!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] A Sys Admin's worst nightmare

2006-04-21 Thread Simon Wong
On Fri, 2006-04-21 at 15:49 +0930, Glen Turner wrote:
  It's funny how I have this feeling of wanting it to be fair for some
  strange reason yet that is so obviously not want I want either!
 
 Perhaps not the best thing to admit on a public mailing list :-)

Don't worry Glen, there's absolutely no way that I want ANYONE to be
able to do this.

That's probably the scariest thing personally, it's a public humiliation
for myself if someone does it relatively *easily*.

That's why i thought I'd try and garner some comments from the brains
trust...

Have a good weekend, I'll be busy :-)

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] A Sys Admin's worst nightmare

2006-04-21 Thread Simon Wong
On Fri, 2006-04-21 at 17:11 +1000, Matthew Hannigan wrote:
 As I don't think anyone is actually able to decrypt
 to get root's password, the only way is social engineering.

I am 99.9% sure but I'm still very cautious.

 And when the prize of a $1000 is worth many months average wages
 in some places...
 
 You can imagine someone bribing with hald the prize money
 or using it to setup blackmail or whatever ...

Someone already did on the Ubuntu-AU list :-)

I can assure you that my rep (and future business) is worth more than
that and I am the only one who knows it as well as the contents of the
file :-)

Blackmail starts becoming illegal and a matter for the police so we're
probably safe there...I hope!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Re: A Sys Admin's worst nightmare

2006-04-21 Thread Simon Wong
On Fri, 2006-04-21 at 16:36 +1000, Matthew Palmer wrote:
 They can pwn all of the machines in the shop and use them as a distributed
 cluster to brute-force the root password.

I have used separate VLANs on the switch to segregate all the PCs.
Although, I think the VLAN may not be impenetrable but I think its
adequate?

You can also only login once simultaneously within in the cafe.


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] A Sys Admin's worst nightmare

2006-04-20 Thread Simon Wong
I have setup an Internet Cafe for a mate of mine in a far away land.

In what seems like a nightmare I haven't woken up from yet, he is
proposing a crazy marketing stunt to pull in people to the Cafe.  A
$1000 reward for obtaining the root password off one of the PC
terminals!

I don't even want to repeat that, I'm just trying to think of it as the
ultimate vote of confidence ;-)

Outline of the system design is:
  * The PCs are all running Ubuntu Breezy (as is the server).
  * The local user accounts are supplied via NIS from a central
server (only user accts, all passwords disabled) as all
authentication is done via PAM radius, back to the central
server.  Yes, I know LDAP will be in v2.
  * IPsec secures communication between each PC and the server
  * There is an admin account with full root sudo access on each PC
and the root password has been set the same (doesn't seem like a
lot of point if admin has root sudo access anyway to have it
different - correct me if I'm off track here)
  * The PC admin/root passwords do not match those on the server

Rules of engagement
  * Must be on-site and present (no at/cron jobs)
  * Cannot boot off anything else (of course)
  * Cannot change boot parameters
  * No malicious activity (I know, what does this mean under these
circumstances?!)
  * They have to open a file only readable by root and report back
the contents plus the root password plus the method of attack
  * I am going to push for this to only be for 1-2 weeks tops

I'd love some feedback from people on what further preps I should
undertake.

I know that sounds very open ended but should I really trust the default
installation to be safe enough?

Of course, a public system like this is always open to naughtiness but
legitimising it is really scary.


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] sudo command over ssh - pasword echo

2006-04-19 Thread Simon Wong
I am wanting to do a command with sudo via ssh that requires a password
but the problem is that when I enter the password it is echoed to the
screen.

ie

ssh [EMAIL PROTECTED] sudo apt-get dist-upgrade
password: PASSWORD-HERE

Is there a way to stop this being echoed or a better way to do this?

TIA

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] sudo command over ssh - pasword echo

2006-04-19 Thread Simon Wong
On Thu, 2006-04-20 at 10:46 +1000, James Gray wrote:
 Add user to the sudo group on host and you wont be prompted for the 
 user's password anymore (at least that's how it works on Ubuntu and RHEL).  

yeah, I was scared of doing that for the reason of giving blanket root
sudo powers.

 Alternatively, login and run the commands interactively (but given you're 
 running commands directly from ssh, I'm assuming this is actually a script?).

yep, trying to script it :-)

 If you go with the sudo group idea, you may want to setup a special user 
 (updater or something) that can only run specific commands like apt-get 
 with sudo and even then, restrict the options that can be passed as well.

Good idea, that sounds like the way to go but I expect that means
setting up an SSH key with the specific command so that the updater
user can login via SSH and do only that one thing.  I want SSH logins
restricted to a specified list via AllowUsers after a recent
experience.

Thanks.

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] sudo command over ssh - pasword echo

2006-04-19 Thread Simon Wong
On Thu, 2006-04-20 at 10:52 +1000, Benno wrote:
 ssh [EMAIL PROTECTED] -t sudo ..
 
 The -t says allocate a TTY, which is what sudo needs to correctly read your
 password.

Thanks, I should have tried it before replying before.  I see that stops
the echoing, tah.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] sudo command over ssh - pasword echo

2006-04-19 Thread Simon Wong
On Thu, 2006-04-20 at 11:36 +1000, James Gray wrote:
 Just because a user can sudo doesn't mean they can sudo anything.  You 
 *can* restrict users to only being able to sudo a very specific set of 
 commands and then even restrict further to options passed to those commands.  

Yeah I know, it's one of those mornings where a growing list of
problems was making me avoid having to do more :-(

  yep, trying to script it :-)
 
 Bummer - not really an option then.

well, I don't have a big problem doing some of this manually as long as
I can streamline it a bit.  I'd like to keep good control over what's
happening with package updates especially.

 Double up the security: restrict allowed users AND use key-based auth. :)

Agreed, I've learnt a bit about that the hard way recently :-(


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] sudo command over ssh - pasword echo

2006-04-19 Thread Simon Wong
On Thu, 2006-04-20 at 11:48 +1000, Jamie Wilkinson wrote:
 Further to that, you can do some pretty neat (or unmaintainable :-) things
 with the authorized_keys file, e.g:
 
 from=*.example.org,environment=SNUH=bar,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command=/usr/sbin/sudo
  apt-get update ssh-dss = some comment about this key
 
 and then you can load a different key using ssh -i (IIRC) to change the
 behaviour of the machine at the other end when you log in :-)

I like the idea of different keys for different commands, that could be
very useful...thanks!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Linuxworld Success!

2006-04-06 Thread Simon Wong
On Sun, 2006-04-02 at 10:59 +1000, Pia Waugh wrote:
 - Simon Wong

To be honest I didn't really do anything in the end, though I did drop
in to visit I didn't want to miss anything upstairs after paying for a
flight and the conference too...sorry!

Having said that the stand was buzzing so it was obviosuly a
success...well done!

Congrats on a good Conference too but I'm really hanging out for
linux.con.au...

 Rock on Australia!

always!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] configuring console screen handling ?

2006-03-31 Thread Simon Wong
On Fri, 2006-03-31 at 22:56 +1000, Voytek Eymont wrote:
 'm'c runs fine, but, screen handling is somewhat screwed up, with some
 parts overwriting others.
 if I invoke it through ssh, screen handling seems correct.

Interestingly(?!), this happens with Ubuntu as well.

The console terminal settings don't seem to be correct these days.  If
you echo $TERM you'll see that it's of type linux whereas in an
xterm it's of type xterm and that does work properly with ncurses
which mc and say, aptitude use.

I tried export TERM=xterm and while the bordering is broken
(characters instead of graphical lines) the check boxes work better in
aptitude at least.  Give it a try.

 how do I fix it, to work properly through local concole login ?

well, I have no idea but I had meant to ask the wise ones on the list
(but you've beaten me to it)...


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] png

2006-03-20 Thread Simon Wong
On Tue, 2006-03-21 at 13:56 +1100, ashley maher wrote:
 All transparent backgrounds show up as grey boxes in IE.

I agree with James, just convert them all to GIF using convert from the
Imagemagick package.

Jdub recently emailed a nice little oneliner that could be modified
something like:

for i in *.png; do convert $i gifs/${i%png}gif; done

Oh, the power of the command line :-)

-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Login with radius authentication

2006-03-19 Thread Simon Wong
Here's on for the RADIUS gurus...

I'm trying to piggy back off a radius authentication setup that I have
for wireless access and use that for logging into some Ubuntu PC's.

Now, I have the authentication working so that password is checked and
accepted or rejected from the radius server via PAM on the central
server...yay!

Now, I want a home directory automatically created for the user so they
can actually login through gdm.

This fails because there's no group information for the user and I guess
no default shell either.

Combing the web is still not getting me a long way.

There's an entry in the FAQ
(http://wiki.freeradius.org/index.php/FreeRADIUS_Wiki:FAQ#How_do_I_use_PAM_with_FreeRADIUS.3F)

but I don't think that's going to work when querying another radius
server.

Could anyone give me a few tips or maybe explain if it isn't possible at
all?

Thanks for your thoughts.

-- 
Simon Wong
Dependable Technologies Pty Ltd
ABN 35 108 656 131

[EMAIL PROTECTED]  | www.dt.net.au
mob 0438 609 011 | ph +61 7 3367 0847 | fax +61 7 3009 0431

* Dependable IT Solutions *





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] Re: ubuntu/debian

2006-03-19 Thread Simon Wong
On Mon, 2006-03-20 at 13:27 +1100, Alan L Tyree wrote:
 Yes they can. Gizmo is **much** better than Skype on Windows (as Adam
 says, more colourful and has a neat map function). And, if you ever use
 PC - PSTN it is generally cheaper. Once you talk them into trying it,
 they will never go back to Skype.

I'll have to try it again.  I looked at it a littl ewhile back and it
seemed clunky, not a patch on Skype for a polished product.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Missing mouse cursor

2006-03-19 Thread Simon Wong
On Mon, 2006-03-20 at 13:46 +1100, Mary Gardiner wrote:
 turned on. But there's no arrow icon, no visual marking at all, of its
 location.

What if you try reapplying the cursor theme from the mouse preference?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Xscreensaver too advanced!

2006-03-14 Thread Simon Wong
On Tue, 2006-03-14 at 21:39 +1100, David Kempe wrote:
 did you include ubuntu-base?

um, no I have installed that now.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Xscreensaver too advanced!

2006-03-14 Thread Simon Wong
On Tue, 2006-03-14 at 21:43 +1100, Jeff Waugh wrote:
 Make sure you have ubuntu-standard and ubuntu-minimal installed.

Check!

P.S. Hope to catch up at LWA.  Will proba see Pia at the stand so will
ask your whereabouts ;-)

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Xscreensaver too advanced!

2006-03-14 Thread Simon Wong
On Tue, 2006-03-14 at 19:09 +1100, Erle Pereira wrote:
 sudo dpkg-reconfigure locales

Thanks, I will give that a go...


-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] Xscreensaver too advanced!

2006-03-13 Thread Simon Wong
What I want is a nice simple scrolling text screen saver for a simple PC
kiosk running X (dare i say marquee?!).

The only one vaguely close is Fontglide but I'm getting perl locale
errors running that on my minimal installation.

Can anyone suggest an alternative?


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Xscreensaver too advanced!

2006-03-13 Thread Simon Wong
On Tue, 2006-03-14 at 17:30 +1100, Erle Pereira wrote:
 How about Phosphor... You will make it look like the old 'green'
 plasma screens :)

Well, that gives me locale errors too!  In fact, any text screensaver
does.

Maybe I need to look at why that's a problem.  I'd prefer something that
just scrolled a single line of text though...



-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Xscreensaver too advanced!

2006-03-13 Thread Simon Wong
On Tue, 2006-03-14 at 17:47 +1100, Erle Pereira wrote:
 yup, I suggest thats where you start.  If you are getting locale errors
 for all, thats where you shoud be looking.

I actually didn't really want to hence my post.  Fontglide has multiple
lines of the same text scrolling on the screen and sometimes in other
non-latin fonts.

I just want a nice plain, single line of text Press any key to
start...

 Incidentaly, if I might ask, im curious as to which distribution? and
 locale? check some other programs and see for related errors, maybe a
 clue lies within there...

It's Ubuntu but I've only done a bare bones installation by a seed file.

I'm learning how to do that so I've probably left off something there
too!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Dates of Linuxworld

2006-03-02 Thread Simon Wong
On Wed, 2006-03-01 at 04:13 +1000, tuxta2 wrote:
 I'm from the Gold Coast, and while I am part of the Gold Coast LUG, I 
 feel more a part of SLUG since being on the mailing list. It would be 

I was a SLUG member when I was in Sydney and it's a fantastic group of
people.  It is and probably always will be my Linux home.

I'm heading down there for this.

I do work in the industry so it's quite worthwhile for networking,
learning at the tutorials and labs and of course catching up with
SLUGers.

 great to actually meet some of you guys in the flesh, and seeing John 
 Maddog Hall speak would be pretty cool too.

I saw him at linux.conf.au 2004 and he was great.  I'm interested in
seeing him talk to a business audience rather than the converted.


 Or maybe all Slug members could relocate to the Gold Coast so that I 
 could be apart of your fine group.

Good idea but what about Brissie?!


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Dates of Linuxworld

2006-03-02 Thread Simon Wong
On Thu, 2006-03-02 at 09:31 +1100, Pia Waugh wrote:
 friday. But seriously, you may as well save up your brownie points and come
 to linux.conf.au in Sydney in January, as it'll be much closer to the crowd

ALRIGHT!  I couldn't quite stretch NZ but I'm definately there for
Sydney!


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] Linuxworld stand for LA!

2006-03-02 Thread Simon Wong
On Sun, 2006-02-26 at 21:25 +1100, Pia Waugh wrote:
 b) stand at a stall for 3/2/1/0.5 days to hand out information about FOSS to
 people and explain about the community
 c) help decorate the stand and pull it down afterwards

I'm coming down from Brisbane with my family so time is tight so I don't
think I can spend much time at the stand, sorry.

I'll make sure I bring along my little fella so he can see Tux in real
life :-)

If there's anything I might be able to carry around and hand out to
random people I could probably do that.

Anyway, I'll drop in first opportunity to say hi and see what's
happening.

 Who's with me! :)

In spirit predominantly!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-26 Thread Simon Wong
On Sun, 2006-02-26 at 18:58 +1100, Robert Collins wrote:
 dd has a default read size of 1 byte. Try bs=4192 or something similar.

OK, I gave it a shot and it actually slowed it down to 15 minutes,
compared to netcat which took 5 minutes!

 It makes a /huge/ difference.

I'm guessing it might take some experimenting to find an optimum.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-25 Thread Simon Wong
On Sat, 2006-02-25 at 07:35 +1100, amanda wynne wrote:
 What if you use scp to get the compressed file to your end first.

This is an image of an NTFS partition (Windows XP) for a dual boot PC.

 I presume this is a regular backup. How much of that 8GB actually changes

No, I should have clarified what it was.

Thanks for your comments.


-- 
Simon Wong [EMAIL PROTECTED]

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


SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-25 Thread Simon Wong
The scenario:

Server:
Ubuntu Breezy
Linux software RAID5
SATAII HDDs
Gigabit LAN

Client:
Knoppix 3.8.2 (Live) (booted with knoppix 2 for cli)

Acer Veriton 3500
P4, 256MB RAM, 20GB HDD
100Mbit LAN

I have an image of an NTFS partition that I want to be able to write to
the client PC (snapshot or deployment to identical hardware).

More below, thanks to Glen...

On Fri, 2006-02-24 at 13:41 +0100, Glen Turner wrote:
 That first 1GB is the oddity.  It's just some buffers filling.  The
 results after that are the real results where buffering no
 longer gives an advantage and you see the true sustained (lack of)
 throughput.

OK.

 That would indicate that you're filling the bus to the hard disk,
 not the network between the CPUs.

yeah, the network throughput (iptraf) was only about 20Mbits, well below
what I was expecting for a Gigabit to 100Mbit connection.

 dd is writing a lot of empty blocks down to that disk.  You might
 want to consider using tar is the filesystem has a lot of empty
 space.

True, I should have elaborated that this was an NTFS partition image.

 That's a very handwaving question since you haven't told
 us anything about the computer.  The bottleneck obviously
 varies with the hardware.

Sorry, that's the sort of question you get from someone when they're
stuck :-)

 Now set the machine for maximum performance.  hdparm
 should report 32b UDMA, write caching, look ahead,
 APM disabled, fast AAM goodness. TCP buffers should

BINGO!  Thank-you, thank-you, thank-you!

I didn't think about DMA :-(  I assumed that Knoppix would turn on such
things for me!

(1) Turning on DMA (hdparm -d1 /dev/hda):

On the client:

# time ssh [EMAIL PROTECTED] cat client.img.gz | gunzip
 /dev/hda1

time reports a real time of 6 mins 1.8s (including ssh password entry)!

There's still a slow down at the 1GB mark for about 12 seconds, then
full speed transfer is reached for another 200MB or so, after that the
transfer trickles along until the end of the file.

So, if I get the partition image size as close to or below that 1GB mark
things are as fast as they're gonna get.

(2) Tuning with hdparm

So this time I tried:

# hdparm -d1 -c1 /dev/hda

time reported basically the same time within a few seconds.  Performance
was the same.


(3) Netcat

I thought I would try netcat.

Server:

$ cat image.img.gz | nc -l -p 5030 -q 10

Client:

# time nc serverip 5030 | gunzip  /dev/hda1

time reports real time of 5m18s.  Wow!

Buffers filled at around 1200MB, another burst at around 1400MB but then
crawling (270kbits/sec) to the end.

 Test.  Are you CPU-bound, I/O-bound or network bound
 (top, vmstat, etc)?  If you are, is that bound reasonable
 (eg, 90% of the sustained disk write rate)?

So, in the end definately disk I/O bound.

 You might want to try transferring from and to /dev/null
 to check network+CPU preformance.  Note that ssh has a special

Alrighty then, netcat to /dev/null.

time gives real 2m50s.

 performance issue -- it uses a 128MB window so the bandwidth-
 delay product needs to be under that for ssh to run at
 maximum speed.

Not sure where to tune that.  I'll put that aside for now.

 Now you're found the bottleneck, fix it.  Repeat test until
 one of the hard bounds is reached.  If possible, chose a better
 method to move away from that bound (eg, dd v tar; ssh v ftp of
 of a gpg-encrypted file).

hence netcat instead of ssh.

Since, this is now happening within a reasonable length of time here's
some more results:

1. Netcat + dd

nc serverip 5030 | gunzip | dd of=/dev/hda1

time gives real 5m52s.

So quite a bit slower than the redirect.

 Remember to record your results at each step.  Let us know
 the interesting numbers (eg, what is the real throughput
 of your particular drive).  There's surprisingly few real
 benchmarks out there, so you'll be helping a lot by posting
 your numbers.

Well, thanks so much for your help Glen.  I really appreciate your
teach a man to fish support :-)

I hope the above results are of use to anyone else needing to do the
same sort of thing.

I think I'll try and get that partition image size down (bye bye system
restore).

Of course, for linux clients this is so much easier (no activation
issues) so setting up the preseed file for Ubuntu is my next step.

Thanks again, have a great day!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-25 Thread Simon Wong
On Sun, 2006-02-26 at 14:19 +1100, Jamie Wilkinson wrote:
 I was going to suggest using netcat, or disabling compression in SSH,
 because you're sending over a gzipped image so you might have experienced
 some slowdown (maybe the 50s difference between ssh and netcat) due to SSH
 compression maybe actually increasing the amount of data transmitted.

perhaps one to try another time.

I also tried to use my external USB DVD drive with Knoppix to see how
fast it could do it over USB2 but I couldn't get my drive recognised.

Things are fast enough now to be manageable anyway now.

-- 
Simon Wong [EMAIL PROTECTED]

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


[SLUG] gunzip 1.3G file over ssh - crawling

2006-02-24 Thread Simon Wong
Hi guys!

I'm pulling a compressed (gzip -9) disk image over the LAN and
decompressing prior to writing to disk with dd.

The command I am using is

ssh [EMAIL PROTECTED] cat client.img.gz | gunzip | dd
of=/dev/hda1

This seems to work reasonably well until it gets somewhere around the 1G
mark at which point everything seems to have slowed down to a crawl.

The result is that it takes nearly as long as when I don't compress it
and just pull the whole 8G partition through ssh.

I'm guessing it's something to do with buffering of the data in gunzip
prior to it getting to dd that's blowing things up.

Anyone got any clues on how to do this more on the fly so all data is
passed through without any buffering?

Why is this sort of question always late on a Friday?

Oh well, have a good weekend!

-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] SMB network printer

2006-02-15 Thread Simon Wong
On Wed, 2006-02-15 at 14:20 +1100, Howard Lowndes wrote:
 I've used Lexmark Optra in several scenario and they are cinch to set up 

I agree totally.  I have used several models of these and they are
extremely good value for a networked printer with postscript support so
very easy to setup and use.


-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] DVD rom not working

2006-01-19 Thread Simon Wong
On Thu, 2006-01-19 at 16:13 +1100, Daniel Pottumati wrote:
 My DVD Rom isn't being detected, during boot up...I think!!? (please see 
 dmesg below)

What do you mean by All-in-one?

Though, you're right it doesn't appear to be recognised.

Did you install from that drive or is it a second drive?

Check that you have the kernel driver loaded (assuming it's an IDE
drive) with:

$ lsmod|grep ide_cd

ide_cd 41572  0
cdrom  39616  1 ide_cd
ide_core  138772  5
ide_scsi,ide_cd,ide_disk,ide_generic,piix

If not try loading that module (as root or sudo) with modprobe ide_cd.




-- 
Simon Wong [EMAIL PROTECTED]

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


Re: [SLUG] multicard readers in hoary

2006-01-12 Thread Simon Wong
On Wed, 2006-01-04 at 16:54 +1100, James wrote:
 Just wondering if anyone has been able get a multicard reader (SD MMC
 etc..) to automount in ubuntu hoary (on insertion of SD card)  Mounts
 fine manually but gnome-volume-manager doesn't seem to see it.

Mine kind of works!

I haven't played with for a little while as I've taken to plugging my
camera in directly and using PTP to transfer my photos.

Try inserting the card then connecting the card reader (assuming USB).
When you're done and have unmounted the device unplug the card reader.

HTH.


-- 
Simon Wong [EMAIL PROTECTED]

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


  1   2   3   4   5   >