idea for reverse tethering (windows) - Android Software Development

Hi to all
as i heave seen there is no solution for reverse tethering for android.
partial solution may be in using adb forward command and some sort of tunneling on windows.
What i think is that software on windows machine acts as tcp/ip tunnel and all packets are transfered to usb and on android device should run app that acts as other side of tunnel.
since im not software developer i wonder if someone might take a look at this type of solution for reverse tethering
please no solutions as buying router and similar.

grunf said:
as i heave seen there is no solution for reverse tethering for android.
Click to expand...
Click to collapse
Errr... no? Android is just linux, so you could do anything with it. It should be possible to tether using wifi, bluetooth or even usb.
I was reverse-tethering over bluetooth some time ago, cause I didn't have data plan.

Root your phone - most decent roms have ad-hoc support, so you could very easily share your internet connection from windows. I don't know about BT and USB on Windows. I think there are some PAN managers, so you will be able to create BT connection. Also I think there is usbnet driver for windows. But I don't know, whether it's possible to share internet to these two connections. It's all much easier on linux ;-)

i was thinking about sharing thru wifi and bt but when i activate ICS ip address changes and router at work doesn't like that...
using usb- i did find some reference about Remote NDIS based Internet Sharing Device and i got drivers but i can not figure out how to install them without messing adb.
my phone(lg gw620) is rooted and i do agree that on linux is easier but due to company policy i heave to use windows.

Have you tried conectify for your PC?

grunf said:
i was thinking about sharing thru wifi and bt but when i activate ICS ip address changes and router at work doesn't like that...
Click to expand...
Click to collapse
I'm not sure what do you mean. You connect your PC to a router using cable and want to share this connection to a phone using wifi, right? Then ICS shouldn't change your IP on router side (ethernet one) - AFAIK it set IP of interface you share *to*, not *from*. Modifying *from* connection doesn't have much, cause it would always broke your connection to the internet. Are you sure you share it in correct direction? ;-)

Brut.all said:
Root your phone - most decent roms have ad-hoc support, so you could very easily share your internet connection from windows.
Click to expand...
Click to collapse
Humm.... so that's what the point of adhoc support on phone would be. I couldn't think of any reason my phone would need to pick up an adhoc connection

Ahh or maybe you have 192.168.0.* subnet in your work, ICS set same subnet on wifi side and this is your problem?
Also you could try to bridge these connections instead of doing "normal" sharing. It's easier and if your router doesn't do some MAC checks, this should work.

Isn't there are a easier way like we had on WM6. I am wanting to do it since ages and couldn't get through.

Brut.all said:
Root your phone - most decent roms have ad-hoc support, so you could very easily share your internet connection from windows. I don't know about BT and USB on Windows. I think there are some PAN managers, so you will be able to create BT connection. Also I think there is usbnet driver for windows. But I don't know, whether it's possible to share internet to these two connections. It's all much easier on linux ;-)
Click to expand...
Click to collapse
Could you recommend such a decent rom? I'm using LG GT540. So far didn't see a need to root, but internet connection sharing is definitely worth it.

Brut.all said:
I don't know about BT and USB on Windows. I think there are some PAN managers, so you will be able to create BT connection.
Click to expand...
Click to collapse
It's possible, but Widcomm bt stack is needed, microsoft's built-in can't do it.
Search for Widcomm bt software v 5.0.1.801- Logitech branded (doesn't ask for licence files and no "software expired" message). NOTE- Widcomm drivers are not WHQL certified.
I use BTPAN for my ancient laptop with WinXP and Xubuntu 10.04, no problems with connection

@gen_scheisskopf
bt pan does exactly same as ics would. problem is that firewall at work doesn't work with other IP address then ones assigned by dhcp. doing bridje of two networks messes up ip addresses and then firewall messes with me .
why is it so hard to achieve? windows limitation or android limitation? can we write software to behave like generic rndis (winmo device description)?

grunf said:
why is it so hard to achieve? windows limitation or android limitation?
Click to expand...
Click to collapse
Both. As I said if you have some decent ROM and OS on your PC, then this is just few clicks. I have an Ubuntu, so I click on "create network", then my G1 detects it and connects without any problem. That's all. On Windows Vista you won't have DHCP server and good NAT capabilities. On WinXP you will have problems even with creating a network. On the other hand if you have stock Android on your device, you will get into problems too.

hmmm....
some time ago i heave found drivers for linux devices that in windows it is installed as network device. i need to find that again.(here they are http://forum.xda-developers.com/showpost.php?p=4438553&postcount=41)
maybe this can be used to enable android to act as usb/network device and then to make some sort of routing in windows from regular network to this virtual usb/network...
time to bash my head with solutions and to try some of them, windows pc is ready for format c:.

Check this for a possible solution:
blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html

thx for info.
my problem is that i heave phone with android 1.5 and lg is not going to release newer version. until community makes 2.2 available i can't use this trick.

Reverse thetering in windows is possible and easy...
but it may depend on some drivers from your phone manufacturer.
I am using a Motorola XT300 Spice.
To use a USB reverse tether (i.e. sharing the computer network, so I can connect the phone to the internet to sync emails or browse the app market when I don't have a data plan from my company or a wi-fi network available) with XT300:
On the XT300:
- enable USB debugging
- root your phone (z4root works on the xt300)
- connect the USB cable and connect the phone on the computer
- a menu window will appear, select the Motorola PC Tools option
On the computer (tested with Windows 7):
- wait for all Motorola driver's be installed
- a new network interface will be created. That is your phone
- on the network management right click on the network interface that you use to connect to the internet, select properties, advanced, mark the internet sharing checkbox and select the network interface that has been created for your phone to share the connection
On the XT300:
- open a terminal emulator and type the comands
su
netcfg usb0 dhcp
That is it. You have access to the internet.
On the computer don't forget to create rules in your firewall and/or anti-virus program to permit network traffic between the computer and the phone.
It should be even easier on Linux computers, since newer kernels usually have netusb support enabled but it seems that Ubuntu has its netusb.ko driver or some other needed module broken. I could not enable it to work on Ubuntu 10.04 but I could do this on Ubuntu 8.04 and Centos 5.x
I don't know if other android manufacturers are shipping NDIS5 USB capable drivers. I suppose that all have drivers but the only one that I have is the XT300. A little fidling with USB configuration may be needed, since names and options and menu can vary.
If someone knows the steps needed to enable usbnet on Ubuntu 10.04 I would appreciate the help.
HTH
orlando

jorlando said:
but it may depend on some drivers from your phone manufacturer.
I am using a Motorola XT300 Spice.
To use a USB reverse tether (i.e. sharing the computer network, so I can connect the phone to the internet to sync emails or browse the app market when I don't have a data plan from my company or a wi-fi network available) with XT300:
On the XT300:
- enable USB debugging
- root your phone (z4root works on the xt300)
- connect the USB cable and connect the phone on the computer
- a menu window will appear, select the Motorola PC Tools option
On the computer (tested with Windows 7):
- wait for all Motorola driver's be installed
- a new network interface will be created. That is your phone
- on the network management right click on the network interface that you use to connect to the internet, select properties, advanced, mark the internet sharing checkbox and select the network interface that has been created for your phone to share the connection
On the XT300:
- open a terminal emulator and type the comands
su
netcfg usb0 dhcp
That is it. You have access to the internet.
On the computer don't forget to create rules in your firewall and/or anti-virus program to permit network traffic between the computer and the phone.
It should be even easier on Linux computers, since newer kernels usually have netusb support enabled but it seems that Ubuntu has its netusb.ko driver or some other needed module broken. I could not enable it to work on Ubuntu 10.04 but I could do this on Ubuntu 8.04 and Centos 5.x
I don't know if other android manufacturers are shipping NDIS5 USB capable drivers. I suppose that all have drivers but the only one that I have is the XT300. A little fidling with USB configuration may be needed, since names and options and menu can vary.
If someone knows the steps needed to enable usbnet on Ubuntu 10.04 I would appreciate the help.
HTH
orlando
Click to expand...
Click to collapse
You can easily undo this by disabling the internet connection sharing on the PC?

Its already here. I use it a lot. It is a standard feature on HTC sense revolution in the rom I am using. The function appear whenever you connect to PC with usb cable. So...
I guess you just need a sense rom or maybe extract it from sense...

Related

Connecting a Smartphone to a Mac via USB.

I have been searching for more than 3 hours for some kind of driver for my T-Mobile Dash, to use it as a GPRS/EDGE Modem. My iBook is an old G3 model, so even if I were willing to purchase Missing Sync (which I'm not, btw), my iBook is not supported, as it is not a G4 or better.
I am looking for a FREE driver for OS X 10.4 Tiger, specifically an "RNDIS" driver. I am not particularly looking for speculation. I believe I have the correct modem scripts, but I can't get my Mac to see the USB Modem. Yes, I have put my Dash into ICS mode. Yes, I am running Windows Mobile 6. Yes, I have all of the updates to OS X. Yes, I have tried searching the forums (this one, and several others). Yes, I have tried "Googling it", which produced much good information, but no solutions to my problem. Although my Dash is Bluetooth enabled, my iBook is not. Yes, I know I can add a USB Adapter. I may well do that in the near future. Right now, however, I'm just looking for an RNDIS USB driver for Mac OS X. I don't need Synchronization features, at the moment.
Anyone have any ideas??
Correction: Does anyone have any "good" ideas??
Thanks,
--Aaron
I just wanted to touch this and see if anyone had any information to help. My girlfriend has a new Pantech Duo and I would like to get USB tethering working for that. I did find a couple sites that may help (HowTo: USB Internet Sharing With Linux And Windows Mobile 6), but I don't know enough about the technology to feel comfortable trying it. Thanks.
I use my wizard as a modem sometimes just using Internet Sharing in my TNT Rom. You may be able to find a .cab for it. From there just use activesync/WMDC. I haven't tried it on activesync, only on WMDC.
he's using mac
download wmwifirouter by chainfire or the free trial of walkinghotspot (if your handset and mac have wifi), or a micro bluetooth dongle if not.
leoni1980 said:
download wmwifirouter by chainfire or the free trial of walkinghotspot (if your handset and mac have wifi), or a micro bluetooth dongle if not.
Click to expand...
Click to collapse
Pantech Duo doesn't have Wifi. That was my first attempt before I realized it didn't have it, because I'm using that solution with my Kaiser.
RE: bluetooth. I haven't had a lot of success with a reliable connection. I've tried with my Kaiser and successfully configured it, using it to connect three or four times from my house, but as soon as I went on the road, I couldn't get it to connect at all, using the same steps as before. I'm sure that's either karma or equipment smarter then operator, but I'm hoping for a USB solution for simplicity (theoretically) as well as the better data throughput.
SyncMate
Well, if you are using a Mac then here is what i used to do before I got Missing Sync.
For Syncing contacts and dates and such i used Eltima Softwares SyncMate. Runs pretty good and can be done using the USB cable. It also provides the option to do it over Wifi, which is faster. The Full version allows your to Sync even more stuff I believe.
For Syncing files, I simply paired my phone with my mac and transfered the mp3's, jpg's, etc.
Hope this helps,
Paul
Welcome to the hell which is created when you have a Mac and a WM device!
I have been mucking around with trying to get my internet connection shared with my MacBook pro for a couple of months. Here is what I have tried
- Bluetooth PAN - There is an issue with the MacBook Pro whereby the bluetooth PAN will produce incredibly bad latency issues rendering it useless
- Modem Scripts (Bluetooth)- Have never found one which would connect....I have tried a few
- Mobile Stream (USB) - Never managed to get a connection. The support team said that they had never seen the issues I sent in logs. They will investigate and hopefully resolve in future releases.
-PDAnet (Bluetooth)- It actually works! although it seems to hang the dialer process on the Mac periodically which requires a reboot to resolve
-Wifirouter - It works although it caused issues with access points in the office and drained the battery very quickly.....even when powered from the MAC it would empty the battery. Worked OK when using a mains charger.
-VMware Fusion to XP desktop (USB) - Works and works well however you can't provide (well i havent got it working) an internet connection to the Host Mac.
At the moment I am using the PDAnet 'solution' but I am always looking for something more reliable. A usb connection would be better and more reliable as there seems to be big issues on the Mac bluetooth environment.
Cheers
Aidan
Hell, I couldn't even find an RNDIS driver for windows (apart from installing ActiveSync) which is why I made the Linux post.
Yeah, OSX is *nix based, but I don't think you can use Linux packages on it, what I know about macs could be written on the back of a postage stamp though.
Regarding the VMWare solution, did you try enabling internet sharing for WinXP in the VMWare session (using a different IP to the one the Mac uses) and set the default gateway of the Mac to the IP of the XP machine in VMWare?
What I mean here is that the PPC shares the connection to the VMWare windows machine via USB and the VMWare windows shares the connection to the Mac via TCP/IP.
To be honest I never really played about with sharing the virtual machine with OSX too much. I was a bit put off with running fusion like that all the time as it sucks the life out of the battery when out and about.
Until a better solution is available I will stick with PDAnet. It does put me off windows mobile (slightly) moving forward. It would be interesting to see if the Bluetooth PAN connection works correctly without the latency issue on the diamond when it is available. If it worked properly it would be the best solution.
Cheers
Aidan
Read http://forum.xda-developers.com/showthread.php?p=2398248 for a review & comparison of WalkingHotSpot
With VMWare Fusion, setup VPN connection for the OS X host to connect through guest
evilc said:
Hell, I couldn't even find an RNDIS driver for windows (apart from installing ActiveSync) which is why I made the Linux post.
Yeah, OSX is *nix based, but I don't think you can use Linux packages on it, what I know about macs could be written on the back of a postage stamp though.
Regarding the VMWare solution, did you try enabling internet sharing for WinXP in the VMWare session (using a different IP to the one the Mac uses) and set the default gateway of the Mac to the IP of the XP machine in VMWare?
What I mean here is that the PPC shares the connection to the VMWare windows machine via USB and the VMWare windows shares the connection to the Mac via TCP/IP.
Click to expand...
Click to collapse
I was reading this thread and you gave me the idea which led me to a workable solution so I thought I'd share back. I'm in the same boat as many ppl with latest MBP which doesn't work well with BT PAN (slooooowwwww). I sort of needed Fusion anyway since I'm starting to write WPF apps and performance is terrible over RDP from OSX (different subject). Anyway, here are some keys to getting this to work:
1. Setup a private network (not bridged or nat)
2. Install activesync on guest and fire up 'Internet Sharing' from WM6 device and connect device to Mac with USB cable.
-at this point you should be able to get online from the guest OS through the mobile device as previous post indicates-
Here is where the fun starts:
3. Create an advanced network connection on the guest (accept incoming connections, aka VPN connection)
4. *IMPORTANT* Go to the TCP/IP settings for the advanced network connection and setup a range of IP addresses in the same subnet as the active interface attached to the WM6 device (run ipconfig to determine). Make sure that 'clients can request their own IP address' is unchecked. Make sure this range falls outside of the IP address assigned to the guest interface from the WM6 device.
5. On the host Mac, create a new VPN connection (PPP) and set the host to the private IP address assigned to the guest (again, you can determine that through running ipconfig on the client). *IMPORTANT* Go to the advanced settings for the VPN connection on the Mac and set the DNS to point to the IP address of the router of the guest WM6 device interface.
6. Connect to the VPN from the Mac host and you should be off and running.
It works flawlessly with very good speed (relatively speaking) over the 3g connection. To get online in a pinch, now I just need to fire up the guest (which takes just a couple of seconds from a saved state), connect my device via usb with internet sharing started, and then connect to the vpn from the Mac.

Tethering and Retheting on Windows

I just got a Tattoo.. I think new users have always problem.
Somebody help me for the following:
1. I want to access internet at home on my laptop running Windows 7 by TETHERING with my Tattoo GPRS(EDGE). Is that USB connection and selecting 'Mobile Network Sharing'?? But I am still not able to success.
2. At my work place we have wired network, so I want to access Internet on my Tattoo by USB connection to a PC, just opposite of Tethering, let's say RETHETING. but I could not find anywhere.
Thnx
thacen said:
I just got a Tattoo.. I think new users have always problem.
Somebody help me for the following:
1. I want to access internet at home on my laptop running Windows 7 by TETHERING with my Tattoo GPRS(EDGE). Is that USB connection and selecting 'Mobile Network Sharing'?? But I am still not able to success.
2. At my work place we have wired network, so I want to access Internet on my Tattoo by USB connection to a PC, just opposite of Tethering, let's say RETHETING. but I could not find anywhere.
Thnx
Click to expand...
Click to collapse
Thank you everybody. I resolve my 1st problem. Yes, it is just USB connection and selecting 'Mobile Network Sharing'. My problem was because of not able to install the NDIS driver properly. After resolving the driver problem it is working fine.
But I am still looking for my 2nd problem RETHETING
thacen said:
2. At my work place we have wired network, so I want to access Internet on my Tattoo by USB connection to a PC, just opposite of Tethering, let's say RETHETING. but I could not find anywhere.
Thnx
Click to expand...
Click to collapse
I'm not sure if it will work that way... I know with a Windows Mobile device you can, but never tried under Android. Perhaps there is an option somewhere in the HTC Sync program?
There definitely isn't an option in HTC Sync to do this. In fact, I don't know of any way of generically sharing your internet connection over USB. If your work PC has a Wi-Fi card, you could easily share the internet connection over an ad-hoc network.
Edit: In principle, you could also share your internet connection over Bluetooth but I'm pretty sure the Tattoo doesn't support the necessary Bluetooth profile(s) for such connections.
check out this gadget http://usb.brando.com/prod_detail.php?prod_id=00805
Ali 24789 said:
There definitely isn't an option in HTC Sync to do this. In fact, I don't know of any way of generically sharing your internet connection over USB. If your work PC has a Wi-Fi card, you could easily share the internet connection over an ad-hoc network.
Edit: In principle, you could also share your internet connection over Bluetooth but I'm pretty sure the Tattoo doesn't support the necessary Bluetooth profile(s) for such connections.
Click to expand...
Click to collapse
I think Wi-fi ad-hoc connection is for rooted androids only and I don't found any rooted tattoo till date. I tried another option, using Connectify on my Windows 7 laptop and sharing Wi-fi. But still unable to success browsing, eventhough my phone can be connected with my Laptop through this connectify.
Anybody have success browsing it kindly share.
thacen said:
I think Wi-fi ad-hoc connection is for rooted androids only
Click to expand...
Click to collapse
Uh, what? I'm sharing my internet connection over Wi-Fi with my MacBook right now and my Tattoo can connect to it and access the internet just fine.
Edit: You're probably thinking of android-wifi-tether, which lets you share your phone's 3G/2G mobile connection via Wi-Fi or Bluetooth.
Edit2:
MiSSigNNo said:
check out this gadget http://usb.brando.com/prod_detail.php?prod_id=00805
Click to expand...
Click to collapse
That gadget won't help. How is a phone supposed to make use of it?
Ali 24789 said:
Uh, what? I'm sharing my internet connection over Wi-Fi with my MacBook right now and my Tattoo can connect to it and access the internet just fine.
Edit: You're probably thinking of android-wifi-tether, which lets you share your phone's 3G/2G mobile connection via Wi-Fi or Bluetooth.
Edit2:
That gadget won't help. How is a phone supposed to make use of it?
Click to expand...
Click to collapse
If you are talking about tethering, it is OK, I am just satisfied with USB tethering, it is working now, but What I am actually looking for is about RETHETING just converse connection of that tethering. (I know there is no word like RETHETING BUT I don't know what is the right term of just converse connection of tethering.) The problem is, I want to share wired Internet at my working place with my HTC tattoo phone as I have limited GPRS subscription to save some money and to enjoy speed of that wired internet.
I thought running Connectify on my Windows 7 laptop connected to that wired Internet as a Wi-fi hotspot then connected by this android phone (Tattoo) is the right solution.
Yes, it is connected pinging is ok but could not access internet from my Tattoo. May be some firewall problem or something I cannot figure out. If some one have solution it is most welcome.
thacen said:
If you are talking about tethering, it is OK
Click to expand...
Click to collapse
No, I was talking about "retheting"; my MacBook has a wired (ethernet) connection to the internet and is sharing it over Wi-Fi, which my Tattoo can connect to and use.
I did some reading up on Connectify (and was surprised to find that Micro$oft still hasn't quite implemented the feature natively on Windows yet) and it should work. I don't have a Wi-Fi card on my desktop PC so I can't test it myself but perhaps you are having something like a firewall problem.
Ali 24789 said:
No, I was talking about "retheting"; my MacBook has a wired (ethernet) connection to the internet and is sharing it over Wi-Fi, which my Tattoo can connect to and use.
I did some reading up on Connectify (and was surprised to find that Micro$oft still hasn't quite implemented the feature natively on Windows yet) and it should work. I don't have a Wi-Fi card on my desktop PC so I can't test it myself but perhaps you are having something like a firewall problem.
Click to expand...
Click to collapse
I have tried with Connectify and also Virtual Router on my Windows 7 but could not success. I think you are lucky to own a macbook. My Windows 7 is RC so it might be because of that or Tattoo may lack something.
Regarding that android-wifi-tether, it reports as rootted device required and could not help my requirement.
I thought you were talking about an usb internet sharing connections...
If you want to do it via wifi, is pretty easy, since ALL windows have the ad-hoc functionality made by default. Problem is that if you use it with your wifi chipset then you won't be able to conect directly to other wifis if it is your main connect unless you buy another wifi card for this purpose...
in windows 7 you can find this functionality under the connection center... in windows xp is a little bit difficult because you have to configure the adapter into the wifi adapter properties in network connections tabs.
MiSSigNNo said:
I thought you were talking about an usb internet sharing connections...
Click to expand...
Click to collapse
Yes. I actually want that USB internet sharing. But till date no one is seem to success it.. So, while waiting for this solution.. I am just looking for alternative, that sharing through wifi.
If you want to do it via wifi, is pretty easy, since ALL windows have the ad-hoc functionality made by default. Problem is that if you use it with your wifi chipset then you won't be able to conect directly to other wifis if it is your main connect unless you buy another wifi card for this purpose...
in windows 7 you can find this functionality under the connection center... in windows xp is a little bit difficult because you have to configure the adapter into the wifi adapter properties in network connections tabs.
Click to expand...
Click to collapse
I also thought that it should be very easy, and tried all possible means that I know but could not success. One funny thing is, I can get IP address resolved of any URL on my tattoo after wifi connection. It means it can reach DNS server and can resolve IP address but still could not able to browsing. May be some firewall or Antivirus is blocking the browsing on my Windows 7 pc I need to check thoroughly.
If someone have good explanation, it will be very helpful... thanks.
Wifi is working
I was making my laptop complicated by setting 3 static IP networks..as my work place has 3 gateways and I manually change gw when required. I clean it up and set to only one. Now Internet through Wifi of Laptop is OK I am using Connectify on Windows7.
Thx for the patience.
But still waiting for solution on USB "Retheting"

[HowTo]: Remote desktop on HD2 for Win7 with WiFi and NO ROUTER or INTERNET!

If you want to set up a remote desktop from your HD2 to your laptop through WiFi, using NO ROUTER and NO INTERNET connection, you easily can. What will you use it for and why? It is up to you.. but it can come in handy considering this can be done anywhere as long as you have your laptop and your HD2 with you. This is how:
-Download 'Connectify' here and install it on your laptop
-connectify1.png: 1) The name of the WiFi-connetion that you will connect to from your phone2) Password (not needed, but if you choose none, anyone with a WiFi device can connect to your WiFi 3) Select your Wireless Network Connection4) Start the WiFi router (after this, connect to the WiFi network on your HD2!)
-connectify2.png: 5) and 6) Open your 'Network and Sharing Center' by clicking the link the image shows
-connectify3.png: Follow 7)
-connectify4.png: Follow 8)
-connectify5.png: 9) Write down this number
-RemoteDesktop1.jpg: You have connected to your new Wireless network on the HD2
-RemoteDesktop2.jpg: Open 'Remote Desktop' on your HD2 in [START] -> [Tools] -> [Remote Desktop], in the first field, fill in the 'IP'-address that you found in step 9) in 'connectify5.png'. In the second and third field, fill in the username and password for your laptop (the user-account you use to login to windows)
-RemoteDesktop3.jpg: Settings for your remote desktop.. choose as you please
--> Press 'Connect' and you're good to go!
REMEMBER THAT THIS WILL ONLY WORK WHEN YOU'RE IN THE WiFi RANGE OF YOUR COMPUTER!
Thanks to Leftkats for the solution:
leftkats said:
ok found something... There http://connectify.me/ I don't know if its a demo but it didn't ask for any serials so I assume its freeware.. Download and install, and follow the easy to set up wizard... Worked for me...
Cheers
Click to expand...
Click to collapse
Original post:
Hi,
I'm really having a hard time understanding how to connect to my Windows7 Pro-based laptop through WiFi with my HD2.
1) I don't understand how to set up a WiFi connection and if I'm supposed to find it on my HD2 and connect to it before trying the remote desktop connection
2) I don't understand how to set up a WiFi connection on my laptop that can be found from my phone
3) I don't understand how to find the IP (or any other settings like ports) that should be used trying to connect to the laptop from remote desktop on my HD2.
(I've read this: http://www.windowstalk.org/2009/10/how-to-find-your-computer-ip-address-in-windows-7/ ..but did not come as far as to details, no kidding perhaps when I can't even set up a connection).
Anyone willing to give me a detailed guide, from first click to last, on my laptop and HD2? Please treat me like a 3yr-old when explaining.... /:
//Bear in mind that I have used the whole night searching for a guide on the net and the forums.. but none take me there from the absolute step one. Most of them just say "fill in the information and you're GO! " /:
Click to expand...
Click to collapse
Ok so first I'm presuming you have a wireless network, dont no if it can be done without one (correct me if im wrong folks) so im on xp so might be different on 7 but nearly the same i guess
so have your pc and you're phone both running from the wifi
then on your pc go to my computer, right click and open properties, you wanna be on system properties by now and look for Remote, you wanna allow remote assistance and allows users to connect remotely,
then fire up RD on your HD2, where it says computer thats where the ip of the oc goes, you can look it up by clicking the network icon in the desktop of the pc, should be something like 192.168.x.x type that in you're phone (computer section in remote desktop)
the username is the same username as your pc is called or youre account
then click connect have a go if you need more help just reply mate
EDIT I will take some screen shots for you
Demon_man said:
Ok so first I'm presuming you have a wireless network, dont no if it can be done without one (correct me if im wrong folks) so im on xp so might be different on 7 but nearly the same i guess
so have your pc and you're phone both running from the wifi
then on your pc go to my computer, right click and open properties, you wanna be on system properties by now and look for Remote, you wanna allow remote assistance and allows users to connect remotely,
then fire up RD on your HD2, where it says computer thats where the ip of the oc goes, you can look it up by clicking the network icon in the desktop of the pc, should be something like 192.168.x.x type that in you're phone (computer section in remote desktop)
the username is the same username as your pc is called or youre account
then click connect have a go if you need more help just reply mate
EDIT I will take some screen shots for you
Click to expand...
Click to collapse
I don't have a wireless network. I have a laptop with WiFi set to 'ON', and my HD2's WiFi set to 'ON'.. not router or anything like that.
I'm also using a Mobile Internet for my internet, so that connection comes up in my network and sharing centre as connected, and the IP is not standard like 192.168.0.x..
You'd think it would be possible to just connect the bastards like good old bluetooth.. well, wish at least.
I have allowed remote desktop in the settings of my laptop.
I believe the main issue here is setting up a WiFi network that I can connect to from my phone /:
ok so let me gey this right,
you wanna connect via Remote desktop to the laptop and you have no router?
Why?
Remote desktop allows you to view your computet on youre phone,
bit confused bout what you wanna do now
Demon_man said:
ok so let me gey this right,
you wanna connect via Remote desktop to the laptop and you have no router?
Why?
Remote desktop allows you to view your computet on youre phone,
bit confused bout what you wanna do now
Click to expand...
Click to collapse
I want to lie in bed browsing my laptop from my phone.. The size of the phone is so much more attractive to me /:
Why is a router such a biggie? And if it is, can remote desktop be used via something more simple assay.. bluetooth? /:
as faw as im aware Remote desktop can only be done through the net i could be wrong,
did you say you are using your phones internet on the laptop to browse or a usb dongle thingy lol
Demon_man said:
as faw as im aware Remote desktop can only be done through the net i could be wrong,
did you say you are using your phones internet on the laptop to browse or a usb dongle thingy lol
Click to expand...
Click to collapse
USB-dongle with seperate SIM dedicated for data use d:
So I've got internet from the comuter (lol, writing here hehe), but I don't want to use GPRS from my phone just to access my laptop /:
forgot password lock
forgot password lock micro max mobile model W900 pls help !!
Ok gothcya, then all you should have to do is have your laptop connected to the net, open Remote desktop on your phone and where it says computer type in your ip address from your laptop, type your username which should match the same as the laptop, and you may need a password on you're win 7 account might not though,
You're ip address can be found here http://www.whatsmyip.org/ on this site it will tell you you're IP address that's what goes in the computer bit in remote desktop mobile on your phone,
I dont think you will be able to do it over wifi as you're not got the laptop on a wireless network, so it will use your gprs data
EDIT = just found this detailed blog, might help you out but still dont think can be done over wifi the way you want it mate
http://highdiver.wordpress.com/2010/02/13/setting-up-remote-desktop-connection-on-htc-hd2/
Demon_man said:
Ok gothcya, then all you should have to do is have your laptop connected to the net, open Remote desktop on your phone and where it says computer type in your ip address from your laptop, type your username which should match the same as the laptop, and you may need a password on you're win 7 account might not though,
You're ip address can be found here http://www.whatsmyip.org/ on this site it will tell you you're IP address that's what goes in the computer bit in remote desktop mobile on your phone,
I dont think you will be able to do it over wifi as you're not got the laptop on a wireless network, so it will use your gprs data
EDIT = just found this detailed blog, might help you out but still dont think can be done over wifi the way you want it mate
http://highdiver.wordpress.com/2010/02/13/setting-up-remote-desktop-connection-on-htc-hd2/
Click to expand...
Click to collapse
Ok, thanks mate, I'll try and see!
Tried the instructions on that blog, it didn't help though ):
Im struggling to figure out what you are stuck on now lol, I told you where the stuff is and what you need to do what are you struggling with ?
Demon_man said:
Im struggling to figure out what you are stuck on now lol, I told you where the stuff is and what you need to do what are you struggling with ?
Click to expand...
Click to collapse
It worked (using GPRS).. too bad I can't do it with WiFi though (direct WiFi to my laptop). Strange though.. if I can share internet with my HD2 by making it a router, it should be possible with the laptop:
Mobile Broadband from laptop -> Laptop as WiFi router -> WiFi on HD2 now with internet -> HD2 on WiFi shared by laptop -> Remote desktop of laptop ):
Luggruff said:
It worked (using GPRS).. too bad I can't do it with WiFi though (direct WiFi to my laptop). Strange though.. if I can share internet with my HD2 by making it a router, it should be possible with the laptop:
Mobile Broadband from laptop -> Laptop as WiFi router -> WiFi on HD2 now with internet -> HD2 on WiFi shared by laptop -> Remote desktop of laptop ):
Click to expand...
Click to collapse
so basically you want to be connected on your laptop, which will be set as a router, with your phones wifi connection... interesting... Something like an ad-hoc connection???
I will try that and let you know if it works...
leftkats said:
so basically you want to be connected on your laptop, which will be set as a router, with your phones wifi connection... interesting... Something like an ad-hoc connection???
I will try that and let you know if it works...
Click to expand...
Click to collapse
Cool! ^^
(also if you can make the laptop a WiFi router that allows the HD2 to connect to it's WiFi and use remote desktop.. with no internet connection at all, that would be awesome!)
Luggruff said:
Cool! ^^
(also if you can make the laptop a WiFi router that allows the HD2 to connect to it's WiFi and use remote desktop.. with no internet connection at all, that would be awesome!)
Click to expand...
Click to collapse
ok found something... There http://connectify.me/ I don't know if its a demo but it didn't ask for any serials so I assume its freeware.. Download and install, and follow the easy to set up wizard... Worked for me...
Cheers
leftkats said:
ok found something... There http://connectify.me/ I don't know if its a demo but it didn't ask for any serials so I assume its freeware.. Download and install, and follow the easy to set up wizard... Worked for me...
Cheers
Click to expand...
Click to collapse
Thanks! That worked like a charm ^^
I haven't read through all of the post but there is a better way than gprs. If your laptop's wifi adaptor supports ad-hoc mode (tbh it should. i don't know of an adapter that doesn't) it will be possible to set the laptop up as the network wifi server and then connect the phone to it via wifi. Then, all you'll need to do is right click "computer" on the laptop then click "advanced system settings" and then "remote". Finally click "allow connection from any computer running remote desktop". Next, in the start search box look for "command prompt" and when it appears click it (you may need to run it in administrator mode). Run ip config and look for the ip address assigned to "Wireless LAN adapter wireless network connection".
This is where we move to the phone. Connect the phone to the ad-hoc network you made on the laptop and run remote desktop on the phone. Give the ip you just obtained from ipconfig and give it your username and password, hit connect and jobs done.
I'm not gonna tell you how to setup the ad-hoc network coz i think you need to do some research on google in order to learn the value of how good it is (plus i'm watching the post race from the Canadian F1 GP).
M3PH said:
I haven't read through all of the post but there is a better way than gprs. If your laptop's wifi adaptor supports ad-hoc mode (tbh it should. i don't know of an adapter that doesn't) it will be possible to set the laptop up as the network wifi server and then connect the phone to it via wifi. Then, all you'll need to do is right click "computer" on the laptop then click "advanced system settings" and then "remote". Finally click "allow connection from any computer running remote desktop". Next, in the start search box look for "command prompt" and when it appears click it (you may need to run it in administrator mode). Run ip config and look for the ip address assigned to "Wireless LAN adapter wireless network connection".
This is where we move to the phone. Connect the phone to the ad-hoc network you made on the laptop and run remote desktop on the phone. Give the ip you just obtained from ipconfig and give it your username and password, hit connect and jobs done.
I'm not gonna tell you how to setup the ad-hoc network coz i think you need to do some research on google in order to learn the value of how good it is (plus i'm watching the post race from the Canadian F1 GP).
Click to expand...
Click to collapse
Okay d: There was a way easier answer, posting quote (easier):
leftkats said:
ok found something... There http://connectify.me/ I don't know if its a demo but it didn't ask for any serials so I assume its freeware.. Download and install, and follow the easy to set up wizard... Worked for me...
Cheers
Click to expand...
Click to collapse
Luggruff said:
Okay d: There was a way easier answer, posting quote (easier):
Click to expand...
Click to collapse
Nothing more than a front end for what is already in windows. It looks like it basically does what i was instructing you to do by hand. I won't have used it but i know what i'm doing and i have a wifi/wired domain network so my phone is actually joined to the server and the server treats it like a client. The same as it would the pc so i can use the internal dns to find any machine connected and not have to worry about the ip's (but i do know them all off of the top of my head)
M3PH said:
I haven't read through all of the post but there is a better way than gprs. If your laptop's wifi adaptor supports ad-hoc mode (tbh it should. i don't know of an adapter that doesn't) it will be possible to set the laptop up as the network wifi server and then connect the phone to it via wifi. Then, all you'll need to do is right click "computer" on the laptop then click "advanced system settings" and then "remote". Finally click "allow connection from any computer running remote desktop". Next, in the start search box look for "command prompt" and when it appears click it (you may need to run it in administrator mode). Run ip config and look for the ip address assigned to "Wireless LAN adapter wireless network connection".
This is where we move to the phone. Connect the phone to the ad-hoc network you made on the laptop and run remote desktop on the phone. Give the ip you just obtained from ipconfig and give it your username and password, hit connect and jobs done.
I'm not gonna tell you how to setup the ad-hoc network coz i think you need to do some research on google in order to learn the value of how good it is (plus i'm watching the post race from the Canadian F1 GP).
Click to expand...
Click to collapse
hehe... was watching F1 as well..!! I did try the ad-hoc option but I couldn't get it to use my existing Wifi connection for some reason... what they do now, is only connecting to computers with wifi connection together... I didn't spend so much time with this to be honnest, but the other option I mentioned before is a lot easier for everybody...

Remote Desktop Help

So I want to use remote desktop on my TP2 to connect to my laptop at home. I've done all the requirements to allow to use this feature; I've enabled port forwarding in my router settings and I have enabled remote desktop on my laptop's Windows 7 system properties. And on my TP2 I enter my ip address for the "computer" field, my Windows 7 account user name in the "user name" field (I only have 1 account on my laptop and it is admin), and the account password in the "password" field. After all of this, my TP2 will still not connect to my laptop. At this point I am pulling my hair out trying to figure out what I am doing wrong. Can anybody help?
Does your computer has public IP Address?
Yes. I go to www.whatismyip.com and it displays my ip address. I've tried entering this address in the "computer" field as well and nothing.
you'll need to forward port 3389 through any router you may be using (check out portforward.com)
you'll also need to enable RDP connection on the machine through System>Remote.
there are 1001 guides you'll find with a quick google, its not a phone specific thing.
edit: ive previously found that the WM RDP client wont start a 'net connection itself. if you find the same, just do it manually through com manager or check ur mail etc.
Did you forward port 3389 to the internal ip address of your laptop?
Do you have a software firewall on the laptop that may be blocking access?
First try to figure out where the error occurs.
Try to connect to your pc, using an other pc ( from outside )
If it works, it must be a setting in your mobile device.
If pc also doesnt work, it should be a port problem, in that case, try using hamachi..
Oh, and check if you dont have a blocking program, or firewall .. like suggested above
Does my phone need to be connected to wi-fi in order to use remote desktop or will it just use my carrier's data service?
develop1 said:
Does my phone need to be connected to wi-fi in order to use remote desktop or will it just use my carrier's data service?
Click to expand...
Click to collapse
it will use any data connection available, no need to connect to wifi if you have data plan activated.
some tips:
1. you must have NAT (port forwarding) configured in your router
2. If your router has public IP address on WAN port, then point 1. is just sufficient if you are on some routed network, than you need to ask your provider, maybe you will be lucky
2.1. (here are network ranges used as private, only for identification)
from 192.168.0.0 to 192.168.255.255
from 172.16.0.0 to 172.31.255.255
from 10.0.0.0 to 10.255.255.255
3. point 1. specification - enable NAT from WAN port to local IP address of your computer, specific port is TCP 3389. Also is good to make a reservation on DHCP server for this PC.
4. you need to enable remote desktop on your PC
4.1. computer properties - remote desktop setup - and its middle line on remote desktop settings
4.2. click "choose users" and check if your account is listed
Thanks alot to everybody's help! Your advise allowed me to get this things working, I really appreciate it. I had the port open and had remote desktop enabled on my computer but the thing that was killing me was I had the windows firewall on and my ESET Smart Security firewall on as well. Once I disabled them I was able to make the connection. What a head ache those firewalls gave me. I thank you all once again for your assistance.
I want to remotely access my PC from TP2, what software do I need to install on my phone?
sheharyar said:
I want to remotely access my PC from TP2, what software do I need to install on my phone?
Click to expand...
Click to collapse
The answer depends on what you have available to connect to. Your network (if any exists) and the machine/OS you want to connect to.
If you could let me know the following, I'll see if I can help:
How you machine's connected to the net. (for example, mines something like PC>Router>Cable modem>outside world).
The operating syustem in use on your PC. Specifically please, the edition and version is important to know. Mine's Windows 7 Ultimate, for example.
but, to cut a long story short: if you're not using a home edition of one of the recent windows OSs (XP and later), I'd suggest Remote desktop's the best way to go. There's a .cab knocking around here if you don't already have it on your phone and the PC end's described in the 'Configure Remote Desktop' and 'Configure Your Router' bits of this page: http://www.microsoft.com/windowsxp/using/networking/expert/northrup_03may16.mspx (ignore the other sections, they're not relevant unless you're running IIS)
enjoy
I have a WIFI Router installed, have a laptop with VISTA ULTIMATE and PC with XP Professional.
I am already able to RD my laptop from my PC.
I want to RDS my laptop from my phone via the same network/WIFI. I think it is pretty simple.
This is what I am doing
I have installed Remote Desktop Mobile
I have connected to WIFI
when I run Remote Desktop Mobile & enter my laptop's name, with username and password and click connect, connecting remains on top and is not connecting it. I am not in any domain, do i have to leave the domain name empty?
if you're not using a domain, leaving it blank's right.
Does it just time out on your phone?
Do you get the same if you try connecting via IP instead of your machine's name?
mad_tunes said:
if you're not using a domain, leaving it blank's right.
Does it just time out on your phone?
Do you get the same if you try connecting via IP instead of your machine's name?
Click to expand...
Click to collapse
I am able to connect from my pc.
When I try to connect from my phone either by IP or computer name, it does not even time out, it just remains stuck at Connecting...
Nothing happens after 5 minutes, even no error message appears.
sheharyar said:
I am able to connect from my pc.
When I try to connect from my phone either by IP or computer name, it does not even time out, it just remains stuck at Connecting...
Nothing happens after 5 minutes, even no error message appears.
Click to expand...
Click to collapse
Your laptop seems to be configured well ( you can access it using the pc )
So it must be a setting in the phone. You sure it is connected to wifi , maybe it stays on 3g ) Or maybe your laptop only allowes 1 ip to connect ( the pc's ip )
I am even able to connect to my laptop over internet as the port 3389 is fwd.
Do I have to configure anything on my phone other than installing that cab file?
Or maybe the cab file I've installed is corrupt or something, can someone please share the cab file?

[Q] Alternative way to access the internet

Hi,
I connect my laptops to the internet through a university LAN, with static IP adress.
When I wanted to connect my HD2 to the internet while on WinMo, it was pretty easy - i just had to do it through activesync, over USB.
However, on Android I am finding it really hard, because I have a few problems:
1. I can't get any wifi router to work over this LAN (and I know others can't too);
2. Ad-hoc isn't working on android, and I also couldn't get the patches here on xda to work;
3. I've tried Connectify (turn ad-hoc into ap/hotspot) but also it didn't work;
So I am running out of ideas. I have mobile carrier internet access, but of course i have limited bandwidth and trafic, and it would be much nicer to use my laptop's internet access.
Do you suggest any workaround for this situation? Is anyone working on some kind of "reverse tethering" usb solution for the Android, a la ActiveSync? Maybe I should keep trying to get ad-hoc to work?
Thanks for your time and help!
Luis
luigipirex said:
Hi,
I connect my laptops to the internet through a university LAN, with static IP adress.
When I wanted to connect my HD2 to the internet while on WinMo, it was pretty easy - i just had to do it through activesync, over USB.
However, on Android I am finding it really hard, because I have a few problems:
1. I can't get any wifi router to work over this LAN (and I know others can't too);
2. Ad-hoc isn't working on android, and I also couldn't get the patches here on xda to work;
3. I've tried Connectify (turn ad-hoc into ap/hotspot) but also it didn't work;
So I am running out of ideas. I have mobile carrier internet access, but of course i have limited bandwidth and trafic, and it would be much nicer to use my laptop's internet access.
Do you suggest any workaround for this situation? Is anyone working on some kind of "reverse tethering" usb solution for the Android, a la ActiveSync? Maybe I should keep trying to get ad-hoc to work?
Thanks for your time and help!
Luis
Click to expand...
Click to collapse
Try hyper droid. It has wifi routing built in. plus improvements to wifi...
Sent from my HTC HD2 using XDA App
FriedSushi87 said:
Try hyper droid. It has wifi routing built in. plus improvements to wifi...
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Thanks for the suggestion, but I would like to keep my android build (i feel comfortable with sense) and changing to that build would help me with wifi tethering, but I am looking for something different... unless that build already supports ad-hoc networks. However, ad-hoc is so unpredictable that a different solution altogether would be best.
Luis
Any other ideas on this?
Luis
Try bridging your laptops wireless and wired lan connections under windows. That will make your hd2 as if it is connected directly to LAN. (Select both connections with CTRL and right click bridge)
memin1857 said:
Try bridging your laptops wireless and wired lan connections under windows. That will make your hd2 as if it is connected directly to LAN. (Select both connections with CTRL and right click bridge)
Click to expand...
Click to collapse
Unfortunately, as I have stated before, I can't connect the HD2 to my laptop via wi-fi, because I can't get ad-hoc to work properly on the HD2. But thanks for your suggestion.
Sent from my HTC HD2 using XDA App
Did you try connectify in Access Point mode? (Connectify supports ad-hoc mode with every wifi chipset and real ap mode with some wifi chipsets)
Check: http://www.connectify.me/docs/supportedcards.html for AP mode compatible wifi chipsets and drivers.
You may get a cheap wifi card or usb wifi that is compatible with connectify ap mode.
Second solution: (Reverse usb tether method)
Another solution would be finding a Android build that has known working usb tether mode such as shubcraft 1.4c rmnet and connecting it to pc then bridging the usb and ethernet over a Linux computer. That will make the usb tether in reverse direction. You need a linux computer or a virtual machine with linux. Difficult but possible.
Follow these steps: http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Third solution: (Share internet over bluetooth)
You can try this one too: http://www.geekzone.co.nz/content.asp?contentid=1285 and http://www.geekzone.co.nz/content.asp?contentid=445 You need a bluetooth module with lan profile support on your pc. Should be cheap if not already integrated to your pc.
I haven't tested due to lack of time. Could you provide feedback?
memin1857 said:
Did you try connectify in Access Point mode? (Connectify supports ad-hoc mode with every wifi chipset and real ap mode with some wifi chipsets)
Check: http://www.connectify.me/docs/supportedcards.html for AP mode compatible wifi chipsets and drivers.
You may get a cheap wifi card or usb wifi that is compatible with connectify ap mode.
Second solution: (Reverse usb tether method)
Another solution would be finding a Android build that has known working usb tether mode such as shubcraft 1.4c rmnet and connecting it to pc then bridging the usb and ethernet over a Linux computer. That will make the usb tether in reverse direction. You need a linux computer or a virtual machine with linux. Difficult but possible.
Follow these steps: http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Third solution: (Share internet over bluetooth)
You can try this one too: http://www.geekzone.co.nz/content.asp?contentid=1285 and http://www.geekzone.co.nz/content.asp?contentid=445 You need a bluetooth module with lan profile support on your pc. Should be cheap if not already integrated to your pc.
I haven't tested due to lack of time. Could you provide feedback?
Click to expand...
Click to collapse
Thanks for taking the time to help me with a thorough, well written reply
Fortunately, I managed to solve my problem with a variation of your first solution
I had tried Connectify before. On my (older) HP laptop, it only provided ad-hoc networking. But on my eee-pc, it was able to work on AP mode. However, I couldn't connect to it from any of my devices, Android, WinMo or even my other laptop (Win 7).
So I did a little more research to check if there were any other apps available that would take advantage of Win7's ability to more or less easily create a hot spot (based on its Virtual Wifi Miniport Adapter) and I found this one: Virtual Router.
http://virtualrouter.codeplex.com/
I absolutely recommend it!
It worked flawlessly on my eee-pc and I manage to connect to it my (other) win 7 laptop, a touch HD on winmo, and my touch hd2 on both android and winmo, without a single glitch. So now I am using my LAN's internet access on my HD2 on Android through wifi, without having to use a wifi router or establishing any ad-hoc networks.
So problem solved (for now)!
Thanks for your help anyway. I hope that others may also find this app useful.
Luís
Well thank YOU, now me and also the community has a reverse wifi tether solution for Android.
solved
dude...use "mhotspot"
without installing the software....u can create the hotspot..its working great for my "ace"
www.mhotspot.com

Categories

Resources