Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iPhone Configuration Web Utility runs natively in Linux!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
alienvenom
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 123
Location: San Francisco, CA

PostPosted: Sat Jul 19, 2008 4:12 am    Post subject: iPhone Configuration Web Utility runs natively in Linux! Reply with quote

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/
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1412

PostPosted: Sun Jul 27, 2008 11:51 am    Post subject: Reply with quote

Wow, thanks!
Good work, this'll come in very handy.

Ma
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum