Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
09-28-2009, 06:51 PM #1Getting an address for the 3g interface on the command line
Anyone know how to make the iphone get a 3G address without having to opening up an app like safari. Currently, if I don't have an address for my pdp_ip0 interface, I shut off wifi, go to safari and open a page, then quickly go back to my terminal to do what I need to do. Is there a dhclient pdp_ip0 equiv for the iphone? I found networksetup that works for os x but don't see it on the iphone.
Every Mac guy I ask says that you need to open an app and look at me funny and ask why would anyone want to do this from the command line?
Any help would be appreciated.