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 www.xsellize.com)

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

prowl.sh 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.