Wednesday, June 18, 2008

Samba auto mount

This page explains how to configure samba automount.

http://ubuntuforums.org/showthread.php?t=637258

Wednesday, November 28, 2007

Rsync config for Readynas backups

Ubuntu 7.04

rsyncd.conf

Use rsync rsync://172.16.1.31/ to list rsync 'shares'

steve@outside2:~$ more /etc/rsyncd.conf
max connections = 2
log file = /var/log/rsync.log
timeout = 10
use chroot = no
max connections = 5

[home]
comment = Test Share
# path = /home/steve/TestShare
path = /home
read only = no
list = yes
strict modes = false
uid = steve
gid = steve
auth users = steve
secrets file = /etc/rsyncd.secret


[nas-DocsSG]
comment = lacie NAS SG my docs
strict modes = false
path = /media/nas/StevesDocs
read only = no
list = yes
uid = nobody
max connections = 5
gid = nogroup
# auth users = steve
# secrets file = /etc/rsyncd.secret

[nas-DocsLG]
strict modes = false
path = /media/nas/LaurensDocs
read only = no
list = yes
uid = nobody
max connections = 5
gid = nogroup


[nas-media]
comment = lacie NAS media
strict modes = false
path = /media/nas/Media
read only = no
list = yes
strict modes = false
uid = steve
gid = steve
auth users = steve
secrets file = /etc/rsyncd.secret

Thursday, October 12, 2006

Media Center Remote

Sometimes pressing the green button on the remote doesn't start media center.

make sure the Application Management service is auto (and started)

When Media Center is not running, these buttons are supposed to be detected
by ehtray.exe, which should always be running. Use Task Manager to check
whether ehtray.exe is running. If not, make sure the following value is in
the registry:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"ehTray"="C:\windows\ehome\ehtray.exe"




To maximise mce using the remote

>-----Original Message-----
>1) Press the Green Button to go back to the main Windows
XP Media Center
>Edition screen.
>2) Make sure the My TV button is highlighted
>3) Press the up arrow button on the remote.
>4) Press the right arrow button on the remote once to

Tuesday, September 26, 2006

iPod

code 1000

Video formats

H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per sec., Baseline Low-Complexity Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats

H.264 video, up to 768 Kbps, 320 by 240 pixels, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats

MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per sec., Simple Profile with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats

Saturday, September 02, 2006

XP tips and tricks

Use CTRL-N to create a new folder in explorer

1) Download and install AutoHotKey (you should anyway, because it's brilliant).

2) Download one our our AutoHotKey.ini files. There are two. The first simply creates the HotKey Ctrl-N to create a new folder in Explorer/Folder or on the Desktop. For this to work, you need to make sure that the folder itself or the desktop is active, not a file in or on it. Simply left click in clear space to make sure it is. The second has this hotkey, but it also has another Ctrl-F which will open up the Folderbox Explorer extension. Obviously you need to have this installed, but we created this version because that utility appears to have been very popular too and we missed the ability to open/close it with a keyboard shortcut. Ctrl-F normally opens the search bar in Windows, but given Ctrl-E also does this in Windows, we decided to override it. If you don’t want this, just open the INI file in a text editor (looking for a replacement for Notepad? Don't forget our bonus tutorial) and change the hotkey.


Here's the script
$^n:: ; Ctrl+N hotkey
WinGetClass, active_class, A
if active_class in Progman
{
Send, {SHIFT}+{F10}w{enter}
return
}
else if active_class in ExploreWClass,CabinetWClass
{
Send, !fw{enter}
return
}
else ; For all other window types, send a normal Control-N.
{
Send ^n
return
}

Wednesday, August 30, 2006

external SATA drive

Thread discusing this link

http://groups.google.co.uk/group/microsoft.public.windowsxp.hardware/browse_frm/thread/bbf18d71d6a3ad6/25b6dca47116f848?lnk=st&q=external+sata&rnum=2&hl=en#25b6dca47116f848

Tuesday, July 25, 2006

Hibernate/standby problems

Standby problem
When resuming from standby to perform a recording there's no screen output.

Hibernate
Occasionally when resuming from hibernate I get the 'hibernate file is corrupt' but if I choose resume the PC boots ok so the image can't be corrupt.


Error (check that it's correct)

"The last attempt to restart the system from its previous location
failed. Attempt to restart again:

Delete restoration data and proceed to system boot menu
Continue with system restart"

12085339988

Phoned on 25 July and spoke to *** on Team 12 for 32 minutes.

Cause
display driver faulty
BIOS update required


I'm after some fellow Artisan/DHE2000 owners to perform a little test for me so I can establish if there's a 'fault' with my system or if it's a general 'feature' that affects everyone!

Generally I'm really pleased with my DHE2000, it uses far less of my time than my previous MythTV install!

I am having an annoying problem when using standby. If the system is in standby and it wakes itself up to perform a recording there's no s-video output. The PC is up as it does record the programme and I can access shared folders. It's connected to my CRT TV using S-Video and the display is blank, if I RDP to the PC I get disconnected after entering my username and password. If I VNC to the PC I do get a connection but just a black screen, although I can see the cursor. Interesting if I press any key on the wireless keyboard the screen comes back to life. If I'm not at home I have to wait for the recording to finish and the system enter standby then if I wake it up manually (using a WOL client) it's fine again - so I don't need a reboot to get the s-video working again.

I do not get this problem when the PC is connected to a PC Monitor so it's only affecting S-Video operation. I don't have a screen saver configured nor do I have to enter my password when the system resumes.

If I use hibernate instead of standby this problem goes away, but using hibernate raises a different issue! Which means the PC won't boot (about every 10 hibernates) so it's worse.

Anyway I'd appreciate hearing from anyone else that owns one of these if you get the same problems?

My model has the Intel 915 mobo, the BTC wireless keyboard and ATI (MSI) X300 gfx card.

The system is completely up to date with MS patches and running the latest ATI Catalyst drivers. I've enabled the force TV detection in the Catalyst CC but that didn't help.

Wednesday, July 19, 2006

Video conversion software

http://www.erightsoft.com/SUPER.html

Sunday, July 16, 2006

IIS authentication

http://marc.theaimsgroup.com/?l=tomcat-user&m=106293430225790&w=2

I just can't get the priavte key authentication working.

The next best thing is password protection but I want to limit the access to a single windows account rather than any account. I can then reset the password on a daily basis.

Currently the best solution seems to be IISPassword which will limit to a single account.

Then use SelfSSL to generate a certificate and restrict to SSL connections.

Wednesday, July 05, 2006

Podcasts

AVForums
Media center show
PCW link

Tuesday, July 04, 2006

Wake On Lan

These settings work for standby and hibernate

http://www.depicus.com/wake-on-lan/woli.aspx
00-40-ca-a8-27-a6
255.255.255.255
9

Tuesday, June 27, 2006

iTunes backup and restore

http://docs.info.apple.com/article.html?artnum=93313

Wednesday, June 07, 2006

Media Centre re-install

It seems standby/resume won't work properly unless the MS keyboard driver is installed from BTC! This adds a new HID device called Toaster something or other.
No matter what I tried I could not wake the pc using the keyboard or magic packet but installing this driver seemed to fix it.

The next problem was lack of mouse after rdp session, to get around this I had to uninstall the keymaestro program. This fixes the no mouse problem but means a few of the hot keys don't work (ie DVD Eject) but I will have to live with that.

Still have the blank screen when the pc resumes to record a programme but that must be a graphics driver problem so I've raised a call with ATI. ATI insist the problem is caused by the TV tuner! So I've raised a call with Hauppauge.

Hauppauge MCE forum http://www.hauppauge.co.uk/board/showthread.php?t=5088

Keyboard driver from http://www.emprex.com/




Necessary
Power DVD (DVD codec)
sonicencoders.msi (to burn media to CD)
NTP Client
dyndns updater
itunes - without realplayer (installed in C:\applications\itunes)
coolmon?
webguide3
musicbridge
Slawdog smart shutdown
Speedfan
Quicktime alternative here's the link

NTP client just won't work in MCE
net time /setsntp:ntp.blueyonder.co.uk
net stop w32time
net start w32time
then to change the poll frenquency
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient
The key is "SpecialPollInterval". The value data is the time in seconds between polls.

Friday, May 26, 2006

General Linux stuff

To find out disk space usage
df
sudo du -sk /


NAT/Firewall
taken from Ubuntu wiki


edit /etc/iptables.up.rules
and add line along the lines of
-A PREROUTING -s 195.188.208.0/255.255.255.0 -i eth1 -p tcp -m tcp --dport 10000 -j DNAT --to-destination 172.16.0.10:3389
This will allow 195... to access port 10000 which nat's to .10 on 3389

then sudo iptables-restore < /etc/iptables.up.rules
to load new rule.

Ubuntu iptables howto
nice frontend for iptables (command line)

Saturday, May 20, 2006

Media Centre tips and tricks

System monitor (Temperature, fans etc)
Mother Board Monitor

Boot performance
BootVis MS tool to monitor boot times


RDP

Slawdog for standy via RDP

XP Auto logon

Modem Caller ID
http://www.modem-help.co.uk/help/clid.html
http://www.ainslie.org.uk/callerid/cli_faq.htm
YAC http://www.informit.com/articles/article.asp?p=435861&rl=1

Wednesday, May 17, 2006

iTunes and MCE (WMP) synchronising

iTunes is primary music organisation software. MCE uses WMP library.

keep all music in media\music and point wmp and itunes to that folder.

Use musicbridge to sync itunes library to wmp.

Tuesday, May 16, 2006

Home Backup policy

MCE
1: system state backup to lacie
2: robocopy media from MCE to lacie so linux boxes can access/share -
3: Backup Kits to DVD and not lacie.
4: Don't backup Recorded TV

Linux (Mythtv)
1: Backup mysql (cacti & MythTV) to lacie
2: that's it!

Plans
Upgrade MythTV box to Deskpro with large HD, then store recorded TV locally to free up lacie.

Installed Firefox Extensions

Firefox Extension Backup Extension (FEBE)

https://addons.mozilla.org/firefox/2109/

FEBE allows you to quickly and easily backup your Firefox extensions. In fact, it goes beyond just backing up -- It will actually rebuild your extensions individually into installable .xpi files. Now you can easily synchronize your office and home browsers.

FEBE backs up your extensions, themes, and (optionally) your bookmarks, preferences and cookies.

Bookmark Sync and Sort


https://addons.mozilla.org/firefox/2367/

Bookmark Sync and Sort is a Mozilla Firefox extension that lets you connect to an FTP/WebDAV server and synchronize your bookmarks that are stored in an XML file. Setup is easy; just write in your FTP/WebDAV server address, username, password and a name for the XML file (by default called xbel.xml). To start, press Upload to create the file on the server and set if you want to automatically download the file on startup or sort and upload it when you close your browser. Based off of DougB's Bookmark Synchronizer 3 and Torisugari's Sort Bookmarks

Sunday, May 14, 2006

Surround Sound

Replace current DAV-S400 with speaker only solution as I no longer need the DVD player.

Logitech X-530 come out well in reviews but I want something with an optical input....

Thursday, May 11, 2006

Wake on LAN

Need to ensure NIC is configured to bring PC out of standby

http://www.annoyances.org/exec/show/article04-101

Now working just needed to disable the arp/ping wake up feature under the nic properties. Now will only wake with a magic packet.

Gui to wake over the internet
http://www.ezlan.net/WOL.html
00:40:ca:a8:27:a6

You can't send a PC into standy when RDP'd. This 3rd party app will get around that
http://www.slawdog.com/products/smartsd/index.aspx

Wednesday, May 10, 2006

email back plans

1: Use gmail as primary account
2: Forward email sent to blueyonder to gmail so all mail in one place
3: forward gmail to outlook for backup/archive

Add gmail rule so there isn't an email forwarding loop. Forward BY to GM add rule so mail from SG-BY isn't sent back to outlook.

Mail to Outlook(SGodfrey) forward to GM (NOT gmail-backup account!!!) - done
Mail to GM forward to Outlook(gmail-backup) - done

Configure PPC to retrieve POP from gmail while docked? Possible? IMAP yes not sure about pop3.