Can i share the connection between android and my pc through USB cable?
Hi i founded something from google can someone confirm that? and in that case i do need ROOT?
Code:
Can i share the connection between android and my pc through USB cable?
I'd like to connect to the internet with my android using the PC internet connection. Yes, you can. It's described on koolu's forum. Check this link [1].
If you dont have access i just copy paste the instructions below.
All credit goes to koolu and Brian Code for this info:
[1] forum.koolu.org • Login
Yes, you can use the USB to browse the web...
You need to do three things to enable the internet.
1. First make sure that network forwarding is working on the computer that the phone is connected to. 2. Add the default route to the phone:
Code: Select all
route add default gw 192.168.0.200 dev usb0
3. Add the dns for proper name resolution
Code: Select all
setprop net.dns1 192.168.0.200
You should be able to ping the computer the phone is connected to:
Code: Select all
ping 192.168.0.200
You should also be able to ping IP addresses outside of that subnet if the route has been set up properly. The route can be verified by:
Code: Select all
cat /proc/net/route
The Following User Says Thank You to spupuz For This Useful Post:
Device(s): G1(2ea) 1 rooted, MT3G v1.0, Samsung Vibrant, Samsung III, LG SLATE Tablet
Carrier: T-Mobile
Thanks: 5
Thanked 213 Times in 100 Posts
Quote:
Originally Posted by spupuz
Hi i founded something from google can someone confirm that? and in that case i do need ROOT?
Code:
Can i share the connection between android and my pc through USB cable?
I'd like to connect to the internet with my android using the PC internet connection. Yes, you can. It's described on koolu's forum. Check this link [1].
If you dont have access i just copy paste the instructions below.
All credit goes to koolu and Brian Code for this info:
[1] forum.koolu.org • Login
Yes, you can use the USB to browse the web...
You need to do three things to enable the internet.
1. First make sure that network forwarding is working on the computer that the phone is connected to. 2. Add the default route to the phone:
Code: Select all
route add default gw 192.168.0.200 dev usb0
3. Add the dns for proper name resolution
Code: Select all
setprop net.dns1 192.168.0.200
You should be able to ping the computer the phone is connected to:
Code: Select all
ping 192.168.0.200
You should also be able to ping IP addresses outside of that subnet if the route has been set up properly. The route can be verified by:
Code: Select all
cat /proc/net/route
You can tether your pc to your phones connection via usb cable ...
Search the net for app call PDANET (it is not in the market)
__________________ Help Us: Submit FAQ's You have answered over and over! Will add them to OUR FAQ LIB. Check out our FAQ's.... Also Check out our Tag Search. \\\ Running 2 G1's & a MT3G, Vibrant(rooted), Galaxy S: <<< OLD New >>> JUST Samsung S3-32GB & LG GSlate Tablet /// Link for --> G1 Dream ROOT GUIDE ///// Link for -->UN-ROOT GUIDE
.
emh i do not want to use my android phone to connect the pc to internet, i do wanna use the internet connection of the pc to connect the phone to internet
it's clear?
Hi i founded something from google can someone confirm that? and in that case i do need ROOT?
Code:
Can i share the connection between android and my pc through USB cable?
I'd like to connect to the internet with my android using the PC internet connection. Yes, you can. It's described on koolu's forum. Check this link [1].
If you dont have access i just copy paste the instructions below.
All credit goes to koolu and Brian Code for this info:
[1] forum.koolu.org • Login
Yes, you can use the USB to browse the web...
You need to do three things to enable the internet.
1. First make sure that network forwarding is working on the computer that the phone is connected to. 2. Add the default route to the phone:
Code: Select all
route add default gw 192.168.0.200 dev usb0
3. Add the dns for proper name resolution
Code: Select all
setprop net.dns1 192.168.0.200
You should be able to ping the computer the phone is connected to:
Code: Select all
ping 192.168.0.200
You should also be able to ping IP addresses outside of that subnet if the route has been set up properly. The route can be verified by:
Code: Select all
cat /proc/net/route
did you get it working spupus? i would like to have it too, thx
Did anyone get this working? I, too, would like to use the internet (as provided by the PC) over the USB cable and onto the phone. I call this "reverse-tethering".
If anyone has any information please let us know!
Thanks!
Device(s): G1(2ea) 1 rooted, MT3G v1.0, Samsung Vibrant, Samsung III, LG SLATE Tablet
Carrier: T-Mobile
Thanks: 5
Thanked 213 Times in 100 Posts
Quote:
Originally Posted by spupuz
emh i do not want to use my android phone to connect the pc to internet, i do wanna use the internet connection of the pc to connect the phone to internet
it's clear?
Do a TAG search on this site for tethering ...
There is an App you might try PDANet .... search the web for it ..
We dont want to tethering...
What we want is to use our PC cable connection(not a wireless one) and use it in our android through USB like in WM with activesync...
I find it stupid that a phone with alot of app´s using internet doesnt have this as a default feature...if i knew this maybe i wouldnt buy an android phone.I use this alot at home,work,etc...now i have this wonderfull phone in my pocket most of the day because i dont have a WiFi connection to use.
I go further to say its descriminatory,like the entire world uses wireless connections or have open WiFi spots.
Last edited by ZED_pt; November 30th, 2009 at 11:15 AM.
there is no way to do it on a usb cable.
thats not how it works, however they may be hope if:
1) if your rooted
2) your computer has a wireless internet card
3) your computer is connected to the internet via a wire.
you can use your computer to set up a ad hoc network that your phone will connect to.
however android doesn't support adhoc so you'll need to have a rooted phone
We really need this feature too. We're showing our new Android app at CES (consumer electronics show) next month in Vegas, but, from my experience at prior CES's, it's completely impossible to get Wi-Fi to work on the show floor (there's thousands of access points in a 100 foot range), and, even voice calls fail 80% of the time since there's too much congestion in a big trade show.
We have a hard-wired internet connection to Linux and Windows PC's in the booth, so I want to have give the Android phone (G1, Cliq, anything) a hard-wired internet connection over the USB, and maybe use a VOIP telephony client that uses the network connection, so when we need to demo our app, we know that our phone will have a reliable internet connection and be able to make/receive calls.
If anybody knows how to make this work we'd be willing to offer a cash bonus or a consulting fee to make it happen. Without this feature we can't demo our wares at the show, only talk about them.
there is no way to do it on a usb cable.
thats not how it works, however they may be hope if:
1) if your rooted
2) your computer has a wireless internet card
3) your computer is connected to the internet via a wire.
you can use your computer to set up a ad hoc network that your phone will connect to.
however android doesn't support adhoc so you'll need to have a rooted phone
The best would have been a connection thought USB cable, however, this method with Adhoc network could help me. Could you please explain further how to do it? how can I "root" my android phone?
Thanks
Can I use my cell phone aka smart phone aka android to access the internet from my pc aka notebook using the data plan on the cell? I know one can get an internet usb stick but seems I already have the net on my cell phone I might as well use it
It is possible to reverse tether(use internet of pc to the phone)
You need two things for this purpose
1.An additional network card(if you are using a wireless broadband internet on pc, you dont need addl card - means if your existing nic is free(n/c) then you dont need addl. card)
2. A wireless router
Steps:
1. Bridge two lan connections by right clicking and add to bridge
2. COnnect your wireless router to the free lan port
3. Acces internet(for other devices) from the wireless signal of the router.
Thats it.
Additionally, it is possible to make your android phone as a wifi hotspot. it is great feature in froyo2.2
Reverse tendering through USB is implemented on the HTC Desire HD and just comes up as an.option when the USB cable is connected. My wife has an LG GT 540 which is a piece of junk, but I would like to connect through USB in the same way I do with the HTC any ideas would be welcome Incidentally HTC call it Internet Passthrough.
I have bought a G1 from a friend and he has only given a USB cable. I have tried connecting the phone to my laptop (Windows 7) but its not coming up in My Computer. The laptop makes a noise when the USB is connected but no Autoplay window opens up and nothing is there on the phone to access the phone. I have tried using different cables and the same things.....
I found it in under Devices and Printer but it is called Android Phone and when I right click it the only options are Create Shortcut, Troubleshoot and Properties so I can't go in to the phone. I have gone through Properties and updated the driver but still nothing and I can't get in......
Please could you help urgently because I want to access my phone through the laptop. Also, I am running on Android 1.6 so no roots on the phone and I have recently Factory reset it when I got the phone..............
I would also like to link my phone and pc via the usb cable. Did you figure out a way of doing it Greg or anyone else?
TIA
I never did. I really wish there was a way to get the PPP over USB working as above. Using XP as a WiFi hotspot never worked either, only works for Win7.
I'm wondering if it will work on a stock Droid X2.
Thanks
Edit: Also pardon my ignorance, but how does one establish a fixed IP address on the phone for a connection over USB?
Thanks
I think it does. You just need adb enabled on the phone. The IP connection is established with PPP between the phone and the computer. USB is a serial comm port, just like the old phone line dial up.
I think it does. You just need adb enabled on the phone. The IP connection is established with PPP between the phone and the computer. USB is a serial comm port, just like the old phone line dial up.
Thanks for your response.
I've been reading up on ADB and I have a quick question:
Does your method represent a "plug and play" solution?
Meaning; does the user simply connect the USB cable, enable ADB on the mobile device -- and start using the host computer's Internet connectivity?
Or, does the Linux machine need some amount of attention every time the user wants to "reverse tether" to it?
No, it's not "plug and play". There are several manual steps to establish the PPP. Once the PPP is established, there's no need to babysit. You can automate the steps with a script.
We dont want to tethering...
What we want is to use our PC cable connection(not a wireless one) and use it in our android through USB like in WM with activesync...
I find it stupid that a phone with alot of app´s using internet doesnt have this as a default feature...if i knew this maybe i wouldnt buy an android phone.I use this alot at home,work,etc...now i have this wonderfull phone in my pocket most of the day because i dont have a WiFi connection to use.
I go further to say its descriminatory,like the entire world uses wireless connections or have open WiFi spots.
I know this is an old post but I just had to reply. It's hilarious. Discrimination against antiquated technology LOL. Yes, I think that 8 tracks, cassette players, Beta, VHS, CDs, x86 processors, the commodore 64, atari 2600, CRT screens, those big keyboards with the giant trackballs....ball mice....all these and more should really start a class action lawsuit against new technologies for being so mean and discriminatory.
LOL. I can see it now...Rosa Analog Parks will be sitting at the back of the computer store protesting. They'll broadcast their message across the internet by way of compuserve and AOL.