[Q] Mango as proxy server - Windows Phone 7 Software Development

Hi,
I'm stuck for a while without internet access except via 3G. I've got a dev phone running the Mango beta 2.
I was wondering if anyone had an idea about how I could make a proxy server or any other kind of tethering for it.
I was looking to use HttpListener or Sockets.Listen but both are unavailable for the phone.
I thought I might have to make a server application for the laptop that has a proxy server listening port and a phone listening port then have an application on the phone that connects to the server app. Once established, pass requests on from the laptop app to the phone app and get the phone to do the requests.
Unfortunately, my knowledge of how to do this over sockets is limited and if anyone could give me some advice I'd be grateful.
Cheers

Depending on which phone you have it might be possible to switch into teethering mode in the MFG app (usually installed by dialing ##634#).

HTC 7 Trophy .. I'm not aware of a way to use tethering on that.

PhantomNZ said:
HTC 7 Trophy .. I'm not aware of a way to use tethering on that.
Click to expand...
Click to collapse
Do you have a old Windows mobile 6.5 device sitting around ? Then for the temp window you need it, switch ESN/SIM to your 6.5 device, wi-fi teather, then swap back ESN/SIM when you need it...
Depending on your carrier....I know with Verizon, I can change hardware on-line

I'm unaware of how the network stack works in WP7.
If you're connected to WiFi, in your application can you choose to use 3G or WiFi? Maybe there are some P/Invoke calls you could do?
If so, then connect your phone to a router ... same with your laptop. Then relay HTTP(S) between the two connections.
Otherwise, we'll need to be able to execute native applications.

Related

Please help me setup Remote Desktop when using 3G network

Hi!
I was able to do Remote Desktop by connecting with my tilt 2 to my local Network so I used my Desktops address (192.168.1.4) as computer name and I was able to connect with the Tilt2.
Now, I am trying to figure out how to do the same but when I am not home thus connected to my network.
I tried using my REAL IP address but it was not able to connect to it.
I am running Windows 7 Ultimate any my tilt 2 has a stock 6.5
Thanks
You'll need to set up port forwarding on your router. Looks like this site has a bunch of guides to do so. You need to set it up to forward port 3389 to your desktop address (looks like 192.168.1.4) and you should be good to go, no specific config necessary on your tp2.
Edit: As a side note for security's sake only allow non-administrator accounts to remotely connect and make sure you use strong passwords!
That worked out great...thanks mate!
Yeah thanks Toleraen! I was just now finally getting around to check out the remote desktop client on both my phones, and was looking for exactly that
Glad I could help
Pretty cool to do this indeed...any other software you consider better than this to remote in to my PC?
shaolin95 said:
Pretty cool to do this indeed...any other software you consider better than this to remote in to my PC?
Click to expand...
Click to collapse
I hear VNC get recommended a lot, but I haven't had a chance to check it out yet (I'll do that once I've tried remote desktop). I've attached the cab for it, but I can't find any threads on it's use, you'll have to dig that up yourself
I must have tried a million different settings over several hours and never was able to connect via 3G or even locally when hooked in through wifi. I used to be able to do this with my Treo 750 with little hassle. I have the port forwarding set up on my Linksys WCG200 router. I have even tried turning all firewalls and encryption off. No joy. Anyone else have a Windows XP setup with a Linksys router that has had success with a Tilt 2 stock ROM? Note: I do not have a static IP. Has anyone successfully done this with a dynamic IP?
I am doing it to Windows 7 with a dynamic IP...I just make sure I got the one for the day(week) before living home if I want to remote in from work.
I use Hamachi to create a VPN connection and then remote into my PC that way, leave hamachi running on my desktop and then just run the mobile version on my phone when I want to remote in, that way there are no open port security issues to worry about and the VPN IP address never changes.
Is it any slower or faster than Remote Desktop?
Zylograth said:
I use Hamachi to create a VPN connection and then remote into my PC that way, leave hamachi running on my desktop and then just run the mobile version on my phone when I want to remote in, that way there are no open port security issues to worry about and the VPN IP address never changes.
Click to expand...
Click to collapse
Sweet! I had no idea hamachi had a mobile client now!!
I'm trying it out as soon as I get home today!
I use "Remote Touch Server" to remotely access my computer. The main reason i use it is because it keeps your computer on while you are accessing it. I use it for a handheld monitor for powerpoint presentations. That way I can see what the computer is doing, and tap the screen to advance to the next slide

[Q] HELP! HTC Touch Pro 2 VPN/Proxy

I work for a faily large UK company and im trying to setup an HTC Touch Pro 2 (Unbranded on BT-Mobile). I have managed to get everything setup as i want including a VPN connection to my works internal network. Currently this requires having 2 network connections setup in the settings of this device... one for GPRS and one for "My Work Network" which automatically connects when required. Now the only problem im having is users can browse on these devices unrestricted however our PCs all require browsing is done through a proxy. I have tried every possibly setup on this device to route traffic through our proxy server but i have had no luck.
Has anyone managed to set this up?
Is it even possible as they wouldnt be connected to the VPN while browsing via GPRS?
Any hints/tips?
Im really loosing my mind with this one.
Thanks in advance!
bump, no ideas anyone?
it is very easy go to setup and connection ,, and than again connection,, that down u will find general, modem, vpn,, hope u can make inside other details

Mobile Wi-Fi router stopped working

So I've been using the Tom coding package that installs the mobile Wi-Fi router with no problems until last night... now it keeps trying to connect to ISP.Cingular and then stops... it basically doesn't work now. I've tried to uninstall and reinstalled it dozens of times with no luck.
And yet... the 3G connection works because I can browse through Opera. So...?
OhI might add that I can turn on the Wi-Fi and connect to my in-house router just fine and do what on the internet through the phone. SO... it is definitely something specific with wireless internet sharing.
???
Someone please he me I use internet sharing DAILY
You need to make sure that it is connecting to the correct address. At the bottom of the App, it should have a few different choices of connections to use. Try another one and see if it works. You may have to set up a new connections for this to work properly. Keep in mind that tethering/mobile hotspot is not covered by AT&T's wireless data plan. It is a separate monthly charge. You should be careful when using it too much at a time, so they don't block or throttle your connection.
The device I am trying to connect with to my Tilt 2 is a Samsung Galaxy Tab, and apparently it doesn't like ad-hoc, whatever that is exactly. I was told on the Galaxy Tab section of this forum that this is the case, and that I need some kind of "mobile ap", although again I do not understand what that exactly means. ???
Ah, see that's much better information. So, no, you probably won't be able to connect without another app doing so. Ad-hoc is, simply put, a connection to another device other than a router which is allowing you access to its Internet connection. If the device you're trying to connect with doesn't allow ad-hoc connections, then the Wifi Router app won't do you any good, as that is the type of connection it uses. Most mobile devices do not natively support this, however. The problem, therefore, is with the Galaxy Tab you have, not with the TP2. Find an app or mod that allows for ad-hoc connections and you'll be all set.
Well is there an apparently for the WM phone side of things that will do non ad-hoc??
No. Ad-hoc is a connection between two devices. Unless you use a router, that's how it's going to be no matter if you are using WM, a laptop, iOS, Android, et cetera. The connection type is determined by the device sending the signal. If it comes from a device, then it is ad-hoc. It is not a problem with the software. That is how wifi was designed to work in the first place. The problem, again, is with the Tab, not the WM application.
Well apparently there is a solution for the Tab that allows it to see ad-hoc networks, so I will try that and let you guys know how it went.
Can no longer connect to Ad-Hoc with Tilt 2
I have been using both the CM Internet Sharing program and the WMWifiRouter with no issues for over a year now on my AT&T Tilt 2.
One day a couple weeks ago I had been using CM to connect my laptop to the internet. everything was just fine as usual.
At some point, I had disconnected and tried to reconnect, and since then I can no longer use either of these programs.
What happens is this...I turn them on and the phone will no longer hold a connection to the ad-hoc network that is created. Up in the status bar I see the icon showing WiFi trying to connect but it will not stick anymore.
I can connect to my office and/or home wifi router still. It just will not connect to the ad-hoc network any longer.
This makes no sense to me at all, since it has always worked and was even working earlier in the day when it stopped working.
I use the tethering frequently and really need to get this solved. Any help would be greatly appreciated.

App for VNC server for CDMA Galaxy Nexus?

Does anyone know of a VNC app that - or any kind of "control my android phone from my PC" that:
1. is NOT Android Screencast
2. WORKS on the CDMA Galaxy Nexus
All the apps I've tried on the market thus far (e.g. droid vnc server) don't work - I think Verizon does something to prevent the IP address from being available to the app, so it reports the IP v6 MAC address and I can't connect to the phone.
Any solution (wired or wireless) would be fine, just one that works well (and is preferably free).
Hey, I'm in the same boat as you, i want to VNC onto my phone from my work PC as it makes my office life so much easier (did this on my iPhone for a couple of years)
I've managed to connect to my Galaxy Nexus GSM via LAN IP fine (IPV6 shows but used IPV4 IP instead from wireless settings) evem though i connected, the screen is blank and i can click but not type so looks like it needs some TLC on the developing side before it'll work :-(
Now for a remote IP you could try whatismyip.com or some simular site but i'm pretty sure most phon operators keep you on an internal network and route you out to the internegt, therefore meaning that you dont have any ports coming into your phone from the internet and therefore can't run any internet services, it has to be connection from your phone to a server not from PC/server on internet to your phone on internet.
I know however that back about 8 years ago i did get a windows mobile http server working, but think it's all changed since then..
Only exception to this would be if your phone was on wifi as you could setup a port forward from the router.
Maybe if TeamViewer made a version which allowed control of the phone, then you'd be able to do what you need.
Regards
Liam
Our VNC Server, VMLite VNC Server, works just find on Galaxy Nexus.
You can use USB connection, or reverse connection to connect if your phone's ip is blocked. i.e., you run tight vnc viwer in listening mode, you run the vnc server on the phone in reverse mode, so the vnc server will connect to the viewer.
Our app actually works w/o rooting.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
The new teamviewer client will be your answer... just wait till its ported correctly to your rom
Are you sure? I thought team viewer is to view PC from android phones, instead of viewing phones from PC, i.e., different direction.
TerryNova said:
The new teamviewer client will be your answer... just wait till its ported correctly to your rom
Click to expand...
Click to collapse

Swann Security Remote View, Home WiFi Works, Mobile Data Doesn't

Hello all!
Recently I've purchased the Swann DVR8-1425 security system.
I've been able to connect it to my home network successfully. I can remote view the cameras through my T999L (no root, completely stock) on WiFi through the SwannView app, but as soon as I put it into mobile data, it shows me a message of not being able to contact the server. I'm assuming if I were at someone elses house on their WiFi, it would be the same result. Same issue on my Dad's S2, rooted, running Infamous 3.0 in the T989 forums.
I've messed with most, if not all the settings I can possibly use with trial and error. When it comes down to it, obviously there's only the one setting that works with my WiFi (the given IP address from the DVR and a server port given: 9000) and it won't connect with mobile data whatsoever (2g, 4g, or LTE). I've tried using HTTP port 85 instead of the 9000, a preferred DNS server in place of the IP address, turning on and off UpNp (not really sure what that does). Absolutely nothing. Server connection fail each time when using mobile data.
I've disabled the firewall in hopes of it working, but I've had no luck. Haven't reset the router, assuming I just unplug and replug but other than that, I'm out of ideas. Not sure what else I can work on besides the firewall, if that even does anything.
The Swann software installed on my Mac does work, but haven't had a chance to test it somewhere other than my home network. It could work, but I wouldn't know at this point. Just more concentrated on the mobile data issue.
My knowledge is small when it comes to this networking stuff. Connecting to a WiFi hotspot is about as easy as it gets for me lol. I just got lucky with trial and error for setting it up with the home network. Just wondering if anyone has experience with this or ideas that may come to mind. At the worst, I won't be able to remote view anywhere other than using my wifi, but it will still record at least.
Thanks in advance!
MyanRagahis said:
The Swann software installed on my Mac does work, but haven't had a chance to test it somewhere other than my home network. It could work, but I wouldn't know at this point. Just more concentrated on the mobile data issue.
Click to expand...
Click to collapse
^^^^^
Seems to me you should test the remote connection elsewhere before you start troubleshooting a problem thst may not even exist. If its not configured correctly to do what you want, its not going to work across the internet which would include the mobile data.
Make sure you can access what you want remotely, then test over mobile data. Unless I read that wrong it doesn't sound to me like you've done this. You can test the mobile data connection all you want, but if its not working remotely by any other means you will be wasting your time. (Unless you got lucky and configured it correctly, but as you said, youre not very experienced with this).
Until you verify it does work remotely, there's no reason to assume its your phone or T-Mobile that is the problem.
Tbh, I'd assume first it was a router config on your side. (Unplugging it doesn't reset its settings, and even if it did it may not be configured as needed by default.)
You'd probably find better support by going to the equipment website and router website.
Sorry I don't have the answer your looking for, but hopefully ill get you in the right direction.
Sent from my SGH-T999 using xda premium
DocHoliday77 said:
^^^^^
Seems to me you should test the remote connection elsewhere before you start troubleshooting a problem thst may not even exist. If its not configured correctly to do what you want, its not going to work across the internet which would include the mobile data.
Make sure you can access what you want remotely, then test over mobile data. Unless I read that wrong it doesn't sound to me like you've done this. You can test the mobile data connection all you want, but if its not working remotely by any other means you will be wasting your time. (Unless you got lucky and configured it correctly, but as you said, youre not very experienced with this).
Until you verify it does work remotely, there's no reason to assume its your phone or T-Mobile that is the problem.
Tbh, I'd assume first it was a router config on your side. (Unplugging it doesn't reset its settings, and even if it did it may not be configured as needed by default.)
You'd probably find better support by going to the equipment website and router website.
Sorry I don't have the answer your looking for, but hopefully ill get you in the right direction.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
After read this earlier, I facepalmed myself and went to go test this out. Drove over to Starbucks a few minutes ago, connected to their wifi through my phone and it didn't connect Hmm...definitely a router setting then. The dvr itself is connected to the router by an ethernet cable. Just a matter of figuring out how to configuring the router settings. Thanks!
Try bluestacks
Hey. I came across this page looking for a solution to a similar problem. My new swann system connects fine with my phone on Orange but wouldn't connect to my partners identical phone on Vodafone via mobile Internet. Both worked on wifi. I solved by asking Google for my ip address, then going onto the swannview link app, under my device is a button to edit, on the edit page where it has p2p if you tap the line it gives you another option to connect with ip, then enter your ip where it says host. Save details with icon in top right and log in. This solved my issue, hope it helps anyone with the same issue.
MyanRagahis said:
Hello all!
Recently I've purchased the Swann DVR8-1425 security system.
I've been able to connect it to my home network successfully. I can remote view the cameras through my T999L (no root, completely stock) on WiFi through the SwannView app, but as soon as I put it into mobile data, it shows me a message of not being able to contact the server. I'm assuming if I were at someone elses house on their WiFi, it would be the same result. Same issue on my Dad's S2, rooted, running Infamous 3.0 in the T989 forums.
I've messed with most, if not all the settings I can possibly use with trial and error. When it comes down to it, obviously there's only the one setting that works with my WiFi (the given IP address from the DVR and a server port given: 9000) and it won't connect with mobile data whatsoever (2g, 4g, or LTE). I've tried using HTTP port 85 instead of the 9000, a preferred DNS server in place of the IP address, turning on and off UpNp (not really sure what that does). Absolutely nothing. Server connection fail each time when using mobile data.
I've disabled the firewall in hopes of it working, but I've had no luck. Haven't reset the router, assuming I just unplug and replug but other than that, I'm out of ideas. Not sure what else I can work on besides the firewall, if that even does anything.
The Swann software installed on my Mac does work, but haven't had a chance to test it somewhere other than my home network. It could work, but I wouldn't know at this point. Just more concentrated on the mobile data issue.
My knowledge is small when it comes to this networking stuff. Connecting to a WiFi hotspot is about as easy as it gets for me lol. I just got lucky with trial and error for setting it up with the home network. Just wondering if anyone has experience with this or ideas that may come to mind. At the worst, I won't be able to remote view anywhere other than using my wifi, but it will still record at least.
Thanks in advance!
Click to expand...
Click to collapse
Fix
Hello..
I am also using Lorex wireless security camera for my home but till now I am not facing any issue because all configuration is performed by experts. But I have two fixes for your issue.
Either contact with Lorex Support Team for help or follow steps:
Check with your mobile data service provider to confirm if they allow streaming of constant information over their network.
Configure a lower substream video resolution in your DVR / NVR settings to reduce mobile data usage and increase your connection speed.
If you cannot connect to your cameras using an LTE or IPv6 connection, switch to a 3G connection.
If you are using a device ID through your mobile plan, set up a Dynamic Domain Name System (DDNS) to eliminate the need to pass through the Stratus / FLIR Cloud servers.
Hope it helps!

Categories

Resources