Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 17, 2011, 07:52 PM   #1
legaleye3000
macrumors 6502a
 
Join Date: Jul 2007
How To Edit Hosts File? (For 4.2.1 restore)

I can't find the hosts file on my mac. I keep seeing /etc/hosts. I can't find that directory.

I need to edit the hosts file to get iTunes to let me restore my iPad to 4.2.1. Please help. Thank you.
legaleye3000 is offline   0 Reply With Quote
Old Mar 21, 2011, 11:34 PM   #2
BookEmDanno
macrumors member
 
Join Date: Nov 2010
Location: State of ~Aloha!~
Quote:
Originally Posted by legaleye3000 View Post
I can't find the hosts file on my mac. I keep seeing /etc/hosts. I can't find that directory.

I need to edit the hosts file to get iTunes to let me restore my iPad to 4.2.1. Please help. Thank you.
Hosts should be in your /etc folder. If not just create one (text format) with the following contents:


#########

127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost


### ipod/iphone ###
# 74.208.105.171 gs.apple.com
74.208.10.249 gs.apple.com
# 74.208.*.* gs.apple.com
BookEmDanno is offline   0 Reply With Quote
Old Mar 22, 2011, 06:46 AM   #3
hackthatphone
macrumors 65816
 
hackthatphone's Avatar
 
Join Date: Jul 2010
Jeeze people. Instead of going through this hassle, why not just use the tinyumbrella program instead? It'll do this work for you.

http://thefirmwareumbrella.blogspot.com/


By the way, you don't just make this file from scratch, it's already on your Mac!!!!!!!!!!!!!!!

From a Terminal enter: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
__________________
Writing Mac tutorials for the iPhone since June '07. http://hackthatphone.com I use the following networks/SIMs: AT&T GoPhone, H2O, SimpleMobile, T-Mobile.
hackthatphone is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to edit Host file on 10.7.1? antilife Mac OS X 10.7 Lion 10 Oct 6, 2011 11:22 AM
iOS 4.2.1 update lost all my text messages eriknba iPhone Tips, Help and Troubleshooting 39 Apr 3, 2011 04:05 AM
need to restore after 4.2.1 redsn0w JB... old shsh blobs on cydia, how do i get them? threetimesdaily Jailbreaks and iOS Hacks 4 Dec 16, 2010 12:41 AM
Upgrading to 4.2.1 from GM 4.2 through iTunes FFArchitect iPhone/iPad Programming 4 Nov 24, 2010 09:33 AM
A really bad problem to me on 4.2.1 zjzjn1 iPod touch 2 Nov 22, 2010 02:20 PM


All times are GMT -5. The time now is 01:33 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC