Wednesday, December 16, 2009

About F#$%ing Time!!!

Finally it would seem, someone has had the same great idea I did. However the difference being this person knew how to implement the solution.

Tired of having to lug around a seperate USB key or hard drive when you always have your iPhone with you?

Well tire no more, as Dmytro of has come up with an ingenious way of allowing you to utilise your iPhone as a USB Mass Storage Device.

Getting USB Drive Beta3 is quite simple.

Obviously you will need a JailBroken iPhone.

Open cydia and add the following repo:

Once thats done, simply select USB Drive Beta 3 and install.
Restart the phone and BOOYA!!! USB Drive for iphone.

Now there are some issues with Windows Pc's that have itunes installed.

Not sure if this was solved in Beta 3 however in case its not here's a solution:

1. It works so well, that you can even set the partition to active , and boot your pc using your iphone (e.g. with grub4dos and several ISOs or Windows 7/Vista/XP setup)

2. In every Windows system, if you have iTunes installed, in order for the USB Mass Storage to work properly, you need to go to Device Manager, select the Apple Mobile usb driver, choose update driver , manuall, select from list, and select the secondary available driver "usb mass storage". This will make iphone dissappear from iTunes. Do the same using the other driver to bring it back.

Tuesday, November 24, 2009

Stop iPhone Worms - How to change password

Its amazing the number of people who dont know how or why they should change their default openssh password on their iPhone.

Why should you do it: Would you want someone unknown to yourself to be able to read every little piece of data stored on your phone? If you answer NO to this then thats reason enough to change the password.

Recently however a number of iPhone viruses or Worms as they are called have been created specifically that target users who havn't changed their root and mobile user passwords.

So heres the step to take to make the changes without needing to install mobileterminal on your phone as this seems to not function correctly when you have rockapp installed.

(Also posted these on

1. Load Putty (Ssh client - Google It)
2. Enter the IP address of your iPhone into putty and press Open.
3. You will be presented with a prompt that says Login:
4. Enter "root" as the username and "alpine" as the password
5. Once logged in type passwd
6. For OLD PASSWORD you enter alpine
7. New password can be what ever you like
Thats the root password changed.. now to change the user mobile password
8. Now type in passwd mobile and press Enter
9. Enter OLD PASSWORD as alpine
10. make the new password what ever you like.

Mac Users
1. Open mobile terminal
2. type ssh root@IPADDRESSOFIPHONE and press enter
3. Follow the above steps from 3 onwards.

Thursday, November 12, 2009

Server Tuning

So there comes a time when you want that extra lil bit of wizz from your server. For me that was tonight so i ran through a number of tweaks and have to say i'm quite happy with the results.

Here they are:

1. apt-get install sysv-rc-conf
run sysv-rc-conf and remove any uneeded services from starting with the computer

2. Remove uSplahs from loading... Its headless so dont need it to be pretty on boot

3. Enable concurrency - Got a dual core for a reason.

4. Lower number of tty's to 3 instead of 6

Monday, November 09, 2009

After scripts to move files and provide notification as it goes

This is the script that runs after each nzb download has occured.

#Mount SMB Share to send files to:
mount.cifs // /mnt/susdown -o user=xbmc,pass=xbmc

# Do the actual copying and notifications via growl/prowl
for f in /root/downloads/complete/*;do{
cp -v -R "$f" /mnt/susdown/
mumbles-send -g "Copy Success" "Copied file: $f">/dev/null;rm -r -f "$f"

mumbles-send -g "Deletion Confirmed" "Remove $f from Server">/dev/nul 2 "File Moved" "File: $f has been moved off the server to SusansPC";

#Unmount share as we dont need it taking up resources

umount /mnt/susdown
Just need to work out how to make the script act based on result codes. Then i could really check if this are being moved... although seems like alot of fucking around to achieve something so simple. This small script lets me play with most things I find interesting about integrating my phone with EVERYTHING i do in some way shape or form.

Prowl for Linx

WOOHOOO... Finally a way to get Growl messages out of my linux box and onto the iphone.
After playing with Mumbles I'm now able to get notifications on the MAC once files have been downloaded, par2'ed unpacked and moved to the main storage server.

Now I can get those same notifications on the iPhone.

Remember the link - Donate if you can... its well worth it.

Tuesday, October 20, 2009

Frikkin' file permission

I always thought I was pretty good at this linux stuff, there's usually nothing I can't work out how to do or at least get semi-working. But now I come to something thats screwing with my head. I know why its happening, I just can't be bothered screweing with it to fix it....

I use hellanzb now to download files, thats no big deal
When the file finishes the download it goes into a folder on the root partition.

Problem is, when its placed in the folder its not given high enough permissions so that its world readable as I want it to be.

I've currently taken the lazy way out and run a crontab every 15 mins to set this specific folder to chmod -R 777 every time it runs, but this isn't good enough
hellaNZB should be able to save th efile to this folder and not have me need to .......... wait a min.... add both to the same group and inherit premissions from that.... Well done me.. I'm a genious.... and yes i know.... one who can't spell worth shit.

Didn't work - Down with MythTV

After agnosing with the mySQL side of MythTV due to me wanting the database to bascially be the better mousetrap, I finally gave in, reinstalled the lot and tried to get a channel... guess what.. here in aus, for some reason the lil driver that could jsut can't get a dvb-t channel through the usb stick. Oh well strike that job from narnia, onwards and upwards to find something else for the little tyke to do.

Getting USB DVB TV to work FINALLY

So after aaaaaaaaaages of fiddling with this and that i finally got the usb tv card to appear in linux
Still dont know if it will get a channel, but i know at leas the device is installed.

# First we build v4l (Video 4 linux)
apt-get install mercurial
mkdir src
cd src
hg clone
cd v4l-dbv
make && sudo make install
sudo depmod -a

# Now we build the drivers/modules
cd ..
hg clone
cd ec168
make && sudo make install
sudo depmod -a
sudo modprobe dbv-usb-ec168

# Next we need some firmware for the card
sudo cp dvb-usb-ec168.fw /lib/firmware
sudo depmod -a

restart the pc as sudo /etc/init.d/udev restart caused things to error.
And boom.. working usbtv adapter.

The Lion, The Witch, and the.. .... god damn it!!!

Why god damn I hear you ask??? (Yeah i know, no bugger reads this so i dont hear crap) well I finally got around to installing my server into the wardrobe.
I ended up calling it poison - as in it will no doubt poison my time while i constantly play with it. However considering its new home, i should have called in narnia... bugger it thats what i'll do.. pls hold.....

right after a quick hostname change and an update to dns/dhcp servers all is now good.

So onward and upwards.

So far I have installed the following

  • HellaNZB <-- Usenet NZB downloader
  • ZussaWeb <-- Web interface to HellaNZB
  • Transmission <-- Torrent downloader
  • WebMin <-- Figured I'd whack it on and play with it
  • Asterisk <-- Who doesn't want a home PABX
  • The drivers for my usbtv adapter <-- What a pain in the ass this was to install hence the guide to come
  • Apache Web Server
  • PHP
  • MySQL
  • OpenSSH <-- My favorite kind of access
  • NoMachine NX Server <-- Remote access kind of like vnc, however its ssh so again i like it.. NERD!!!
So how did I go about installing all this, most if not all were easy as a quick apt-get so for fullness here goes.
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install webmin transmission hellanzb asterisk openssh-server screen mysql-server apache2 mythtv-backend samba

I didn't really do the dist-upgrade, however if i ever come back to this in the future it probably wont hurt to do.

Go make a cup o coffee while that all installs and come back a little later.

Sunday, September 13, 2009

iPhone 3.1 Jailbreak - Comming Soon

Still waiting on the frikkin 3.1 iPhone 3G update. Have updated to iTunes 9 which seemingly allows me to rearrange springboards icons. I'm not about to start using it yet though, have to wait for the Jailbreak before i'm upgrading to 3.1. No point upgrading to loose all the apps I use very day.

Sunday, September 06, 2009

Time to build a NAS

So I have a heap o computer crap laying around the house, a good few hard drives, none of which are used for anything any more. Perhaps its time I take stock of everything I have, Install freeNAS onto the fastest box I have, give it as much ram as possible and go from there.


Although whatever NAS solution I do use it needs to fill the following roles all in one:

  • WebServer
  • SSH Server
  • DNS Server
  • Kai Server (For playing XBOX, 360 and PSP online without Live accounts)
  • Some form of network monitoring
  • Security Camera Monitoring
  • Mumbles Support (OS X Growl notifications) - This one send notifications to my iPhone
  • Obviously FileSharing
  • Print Server
  • Fax2Email wouldn't hurt
  • CallerID Announcment to xbmc would also be nice
  • Asterisk Server - Although this might go into its own box
  • Torrent Server (Transmission will suffice here)

So thats the list - Time to find the possibilities.

iPhone Jailbreak - No Signal

What a pain in the arse this is! I've finally got Pwnage Tool running on my mac, and i went through the steps of creating what I think is a fantastic ipsw file containing not only the jailbreak software but a 1GB sys partition and some apps that I need installed from the get go such as OpenSSH and OpenSSL. The creation of said firmware worked without a problem, installed on the phone without a problem... Now I find the phone has No Signal. Testing this theory by calling my phone... VoiceMail... DAMN IT!!!!!!

So whats the problem all of a sudden... one frikkin tick box in PwnageTool I inadvertantly forgot to untick.

Theres an active phone option that I dont need to have ticked and well I left it ticked. So this morning I fired up the mac, re-created the firmware and when I goes home at lunch time i'll install and see what happens.

Peace Out!