[SOLVED] Syncing with Windows: Wifi OK, USB Tethering no longer OK - General Questions and Answers

Hello,
I got a new smartphone running Android 12 through Evolution X — because the original ROM was stuck at Android 9.
Syncing an organizer app with Windows through USB tethering worked for a few days… and stopped working all of a sudden with its familiar "Connection error. Unable to connect. Check firewall settings on your computer."
"ipconfig" shows the USB tethering connection, and the IP + port # in Android match those used by the Windows appp.
Syncing through wifi works.
Exact same issue on another computer.
Disabling the firewall on the computer makes no difference.
Any idea where I could look? I wonder if I didn't enable/disable a feature by mistake.
Thank you.
---
Edit: Found it. I just had to sync once letting Windows use whatever IP it wanted, and then use it to assing the address manually.

Related

Remote Desktop Cannot Connect

Hello all:
(first of all, I apologize for the double post, I erred and replied to a thread in the diamond forum)
I'm having problems getting my remote desktop to work. Been trying to connect since I picked up my Fuze on the 11th.
I have three different computers that I can successfully administer via my desktop. I've tried using 3G to connect, no success. I've tried using Wi-fi to connect, no success. I've used local computer names, IP addresses, properly forwarded ports --
It has to be a setting I'm missing on the phone. Any ideas? TIA
What version of Windows are you trying to connect to? Do you have a Firewall? And have you done the port forwarding on the router?
But the only options you need is Computer: IP Address and the user name and password. Use a Domain if you are connecting to PCs on a domain. Also when I logged in not using 16bit color under options the PC was almost unusable.
My attempts
The things I have tried since my post:
1) attempting to connect to Windows Server 2003 machine, non-local. Used IP address with port, same IPort that works from my desktop. Left username/password blank -- filled them both in -- left the domain name blank -- filled it in. All failed. Get the error message with three possible causes listed. Connected to my home network via wifi, data connection disabled (sometimes causes problems with my internet browsing if they're both enabled)
2) attempted to connect to a local machine, running XP Pro. Again, tried all possible combinations of username/password completeness, no success. Using Wifi
My local router does have a firewall, and the remote router does as well. I can successfully navigate those using my desktop (or laptop, for that matter)
GTO: I appreciate the quick reply...thank you.
3daysaside said:
The things I have tried since my post:
1) attempting to connect to Windows Server 2003 machine, non-local. Used IP address with port, same IPort that works from my desktop. Left username/password blank -- filled them both in -- left the domain name blank -- filled it in. All failed. Get the error message with three possible causes listed. Connected to my home network via wifi, data connection disabled (sometimes causes problems with my internet browsing if they're both enabled)
2) attempted to connect to a local machine, running XP Pro. Again, tried all possible combinations of username/password completeness, no success. Using Wifi
My local router does have a firewall, and the remote router does as well. I can successfully navigate those using my desktop (or laptop, for that matter)
GTO: I appreciate the quick reply...thank you.
Click to expand...
Click to collapse
Okay its been awhile since I used 2k3 sever. Using 2k8 lately but are you trying to use Terminal Server? and if your using 2k3 and you have ISA enabled I know it can be a pain to do port forwarding with it. But let me get this stright. You have no issues using XPs Remote Desktop to log into the server machines Terminal Server/Remote Desktop? Here is an idea. Whatever port your running Terminal Server/Remote Desktop type the IP Address with a : and port. IE 192.168.0.1:3000
Also if you would like you can PM the IP address of one of the Machines and I will try from my phone that I know is working with my machine. I am pretty sure you don't need to end a user name or password and it will bring me up to the login screen or you can make a temp account. On also on the Win2k3 machine I am pretty sure you have to add the option to login with Terminal Server even if its the Administrator account.
I am able to connect to my local XP machine over wifi using the ip addy/no port. Hostname (DNS) connection attempt failed, though. My 2k3 server's power supply died or I would test that for you.
No special router config (port fwd) for my device had been done.
The fact that you can't get to your local box on your local network is where I'd start.
Local Network Issues
Thanks again to you both...
I think that might be the problem -- the local network setup. I can connect via wifi, and browse the web. However, I can't install a network printer using the WinMo app that's included, and I can't seem get to the local PC even when I use the local IP instead of the DNS name. I did check, I'm being issued an IP address by the router (obviously), but still no dice on anything relating to network based traffic.
Is there a way to ping using WinMo? I'd like to be able to use that start.
Cont..
Also, I've noticed that I don't get the same error each time. Depending on which machine I'm trying to connect to, it'll give me an error with either two or three options as to why it's not working. Trying to figure out what that's telling me.
As far as Terminal Services are concerned, when I connect from the desktop, I believe I'm using Remote Desktop there (honestly, I haven't been paying attention -- I just use whatever pops up when I type 'mstsc' from the Run dialog, lol), and I can connect to the 2003 server. However, I can't play with this anymore today, because apparently the server is down, and I won't be able to get to it till Monday.
I think I'm going to go play with the ATT proxy and see if that changes anything. I think mine is still enabled because I read that it might help with the GPS problems...
I have found some freeware app... pocketping 1.6 and microsoft has a network tool offering which I am not sure will work on WM6. I have no exp. with either tool on WM.
Can you get to your http/https router mgmt interface from the device? Check your router's client table? Does your router have any logging capabilities?
Sorry, more questions than answers.
Router
I am able to "dial" into the router from my phone -- it shows the HTCP4600 in the clients table with an IP of 192.168.2.108 ... all good.
My logging on the router was disabled, but now it is enabled. What should I be looking for?
I think i'll try the pocketping...
Now make sure inside of the router then you have all the correct ports forwarded.
It should be port 3999 to 3999 On UDP and TCP and then your PC ip behind the firewall.
Pocketping, JETCET Print 5, and success
Here's the update:
Discovered that by disabling the AT&T proxy on the Fuze, I was finally able to connect to my network printer -- the Fuze doesn't have the drivers for my printer, but that's another thread.
So I was able to make my first IN-Network contact. Installed pocketping 1.6, and it's a very useful tool. I'm able to successfully ping the computers on my network now that the proxy is disabled -- an voila...I can also connect to my laptop on my own network! The main trick was to use the network IP address and not the DNS name.
Thanks to both of you who helped out.

remote desktop on WM?

So i have the HTC HD2 and want to use the remote desktop which is build in the phone. The problem is that i have no clue how to set up my pc.
Im running on windows xp home edition and using a router. I saw a tutorial for setting it up where he basically told me to open a port and it works. After doing that it didnt work and i suspect there are some things not explained in the tutorial... Can anyone help me out on this?
Will not work on XP Home.
Ah i kinda had that feeling, im trying the same thing on my laptop which is windows xp proffesional. But i still cant log in. I also enabled the "allow remote"
Have you activated "Allow remote assistance" or did you activate "Allow connections" ? The latter is the one you need. Also make sure you're in the list of allowed users.
Doing this off the top of my head, I'm using Vista and it's been a while since I've needed to go into those options in XP.
You must have a password set too, so if the computer boots up and goes straight to your desktop without you having to log in, you'll need to set a password.
To access your computer when on the same network (wifi) use the computer's IP address.
Get this by running cmd on the computer and type ipconfig (then hit return).
To access your computer via the internet (over the phone network) use the computer's external IP address.
Get this by going to whatsmyip.org
You'll also need to configure your router to forward TCP port 3389 to the computer's IP address (found via ipconfig as above).
The thing is, with most home broadband connections, your external IP address can change, so get around this problem by using dynamic DNS.
Some routers have a DDNS client built in, with a list of compatible DDNS services. Just go to one of those services' websites and sign up, often it's free. Pick an domain name to register, ie p03p.dyndns.org, and use that to connect rather than your external IP address.
Best to check you can connect via wifi first using the computer's internal IP address.
If that doesn't work, are you running a firewall?
If you don't have a 3rd party one like Symantec/Norton, then check the windows firewall - ensure the Remote Desktop exception is ticked, if it is, then disable the firewall, and also untick the network connections on the advanced tab (even though the windows firewall says it's disabled, don't expect it to know that!).
If you use a 3rd party firewall, then look into how you can add a rule for port 3389 (RDP)
One way to get around the issue of a dynamic IP address on the home PC is to use Himachi2....it's a super-simple way to create a tunnel to your home pc no matter what the ever-changing external IP address is, and they have a winmo client now too. You simply set up the host once on your home PC, and as long as you leave it running it's very easy to create the remote connection just like you're on the local network with the PC....then you just use Remote Desktop that way
I ticked both the allow options just to be sure. What i also did is go on my 2nd laptop which also has windows xp pro on it to try and connect to my 1st laptop which also didnt work.
I think the problem lies in the list of allowed user. When i get into that list i dont see anyone in it. I assume i have to add my 2nd laptop in that list in order to get this to work. I tried to look a bit arround but i dont know how to add someone to that list.

RDP Setup

I am not sure if its the right forum to ask this question, but knowing the smart ppl we have here i hope i am wrong!
I just downloaded Remote RDP Enterprise 3.2 and i am trying to setup so i can connect to my home pc. I am using a router model WGT624 netgear router. I tried the port forwarding (had to setup custom PF, because it wouldnt let me add 3389 as a port on the services which offers through the router) as it was suggested but i think i might be doing something wrong because it just wont connect at all.
my PF on my router looks something like this:
# Service Name Start Port End Port Server IP Address
1 RDP 3389 3389 192.168.X.X
And when i goto whatismyip.com i have a different IP address: 67.234.x.x
on the app on my phone which IP address do i connect through?
Anyone use the same app and has a netgear router and knows how to set it up? or any documentation on how to get this thing working and can share it would be extremely helpful, its for my work!
Thanx so much in advance
Hi iknight8. I don't have that app but I'll try and help.
You need to connect to the external IP address (67.234.x.x) when you are on the internet and the internal IP (192.168.X.X) when you are on your internal network.
A good troubleshooting step would be to try connecting to you PC on the internal address when you are connected to your wifi. This should work with any of the port forwarding you have setup so if it doesn't then then you know it is a proble with the setting on the pc itself. Remote desktop has to be enabled in the computer settings and allowed on any firewalls you are using.
i tried connecting both but i get a Socket is not connected message!
if u can use it and let me know of the setting to make it work would be nice
Thanx again
p.s. wen i am on internal wifi network, same as pc and i put that PF ip addess, i get a mesage "no route to host"...
Do you have allowed RDP connection on PC?
I downloaded the app and the first time I tried it on my wifi I got the same error as you, no route to host. The problem was that I didn't enable remote desktop on my PC. Once I set it to allow connections from computers running any version of remote desktop it worked straight away.
This is what I did.
1. In the app, press the menu button and add.
2. I put in the IP address of my pc and port 3389.
3. On my PC I disabled the windows firewall.
4. Also on my PC (I'm using windows 7), I enabled remote desktop by going to start, right click computer, click properties, click remote settings and check the allow connections from computers running any version of resmote desktop radio button.
5. finally I connected my phone to my wifi and tapped on the connection I created in the app. It gave me my logon screen.
If you can get this working hopefully your port forwarding settings are corect and that will work too. Hope this helps.

Splashtop Issue (Port not reachable)

Not a tablet issue, must be a PC Splashtop remote server issue. I ask this here since Splashtop support is useless as they always point to router settings for connectivity from WAN and this is on the local LAN. I'm curious if any other Asus Transformer MyCloud users have the same issue.
My problem is that all of a sudden I am not able connect to use Splashtop remote on my PC. Whenever I try to start the desktop server I get the message "port not reachable" error. This is using all the default settings from Asus MyCloud and ASUS PC suite software from their site.
When I first installed a couple of weeks ago, I used to be able to be able to remote from my Transformer while on WiFi on my home LAN, and I also set up port forwarding on my router to access remotely over the internet. Everything worked great. But now the server suddenly cant reach port 6783 (probably 6784 and 6785 as well). I tried changing the ports, but every port I use is "Unreachable". I tried a local port scanner and the port is open. There is nothing set in windows firewall to block. It continues to fail even if I turn off the firewall. I reinstalled PC software and still no good.
I am running Win7 home. The only thing I can think of is that there was a Windows Update that may have caused a problem. Has this happened to anyone else?
nonpaq said:
My problem is that all of a sudden I am not able connect to use Splashtop remote on my PC. Whenever I try to start the desktop server I get the message "port not reachable" error. This is using all the default settings from Asus MyCloud and ASUS PC suite software from their site.
Click to expand...
Click to collapse
I just tested on my TF to see if I can connect to my work computer to see if there was any problems (maybe the servers were down at SplashTop or something). Everything connected fine. I've added my computer manually and am using these settings on my tablet: Port # 6783, IP address set, password set, resolution 1280 x 800.
On my Win 7 Pro laptop, I'm using these settings: Start Splashtop Streamer (checked), Enable Internet Discovery (unchecked), redirect all sound to the client (checked), password set and confirmed, Port # 6783 applied, version # 1.5.0.1 Splashtop Streamer. Also, for Win 7 security settings I have: Network Firewall (On), Virus Protection (On), Spyware protection (On), UAC (On), Network Access Protection (Off) and I'm not running any additional security software.
So, do all your settings seem to be set correctly?
I'm convinced that its the Splashtop Streamer install on the PC. Every other network app is working fine, just this one shows "port is not reachable" no matter which port I set. Once that is solved I'm sure my TF will be able to discover it.
I'm going to try a second PC on my network just to confirm that its not a LAN issue.

[Tips]Access internet via USB net: share Windows internet connection to android phone

I tested accessing internet in Android phone via USB net which connected to a Windows XP PC, pure wired, not wireless solution I Googled.
It works! However, some application does not designed to use USB net, these application only use WiFi or GPRS/EDGE/HSPA to access internet.
My environment:
Windows: XP
Phone: Huawei U8800, Android 2.3.5
Internet: Ethernet (ADSL+router infact)
For those people who don't have WiFi, can't use WiFi (care about baby's health?), don't want to use WiFi/GPRS/EDGE/HSPA (expensive?), here is the tips to let you access internet via USB net.
How to do
Your android phone must be rooted first
Install Microsoft ActiveSync on your Windows PC
Install Terminal Emulator application on your android phone from market.
Connect your phone to your Windows PC
On your phone, turn on USB tethering: Settings -> Wireless & networks -> Tethering & portable hotspot -> USB tethering
Now, look at your Windows system, there will be a new network card (Windows Mobile-based Internet Sharing Device) appears
Share your internet connection to the new network card: right click internet connection (PPPoE or Ethernet or WiFi or whatever your internet connection is) -> Property -> Advance -> Enabled internet connection sharing. (if your Windows Firewall service is not started, start it first), this will change the IP address of new network card to 192.168.0.1/255.255.255.0
Now back to your phone, open the Terminal application, type commands like the following
Code:
su
ip addr add 192.168.0.2/24 broadcast 192.168.0.255 dev usb0
route add default gw 192.168.0.1 dev usb0
setprop net.dns 192.168.1.1
setprop net.dns1 8.8.8.8
setprop net.dns2 8.8.4.4
# the DNS server should change to your favorite DNS server, 192.168.1.1 is for my environment (a router)
DONE! turn your phone WiFi off, open a browser, you can surfering now, but as I tested, some other application won't work (or work well), they don't know USB net
Compatible/Incompatible applications
I tested few applications, found some compatible and incompatible applications, I will list them here, if you found incompatible applications, please help fill these lists.
++ Compatible ++
Generally, most browser or browser-like application works with USB net.
XDA
Browser
Gmail
Google Map
News & Weather
QQ
SoSo Map
新蛋商城/Newegg Mall China
Opera Mobile Browser
-- Incompatible --
Market: can browse, but can't download application
Weather Clock: can't update weather
QQGame: can login, but can't enter room to play
Google Voice recognition applications like Voice Search
YY: can't login
Jingdong Mall/京东商城: can't login
Proxy issue
For environment which need proxy to access internet, there're very few applications support it. Currently, I only know Opera Mobile browser works in such environment, there're proxy configurations in opera:config page.
very good work >>>
perfect solution
keep working and you might find easier solution .
ELRAKAWY said:
very good work >>>
perfect solution
keep working and you might find easier solution .
Click to expand...
Click to collapse
An easier way already exists: http://forum.xda-developers.com/showthread.php?t=1371345.
Theonew said:
An easier way already exists: http://forum.xda-developers.com/showthread.php?t=1371345.
Click to expand...
Click to collapse
capslock66 really did a great and expert job both on Android and Windows.
My solutions is some kind of clean & manual one, no application is needed on Android phone, no router-like client application is needed on Windows PC, let "Windows Firewall/Internet Connection Sharing (ICS)" service do the internet sharing magic.
I shared internet between two Windows PC before (install 2 network cards on host PC), so I think it should be same when the client PC changed to an Android phone, that's how this solution came out.
Hey
lovetide said:
How to do
Your android phone must be rooted first
Install Microsoft ActiveSync on your Windows PC
Install Terminal Emulator application on your android phone from market.
Connect your phone to your Windows PC
On your phone, turn on USB tethering: Settings -> Wireless & networks -> Tethering & portable hotspot -> USB tethering
Now, look at your Windows system, there will be a new network card (Windows Mobile-based Internet Sharing Device) appears
Share your internet connection to the new network card: right click internet connection (PPPoE or Ethernet or WiFi or whatever your internet connection is) -> Property -> Advance -> Enabled internet connection sharing. (if your Windows Firewall service is not started, start it first), this will change the IP address of new network card to 192.168.0.1/255.255.255.0
Now back to your phone, open the Terminal application, type commands like the following
Code:
su
ip addr add 192.168.0.2/24 broadcast 192.168.0.255 dev usb0
route add default gw 192.168.0.1 dev usb0
setprop net.dns 192.168.1.1
setprop net.dns1 8.8.8.8
setprop net.dns2 8.8.4.4
# the DNS server should change to your favorite DNS server, 192.168.1.1 is for my environment (a router)
DONE! turn your phone WiFi off, open a browser, you can surfering now, but as I tested, some other application won't work (or work well), they don't know USB net
Click to expand...
Click to collapse
Hey
first of all, thank you so much for your article.
I really need to do this.
anyways, my questions
what's a "rooted android phone" ?
and how do I "Install Terminal Emulator application on my android phone" ?
I'm sorry but I just bought my phone and I don't know much about it
I tried to copy-paste it in my SD Memory but it didn't work
and by the way I didn't download it from Market (because GPRS is so damn expensive in here ), instead I downloaded it from developer's website (jackpal).
thanks again
I really appreciate it o7
Yea you lost me once I found out that in order for this to work I had to install
Microsoft Active Stink.
One of the things I hated about Windows Mobile was its reliance on that crappy software and I don't want it on my new PC.
Arash.Eternal said:
what's a "rooted android phone" ?
and how do I "Install Terminal Emulator application on my android phone" ?
I'm sorry but I just bought my phone and I don't know much about it
I tried to copy-paste it in my SD Memory but it didn't work
and by the way I didn't download it from Market (because GPRS is so damn expensive in here ), instead I downloaded it from developer's website (jackpal).
thanks again
I really appreciate it o7
Click to expand...
Click to collapse
Since you are noob I'll guide you. For info on rooted phones:
http://bit.ly/I3hROF
For everything else check the sticky (the first message) in this forum labeled
Android Terms,Slang & Definitions(READ THIS BEFORE POSTING QUESTIONS!)
Phrack said:
Since you are noob I'll guide you. For info on rooted phones:
For everything else check the sticky (the first message) in this forum labeled
Android Terms,Slang & Definitions(READ THIS BEFORE POSTING QUESTIONS!)
Click to expand...
Click to collapse
meh
thanks for nothin
btw, I LoLed hard at that cat in your signature
Great!
Thanks a ton mate! Keep up the good work. Waiting for Google Play to work with this
lovetide said:
Install Microsoft ActiveSync on your Windows PC
Click to expand...
Click to collapse
That page says: "Note: Microsoft ActiveSync works only with Windows XP SP2 or earlier."
So... can this work on Windows 7?
Hi, This is ashok, I am receiving an error stating "cannot find device usb0". How can i find the device name?
Question
lovetide said:
I tested accessing internet in Android phone via USB net which connected to a Windows XP PC, pure wired, not wireless solution I Googled.
It works! However, some application does not designed to use USB net, these application only use WiFi or GPRS/EDGE/HSPA to access internet.
My environment:
Windows: XP
Phone: Huawei U8800, Android 2.3.5
Internet: Ethernet (ADSL+router infact)
For those people who don't have WiFi, can't use WiFi (care about baby's health?), don't want to use WiFi/GPRS/EDGE/HSPA (expensive?), here is the tips to let you access internet via USB net.
How to do
Your android phone must be rooted first
Install Microsoft ActiveSync on your Windows PC
Install Terminal Emulator application on your android phone from market.
Connect your phone to your Windows PC
On your phone, turn on USB tethering: Settings -> Wireless & networks -> Tethering & portable hotspot -> USB tethering
Now, look at your Windows system, there will be a new network card (Windows Mobile-based Internet Sharing Device) appears
Share your internet connection to the new network card: right click internet connection (PPPoE or Ethernet or WiFi or whatever your internet connection is) -> Property -> Advance -> Enabled internet connection sharing. (if your Windows Firewall service is not started, start it first), this will change the IP address of new network card to 192.168.0.1/255.255.255.0
Now back to your phone, open the Terminal application, type commands like the following
Code:
su
ip addr add 192.168.0.2/24 broadcast 192.168.0.255 dev usb0
route add default gw 192.168.0.1 dev usb0
setprop net.dns 192.168.1.1
setprop net.dns1 8.8.8.8
setprop net.dns2 8.8.4.4
# the DNS server should change to your favorite DNS server, 192.168.1.1 is for my environment (a router)
DONE! turn your phone WiFi off, open a browser, you can surfering now, but as I tested, some other application won't work (or work well), they don't know USB net
Compatible/Incompatible applications
I tested few applications, found some compatible and incompatible applications, I will list them here, if you found incompatible applications, please help fill these lists.
++ Compatible ++
Generally, most browser or browser-like application works with USB net.
XDA
Browser
Gmail
Google Map
News & Weather
QQ
SoSo Map
新蛋商城/Newegg Mall China
Opera Mobile Browser
-- Incompatible --
Market: can browse, but can't download application
Weather Clock: can't update weather
QQGame: can login, but can't enter room to play
Google Voice recognition applications like Voice Search
YY: can't login
Jingdong Mall/京东商城: can't login
Proxy issue
For environment which need proxy to access internet, there're very few applications support it. Currently, I only know Opera Mobile browser works in such environment, there're proxy configurations in opera:config page.
Click to expand...
Click to collapse
What about if I installed one of CM10 ROMs and USB tethering is not working
USB to LAN Ethernet Adapter for Google Android Tablet
AmirNajjar said:
What about if I installed one of CM10 ROMs and USB tethering is not working
Click to expand...
Click to collapse
My Nexus 7 (2012) hat USB host function. I'm simply using an "USB to LAN Ethernet Adapter for Google Android Tablet". No Windows needed.
Lots of troubles
• The ip of my router is "192.168.0.1" and ICS were having a trouble about that.
• After I type in terminal the "ip addr bla bla bla..." it says " Object 'addr' not found. Try 'ip help' "
• I typed "ip help" then it says " 'help' not found try 'ip help' " Seriously??
• I Google "help not found on android terminal" and I cannot find any related problem like mine
The PC I am using doesn't have any WiFi so I badly needed this kind of workaround because I need internet to simulate the app I'm gonna work for. Thanks!
My phone charge only when it connect to pc
why my pc won't recognize my android device , it just doing charging and no usb thing or image in tray or menu ( i don't know the term to use) i search whole day and still i can't find answer for this, i don't have usb utility in my device, i do have usb debugging enabled/disabled, usb computer connection (MTP, PTP and as Storage ) i already restarted my device many times.
Help me with my problem so i can do this
-------------------->>>>>>>>> [Tips]Access internet via USB net: share Windows internet connection to android phone.
sorry if i do this in maybe wrong section :crying:
BoomPork said:
why my pc won't recognize my android device , it just doing charging and no usb thing or image in tray or menu ( i don't know the term to use) i search whole day and still i can't find answer for this, i don't have usb utility in my device, i do have usb debugging enabled/disabled, usb computer connection (MTP, PTP and as Storage ) i already restarted my device many times.
Help me with my problem so i can do this
-------------------->>>>>>>>> [Tips]Access internet via USB net: share Windows internet connection to android phone.
sorry if i do this in maybe wrong section :crying:
Click to expand...
Click to collapse
Have you had try downloading the necessary drivers to be able to detect it by your computer? That's one possible problem I encountered in the past.
Thanks for this. Will try this later. :victory:

Categories

Resources