Anyone who has upgraded their iPhone to the 2.0 firmware, or recently got a iPhone 3G may find this interesting.
Apple recently released the "iPhone Configuration Web Utility" for both Mac OS X and Windows but because it's written in ruby, runs natively in Linux.
Here's how I got it working:
1. I copied downloaded and installed the iPhone Configuration Web Utility for Windows and installed it on a Windows laptop
2. I copied the "source" (basically the entire folder) C:\Program Files\Apple\iPhone Configuration Web Utility
# chmod +x start
(start is a bash script, why it's in the Windows version is beyond me)
3. Executed "start" a few more times:
# ./start
Directory '/var/log/iPhoneConfigurationWebUtility' doesn't exist.
# mkdir -p /var/log/iPhoneConfigurationWebUtility
# ./start
Directory '/var/db/iPhoneConfigurationWebUtility' doesn't exist.
# mkdir -p /var/db/iPhoneConfigurationWebUtility
# ./start
ln: creating symbolic link `vardb/iPhoneConfigurationWebUtility': File exists
# rm -rf vardb
# ./start
ln: creating symbolic link `log/iPhoneConfigurationWebUtility': File exists
# rm -rf log
# ./start
./start: line 41: rake: command not found
# emerge -av rake (which will install ruby-gems and ruby)
# ./start
(in /home/brian/Desktop/iPhone)
rake aborted!
no such file to load -- sqlite3
(See full trace by running task with --trace)
# emerge -av sqlite3-ruby
# ./start
./start
(in /home/brian/Desktop/iPhone)
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-18 21:11:42] INFO WEBrick 1.3.1
[2008-07-18 21:11:42] INFO ruby 1.8.6 (2008-03-03) [i686-linux]
[2008-07-18 21:11:42] INFO WEBrick::HTTPServer#start: pid=15970 port=3000
Then just open your web browser and access it via http://localhost:3000
I logged in with the username "admin" and the password "admin".
Screenshot: http://flickr.com/photos/alienvenom/2680924333/

