Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > General > General

Reply
 
LinkBack (3) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-13-2007, 07:32 PM
syasses
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 48
Rep Power: 0
syasses is on a distinguished road
Default [GPRS] Got my Proxy settings to work.

still a few issues:

Mail does not work, it keeps trying to contact ports 25 and 110 to send and recieve (I think) well obviously I am telling it to use port 8080, so that is next to figure out.

Here are the settings I used with Qtel (Qatar):

First I found a proxy.pac file, (Just do a proxy.pac flie search on google or use mine) edited it in notepad (if you save as for testing make sure it does not save as proxy.pac.txt):

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0"))
return "PROXY 10.23.8.3:8080";
else
return "DIRECT";
}


Qtel gives us 10.x.x.x addresses so I just told it to use the proxy when my address is that.

Next I saved this file in "/private/var/root"

Then I edited my preferences file located in: /private/var/root/Library/Preferences/SystemConfiguration/preferences.plist (I used wordpad) adding the following:

<dict>
<key>Interface</key>
<dict>
<key>DeviceName</key>
<string>ip1</string>
<key>Hardware</key>
<string>com.apple.CommCenter</string>
<key>Type</key>
<string>com.apple.CommCenter</string>
</dict>
<key>Proxies</key>
<dict>
<key>ProxyAutoConfigEnable</key>
<integer>1</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///private/var/root/proxy.pac</string>
</dict>

<key>com.apple.CommCenter</key>
<dict>
<key>AllowNetworkAccess</key>
<integer>1</integer>
<key>Available</key>
<integer>1</integer>
<key>Setup</key>
<dict>
<key>apn</key>
<string>gprs.qtel</string>
<key>password</key>
<string>gprs</string>
<key>username</key>
<string>gprs</string>
</dict>
<key>Version</key>
<integer>1</integer>
</dict>
</dict>


** dont forget it's "file///" 3 slashes after file.
** I am not sure if the indentation has to be precise but for mine the <key>Proxies is the same as the </dict> above it and the <dict> below it. The next line <key>ProxyAutoConfigEnable</key> is indented as are the rest of the lines until </dict>

Then I saved the file and put it back on my Iphone. Web/Weather/Stocks and Utube (brings up the page but too slow on GPRS to play video) work, but not Mail. Like I said earlier I think its a port issue.

Hope you have luck getting it to work, this fix was based on this website:
http://etler.livejournal.com/18726.html

Let me know if you get it to work also, or if you know a fix for the Mail app.

goodluck4287 has Graciously put the needed files together to share. Please keep in mind that although these files are the correct format you may need to edit them to match your provider information. !MEANING: Don't just throw them on your phone and ask why it's not working. I haven't used or verified the files I was just asked to add the link. I am sure goodluck4287 would be more than happy to answer your questions about the files he has for download. Thanks again goodluck4287 and to all else, good luck unlocking even more of your IPHONE.

http://files.filefront.com/iPhone+Wi.../fileinfo.html

Last edited by syasses; 09-16-2007 at 09:47 PM. Reason: Added web link
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 09-13-2007, 07:46 PM
H. Bennis
Status: Offline
Senior Member
 
Join Date: Jul 2007
Posts: 130
Rep Power: 9
H. Bennis is on a distinguished road
Default

Wow!

That's great news

I am trying it right now.

Thanks man.

BTW, if we create a second pac file (i.e. proxymail.pac), wouldn't it be possible to use port 21 for mail and 8080 for everything else ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 09-13-2007, 08:09 PM
syasses
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 48
Rep Power: 0
syasses is on a distinguished road
Default

I don't think that would work since the program uses those specific ports to connect on Google's side. If we change it to 8080 then the app would try to connect to Google on that same port. But we can always try. I got my mail to work but in a different way.

Normally Google has an app. you go to gmail.com/app (from the phone browser) and it allows you to download it to your phone, well Iphone is not supported (yet) but it does give you a link to use the web version. Click that and you are in your inbox. I just saved the bookmarked site and now when I want to check my mail using GPRS I just use that book mark. Works great.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 09-13-2007, 08:18 PM
rothnic
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 7
Rep Power: 0
rothnic is on a distinguished road
Default

It would be awesome if someone would try this with the $5.99 service. I would try it but I don't get my iPhone til Sat. I looked around and found the proxy server info for it and it is 216.155.165.50:8080 . This would offer a very cheap solution to internet for t-mobile users.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 09-13-2007, 08:29 PM
Alexbo
Status: Offline
Senior Member
 
Join Date: Sep 2007
Location: Seattle/Ellensburg, Wa
Posts: 111
Rep Power: 8
Alexbo is on a distinguished road
Default

I agree that someone who understands this stuff should explore it. $5.99 is an awesome deal, and I'm sad that my iPhone has less internet functionality than my Tmobile Dash had, simply because there is no proxy settings page!

FYI, on my DAsh, I had to set two different proxy settings, one for mail and one for internet. It was a pain, but there are guides on the net that walked me through it. Unfortunately, I'll need to be walked through the same settings on the iPhone, since I don't even understand whata proxy is! Hopefully someone smarter than me will explore this seemingly simple solution!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 09-13-2007, 08:35 PM
syasses
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 48
Rep Power: 0
syasses is on a distinguished road
Default

Update:

I checked with my provider and a prepaid account like the one I have does not support pop3 accounts so basically it blocks those requests, its web surfing only. Now if I had a regular account it would probably work.

So those who have T-Mobile or some other provider might be luckier and be able to access those ports through their GPRS connection.

Till then I will stick with my plain web based email.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 09-13-2007, 08:40 PM
H. Bennis
Status: Offline
Senior Member
 
Join Date: Jul 2007
Posts: 130
Rep Power: 9
H. Bennis is on a distinguished road
Default

Quote:
Originally Posted by syasses View Post
Update:

I checked with my provider and a prepaid account like the one I have does not support pop3 accounts so basically it blocks those requests, its web surfing only. Now if I had a regular account it would probably work.
I have a post-paid account. I am trying your trick now. Will come back with the results soon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 09-13-2007, 08:40 PM
cenuji
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 4
Rep Power: 0
cenuji is on a distinguished road
Default

I think that mail can just go to 110 and 25, actually. I have t-mobile web (the 5.99 service) and my email works fine without a proxy. I'm not exactly sure how to exclude based on port numbers though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 09-13-2007, 08:49 PM
H. Bennis
Status: Offline
Senior Member
 
Join Date: Jul 2007
Posts: 130
Rep Power: 9
H. Bennis is on a distinguished road
Default

syasses,

IT WORKED!

Thanks. It's actually worse than dialup on GPRS Qtel

I'm trying the gmail.com/app thing now...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 09-13-2007, 08:53 PM
syasses
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 48
Rep Power: 0
syasses is on a distinguished road
Default

Great,

It is slow, but it seemed to me to be slow one minute then a quick load the next. I think it has to do with Qtel's bandwidth issues.

I think the Mail problem is just with Qtel most providers probably don't block those ports.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.hackint0sh.org/f127/6365.htm
Posted By For Type Date
T - Mobile Internet Configuration for Iphone This thread Refback 01-14-2009 06:53 PM
iPhone??EDGE(?1.13)+??cmwap??+???+QQ?????? - iPhone ????? - WeiPhone??? iPhone ??|iPod Touch ??|Google G1??|Palm Pre ??|???iPhone - Powered by Discuz! This thread Refback 01-14-2009 03:46 PM
[Merged] iPhone Users with T-Mobile Service (USA) - Mac Forums This thread Refback 01-14-2009 11:09 AM



All times are GMT +2. The time now is 02:57 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105