[SLUG] auto get file out of email to folder then act on it

2009-11-14 Thread Ben Donohue

Hi all,

So far I have not found a solution in Google but maybe I'm not looking 
for the correct thing...?


A client of mine is getting a .zip file every day to his redhat postfix 
inbox.


I need to automatically get the zip file from the email and put it in a 
folder on another machine, then unzip it, then run a program on the 
extracted file.


There are probably a few pieces to this puzzle.

Is there such an animal that can auto extract a known email? (known from 
address, known file name)

What about auto moving it to another computer?
Also another utility that can launch a program on detecting a file 
arriving in a folder? (if a large file it would have to wait till it was 
all there I suppose)


Any pointers in the right direction would be appreciated.

Thanks,
Ben


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


Re: [SLUG] auto get file out of email to folder then act on it

2009-11-14 Thread James Polley
I haven't read deeply, but searching teh interweb for 'postfix extract  
attachments' seems to give useful pointers.







On 14/11/2009, at 22:22, Ben Donohue donoh...@icafe.com.au wrote:


Hi all,

So far I have not found a solution in Google but maybe I'm not  
looking for the correct thing...?


A client of mine is getting a .zip file every day to his redhat  
postfix inbox.


I need to automatically get the zip file from the email and put it  
in a folder on another machine, then unzip it, then run a program on  
the extracted file.


There are probably a few pieces to this puzzle.

Is there such an animal that can auto extract a known email? (known  
from address, known file name)

What about auto moving it to another computer?
Also another utility that can launch a program on detecting a file  
arriving in a folder? (if a large file it would have to wait till it  
was all there I suppose)


Any pointers in the right direction would be appreciated.

Thanks,
Ben


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

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


Re: [SLUG] auto get file out of email to folder then act on it

2009-11-14 Thread Amos Shapira
2009/11/14 Ben Donohue donoh...@icafe.com.au:
 Hi all,

 So far I have not found a solution in Google but maybe I'm not looking for
 the correct thing...?

 A client of mine is getting a .zip file every day to his redhat postfix
 inbox.

 I need to automatically get the zip file from the email and put it in a
 folder on another machine, then unzip it, then run a program on the
 extracted file.

General ideas on how I'd tackle such a task:

1. procmail to scan each incoming e-mail for the message you want to
process, then extracts the mail and runs the rest.
2. A script to scp the extracted attachment to the other machine using
a limited-access, no passphrase-protected, dedicated ssh key (limited
on the server side using the command= parameter in
.ssh/authorized_keys on the remote side - see man sshd section on
AUTHORIZED_KEYS FILE FORMAT.
3. Instead of scp you can also run something on the remote side which
will accept the file over the ssh connection, dump it into the remote
file then execute something else when the file is done.
4. Another option is to scp with one key then use another ssh key to
trigger a script to process the file remotely.

HTH,

--Amos
-- 
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] MythTV hardware advice sought

2009-11-14 Thread Jake Anderson

John Clarke wrote:

The box will be both back and front end and will be in the lounge room
in the cabinet with the amps, dvd player, etc, so it'll need to be
fairly quiet, especially when idle, but I don't want to hear much when
it's running either.  It's going to be inside a cabinet so doesn't have
to be stunningly beautiful, but I don't want it to look spectacularly
ugly either.  My budget is $2000.
  

you probably want a silverstone case. They have some nice ones.
I have one with a buttload of fans in it and its still quieter than the 
fish tank.



I want HDMI video to the TV (LCD, 1080p), either with audio or with a
separate analogue audio cable.  I also want digital audio (S/PDIF,
preferrably coax) to the amp for better quality stereo or 5.1 audio.
  
I haven't played with the audio side much yet so I cant help you too 
much there.

I'd also like the option of watching either live TV, recorded programs
or ripped DVDs on any other PC on the LAN, at the same time as a
different program is being watched on the TV and maybe another is being
recorded.
  

Myth will do that provided your not on a wireless network.
ripped dvd's etc will need to be shared over NFS or something as 
mythvideo doesn't use the backend to pass the files around.
you can run mythfrontend on the remote sites and it'll pick up the 
recorded tv though.

I believe that all of the hardware I'm thinking of is supported by Linux
and MythTV, and although I don't think the necessary drivers are
packaged in any distro yet (I'm thinking of using the latest Mythbuntu,
only because everything else is running Ubuntu), I do know where to get
them.  This is my list of hardware:

Asus P5Q SE2 motherboard
Intel Core2Duo E7600 3.06GHz 1066MHz FSB
2GB PC6400 DDR2 RAM
Asus GeForce GT220 1GB DDR3 video card
1.5GB Seagate 7200 RPM SATA HDD (ST31500341AS)
Lite-On SATA 240x8 DVD-RW drive
Silverstone LC10-E case
500W power supply
Logitech diNovo Mini bluetooth keyboard
  

Suggestions specifically.
If you want quiet, ditch the mbo, cpu and separate video card.
the new myth out uses vdpau to accelerate video on anything that 
supports it ( nvidia 9300 or so)
I am running an asus P5N7A-VM which has onboard 9300, HDMI, optical 
spdif etc.
Except for commercial flagging the atom based ion boards would do 
nicely, If you run the commflagging over night then one of those 
(especially a dual core) would probably do the whole job.



I have a quad core q6600 in it but I'd put one of the newer quad cores 
in it now but its also my everything server (it has 6gb of ram and is 
running 5 virtual machines).
keep the clock speed down and it'll keep the temps down. You could 
probably get away with a generic dual core. Although if you want to run 
commercial flagging while recording you will probably want one cpu per 
channel.

I wonder when VDPAU/CUDA enhanced commflagging will come out ;-

CPU load watching HDTV is ~5% or so with VDPAU doing all the work. It 
cant *quite* manage advanced 2x deinterlacing for HD footage, I 
overclocked it to 9400 speed as well with no change. So if you really 
really want to then perhaps an external card. They are typically really 
noisy though (relatively speaking).


The blue-ray's I have managed to watch @#...@#%@#$%$%^%(^%^$# DRM!!! GRRR!
have played fine on it again at 5% cpu for a 1080P movie (twilight).



and either of:

Hauppage Nova-T-500 MCE dual tuner (PCI)
Hauppage 2200 MCE dual tuner (PCI-E)
  
That's where your going to have the difficulties with drivers, I haven't 
looked but I'm not aware as yet of any PCI-E cards that are supported as 
yet out of the box.
There was a twin digital PCI-E tuner floating about with drivers real 
soon now as I recall.



I'll probably add a second tuner card once I've got it all up and
running.  We have occasionally wished for a third tuner in the past (not
often, there's not that much worth watching on TV), so I may as well
have four, just in case :-)
  
I'm thinking of getting some cheap USB tuners from deal extreme or 
similar, the people over on the shepherd list (the TV guide you will 
use) have had some good and some bad experiences with them.

Is this hardware powerful enough to do all that I want?  Do I need more
CPU grunt?  More RAM?  More hard drives?  Bigger PSU?  Anything else?
  

Way too much CPU ;-
Add another hdd or 2 because myth can use storage pools to reduce the 
seek load when recording and playing multiple streams and drives are so 
cheap these days.
I'd investigate the possibility of sticking / on a USB stick perhaps so 
that the spinning disks can shut down.
Not a big deal in a decent case, I have 4 or 5 drives in mine and I 
don't notice them.


The only other thing I can think of is remote control.  I'd like to be
able to control it from my Logitech Harmnony One remote, at least for
the most common tasks, so obviously I'll need some sort of IR receiver. 
From what I've read, the USB IrDA dongle I have is unlikely to 

[SLUG] Re: Newbie alert and Community Net cafe

2009-11-14 Thread John Nielsen
Hi Guyz
Thanks for the feedback...yes I will be setting up printing and I downloaded
a copy of mint from TAFE...I did as well look at E Live as it was in the
same article that I read in APC Mag...I'll be starting my try outs later in
the week.

No I've yet to do research on the hardware and if it'll work with Linux, my
approach was to put the distro's on flash drives and try it out and see what
happens.

What do you suggest Mike?

Yours in Wellness
John Nielsen CEO
BAMedia
Wellness Marketing and Event Management

ABN 32 710 132 20
bammeb...@gmail.com

+ 61  (0) 449 065 729 (Vodafone Cell Phone)

ICQ 70972773
Skype fuzzy8561

Excellence in Service Provision

www.awareconnections.com


On Sat, Nov 14, 2009 at 08:34, elliott-brennan elliottbren...@gmail.comwrote:

 Hi John,

 Linuxmint is dead simple. All the additional bits and pieces are installed
 at, well, install. I think all the major 'nix's are easy to use and install,
 it's really just multimedia and other bits that some people have trouble
 with. Mint makes this a non-issue, as do Mepis and others (names not readily
 available to my mind this early in the morning).

 Regards,

 Patrick


 John wrote:



 Subject: [SLUG] Newbie alert and Community Net cafe
 Hi all


 First of all I need recommendations on what would be good and simple to
 use for the average end user, I've been looking at
 http://www.linuxmint.com/ and and then https://wiki.ubuntu.com/Lubuntuhas 
 been recommended by a friend of mine.




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


[SLUG] Iptables / Bridged

2009-11-14 Thread Andrew Hendrik Bootsma

Hi Guys;

I recently setup a server with a main ip of x.x.x.x and a subnet which I
have bridged to an internal qtap0 adapter.
My current iptables setup however blocks all traffic of the subnet, and
when I allow the subnet;
iptables -I FORWARD -s 213.133.127.0/29 -j ACCEPT
iptables -I INPUT -s 213.133.127.0/29 -j ACCEPT
It still continues to block all traffic to it; any ideas? I am fairly
newbish with iptables.

Andrew Bootsma

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


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

2009-11-14 Thread Mike Andy
Oh my God I can't believe I didn't think of the video! I've been thinking it
was the ram because i recently changed it, then changed it back when i
noticed that it wouldn't work, what put me off though it that i can't boot
into Memtest86+, it'll just reboot the computer! I haven't tried it again
with the original RAM in yet though.

Basically the machine works fine with XP, *buntu 9.04, Slitaz, parted magic,
TRK, and a bunch of other distros, but any *buntu 9.10 just won't work. I'm
trying to get MythBuntu 9.10 on there but it's been oddly difficult.

Yeah my BIOS has a basic GUI like most others, there's no mouse in BIOS but
I considered that normal. The Motherboard (K8NS-Ultra 939) doesn't have any
on board video that could be interfering but i'll see if I can tweak any
video settings in BIOS anyway. There's probably AGP settings there to fiddle
with i guess.

I could pick up an old AGP Nvidia card off ebay if all else fails - I don't
know maybe i could try an alternate install too?

On Sun, Nov 15, 2009 at 10:44 AM, Grant Parnell gr...@arcadia.au.comwrote:

 Mike wrote:
 
  Ok I don't get this, I've got the same mobo on two machines and it'll
  work one but not the other. I've tried diff ram and hdds and still
  same result
 
  I try to boot into the live cd select English, then it will
  Load the glowing icon and dump me at a prompt that flashes, and it's
  got some instructions on how to use sudo I can see inbetween flashes
 
 Sounds like a video hardware fault to me. Have you tried other LIVE CD's
 and/or other operating systems? Does the BIOS have a GUI setup you can
 get to? (ie a SETUP that uses GUI mode and a mouse).


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


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

2009-11-14 Thread Grant Parnell
Mike wrote:

 Ok I don't get this, I've got the same mobo on two machines and it'll
 work one but not the other. I've tried diff ram and hdds and still
 same result

 I try to boot into the live cd select English, then it will
 Load the glowing icon and dump me at a prompt that flashes, and it's
 got some instructions on how to use sudo I can see inbetween flashes

Sounds like a video hardware fault to me. Have you tried other LIVE CD's
and/or other operating systems? Does the BIOS have a GUI setup you can
get to? (ie a SETUP that uses GUI mode and a mouse).

-- 
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 / Bridged

2009-11-14 Thread Grant Parnell
Andrew Hendrik Bootsma wrote:
 Hi Guys;

 I recently setup a server with a main ip of x.x.x.x and a subnet which I
 have bridged to an internal qtap0 adapter.
 My current iptables setup however blocks all traffic of the subnet, and
 when I allow the subnet;
 iptables -I FORWARD -s 213.133.127.0/29 -j ACCEPT
 iptables -I INPUT -s 213.133.127.0/29 -j ACCEPT
 It still continues to block all traffic to it; any ideas? I am fairly
 newbish with iptables.

 Andrew Bootsma

   
So I think you're saying you've got a virtual machine on qtap0 inside a
physical machine with for argument's sake eth0 as it's physical
interface. Is this what you're saying? Or is qtap0 something like an
ethernet going to some other internal LAN? Doesn't matter greatly for
this discussion.

[LAN/WAN/Internet?]
 |
 |
[[eth0 x.x.x.x]
[ |
[ |
[[qtap0] 213.133.127.y]
[
[physical machine]


Firstly... `cat /proc/sys/net/ipv4/ip_forward` should result in '1'
being displayed. If not you need to adjust your /etc/sysctl.conf and
then reload it with `sysctl -p`. This is the master switch that says
your host is actually a router as well.

Secondly, and I suppose you've already done this, check that you can
ping the virtual from the host and that you can ping the host from the
virtual. If not, get that working first.

Next if the outside world has an appropriate route to your subnet (it
appears to) that's great. If not you'll have to NAT it's traffic coming
out of eth0 with something like `iptables -t nat -A POSTROUTING -s
213.133.127.0/29 -j MASQUERADE` which will translate everything to your
x.x.x.x address somewhat defeat the purpose of the /29 net but it'll work.

Next failing that you'll have to supply more information like what
x.x.x.x is, your routing table, your iptables setup. `iptables -t filter
-L -n -v` and `iptables -t nat -L -n -v` and some examples of the output
of tcpdump on eth0 and qtap0 concurrently. EG `tcpdump -n -i eth0 icmp`
in one terminal and `tcpdump -n -i qtap0 icmp` in another terminal. Then
pings from your virtual machine to a known IP address (avoiding DNS lookup).

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

2009-11-14 Thread jam
On Saturday 14 November 2009 23:05:47 slug-requ...@slug.org.au wrote:
 Has anybody tamed the grub2 beast?

I uncovered a link joyrapture
http://ubuntuforums.org/showthread.php?t=1195275

James

 Whatever the technical merit, the lack of even basic documentation is
 overwhelming.

 I'm trying to: (https://wiki.ubuntu.com/BootToRAM)
 title RAM Session
 kernel /casper/vmlinuz boot=casper toram splash
 initrd /casper/initrd.gz

 by editing ...
 j...@dvr:~$ cat /etc/grub.d/40_custom
 #!/bin/sh
 exec tail -n +3 $0
 # This file provides an easy way to add custom menu entries.  Simply type
 the # menu entries you want to add after this comment.  Be careful not to
 change # the 'exec tail' line above.
 cat  EOF
 menuentry Root Ram {
    set root=(hd0,1)
    linux /casper/vmlinuz boot=casper toram splash

    initrd /casper/initrd.gz
 }
 EOF

 and running grub-mkconfig which yields NO CHANGES to /boot/grub/grub.cfg
 and the grub entry does not work when added by hand saying
 error: you need to load the kernel first

 I agree with him
 http://aronzak.wordpress.com/2008/09/30/stay-away-from-grub2/
 so 1 post then back to the sane world for me

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


[SLUG] workspace switcher names not saving

2009-11-14 Thread Grant Parnell
On my Ubuntu 8.10 laptop I can set the names of the 8 workspaces I use
by right clicking and selecting preferences. Apparently this is
dependent on not having Compiz and among other things the video card
driver, in my case Nvidia.

The names of the workspaces only appear to last as long as the session
does. They survive a suspend and resume ok but logging out and logging
back in changes them back to the default of Workspace 1 Workspace 2
... etc. I should point out that it DOES save my preference for the
number of workspaces and the number of rows they appear in. For now my
workaround is going by memory... ie Workspace 2 is my web window,
workspace 1 is my mail window.

Has anyone else had this experience and/or found a workaround? Does it
happen in 9.04? Does it happen in Fedora 11?
-- 
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 Beast

2009-11-14 Thread Mike Andy
This is something we're all going to be facing sooner or later. I'm a little
shocked to find that the old menu.lst (grub.cfg) is not to be manually
edited, though i'm also happy to find that the option has been replaced by
adding custom entries (/etc/grub.d/40_custom) if i'm understanding
everything right.

It might be good to have a sluglet or some kinda talk about Grub 2 at an
upcoming SLUG meeting? It's a little dry but none the less very important.

I'm sorry to hijack but this might be something we can all benefit from.

On Sun, Nov 15, 2009 at 12:28 PM, jam j...@tigger.ws wrote:

 On Saturday 14 November 2009 23:05:47 slug-requ...@slug.org.au wrote:
  Has anybody tamed the grub2 beast?

 I uncovered a link joyrapture
 http://ubuntuforums.org/showthread.php?t=1195275

 James

  Whatever the technical merit, the lack of even basic documentation is
  overwhelming.
 
  I'm trying to: (https://wiki.ubuntu.com/BootToRAM)
  title RAM Session
  kernel /casper/vmlinuz boot=casper toram splash
  initrd /casper/initrd.gz
 
  by editing ...
  j...@dvr:~$ cat /etc/grub.d/40_custom
  #!/bin/sh
  exec tail -n +3 $0
  # This file provides an easy way to add custom menu entries.  Simply type
  the # menu entries you want to add after this comment.  Be careful not to
  change # the 'exec tail' line above.
  cat  EOF
  menuentry Root Ram {
 set root=(hd0,1)
 linux /casper/vmlinuz boot=casper toram splash
 
 initrd /casper/initrd.gz
  }
  EOF
 
  and running grub-mkconfig which yields NO CHANGES to /boot/grub/grub.cfg
  and the grub entry does not work when added by hand saying
  error: you need to load the kernel first
 
  I agree with him
  http://aronzak.wordpress.com/2008/09/30/stay-away-from-grub2/
  so 1 post then back to the sane world for me

 --
 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] *buntu won't start X

2009-11-14 Thread peter
 Mike == Mike Andy beatbreake...@gmail.com writes:

Mike Oh my God I can't believe I didn't think of the video! I've been
Mike thinking it was the ram because i recently changed it, then
Mike changed it back when i noticed that it wouldn't work, what put
Mike me off though it that i can't boot into Memtest86+, it'll just
Mike reboot the computer! I haven't tried it again with the original
Mike RAM in yet though.

What does /var/log/Xorg.0.log say?


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


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

2009-11-14 Thread Mike Andy
When I boot the LiveCD I get that flashing command line screen and I can't
enter in anything so I'm unable to enter or read anything. I can't get to
log files. Even if i try to go directly to an install it'll do the same
thing.

On Sun, Nov 15, 2009 at 2:19 PM, pe...@chubb.wattle.id.au wrote:

  Mike == Mike Andy beatbreake...@gmail.com writes:

 Mike Oh my God I can't believe I didn't think of the video! I've been
 Mike thinking it was the ram because i recently changed it, then
 Mike changed it back when i noticed that it wouldn't work, what put
 Mike me off though it that i can't boot into Memtest86+, it'll just
 Mike reboot the computer! I haven't tried it again with the original
 Mike RAM in yet though.

 What does /var/log/Xorg.0.log say?


 Peter c

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


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

2009-11-14 Thread db
Try booting ubuntu with the safe graphics option. If you cannot find
that, boot normally then push control alt f1, to get to a terminal.


After doing that use an editor like nano to edit (nano)
/etc/X11/xorg.conf and under

(command sudo nano /etc/X11/xorg.conf to edit this file).

Section Device
 put Driver  vesa

so it will now look like:


   Section Device
 Driver vesa
  EndSection

After you do this type  sudo /etc/init.d/gdm stop  then type sudo
/etc/init.d/gdm start
Hopefully this will work for you.
-- 
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: Newbie alert and Community Net cafe

2009-11-14 Thread Mike Andy
Thanks for the info Patrick, It's the first time i've heard of a distro
asking for a donation too, though $10 really isn't that much I had mixed
feelings about the approach too. That said, I guess it's a good way to get
some contribution from people, I always intend on giving donations to the
projects I use but more often than not i just never get around to it. (I
hope that the simple merchandise I do buy goes to the project somehow
though)

John that's a good idea to get it booting on a USB, You could trying reading
stuff here http://www.pendrivelinux.com/ or unetbootin to get that
happening. I guess the main things you've got to worry about are going to be
VGA cards and printers. Maybe webcams too I don't know. These days if you do
your research in advance and buy the right product then lots of this stuff
can be simply plug and play - I know my Logitech webcam was but my Brother
printer sure as hell wasn't!


On Sun, Nov 15, 2009 at 6:26 AM, John Nielsen bammeb...@gmail.com wrote:

 Hi Guyz
 Thanks for the feedback...yes I will be setting up printing and I
 downloaded a copy of mint from TAFE...I did as well look at E Live as it was
 in the same article that I read in APC Mag...I'll be starting my try outs
 later in the week.

 No I've yet to do research on the hardware and if it'll work with Linux, my
 approach was to put the distro's on flash drives and try it out and see what
 happens.

 What do you suggest Mike?

 Yours in Wellness
 John Nielsen CEO
 BAMedia
 Wellness Marketing and Event Management

 ABN 32 710 132 20
 bammeb...@gmail.com

 + 61  (0) 449 065 729 (Vodafone Cell Phone)

 ICQ 70972773
 Skype fuzzy8561

 Excellence in Service Provision

 www.awareconnections.com



 On Sat, Nov 14, 2009 at 08:34, elliott-brennan 
 elliottbren...@gmail.comwrote:

 Hi John,

 Linuxmint is dead simple. All the additional bits and pieces are installed
 at, well, install. I think all the major 'nix's are easy to use and install,
 it's really just multimedia and other bits that some people have trouble
 with. Mint makes this a non-issue, as do Mepis and others (names not readily
 available to my mind this early in the morning).

 Regards,

 Patrick


 John wrote:



 Subject: [SLUG] Newbie alert and Community Net cafe
 Hi all


 First of all I need recommendations on what would be good and simple to
 use for the average end user, I've been looking at
 http://www.linuxmint.com/ and and then https://wiki.ubuntu.com/Lubuntuhas 
 been recommended by a friend of mine.





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


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

2009-11-14 Thread Peter Chubb
 Mike == Mike Andy beatbreake...@gmail.com writes:

Mike When I boot the LiveCD I get that flashing
Mike command line screen and I can't enter in anything so I'm unable
Mike to enter or read anything. I can't get to log files. Even if i
Mike try to go directly to an install it'll do the same thing.

Try ctrl-alt-f2 to get to a different virtual console.

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


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

2009-11-14 Thread Peter Chubb
 Mike == Mike Andy beatbreake...@gmail.com writes:

Mike When I boot the LiveCD I get that flashing command line screen
Mike and I can't enter in anything so I'm unable to enter or read
Mike anything. I can't get to log files. Even if i try to go directly
Mike to an install it'll do the same thing.

Another alternative is during boot, boot to single-user mode (you'll
get a text console).  Then you can try to run X and see what the
output is without all the rest of the system.

PeterC
-- 
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] MythTV hardware advice sought

2009-11-14 Thread John Clarke
On Sat, Nov 14, 2009 at 10:19:29AM +0800, jam wrote:

James,

Thanks for your reply.  I appreciate your input.

 Rather than 'saying you oughta ...' this is what I'd do and why ...
 
 a) I'd run back and front end of different machines

I'd thought of doing that, but because the TV and aerial cable are in
the same room, I'd still have to make this machine both fron and back
end, so I don't see any great benefit in having a remote back end.

 I do not do commercial flagging as each of the channels does there to
 thing to break it (eg 10 turns off the logo BEFORE and on AFTER  the ad
 breaks. 7 skips blank frame pre and post amble etc).

Well, they don't want you skipping ads so they'll do whatever they can
to make it hard for you.  I'm happy just to record the programs and skip
the ads manually during playback.  That's what we do now with the
(analogue) hard disc recorder.

 Wireless networking does work, but wired is much better here.

Same here.  Wireless is OK for the laptops, but I've found it to be not
reliable enough for the Squeezebox, so now it's on the wired LAN.  The
MthTV box will be in the same cabinet, so I'll hook it up to the wired
LAN too (I already have a second ethernet cable back to the switch).


Thanks,

John
-- 
There is no chance of a fuel explosion because the butane is not stored in a
conventional tank. Instead, the fuel is confined to the porous marrow of the
hamster's skeleton, made from our uniquely designed reticulated foam.
-- RealHamster.com
-- 
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] MythTV hardware advice sought

2009-11-14 Thread John Clarke
On Sun, Nov 15, 2009 at 02:05:37AM +1100, Jake Anderson wrote:

Jake,

Thanks for your input, much appreciated.

 you probably want a silverstone case. They have some nice ones.

They have some ugly ones too :-)  I was thinking of buying an LC10-E.

 I want HDMI video to the TV (LCD, 1080p), either with audio or with a
 separate analogue audio cable.  I also want digital audio (S/PDIF,
 preferrably coax) to the amp for better quality stereo or 5.1 audio.
   
 I haven't played with the audio side much yet so I cant help you too  
 much there.

I'm pretty sure I can do what I want, but I don't know whether I'll be
able to do audio over HDMI or whether I'll need to use analogue audio
for the TV.  It doesn't matter; if I want good quality sound I'm not
going to use the speakers in the TV.

 I'd also like the option of watching either live TV, recorded programs
 or ripped DVDs on any other PC on the LAN, at the same time as a
 different program is being watched on the TV and maybe another is being
 recorded.
   
 Myth will do that provided your not on a wireless network.

I have GigE.

 ripped dvd's etc will need to be shared over NFS or something as  

I can do that.  I already have both NFS and Samba running on other
machines.

 you can run mythfrontend on the remote sites and it'll pick up the  
 recorded tv though.

That's what I'd figured, but it's nice to have it confirmed.

 Suggestions specifically.
 If you want quiet, ditch the mbo, cpu and separate video card.
 the new myth out uses vdpau to accelerate video on anything that  
 supports it ( nvidia 9300 or so)

The card I'd picked, the GT220, supports VDPAU (VP4 including MPEG-4
decoding), but I'll have another look at motherboards and see if I can
find one with suitable graphics on-board.

 I have a quad core q6600 in it but I'd put one of the newer quad cores  
 in it now but its also my everything server (it has 6gb of ram and is  

This is going to be running MythTV only, so I figured a dual core would
be enough.

 Although if you want to run commercial flagging while recording you
 will probably want one cpu per channel.

We can live without that.  We're used to skipping ads manually, so as
long as I can configure a 30-sec skip button on the remote, it'll be
fine.

 CPU load watching HDTV is ~5% or so with VDPAU doing all the work. It  

That should keep the noise down :-)

 cant *quite* manage advanced 2x deinterlacing for HD footage, I  
 overclocked it to 9400 speed as well with no change. So if you really  

Wikipedia says that the GT220 is more powerful than the 9400, so it
might be able to handle it.  There's also the GT240 (rumoured to be
coming soon), which has even more grunt.

 The blue-ray's I have managed to watch @#...@#%@#$%$%^%(^%^$# DRM!!! GRRR!
 have played fine on it again at 5% cpu for a 1080P movie (twilight).

OK.  I hadn't thought much about Blu-Ray yet.  I agree with you about
the DRM though.

 Hauppage 2200 MCE dual tuner (PCI-E)
   
 That's where your going to have the difficulties with drivers, I haven't  
 looked but I'm not aware as yet of any PCI-E cards that are supported as  
 yet out of the box.

Not out of the box, but there is a driver for the 2200:

http://www.kernellabs.com/blog/?page_id=17
http://www.mythtv.org/pipermail/mythtv-users/2009-October/266154.html

 There was a twin digital PCI-E tuner floating about with drivers real  
 soon now as I recall.

That might have been the 2200/2250.

 I'm thinking of getting some cheap USB tuners from deal extreme or  
 similar, the people over on the shepherd list (the TV guide you will  
 use) have had some good and some bad experiences with them.

I have an AverMedia USB tuner, which does have Linux drivers, but
they're not very good.  The tuner works the first time I plug it into my
laptop, but if I remove it I have to reboot to use it again.  It also
occasionally causes the laptop to hang (needing a power reset) when it's
plugged in.

 Is this hardware powerful enough to do all that I want?  Do I need more
 CPU grunt?  More RAM?  More hard drives?  Bigger PSU?  Anything else?
   
 Way too much CPU ;-

Too much CPU is barely enough :-)

 Add another hdd or 2 because myth can use storage pools to reduce the  
 seek load when recording and playing multiple streams and drives are so  
 cheap these days.

More drives == more noise though, so if I do add more drives, maybe I
should configure a remote back-end?  The machine I'd do that on would
then need some drives replacing because all of its SATA ports are in
use, and there's not enough free space to store much TV.

 I'd investigate the possibility of sticking / on a USB stick perhaps so  
 that the spinning disks can shut down.

I'd thought of that too, but I'll get it up and running on a hard drive
first and see how much noise it makes.  Our analogue hard drive recorder
is barely audible with the cabinet door closed.  We can hear the drive
heads moving sometimes, but only when editing or deleting