Prerequisites: (tip: google is your friend)
1. You need to Jailbreak your iPhone 3G/3GS
2. You need to enable SSH on your iPhone (OpenSSH in Cydia)
3. You need a way to connect to your iPhone over wifi via SSH (i.e. Putty/WinSCP for Windows)
4. You need to install BossPref from Cydia
Installation:
1. Copy:
- the three files ending with .sh to /Applications/BossPrefs.app/scripts
- Romophobic to /Applications/BossPrefs.app/services
- com.paintoad.roaming.plist to /Library/LaunchDaemons
2. Type the following commands in a terminal window (i.e Putty) one after the other – If no error message appears, it is sucessful:
chown mobile:wheel /Applications/BossPrefs.app/scripts/romophobic.sh
chmod 755 /Applications/BossPrefs.app/scripts/romophobic.sh
chown mobile:wheel /Applications/BossPrefs.app/scripts/romophobic_start.sh
chmod 755 /Applications/BossPrefs.app/scripts/romophobic_start.sh
chown mobile:wheel /Applications/BossPrefs.app/scripts/romophobic_stop.sh
chmod 755 /Applications/BossPrefs.app/scripts/romophobic_stop.sh
chown mobile:wheel /Applications/BossPrefs.app/services/Romophobic
chmod 666 /Applications/BossPrefs.app/services/Romophobic
chmod 644 /Library/LaunchDaemons/com.paintoad.roaming.plist
chown root:wheel /Library/LaunchDaemons/com.paintoad.roaming.plist
launchctl load /Library/LaunchDaemons/com.paintoad.roaming.plist
reboot
Once the phone has rebooted you're ready to go. Test by turn 3G off and access anything on the web.