Archive for the 'SysAdmin' Category
How to Unlock an iPhone 3GS
Here I hope to help alleviate the confusion that some iPhone 3GS owners have about jailbreaking and unlocking their phones. This article pertains to the iPhone 3GS only. The iPhone 3GS is the one that came out in the summer of 2009. These instructions do not pertain to other models of iPhones. For other models, I recommend the tutorials at iClarified.

This whole process is thanks to the efforts of the group of hackers who call themselves the iPhone Dev Team. These guys volunteer hundreds of hours of their time so that iPhone owners around the world can make full use of their phones. They are the Mother Theresas of iPhones. They are awesome.
What does “Jailbreaking” do?
Jailbreaking allows you to install software on your iPhone that was not approved by Apple and is thus not available in the App Store.

Example of a custom theme
What is “Unlocking”?
Unlocking refers to removing the restriction on your iPhone that limits it to a particular cellular service provider (a.k.a. “carrier”). For example, if you buy an iPhone from AT&T, you won’t be able to subsequently switch to a different (GSM) service provider, unless your iPhone is unlocked.
Being able to switch carriers is very useful if you travel, because you can then buy a pay-as-you-go or prepaid SIM card at your new destination, and put it into your iPhone for local service, at local rates. This is usually far cheaper than incurring roaming charges from your provider at home.
Do NOT upgrade to iPhone OS 3.1, Yet
You can find out what version of iPhone OS you have by going to Settings -> General -> Version on your iPhone. If you buy a new iPhone today, it probably came with version 3.0 or 3.0.1. Leave it that way. Do not click the “Download and Update” button that iTunes prompts you for the first time that you plug the phone into your computer.
To unlock your iPhone 3GS, you need iPhone OS version 3.0 or 3.0.1; you must never have installed version 3.1 from Apple. If you have, at any time, updated to version 3.1 via an official release from Apple, then you cannot jailbreak or unlock your phone until some indefinite time in the future.
If you installed the official iPhone OS version 3.1, you will have to wait for someone to discover a new software bug that will allow for jailbreaking and unlocking. One may never be discovered. One might be discovered tomorrow. Nobody knows.
Step One: iPhone 3GS Jailbreak
Assuming that you have an iPhone 3GS with OS version 3.0 or 3.0.1:
- Download the iPhone 3.0 firmware from Apple. You’ll find links to all firmwares here.
- Download redsn0w from the DevTeam. Download links are near the bottom of the article.
- Open redsn0w, click the Browse button, locate the iPhone2,1_3.0_7A341_Restore.ipsw file, and click the Open button.
- Click the Next button in redsn0w. It will prepare the jailbreak, then ask if you’d like Cydia and/or Icy installed. Select at least Cydia, and click Next.
- Follow the onscreen instructions (turn off your phone, etc). It will say “Done!” before the process is actually finished. Watch your phone, and do not disconnect it from your computer.
Your phone is now jailbroken, but still not unlocked. If you had OS version 3.0.1, you will still have version 3.0.1, only now it also has the Cydia App installed.
Step Two: Unlock Your iPhone 3GS
Now that you’ve jailbroken your iPhone, you should see that the Cydia App has been added to your screen. Start it. The first time you start Cydia, it will do some “rearranging”, and restart the springboard, causing your iPhone’s screen to lock.- Unlock your screen, and start Cydia. At this point, it is a good idea to update any packages that need updating (it should tell you if there are available updates). After updating, Cydia will quit again.
- Start Cydia again, and click the Search icon in the bottom-right corner. Search for “ultrasn”. The 3rd match should be “ultrasn0w”. Select it, and click Install. It will present a Reboot button after installing. Click the Reboot button.
Your iPhone should now be unlocked, and you can use it with any SIM card. Happy traveling! :)
New! Upgrade to iPhone OS 3.1
As of October 2nd, 2009, the DevTeam gave us the gift of PwnageTool 3.1.3, which allows you to create a hacked 3.1 firmware for jailbroken iPhones. Note that if you already have 3.1 installed, and it isn’t jailbroken, this is not for you. Re-read the “Do NOT upgrade to iPhone OS 3.1, Yet” section, above.
If you have already jailbroken your iPhone, the new PwnageTool allows you to upgrade to 3.1 safely, maintaining your jailbreak and carrier unlock.
iClarified has posted a tutorial on how to do this here.
Newer! iPhone OS 3.1.2
On October 8th, Apple released version 3.1.2 of iPhone OS. The DevTeam says:
If you care about your jailbreak and unlock, don’t update your device – 3G and 3G(S) owners should pay particular attention to this warning.
* PwnageTool and redsn0w are not yet compatible with 3.1.2
* There is no estimated release time for compatible tools (please don’t bug us about this).
Newest! iPhone OS 3.1 is cracked!
October 13th, 2009, the DevTeam has released PwnageTool version 3.1.4. The new version allows for unlocking version 3.1, making much of what I said in this article obsolete.
It also allows for updating to version 3.1.2 on your already jailbroken iPhone. Get it and read all of the details here.
4 commentsiPhone: How to Disable Cellular Internet Access
For those of you using iPhones on cellular networks that do not include unlimited data access, you probably want to disable Internet access through your service provider’s network, and use only wifi for Internet access. In the first generation iPhone, you could disable cellular Internet access by changing the APN (access point name) in the Settings utility on the phone. In the new iPhone 2.0, however, Apple gave service providers the ability to disable this setting. If the carrier chooses to do that, you will automatically connect to the Internet through their network and incur their data access fees, and there is no built-in way to turn it off. Sneaky, and evil.
Fortunately for customers of underhanded carriers that disabled the APN option in the iPhone Settings, Apple has provided the iPhone Configuration Utility, which allows one to customize the APN. For your convenience, I’ve created a basic configuration profile that does just one thing: sets the APN to “NULL”, so that your phone won’t be able to use your cellular provider’s Internet service. Here it is. Note: do not rename it to end with .txt. It should end with “.mobileconfig”.
Use a computer to e-mail it to yourself, as an attachment. If you are using Microsoft IE (Windows), download this zipped version, since IE seems to mangle the original file. You’ll have to unzip the file before e-mailing it to yourself. Alternatively you can get a better web browser here.
To install it on your phone, simply open the email on your iPhone. When you click on the attachment in the email, it will prompt you about applying the new configuration, and warn you about no trusted signature (I didn’t pay Verisign). Once the profile is installed, it won’t be possible for your iPhone to use your carrier’s network for Internet access. If you wish to re-enable cellular data access, all you need to do is open Settings -> General -> Profile, and remove the profile. The phone might require a reboot after removing the profile.
Enjoy!
215 commentsSecuring Mac OSX Leopard
I was a little disappointed to see that Apple removed the GUI for ipfw, the firewall software from FreeBSD that I’ve been using for many years, from the latest version of their operating system, 10.5. Ipfw is still included, but there is no built-in graphical interface for it. They’ve replaced the default firewall with what they call an application firewall, and I’m still not sure exactly what it does. I’ve been unable to locate any technical documentation on it. If you know of any, please let me know!
From what I’ve read, Apple’s application firewall is similar to Little Snitch, except that it involves digital signatures built into software packages, and it doesn’t give you any feedback as to what your applications are doing on the network. Apple’s application firewall gives software developers the ability to add a digital signature to their software that automatically grants permission for their applications to open ports on your computer’s firewall. Apple also explicitly states that their application firewall does not prevent outgoing traffic, so it can’t prevent software from “calling home”. They say that "you might be able to block" outgoing traffic for an application — not exactly reassuring.
If you want real control over what applications are allowed to access the network, and you want to be informed about what your computer is doing, get Little Snitch. Or, if you want a free but less sophisticated way to control who can access your computer over the network, and how, you should configure the other firewall that comes with Leopard.
No commentsHow to Sync a Nokia 6300 on OS X
* * Update for Leopard * * (02/11/2007) I did a clean install of OS X 10.5 (Leopard) this week, and found that Apple still hasn’t added the Nokia 6300 to the list of supported phones! However, there is now a free plugin, which I tried and it works perfectly on Leopard.
Dissatisfied with the local selection of mobile handsets here in Canada, I bought a shiny new Nokia 6300 via EBay. Being a technology geek, I checked before buying to see if the device was compatible with my computer, and on the face of it, it appears that Mac OS X’s iSync does not natively support the Nokia 6300. However, a closer look revealed that several other Nokia phones that run the exact same operating system as the Nokia 6300 are supported in OS X, so therefore, the 6300 is actually supported, iSync just doesn’t know it yet.
So I ordered the phone, knowing that it is just a matter of time before it appears in the list of supported phones. I was excited to take my new toy out of the box, and I realized that it has been a long time since I actually bought a new technology gadget. My money has been going into outdoor sports equipment since I moved to the Rockies, four years ago. So it was a bit like Christmas morning, and I explored the new phone obsessively for the rest of the evening.
I quickly realized that I have quite a few contacts in my Address Book, many of whom have multiple numbers, e-mail addresses and IM identies, and adding them manually was going to take a lot more time than I was willing to put into it. Nor could I wait for Apple to catch up.
Read more
Building LDAP Authentication into Apache2
The Apache 2 httpd source code offers these two appealing options, “--with-ldap” and “--enable-authnz-ldap“. You may have used them, as I, because you’d like to be able to use htauth to authenticate against your LDAP directory. When you compile the source, however, you probably run into this:
mod_authnz_ldap.c:40:2: #error mod_authnz_ldap requires APR-util to have
LDAP support built in. To fix add --with-ldap to ./configure.
mod_authnz_ldap.c:62: error: parse error before "deref_options"
mod_authnz_ldap.c:62: warning: no semicolon at end of struct or union
mod_authnz_ldap.c:76: error: parse error before '}' token
mod_authnz_ldap.c:76: warning: data definition has no type or storage
class
mod_authnz_ldap.c:92: error: parse error before '*' token
mod_authnz_ldap.c:92: warning: data definition has no type or storage
class
mod_authnz_ldap.c:93: error: parse error before '*' token
...
13 comments



