![]() |
|
|
|
|
(#1)
|
|||
|
Senior Member
Prepaid Professionist
Posts: 1,399
Join Date: 15 Nov 2006
Country:
|
I understand, that you run the wget command locally (i.e. on your linux machine, which is connected to the internet via the named providers).
Proceeding on this assumption the problem appears pretty simple. http-applications do always send the so-called USER_AGENT parameter revealing it's identity with each http-request. When you use wget the http requests sent to the server (and passing the network operator's proxy) will contain the USER_AGENT "wget 1.9.2". The proxy will so identify the request as not coming from a handset and so will block it. What you need to do now, is faking the USER_AGENT. Therefore simply set the user_agent parameter to some mobile phone when executing wget. In the following example you will send the (pretty long) USER-AGENT of a Nokia N95 with your request: Quote:
Depending on which user_agents are blocked by the corresponding operator you could also use the user agent of a desktop browser like Firefox, which would look like this: Quote:
postpaid: O2 on Business XL; prepaid: DE: Aldi Talk, Lidl; UK: 3; BG: MTel, vivacom; RU: MTS; RS: MTS; UAE: du Tourist SIM; INT'L: toggle mobile VoIP: sipgate.de (German DID); sipgate.co.uk (British DID); ukddi.com (British DID); sipcall.ch (Swiss DID); megafon.bg (Bulgarian DID); InterVoip.com |
||
|
|
|
|
(#2)
|
|
|
Senior Member
Prepaid Fan
Posts: 153
Join Date: 07 Jul 2006
Country:
|
Thanks for that comprehensive reply, but I already tried that. I just tried again with Cosmote and your suggested User Agent Strings (UAS) and it definitely makes no difference.
Is it likely that these Wap services will sniff for browsers? I've never seen evidence of that. There are dozens of params for WGET - I have the manpage; any other suggestions? Edit: I'm using a Nokia N810 tablet tethered to a Nokia N70 phone. Dave |
|
|
|
![]() |
|
|