The Crane Has Landed


XBMC redirect in Ubuntu
July 12, 2009, 5:34 pm
Filed under: Uncategorized

After installing the fantastic iPhone skin for XBMC on my Ubuntu machine, annoyingly, http://xbox:8080/iphone doesn’t work because XBMC’s web server expects default.asp to be the first page to go to, and when that’s not there (‘coz the skin uses index.html), it errors out.  And Response.Redirect isn’t known by the server.

Not to worry – the following default.asp page will redirect to the index.html page in less than a second:

iPhone control loading...

Loading...



Great link for command line SAMBA
July 12, 2009, 9:06 am
Filed under: Development, Tips, Tools, Ubuntu

I’m just discovering the usefulness of smbclient and this link has a great summary of the commands you can fire through this tool from the terminal.

Probably the most common one I need to do is to use the tarmode to copy whole folders down, like so:


tarmode
lcd /tmp #this switches the local directory
recurse
prompt
mget pdf995/ #this recurses and tars the pdf995 remote directory and puts it in /tmp on the client