Tuesday 23 September 2008

How to Install a Larger Hard Drive to a Softmodded Xbox With Ubuntu

Xbox details

Xbox from Ebay that has already been soft modded with Xbox Unleased dash board and XBMC as an application.

Installing a larger (300gb) hard drive

1) Get the Eeprom.bin file.

First download a copy of ConfigMagic Xbox v1-6 FINAL

http://btjunkie.org/torrent/ConfigMagic-Xbox-v1-6-FINAL/4324cfc48c7fb23b4043bea4e68b20b01f74b156b581

Double click on the ConfigMagic-Xbox_v1.6-FINAL.rar file and unpack to the desktop.

Using FileZill, FTP the ConfigMagic folder to the Xbox e:/apps folder.

Reboot the Xbox and go to Applications>ConfigMagic - go to the main menu and select the option to backup the Eeprom.

FTP back in to the Xbox and find the Eeprom.bin backup file in E: (NOTE: to see the file in FileZilla, may need to go to "server" from the option at the top of the screen, and then select "force show hidden files")

 2) Creating the xboxhdm boot disk, and then unlocking the xbox hard drive, cloning the xbox hard drive to the new (larger) hard drive and then locking both hard drives - follow this tutorial: http://forums.xbox-scene.com/index.php?s=&showtopic=650510&view=findpost&p=4275830

 Download xboxhdm from one of the torrent tracker sites, for example Pirate Bay

To create the boot disk in Ubuntu use the "make-iso-lin.sh" instead of the "make-iso-win.bat" script. I.e. open terminal and the navagate to the xboxhdm folder cd /home/[user-name]/Desktop/xboxhdm and then type the command ./make-iso-lin.sh and hit enter.

 3)Locking the hard drives

NOTE: remember to lock them both. i.e. follow the tutorial to the end and this will lock the xbox hard drive. Then unplug the xbox hard drive from the IDE cable, set the jumpers on the new hard drive to "master", then boot up from the boot disk again and follow the same locking process.

4) Formatting the new hard drive

Finally, plug the new hard drive in to the Xbox and go the the Unleashed "format" menu (password "Xbox" - case sensetive) and format all deives, F, G, X, Y, Z)

Done

To set XBMC as the default dash use this http://forums.xbox-scene.com/index.php?showtopic=220144 remeber to download and unpack XBMC to get the shortcuts from _tools.

Thursday 15 May 2008

Settings for Manually Mapping Synology DS207+ Shared Folder from the Neuros OSD

(OSD using the new Arizona software platform)
Both the Synology DS207+ and the Neuros OSD use open source software.

From the OSD's main menu Play.Browse>Network Shares>Map Network Share Manually>

Connection Type = Windows
Server Address = [DS207+ LAN IP address], example: 192.168.2.20
Share Location = [folder name], example: share-ds207
Share Name = [folder name], example: share-ds207

Accept

Input user details (check user privileges using the DS207+ admin pages)

Done

Sunday 27 April 2008

Stop My Asus Eee PC Going Into Standby Mode When the Lid is Closed

I'm sitting on the train happily surfing the web on my Asus Eee PC using the now free WiFi Internet, available since National Express took over from GNER a few months ago (available on the UK east cost service anyway!). I use my Eee PC as an MP3/OGG player. I decided I wanted to stop surfing the web, and read a book instead (a momentous decision), this meant closing the lid of the Eee and leaning my book on top of it for maximum comfort. However, this reminded me that when you close the lid, the Eee automatically goes in to standby mode - very annoying if you want to carry on listening to music!

So, since I'm on the train and have nothing else to do, I thought I would investigate how to stop it going in to standby mode when you close the lid, and instead do nothing except turn the screen off.

It took a few mins to find out how to do it...

First, open a terminal. In easy mode (default Linux setup) simply press the CTRL, ALT and T keys on your keyboard all at the same time. The default terminal program in Easy mode is named lxterm.
(Info from: http://wiki.eeeuser.com/howto:openaterminal)

Then, in the console type

sudo kwrite /etc/acpi/lidbtn.sh

You should see

#!/bin/sh
LID_STATE=`cat /proc/acpi/button/lid/LID/state | awk '{print $2 }'`if [ $LID_STATE = "closed" ] ; then
/etc/acpi/suspend2ram.sh
fi
exit 0


Replace with the code below and save the file.

#!/bin/sh
LID_STATE=`cat /proc/acpi/button/lid/LID/state | awk '{print $2 }'


if[$LID_STATE = "closed"]; then
# /etc/acpi/suspend2ram.sh
su user -c "DISPLAY=:0 xset dpms force suspend"
elif[$LID_STATE = "open"];then
su user -c "DISPLAY=:0 xset dpms force on"
fi


Close the lid to test. That's it.,
(Info from: http://wiki.eeeuser.com/close_lid_shutdown)

Thursday 3 January 2008

Network Printing Ubuntu and Synology DS-207+ Disk Station

Setting up a client computer (i.e. laptop or desktop) running Ubuntu Gusty to print over the home network with a Synology DS-207+ Disk Station as the print server.

There is also a very rough video version (my first ever video tutorial!) of this How To.

This part of the How To assumes that the network printer is pluged in to the DS-207+ and that the DS-207+'s IP address and Samba user name and password are know, and that the network is setup and ready to go. If this is not the case please see the sections below and the Synology DS-207+ setup CD and manual.

Setting up a Network Printer on a Client Computer Running the GNU/Linux Ubuntu Gutsy Operating System
- Open up the "Print Configuration" window - System>Administration>Printing

Open Print Configuration Window

- Click "New Printer".

Select Samba Printer

- In the add printer dialog window select "Windows Printer via SAMBA" and then in the "Samba Printer" input box type the IP address and printer designation (this is hard set by the DS-207+ and cannot be changed - "/usbprinter") of the DS-207+ (i.e. 192.168.2.20/usbprinter).
- Click "Authentication required" and add the user name and password and click "Verify".

Check Printer is Available

- Once the printer has been verified as being available click forward.
- On the next screen, select the printers manufacturer from the list and click forward.
- On the next screen, select the printer model from the list and click forward.

Choose Printer Name

- Choose a name for to identify the network printer by.

Print a Test Page

- Select the newly installed printer from the list on the left and click the "Print Test Page" button.

All being well the printer is installed correctly and will print a test page.

Get the Home Network DHCP Allocated IP Address of the DS-207+
- To login the network router open up Firefox and type the IP address 192.168.2.1 (the default IP Address for this particular Belkin router) into the address bar and then hit "Enter".
- Login to the router administrations pages using the admin user name and password.
- Click the option "DHCP Client List" in the left hand menu.
- The DS-207+ host name will be "null" and the IP address is indicated to the left.
NOTE: I have "hard set" the DS-207+'s IP address so itis outside the DHCP allocated addresses (it is 192.168.2.20) and will not change if the router is restarted. This is because the client computers have to know the correct IP address for the DS-207+ in order access the network printer. To hard set the IP address see the instructions below.
Get DS-207+ IP DHCP Address from the Network Router


Login to the DS-207+
- - To login the DS-207+ open up Firefox and type the IP the address 192.168.2.20 (this is the IP Address I have hard set the DS-207+ t0) into the address bar and then hit "Enter". Otherwise find the IP address of the DS-207+ as allocated by the routers DHCP server - see instructions above.
- Login to the DS-207+ administration pages using the admin user name and password.

"Hard Set" the DS-207+ Home Network IP Address
- To "hard set" the DS-207+ IP address login to its administration pages as above and then click the "System" option in the left hand menu.
- Input the IP address that you want making sure it is within the home networks range i.e. 192.168.2.2 - 192.168.2.xxx.

Hard Set the DS-207+ IP Address


Create a New Samba User

Check Pinter is Attached to the DS-207+

Wednesday 2 January 2008

Getting an HP LaserJet 1018 Printer Woirking With Gutsy 7.10

The HP LaserJet 1018 printer stopped working for some reason, although it had worked out-of-the-box. This thread on the Ubuntu forums sorted things tho, specifically using the code below.

$ wget http://foo2zjs.rkkda.com/firmware/sihp1018.tar.gz
$ tar xvzf sihp1018.tar.gz
$ arm2hpdl sihp1018.img > sihp1018.dl
$ sudo cp ./sihp1018.dl /usr/share/foo2zjs/firmware/sihp1018.dl
$ sudo cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/usb/lp0

Tuesday 1 January 2008

Re-Encoding AVI Using Mencoder

I had a home movie file that was not playing well on the Neuros OSD so I checked out how to re-encode it. Specifically I followed these instructions.

mencoder original-movie.avi -oac mp3lame -ovc xvid -xvidencopts pass=2:bitrate=800 -o new-version-of-movie.avi

Once re-encoded the movie worked perfectly.