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
  #351 (permalink)  
Old 03-04-2008, 03:51 AM
Pentium's Avatar
Pentium
Status: Offline
Senior Member
 
Join Date: Dec 2007
Location: My PC
Posts: 355
Rep Power: 20
Pentium is on a distinguished road
Default

yeah u are right..I noticed that..!

but I can't use GPRS even I don't have a proxy!
__________________
iPhone 3GS 32G White - Offically Unlocked - 3.1.2
iPhone 3G 8G Black - Sold.
iPhone 2G 16G - Sold.
iPhone 2G 8G - Sold.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #352 (permalink)  
Old 04-08-2008, 04:38 PM
chow7
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 78
Rep Power: 6
chow7 is on a distinguished road
Default

anyone figure out how to open up other ports for mail? I cannot get my mail to work as they use different 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
  #353 (permalink)  
Old 04-23-2008, 12:08 PM
syasses
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 48
Rep Power: 0
syasses is on a distinguished road
Default Mail theory

To get your mail working using the proxy you have to tell it not to use the proxy for specific ports/ip addresses. Now keep in mind I have not tested this set up only guessing what would need to happen.

My situation is that I have my home PC on Qtel and my Mobil Phone through Qtel. The idea is that I should be able to access my home PC before heading through the proxy server to get to the rest of the internet.

However, it might also work if for some reason your provider does not block email ports, smtp 25 pop3 110.

Here is an example of the proxy.pac file that might work. You can also look up proxy.pac and see the different options.

Example:

*My current proxy.pac.*

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";
}


*If you just wanted the proxy to work for Http, Https, and Ftp then this might work. Everything that does not fit the "if" statements will be direct to the IP you need such as smtp.gmail.com:25.*

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


or If you have another proxy server perhaps on your providers network. For me I have both my PC and phone on Qtel so it could be (providing I set up my own proxy server or Socks server.)

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0"))
return "DIRECT";
} else {
if (shExpMatch(url, "http:*"))
return "PROXY 10.23.8.3:8080";
if (shExpMatch(url, "https:*"))
return "PROXY 10.23.8.3:8080";
if (shExpMatch(url, "ftp:*"))
return "PROXY 10.23.8.3:8080";
if (shExpMatch(url, "https://smtp.gmail.com"))
return "SOCKS (your socks server IP:1090";
if (shExpMatch(url, "https://pop.gmail.com"))
return "SOCKS (your socks server IP:1090";
}
}

As I said I am not sure if this would work or not, someone would need to test this out. I just use the mobile version of Gmail so it's not that big of a deal for me.

Hope it helps. Also I can't believe that this thread is still going after I started it so long ago.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Remove advertisements
Advertisement
Advertisement Sponsored links

  #354 (permalink)  
Old 05-29-2008, 11:56 AM
omz
Status: Offline
Junior Member
 
Join Date: May 2008
Posts: 1
Rep Power: 0
omz is on a distinguished road
Default

Hi syasses!

Am in Qatar also and have recently acquired an iphone. GPRS initially would not work until I found your quite dated post. Applying your "fix" in post #1 resolves that with the exception of mail.

When saving a yahoo account there is ongoing EDGE activity and the status is "verifying Yahoo! account information". It ends up with (Yahoo! account verification failed. The IMAP server "imap.apple.mail.yahoo.com" is not responding. Check your network connection and that you entered the correct information in the "Incoming Mail Server" field.)

With G-mail it ends up with "cannot connect using SSL, Do you wish to try setting up the account without SSL?". After attempting without the SSL I end up with the same message as the yahoo failure with imap.gmail.com not responding.

After updating proxy.pac with your last suggested method, and rebooting the iphone to ensure changes take effect, GPRS stops working altogether,, that is neither Safari nor mail work.

Any advice or recommendations on how to get mail to work here in Qatar?

Thanks in advance and hope to hear from you soon!

Cheers!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #355 (permalink)  
Old 07-09-2008, 03:34 AM
coldiak
Status: Offline
Junior Member
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
coldiak is on a distinguished road
Default

can i use this settings of proxy.pac with a ISA server of my work?

in my work use a private APN to view internal web pages and exchange mail.
i want to know if a can set the ISA proxy with this method

sorry for my english

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #356 (permalink)  
Old 07-11-2008, 08:49 PM
Dutch_Razor
Status: Offline
Junior Member
 
Join Date: Jul 2008
Posts: 1
Rep Power: 0
Dutch_Razor is on a distinguished road
Default

Hello everyone,

I have tried everything I could think of to get this to work, but I can't get it right.

I use Orange World , and would like all my traffic to go through proxy 10.250.255.188:5080.

Shouldn't this proxy.pac file work?

function FindProxyForURL(url, host)
{
if (url.substring(0, 5) == "http:") {
return "PROXY 10.250.255.188:5080";
}
else if (url.substring(0, 4) == "wap:") {
return "PROXY 10.250.255.188:9021";
}
else {
return "DIRECT";
}
}

Oh btw, also shouldn't the javascript "alert" command work to see if Safari is loading the proxy?

Thanks in advance!

Oh I also tried to manually edit the preferences.plist like this:

Quote:

<key>Proxies</key>
<dict>
<key>HTTPEnable</key>
<integer>1</integer>
<key>HTTPPort</key>
<integer>5080</integer>
<key>HTTPProxy</key>
<string>10.250.255.188</string>
<key>HTTPProxyAuthenticated</key>
<true/>
<key>HTTPProxyType</key>
<integer>1</integer>
<key>HTTPProxyUsername</key>
<string>0628000000</string>
<key>HTTPSEnable</key>
<integer>1</integer>
<key>HTTPSPort</key>
<integer>5080</integer>
<key>HTTPSProxy</key>
<string>10.250.255.188</string>
<key>ProxyAutoConfigEnable</key>
<integer>0</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///private/var/root/proxy.pac</string>
</dict>
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

  #357 (permalink)  
Old 09-02-2008, 08:22 AM
TITMF
Status: Offline
Junior Member
 
Join Date: Aug 2008
Location: Doha - Qatar
Posts: 2
Rep Power: 0
TITMF is on a distinguished road
Default

Hello Everybody,

As I'm a new user of Iphone in Qatar, I try also to use the QTEL network for browsing. My Iphone is the new 3G model, and it seems that the coding is not working. Did somebody already done this exercice for 3G model ??

Thanks in advance

Thierry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #358 (permalink)  
Old 09-16-2008, 10:05 AM
txboarder
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 9
Rep Power: 0
txboarder is on a distinguished road
Default iPhone 2.1/QTel

I just upgraded my 2.5G iPhone to 2.1 and am having trouble getting this to work as well.

As an aside, how are you managing to use a 3G phone on QTel? The 3G phones haven't been unlocked yet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #359 (permalink)  
Old 09-16-2008, 01:58 PM
txboarder
Status: Offline
Junior Member
 
Join Date: Sep 2007
Posts: 9
Rep Power: 0
txboarder is on a distinguished road
Default

UPDATE: I used the T-Zones hack from Cydia and then modified the files to reflect QTel's settings. I can now use Safari, Weather, Stocks, but can't use Mail.

I suspect that the problem I encountered before had something to do with incorrectly set permissions or the location I was using for the proxy.pac file (/var/root/proxy.pac is now in /var/root/Preferences).
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

  #360 (permalink)  
Old 09-16-2008, 08:46 PM
mmnoname
Status: Offline
Junior Member
 
Join Date: Sep 2008
Posts: 6
Rep Power: 0
mmnoname is on a distinguished road
Default

hi, would this be possible with Fido? if so, could someone point me in the right direction.

Thanks
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 06:10 PM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, 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 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407