Hi,
When I try to ping my phone from the PC in a wifi network, it says Destination Host Unreachable.
Looks like this ROM (HTC Aria CM6.1.0 RC2) has disabled ping or incoming connection to the phone.
Is there any way, I can enable incoming connection through some port?
I really need it for applications like wifi keyboard (where i use the PC keyboard to type in the cell phone) to work.
Any help appreciated.
sanjeevkafle said:
Hi,
When I try to ping my phone from the PC in a wifi network, it says Destination Host Unreachable.
Looks like this ROM (HTC Aria CM6.1.0 RC2) has disabled ping or incoming connection to the phone.
Is there any way, I can enable incoming connection through some port?
I really need it for applications like wifi keyboard (where i use the PC keyboard to type in the cell phone) to work.
Any help appreciated.
Click to expand...
Click to collapse
I believe I read somewhere that the Android debugger (ADB) allows you to make remote connects to a phone via an IP connection. Here's a link:
http://www.androidcentral.com/android-quick-app-adb-wireless
BTW, does the stock AT&T Aria ROM allow you to PING the phone via it's WIFI IP address?
You also can't even ping the device's 3G connection IP address to the outside world.
They need to open this up to the user's discretion imo.
Yes, I found a solution to ping HTC Aria from a computer using same wifi.
All you have to do is ping the HTC Aria from your computer infinitely (ie. ping -t <ipaddress>. Example is Below). At the same time, ping the computer from the Andriod Terminal in your HTC ARIA. You have to do this only one time. After the first time, your Andriod phone recognizes your computer and allows to ping.
2 Easy Steps:
1. Ping HTC Aria (in my case 192.168.2.2) using Windows. (Xp, Vista or 7)
ping -t 192.168.2.2
2. Ping computer's IP (in my case 192.168.2.4) from Andriod Terminal
ping 192.168.2.4
That's all in 2 steps.
**********************************************
Is it an extra security created by CM6 Developers or a BUG?
If it is, it is nothing but trouble to users.
**********************************************
.
Thanks a lot sanjeevkafle! That made my Aria ping-able with CM7 !!!!
Darius_bd said:
.
Thanks a lot sanjeevkafle! That made my Aria ping-able with CM7 !!!!
Click to expand...
Click to collapse
yeep this was posted by someone on cm forums, then by me here...it's only a temporary fix though which is the annoying part...and any time you ask anyone why it's like that you never get an answer, the question just gets overlooked...really annoying to be honest...i typically use swiftp/filezilla to transfer files to and fro my aria and i have to do this everytime i want to do that...
zervic said:
yeep this was posted by someone on cm forums, then by me here...it's only a temporary fix though which is the annoying part...and any time you ask anyone why it's like that you never get an answer, the question just gets overlooked...really annoying to be honest...i typically use swiftp/filezilla to transfer files to and fro my aria and i have to do this everytime i want to do that...
Click to expand...
Click to collapse
Yeah, realized that later. I downloaded a ping app that keeps pinging, sort of a keep-alive way. Couple that with samba or websharing and the connection works. Slow as WiFi is. And then wakelock kept my phone awake even shutting samba down *facepalm*
What a pain in the arse this wifi sync/exploring is
Related
Hi all!
My request is to share my PC internet connection to use it in my android with the USB connection.
I only found software to do the reverse(tethering),and im pretty sure talented developers in here can do this without much effort.
Hope im right.
Thanks in advance!
I think most people just use a wireless router and connect through wifi.
Is your reasoning to not use data through your carrier? If so I would use wifi if I were you...
The reason why im requesting this is because i dont have WiFi connections avaiable ,both at home and work...
At home i could spend some money and buy a wireless router(i shouldnt have to do that...specially in a mobile OS design to use internet alot) at work i cant do that.
Excuse me if I'm wrong, but there is already a usb tether app...I think it was posted recently in the g1 applications area.
Well it's possible via Linux [Seen on Connect-UTB!],what you need is your USB-plug and a linux machine connected to your LAN and a running DHCP-server on your lan.
Just connect your HTC to your linux machine and boot up android. This will create a usb network connection between your PC and your mobile.
Then create a bridge between the usb-network (most likely usb0) and your network adapter connected to your lan (for me it is eth2) using brctl:
ifconfig eth2 down
ifconfig usb0 down
ifconfig eth2 0.0.0.0 promisc up
ifconfig usb0 0.0.0.0 promisc up
brctl addbr br0
brctl addif br0 eth2
brctl addif br0 usb0
You might assign a network address to the bridge to use networking on your computer as well:
dhclient br0 (might be dhcpcd as well)
After that, fire up a console on your android device. You can use tty0 or the virtual terminal of the dev-tools. Execute
dhcpcd usb0
Dhcpcd will complain about a file that could not be opened or something like this. The reason for this is a missing directory. Just create the directory where the file should be placed in and execute dhcpcd again:
mkdir [directory]
dhcpcd usb0
This should assign a IP address to your android device and set up the gateway information. From now on, networking should work on your device.
If it does not work, something of your configuration might be wrong. Most likely it would mean, that your bridge is not working as expected. There might be a network manager running or your network card does not support bridging.
You can also access your device via telnet on default telnet port. Finding the right ip address of the device might be tricky somehow as the device has a fixed ip on 192.168.0.206 that is the only address shown by busyboxe's ifconfig. One option is looking into your dhcp-servers dhcp-leases. I used wireshark on my linux system instead to sniff the dhcp ack.
There is one thing about security:
The current android image runs an open telnet server, so make sure, that you only connect your mobile to a trusted network. Otherwise any bad guy could steal or deleta all information from your internal phone storage.
Just one thing about proxy servers:
I tried to get it running with a proxy server, but I could not manage it. I added the proxy to the settings.db as described in a android emulator proxy how-to, but it did not work. I would be grateful about any hint.
Thanks for your reply man,very usefull and well explained...too bad i dont use Linux but thanks anyway.
PDAnet tethering software from what i read is to connect your pc to the internet using your PDA...i want to connect my PDA using my pc connection with USB
Hi all!
My request is to share my PC internet connection to use it in my android with the USB connection.
I only found software to do the reverse(tethering),and im pretty sure talented developers in here can do this without much effort.
Hope im right.
Thanks in advance!
Click to expand...
Click to collapse
I'm looking for the same thing. Coming from WM, I CANNOT understand why this isn't available on Android.
aa
lostsoul said:
I'm looking for the same thing. Coming from WM, I CANNOT understand why this isn't available on Android.
Click to expand...
Click to collapse
Because it's the dumbest idea ever. Spend the $20 and get a router. If you can't afford the router, then you obviously don't need a smart phone.
evilkorn at least be respectfull to others.
some of us heave problematic isp configurations and/or can not use wifi in office. only reason to use reverse tethering over usb is such situations.
i still heave to try solution for linux given by k-zik. i heave old pIII laptop with ubuntu on it so i can experiment. as for windows unfortunately there is no solution.
evilkorn said:
Because it's the dumbest idea ever. Spend the $20 and get a router. If you can't afford the router, then you obviously don't need a smart phone.
Click to expand...
Click to collapse
Maybe to you, not so for others....
I´m looking for the same thing....spending many days and nights a month in different hotels in the US, Canada, China, India etc., not all of which have WIFI in the room.....I´d still like to browse and use the market connecting via the wired internet connection of my laptop.....
Don´t always judge others by your own standards.....
evilkorn said:
Because it's the dumbest idea ever. Spend the $20 and get a router. If you can't afford the router, then you obviously don't need a smart phone.
Click to expand...
Click to collapse
...Or maybe there are some people in the XDA community that are deployed, like my self, and the only access they have to the internet is on a USB internet stick, unless you can find a better way to get games and what not to play on my phone while I'm in the sand box...
-Alex
ZED_pt said:
Thanks for your reply man,very usefull and well explained...too bad i dont use Linux but thanks anyway.
PDAnet tethering software from what i read is to connect your pc to the internet using your PDA...i want to connect my PDA using my pc connection with USB
Click to expand...
Click to collapse
There may be a way for Windows too:
blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
I hope some developer will pick up the glove and automate the process because there seems to be an interest in such an application.
I for one, will be very grateful.
Avner.
I just "flew" over the threads content...uhm...so I hope I´m not posting unappealing things...
But: I´m with MDJs Desire HD Rom (4.3) now and Internet via USB works fine here! Give it a try...I was blown away when I saw this function after plugging in the USB cable...
Is there a ROM with this feature fore the Legend too?
Avner.
See this open source project
http://code.google.com/p/azilink/
or you can use CM roms they have USB tether
Thanks,
but we are not talking about a USB tether. We are talking about "reverse USB tether"; connecting a phone without an internet connection with a USB cable to a PC with one.
ZED_pt said:
Hi all!
My request is to share my PC internet connection to use it in my android with the USB connection.
I only found software to do the reverse(tethering),and im pretty sure talented developers in here can do this without much effort.
Hope im right.
Thanks in advance!
Click to expand...
Click to collapse
Get an HDDesire Rom, has this feature already, they call it Internet Passtrough
Has it ever occurred to you to just Google "reverse usb tethering"?
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Heres another WIN7: http://www.nexusoneforum.net/forum/...verse-tether-getting-internet-your-phone.html
Need more help? Just google it.
hi,
Could someone try to ping HTC Aria CM6 ping from PC?
Mine is not pinging, so the applications like wifi keyboard (where u can use your computer keyboard to type in the cell phone) is not working.
When I try to ping, it says "Destination Host Unreachable"
It used to work with the OEM 2.1 Rom, but never worked on CM6.
I found something interesting, HTC Aria has proxy enabled in Wifi by default (Go to wireless and settings>Proxy) using port 0. I completely don't understand it.
Any help appreciated.
sanjeevkafle said:
hi,
Could someone try to ping HTC Aria CM6 ping from PC?
Mine is not pinging, so the applications like wifi keyboard (where u can use your computer keyboard to type in the cell phone) is not working.
When I try to ping, it says "Destination Host Unreachable"
It used to work with the OEM 2.1 Rom, but never worked on CM6.
I found something interesting, HTC Aria has proxy enabled in Wifi by default (Go to wireless and settings>Proxy) using port 0. I completely don't understand it.
Any help appreciated.
Click to expand...
Click to collapse
I get the same thing FYI...i was trying to use SwiFTP but it wouldn't work. After investigating a little further, I found that while trying to ping my phone i would get the same "Destination Host Unreachable" error. I still haven't been able to figure out cause of the issue...
I can pick up the WIFI, and it says excellent connection, but the school requires a login page for you to enter your username and password before you can start browsing.
So after I'm connected, I try opening a browser but it instantly says I dont have internet access. I dont know what to do or how to fix this. Has this happened to anyone else?
If your campus is like mine, you may have to go to the IT help office. Once a year I need to do this to have a clearance installed on my laptop. Havent tried yet for my G2 but I know we support iphones for wifi on campus.
How safe is it to connect the G2 to a open network without security though? Thats what worries me about connecting my G2 to my schools WiFi.
as long as there is no protection on the Wifi it is possible for other users to see what you send and receive on your phone over wifi.
boost3d23 said:
How safe is it to connect the G2 to a open network without security though? Thats what worries me about connecting my G2 to my schools WiFi.
Click to expand...
Click to collapse
I'd worry more about connecting your computer to the WiFi. As far as open WiFi goes, the school ones is probably more secure than your random Starbucks is, however.
This is how to get WIFI on my campus, maybe yours might be the same
http://www.uic.edu/depts/accc/network/wireless/android.html
The thing is my school network doesn't prompt me for a password.
As of now I have yet to fix the problem. In some buildings, I have no problem using the WIFI. Basically connect to the network, open my browser and it will ask me to input my ID and password and done.
But there are times where I connect to the network, open my browser and it just shows an offline page. I can keep on refreshing, but it just loads the offline page right away, and I can't find a way to input my password.
I've tried bookmarking the input page, but it still doesn't work.
I've also tried copying down the IP and DNS but it didnt work either.. and too troublesome.
For some reason WIFI on android just sucks. My old old sony ericsson phone could connect to the school network every single time. It could also connect to the ad-hoc network my windows 7 laptop send out using connectify.
Yet my new desire z has problem connecting to campus networks and cannot see ad-hoc until i temproot it and mess with the system files.
ironic huh
Really? In my school am able to connect with my g2
Sent from my HTC Vision using Tapatalk
Unfortunately there is not known any other way for the ad hoc except root and temp root.I does not work also on the latest 1.82.
How safe is it to connect the G2 to a open network without security though? Thats what worries me about connecting my G2 to my schools WiFi.
Click to expand...
Click to collapse
Dude the op stated he needed a username and password..so how exactly is that an open network?
Sent from my T-Mobile G2 using XDA App
If it's anything like my school, it will be WPA-Enterprise.
ID will usually be: (domain)\(student ID) where (domain) is your schools domain (ask IT for it) followed by your student ID
PW will usually be the same password you use to log into the school computers.
IT people are usually helpful in getting your devices onto the school network.
thunder9111 said:
The thing is my school network doesn't prompt me for a password.
As of now I have yet to fix the problem. In some buildings, I have no problem using the WIFI. Basically connect to the network, open my browser and it will ask me to input my ID and password and done.
But there are times where I connect to the network, open my browser and it just shows an offline page. I can keep on refreshing, but it just loads the offline page right away, and I can't find a way to input my password.
I've tried bookmarking the input page, but it still doesn't work.
I've also tried copying down the IP and DNS but it didnt work either.. and too troublesome.
For some reason WIFI on android just sucks. My old old sony ericsson phone could connect to the school network every single time. It could also connect to the ad-hoc network my windows 7 laptop send out using connectify.
Yet my new desire z has problem connecting to campus networks and cannot see ad-hoc until i temproot it and mess with the system files.
ironic huh
Click to expand...
Click to collapse
This would happen to me on my campus also. What I would do is either keep pressing the back button until the browser exits completely, go back to the homepage(browser homepage), or just reboot the phone/kill browser task. Its certainly not consistent but at least one of those three would solve the problem on my campus.
On the other hand, my campus is in the city so generally hspa+ is faster than campus wifi (sad i know)
boost3d23 said:
How safe is it to connect the G2 to a open network without security though? Thats what worries me about connecting my G2 to my schools WiFi.
Click to expand...
Click to collapse
Paranoia is a disease unto itself and may I add the person standing next to you may not be who they appear to be so take precaution.
More than likely you have to register your MAC address with the school. Should be done with the computer department (probably via a web page).
Gwanatu said:
More than likely you have to register your MAC address with the school. Should be done with the computer department (probably via a web page).
Click to expand...
Click to collapse
this can sometimes be the case, although on my g2 here at Oxford College of Emory University, I never had to go to IT to officially register at all.
something that might work, though. Try not using the stock browser, but instead something like miren, dolphin browser or the like, and set the browser to use the desktop mode. Usually this will bring up the login screen, just like it would as if you had logged in from your laptop. hope that works for you, if not, pm me or hit me up on google talk (same user) and I can try to help troubleshoot some other possibilities.
Hi, I am trying to use some apps so I can connect to my HD2 through home wifi then use my PC keyboard to send sms etc. But no matter how hard I try it just doesn't work.
The phone says it is on 192.168.1.137 but I just can't connect to it in any way. I've tried EasySMS and now Myphoneexplorer (they are the only ones I can remember at this time)
Using the MDJ CyanogenMod 7 v2.6. connecting it it from a Windows 7 x64 machine.
Any help?
I have the same issue. So anybody can help ?
are you making sure you are putting the port number after the ip address? so it is : http://192.168.1.137:2511
Yes, tried both ways, with MyPhoneExplorer it even uses an app on my phone and the app on the pc to do it automatically but still doesn't work. I just want to be able to SMS with my keyboard!!
i installed that app this morning and it worked first time without any issues, are you sure there isnt something being blocked on the router end?
Or perhaps you have a firewall in place on your pc?
disabling firewall doesn't help.
What could be blocking it on the router? I'm not exactly a router expert, but I'm pretty sure it shouldn't be blocking anything internally, only stuff coming from the outside in?
Sorry for Double post, I just really want to get this sorted. But I had a look at my router and there doesn't seem to be any blocks in place. Is there anything I should be looking out for?
can you ping the phone? from the PC, in a dos window, type ping and then the ip address of the phone.
what is the result?
also try it from the phone to the PC (use the PC address, and you can use a terminal app to try).
mm0
I cannot ping my phone via network, so I cannot connect with any share-app also.
What's the problem ?
Hey guys just curious if there is a solution to reverse tether via usb on the motorola atrix. I've searched every post imaginable but nothing works for the Atrix. Come on XDA turn water in wine for me
Sent from my MB860 using XDA App
I was wondering how to tether via usb normally, I can't seem to find an option anywhere on my AT&T branded Atrix
It should be in your list of apps... there should just be an app called "Tethering" to preform your task. It's super simple to use as well just click of the "USB Tethering" option and your done but for further detail on tethering try just going in google and typing USB tethering on windows XP.
Sorry I would post a link to a good site but I'm a newbie and I need to do 8 posts before I can post links to external websites.
If you don't have the APP let me know and I'll find a way to get it to you.
But someone please help me out with my problem...
Thanks,
Ghettosean
ahh I see, unfortunately I don't have it and I assume it's because I'm running gingerblur without bloatware.. Would be great if you could somehow get it too me and in relation to your problem I don't think it would be easily possible unless you used wireless. Ad-hoc network with internet connection sharing.
Sent from my MB860 using XDA App
ghettosean said:
It should be in your list of apps... there should just be an app called "Tethering" to preform your task. It's super simple to use as well just click of the "USB Tethering" option and your done but for further detail on tethering try just going in google and typing USB tethering on windows XP.
Sorry I would post a link to a good site but I'm a newbie and I need to do 8 posts before I can post links to external websites.
If you don't have the APP let me know and I'll find a way to get it to you.
But someone please help me out with my problem...
Thanks,
Ghettosean
Click to expand...
Click to collapse
What? did I get ripped off? I haven't seen an app for tether that came with my phone. If that is true, then all the time the DEV's put into hacking to get it working was for not? use the search and look for tethering. the answer is close to what you said, but does not involve an "app". It is a setting within the wireless network settings, but selecting it alone does not get you tethering.
Ahh I have seen wireless tethering (but use barnacle instead) I was curious about USB tethering though
Sent from my MB860 in Australia
If any newbies want this app just email me and I will send it as for the people clogging my post I will send it by the end of the day... I just want help with my problem now and I know it wont be easy unless its wifi but it can be done with other phones on xp... im going to try and get it working effortlessly in linux this weekend... help xda!!!
Sent from my MB860 using XDA App
Maybe I am not understanding what your question. tethering is usually referring to being able to use the phone as an access point so you can surf the web from your computer using the phone as a "modem". what are you wanting to do with reverse tethering? If you are wanting to do what i described, go into the development threads and look for ARoot or gladroot. also I think most of the roms have this built in now also.
pdanet allows tethering through usb
mrphil101 said:
Maybe I am not understanding what your question. tethering is usually referring to being able to use the phone as an access point so you can surf the web from your computer using the phone as a "modem". what are you wanting to do with reverse tethering? If you are wanting to do what i described, go into the development threads and look for ARoot or gladroot. also I think most of the roms have this built in now also.
Click to expand...
Click to collapse
By reverse tethering I mean the opposite of what you have described and that is to use the internet provided on the computer onto your phone. This can be done and I will do it with red hat linux I'm positive that I can get this to work but to get this to work on windows XP is a different challenge with the Atrix in particular.
If anyone has any information please help a brother out!
ghettosean said:
By reverse tethering I mean the opposite of what you have described and that is to use the internet provided on the computer onto your phone. This can be done and I will do it with red hat linux I'm positive that I can get this to work but to get this to work on windows XP is a different challenge with the Atrix in particular.
If anyone has any information please help a brother out!
Click to expand...
Click to collapse
I don't know about USB tethering, but if your computer has a wireless adapter you could use it to create an ad hoc network to which your phone could connect. You could then use ICS (Internet Connection Sharing) in Windows to bridge your internet connection to your wireless one. That way your Atrix could use your computer's interntet connection wirelessly!
kevp453 said:
I don't know about USB tethering, but if your computer has a wireless adapter you could use it to create an ad hoc network to which your phone could connect. You could then use ICS (Internet Connection Sharing) in Windows to bridge your internet connection to your wireless one. That way your Atrix could use your computer's interntet connection wirelessly!
Click to expand...
Click to collapse
True but as far as reverse usb tether. I don't know about android but with winmo just by having the phone synced would allow for this. Have you tried the medi sync or any of the other option when you connect via usb to see if they allow for this?
Sent from my MB860 using XDA Premium App
ghettosean
if what you want is to find workaround of WiFi problems on unlocked Atrix, you'd better look for AT&T SIM (even nonworking, just to report the phone it's operator ID - there are lot at eBay). Currently this is the best solution. Also, member crnkoj is developing the solution HERE, but it is very complicated for now.
Old trusted WinMo born when WiFi on phone was just a miracle, so it was able to get internet through USB, but Android never dreamed there is an AT&T whith its stupid intervention in phone firmware.
Thanks for all the replies... I've found a solution and I can actually reverse tether over USB two different ways and I will share my findings in a week... I have one last snag. Full internet access but I can't download apps from the market even though I took down my firewall on windows... Give me one more week but if anyone has a solution to that new problem that doesn't include opening port 5228 let me know. Cheers!!!
Sent from my MB860 using XDA App
Solution
Hey all... I'm still having no luck downloading from the market or using other internet apps but browsing on the web seems to be fine with reverse usb tethering. here's what I have done:
1. I connect to my laptop via usb and I start up regular usb tethering (as if I'm going to give internet to my computer from my phone)
2. When I complete step 1 on the windows computer I see a new network icon pop up representing my atrix as an RNDIS networking device
3. From here in windows I right click on the internet connection that is providing the internet to the laptop or computer and select properties from here I click on the advanced tab and check the box that allows "internet connection sharing" there is also a dropdown to pick which networking device you want to share with I select the networking device that represents the atrix and click ok.
4. From here I restart my internet connection and then I right click on the internet connection for the atrix and select properties. On the general tab I select internet protocol (TCP/IP) and click the properties button and change my ip address manually and pick --> 192.168.2.1 with a subnet mask of 255.255.255.0 then click ok and ok again
5. From here I start adb shell (or you can use terminal on your phone if you wish) and type the following
su (to go into root or super user mode)
ifconfig usb0 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb0
setprop net.usb0.dns1 192.168.2.1
setprop net.dns1 192.168.2.1
iptables -F
iptables -F -t nat
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
after this ping www.yahoo.ca to be sure everything is working properly and if you get a response your good to go.
I'm assuming that everyone who is using these instructions has android sdk installed and there windows machine recognises the adb drivers for there phone as i'm convinced this will work with any android phone not just the atrix and I will test to confirm.
I wrote up these instructions pretty quick and I'll probably shorten them up as there is a few unessesary parts in the script for adb shell but everything will work and you should be able to but this will only allow you to use the internet and browse the internet with your phone this will not allow the market and other internet apps to work if anyone finds a solution to this it would be much appreciated.
Cheers all and ANDROID RULES!!!
Ghettosean
On the Atrix there is no USB tethering built in!
Chubby_Skunk said:
On the Atrix there is no USB tethering built in!
Click to expand...
Click to collapse
Should you have taken some time to read the thread, what you actually wrote wouldn't be an epic fail.
joyo22 said:
Should you have taken some time to read the thread, what you actually wrote wouldn't be an epic fail.
Click to expand...
Click to collapse
lol
reading comprehension is not this forums users' strong suit
good work too btw ghettosean, i know youve been working on this for some time as i saw op
There's a free software for windows call connectify that can convert ur xp into a wireless station...
Sent from my MB860
Ok since I have done this myself AND IT WORKED!!! What I have done is not a fail.... My atrix did come with tethering software and the app itself is called "Tethering" so sorry for those who do not have it but I will post another message today attaching the APK for this and how to install it. I'm at work and can't do this right now.
Why do people start bashing others before taking the time to ask for help?!?
I've attached the APK to this post you ungrateful whinny blood sucking... )@#$(@[email protected]*)[email protected]*)($*)@($*!!!
YOUR WELCOME BY THE WAY TO THE UNGRATEFUL ONES WHO WILL BENIFIT FROM THIS!
Anyone who has contributed to this post in a positive way a big thank you to them.