Related
ActiveSync Over WIFI - does anyone know if this is possible.
I use WIFI at home on my XDAII for the internet, but would like to Sync it with my laptop without having to drag the cable home (or buy another usb cable)
Any ideas ?
Cheers
Yes, sure you could do it! Just make sure ActiveSync Connection settings on your desktop PC include Ethernet (right click on ActiveSync icon on the taskbar, choose Connection Settings and click on Allow network). Then, run ActiveSync on XDA-II and choose same 'synchronise via Network' setting - there is one on the 'Advanced' tab I think (can't say exactly, as my wife plays Lines on it right now ) - just type in your PC NETBIOS name (I guess it will be there already if you connected via USB before). I've tried it and it worked straight away (although takes few secs more to connect).
fishmedia said:
ActiveSync Over WIFI - does anyone know if this is possible.
I use WIFI at home on my XDAII for the internet, but would like to Sync it with my laptop without having to drag the cable home (or buy another usb cable)
Any ideas ?
Cheers
Click to expand...
Click to collapse
YOU BEUT ! I'D KISS YOU ... if
1. you were female
2. you were good looking
3. you were in close vacinity!
I had to run active sync, go to tools > Options > Server
And add "//myname" and untick SSL
However, my WIFI network card is set to MOBILE WEB GPRS (for IE and MSN, inbox etc) and it wanted WAP network GPRS so tried to dial up.
I changed the WIFI card to be WORK instead of INTERNET and it worked great.
Not sure if I have WORK and INTERNET set up correctly, it is basically how it came setup for GPRS access. But I don't mind changing it over now and then unless someone knows a better way?
(interesting that I managed to do an o2 Active update via the WIFI card! and not WAP GPRS - something I can't do while connected via USB? but can surf via USB )
Anyway... RESULT ! cheers
Well, obviously not female (while nothing is impossible in modern world - you could change sex, not only ROM version in your XDA ). As for the Wi-Fi card setup - it's quite simple, you'd better set it to 'Work' always unless you are connecting from Starbucks, and then change properties of 'work' connection, checking 'Connects to Internet' box and entering your proxy address. All these 'ISP' and 'Work' settings seemed to be pretty confusing to me first time until I understood how it works. You could not browse network through an USB cable (a mystery to me, since it's a normal PPP connection!), so Wi-Fi is probably the best option for all tasks - synchronisation, browsing etc.
Thanks for your help, I'll have a play
Hello
I have x7500 i have Att data plan which works prefectly while used on the advantage. When I try to share it's internet conneciton witha PC the problem starts.
I open up the program Internet Sharing in the Advantage have select USB as PC connection and MediaNet as Network connection. Advantage connects to the internet viag 3g and then i plug in phone to the computer, computer connects, I get the IP address assigned. Everything seesm ok but its does not work, web pages don't open, not replying to any ping commands. I tried this on two different PCs with the same result. Does anybody know what is the problem ?
Thanks
Don't know... everything you are doing is OK. That's the way I'm using it as far as I know.
Could be the XP firewall messing around? I usualy shutdown that crappy firewall included in XP.
ioevanc said:
Hello
I have x7500 i have Att data plan which works prefectly while used on the advantage. When I try to share it's internet conneciton witha PC the problem starts.
I open up the program Internet Sharing in the Advantage have select USB as PC connection and MediaNet as Network connection. Advantage connects to the internet viag 3g and then i plug in phone to the computer, computer connects, I get the IP address assigned. Everything seesm ok but its does not work, web pages don't open, not replying to any ping commands. I tried this on two different PCs with the same result. Does anybody know what is the problem ?
Thanks
Click to expand...
Click to collapse
You should be connecting to your PC by USB first. Any connection is then instigated from your PC after connecting Internet Connection on the x7500.
You just start IE.
Found solution
I finally called HTC Support they told me to disable advanced network functionality found in Settings >> USB to PC, restarted the device and works beautifully.
I am wondering did the Advantage come with this option disabled for others ? For this that USB internet sharing always worked can you check if that option is enabled or disabled ?
thanks
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...
I have a laptop connected to hotel internet via ethernet cable (Samsung Q330). I'd like to tether my Desire Z to it to share the internet connection (via either wireless or USB).
When I connect the phone to the laptop via USB, and select Internet Passtrough mode, the phone cannot connect to the internet.
In the Network sharing settings on the laptop, ICS settings I've checked the "Allow other network users to connect through this computer's internet connection" box.
What else do I need to do to share the laptop's internet connection with the phone?
Get rid of all of that and install these (http://www.megaupload.com/?d=ERN22YCO) drivers.
and enable tethering on your phone via settings>wireless and networks>tethering & portable hotspot
viola!
senser1080 said:
Get rid of all of that and install these (http://www.megaupload.com/?d=ERN22YCO) drivers.
and enable tethering on your phone via settings>wireless and networks>tethering & portable hotspot
viola!
Click to expand...
Click to collapse
That looks like a way of sharing the phone's internet connection with laptop -it's the reverse that I want to do (i.e. use the laptop's connection on the phone). Have I misunderstood?
itm said:
That looks like a way of sharing the phone's internet connection with laptop -it's the reverse that I want to do (i.e. use the laptop's connection on the phone). Have I misunderstood?
Click to expand...
Click to collapse
Setup a connection in your win 7 and hook up your phone to that particular network, similar to vpn, where you can connect a handheld to the connection and that connection routes you to internet.
creativedevil said:
Setup a connection in your win 7 and hook up your phone to that particular network, similar to vpn, where you can connect a handheld to the connection and that connection routes you to internet.
Click to expand...
Click to collapse
In principle that's what I'm trying to do, but it's the specifics of how to set up the connection in Windows 7 that I was struggling with. Could anyone offer specific advice on what settings are required?
Create an Ad-Hock. This would be pushing your labtop connection out of its WiFi so that your phone can hook up to it.
Open Network and Sharing Center > Setup a new connection or network > Setup a wireless ad hoc
Make the name and security... Bla Bla Bla
U can connect your phone to it now.
Next go back to Network and Sharing Center > Change adapter settings
Double Click on "Local Area Connections" (Your Ethernet Adapter Properties) > Sharing (Tab)
[Check] Allow other network users to connect through this computer's Internet connection
Think thats it. Been awhile and im providing this info off the top of my head.
Also if you say want to send your wireless net to your ethernet:
Skip the adhoc part and just go to Adapter settings, pick wireless and enable sharing.
Introduction
This guide is intended to help you share Internet connection from your PC to your Android smartphone/tablet via USB cable. This technique is called USB reverse tethering. It is different from USB tethering in which you share Internet from your Android to your PC. There are many reasons why you need this technique working:
- You don't have mobile/wifi network and your PC doesn't have any wifi adapter
- You can't do tethering over wifi, for example, your company doesn't let you make any hotspot at work
- You don't want to spend money for a mobile plan, and you want a more stable and faster Internet connection than wifi
- You don't want your PC and your Android to become too hot because of wifi
- You want your Android charged while in use
...
You have searched and found some applications/tools/solutions, you followed exactly their instructions but finally you were frustrated because they didn't work, here I come for a new method.
This method works following Internet connection sharing basics. If your Android device is able to do USB tethering, you will be able to do USB reserve tethering with this method!
Advantages:
- No additional software on your PC. Leave no trace on your PC. Imagine when you are at work and you have to install some crappy "toy" application on your PC to estiblish a tunnel connection for this task.
- Works with Windows, Linux and Mac OS X
- You know what you do. Who knows what the "easy-to-use" tools do when they fail to help you?
Disadvantages:
- You have to type some commands on your Android.
If you are ready, let's start!
Requirements:
- Rooted Android device with "USB tethering" capability. Check in Android Settings - Wireless & networks - Tethering & portable hotspot. Many stock ROMs disable this capability. You must enable it somehow (root your Android and use an application to enable or replace the stock ROM). CyanogenMod ROMs always have this capability. The important thing to remember is when you connect your Android and enable "USB tethering", it appears as a USB network adapter, not a mass storage or media device.
- PC with a working Internet connection.
- USB cable to connect your Android to your PC.
- Terminal Emulator on your Android. If you don't want to type commands on your touchscreen with Terminal Emulator, you can use your PC keyboard to enter commands with "adb shell". adb is a part of Android SDK which is available for download from Google. To use adb, you need to enable "USB debugging" on your Android.
- Optional, BusyBox on your Android.
Step 1: Connect your Android to PC by USB cable and enable "USB tethering". You are still allowed to enable this option even when your 3g/wifi on your Android is off.
- If you are using Linux (Ubuntu), you don't need to install anything. NetworkManager applet will try to establish a connection on the new detected wired network device.
- If you are using Windows, Windows will automatically search Windows Update and install driver for you. You can skip Windows Update search and install manually an already included driver from Microsoft. In Install Driver window, click Browse My Computer, then Let me pick..., select Network Adapters, uncheck Show Compatible Hardware, look at "Microsoft Corporation" at the left column, and choose Remote NDIS Compatible Device from the right column. You can install or update a driver from Device Manager in Windows.
- If you are using Mac, install driver HoRNDIS. You will be notified about a new network interface. Click "Network Preferences" in the dialog to add it to known interfaces list. Then "Apply".
- If you are using Linux without GUI or NetworkManager, run these commands as root (or use sudo):
Code:
ifconfig usb0 10.42.0.1 netmask 255.255.255.0
(suppose that you don't have any other USB network adapter, otherwise, your Android may be usb1, usb2...)
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
Command for sudo will be:
Code:
sudo 'echo 1 > /proc/sys/net/ipv4/ip_forward'
Code:
iptables -t nat -F
iptables -t nat -A POSTROUTING -j MASQUERADE
Step 2:
- If you are using Linux, click on NetworkManager applet at the top right of your screen, select "Edit Connections...". In tab "Wired", choose the new established connection (be careful, not Ethernet LAN connection) and click "Edit..." In tab "IPv4 Settings", choose "Shared to other computers" as Method. Click "Save". NetworkManager will reestablish the connection and assign to your PC an IP address on this USB network connection, default: 10.42.0.1. Leave Internet connections (wired or wireless) untouched.
- If you are using Windows, open "Network Connections" in Control Panel. It is somewhat different from setup in Linux. Right click on an Internet connection that you have. I assume that you are using a desktop which doesn't have any wifi adapter, so right click on LAN Ethernet connection with Internet, and select "Properties". In tab "Sharing" (or "Advanced" for Windows XP), click "Allow other network users to connect through...", then select the USB connection in dropdown list below. Click OK. Windows will automatically setup your USB network connection and assign to it an IP address, default for Windows 7: 192.168.137.1, default for Windows XP: 192.168.0.1. You can see your Internet connection is now "Shared" and your USB connection is now "Unidentified network".
- If you are using Mac, open System Preferences - Network. If you installed HoRNDIS, you will see a new network interface corresponding to your USB connection. With "Using DHCP" as Configure Ipv4, it may be already connected. Go back to System Preferences, click "Sharing". Select "Internet Sharing". Choose the Internet connection (Ethernet or Airport...) in "Share your connection from", and choose USB connection interface in "To computers using". Mac will assign to your USB connection interface an IP address, default: 192.168.2.1.
- If you are using Linux without GUI or NetworkManager, you have done all PC setup in step 1.
Your PC setup is now done!
Step 3:
Open Terminal Emulator on your Android. Type:
Code:
su
The command prompt must change from $ to #. If it does not, check to ensure that your device is rooted properly.
[UPDATED]Type the following command in Terminal Emulator, the same for all PC operating systems:
Code:
netcfg rndis0 dhcp
The name for usb interface inside Android may vary. It is usually rndis0 or usb0. Type
Code:
busybox ifconfig
to identify the name.
Use OLD instructions below when automatical dhcp method does not work.
[OLD]Type these following commands in Terminal Emulator:
For Linux PC:
Code:
ifconfig rndis0 10.42.0.2 netmask 255.255.255.0
route add default gw 10.42.0.1 dev rndis0
If route fails, try:
Code:
busybox route add default gw 10.42.0.1 dev rndis0
For Windows PC, use the same above commands, replace 10.42.0.2 by 192.168.137.2 (192.168.0.2 for Windows XP), replace 10.42.0.1 by 192.168.137.1 (192.168.0.1 for Windows XP)
For Mac PC, replace 10.42.0.2 by 192.168.2.2, replace 10.42.0.1 by 192.168.2.1
Now you can close Terminal Emulator and start the browser for Internet.
Some applications (download in Google Play, GMail, Facebook...) don't recognize Internet connection. You can try this way (WARNING: NOT TESTED):
- Enable temporarily 3G connection on your Android
- Type:
Code:
ifconfig rmnet0 0.0.0.0
The name for 3G interface inside Android may vary: ppp0, rmnet0... Type
Code:
busybox ifconfig
to identify the name.
before ifconfig rmnet0 ... above.
This will make applications see your Internet connection via USB as 3G!
USB tethering settings on Android will be reverted automatically when you unplug USB cable. To revert back settings on PC, uncheck "Allow other network users to connect through..." on Windows, "Internet sharing" on Mac, change from "Shared to other computers" back to "Automatically (DHCP)", or simply delete USB connection from NetworkManager on Linux.
Awesome tutorial! I moved to a new office at work and lost my 4G signal, they don't have new WiFi AP's up yet, and Edge sucks. I figured out the first half but couldn't figure out how to take a DHCP address on the USB connection on my phone. That worked perfectly and if you leave WiFi or mobile data on then ifconfig it to 0.0.0.0 Gmail et. al. work fine as well. Combined with my Open VPN bridged tunnel to my home network this is a great system for getting a connection away from wireless signals.
pretty handy. glad I found this thread.
p.s Newsworthy soon.
I tried the instructions provided in the tutorial for LAN n 3G connection.
The internet is not starting on my mobile
Very useful! Many times I've gone to Vegas wondering if I could tether my phone's internet to my computer using USB instead of having to use wifi tether or paying for over expensive slow internet! Definitely a useful tool and money saver
Hi!
Thanks for this awsome tutorial but something isnt working for me.
I gues it is at this step:
Click "Allow other network users to connect through...", then select the USB connection in dropdown list below. Click OK. Windows will automatically setup your USB network.
When i allow other network users i dont get any dropdown list and when i press setings below it myself i get a list but there is no USB in there.
I selected everything in there but it still did not work :/
What might the problem be?
also my device seems to be usb0 not rndis0 because terminal said "no such device" and with usb0 it said nothing
Thanks!
aww thanks to share
This is much easier.
xeph20 said:
Hi!
Thanks for this awsome tutorial but something isnt working for me.
I gues it is at this step:
Click "Allow other network users to connect through...", then select the USB connection in dropdown list below. Click OK. Windows will automatically setup your USB network.
When i allow other network users i dont get any dropdown list and when i press setings below it myself i get a list but there is no USB in there.
I selected everything in there but it still did not work :/
What might the problem be?
also my device seems to be usb0 not rndis0 because terminal said "no such device" and with usb0 it said nothing
Thanks!
Click to expand...
Click to collapse
Your Windows must see your Android as a USB network adapter. Go into Device Manager and check under Network Adapters to see if it is there.
If it isn't there, did you enable "USB tethering"? Go into Android Settings - Wireless & networks - Tethering & portable hotspot. When you activate USB tethering, Windows will popup New Hardware dialog for the first time. If you don't activate USB tethering, there will be neither rndis0 nor usb0.
oddoneout said:
This is much easier.
Click to expand...
Click to collapse
Maybe, but that method requires you to install an additional software on your PC. It works with Windows only. The connection is slower, for sure, because data packages have to be routed through the software. And that method proved 'not fully working' (some applications can't connect to Internet).
Thank you
Thank you for posting this great method.
I tried it on my HTC Desire HD and now I am suffering some issues.
After doing all the steps, the internet doesn't work. And after using the command ifconfig rmnet0 0.0.0.0, the usb connection is not recognized by my phone now. I found that the usb debugging option was disabled after the configuration steps. After I re-enable the usb debugging in the setting, the usb connection is still not recognized.
If anyone know how to re-enable my usb connection, please let me know. Thank you.
wangzhuoyu said:
Thank you for posting this great method.
I tried it on my HTC Desire HD and now I am suffering some issues.
After doing all the steps, the internet doesn't work. And after using the command ifconfig rmnet0 0.0.0.0, the usb connection is not recognized by my phone now. I found that the usb debugging option was disabled after the configuration steps. After I re-enable the usb debugging in the setting, the usb connection is still not recognized.
If anyone know how to re-enable my usb connection, please let me know. Thank you.
Click to expand...
Click to collapse
USB debugging option is quite irrelevant. Here I mentioned "USB tethering" capability, not "USB debugging". You can do all steps in this instruction with USB debugging off. Please tell me more when you mean "the usb connection is not recognized by your phone"
phamthanhnam said:
USB debugging option is quite irrelevant. Here I mentioned "USB tethering" capability, not "USB debugging". You can do all steps in this instruction with USB debugging off. Please tell me more when you mean "the usb connection is not recognized by your phone"
Click to expand...
Click to collapse
Thank you for your reply.
I mean when the usb cable is plugged, and the phone is connected with PC by the usb cable, there is no real connection between them.
When I used the command: busybox ifconfig, the usb0 device is not listed any more.
wangzhuoyu said:
Thank you for your reply.
I mean when the usb cable is plugged, and the phone is connected with PC by the usb cable, there is no real connection between them.
When I used the command: busybox ifconfig, the usb0 device is not listed any more.
Click to expand...
Click to collapse
Try to enable USB tethering again, or better restart your phone, then connect it to PC and enable USB tethering. usb0 will disappear if USB tethering option is off.
You will have working Internet connection before ifconfig rmnet0 0.0.0.0. Try open browser or ping first.
phamthanhnam said:
Try to enable USB tethering again, or better restart your phone, then connect it to PC and enable USB tethering. usb0 will disappear if USB tethering option is off.
You will have working Internet connection before ifconfig rmnet0 0.0.0.0. Try open browser or ping first.
Click to expand...
Click to collapse
Thank you so much. But I can't enable USB tethering even after restart my phone and connect it to PC. The USB tethering option is black. My phone can't be recognized by PC now.
wangzhuoyu said:
Thank you so much. But I can't enable USB tethering even after restart my phone and connect it to PC. The USB tethering option is black. My phone can't be recognized by PC now.
Click to expand...
Click to collapse
Hi, I reflashed the ROM and redo all the steps. It still doesn't work. However, the USB connection is established.
And I pinged my phone from PC. I got reply from My phone.
Then I figured out that the Symantec Firework stopped the internet traffic of the shared internet. By changing to allow IP traffic, now my my phone can access the internet with the USB cable.
Some apps work well, including Google Play and Gmail. But Fongo, Nonoh says no Internet connection.
If someone know how to make Fongo and Nonoh work, I really appreciate it.
Thanks again for the great help from you guys.
---------- Post added at 09:51 PM ---------- Previous post was at 09:26 PM ----------
wangzhuoyu said:
Thank you so much. But I can't enable USB tethering even after restart my phone and connect it to PC. The USB tethering option is black. My phone can't be recognized by PC now.
Click to expand...
Click to collapse
wangzhuoyu said:
Hi, I reflashed the ROM and redo all the steps. It still doesn't work. However, the USB connection is established.
And I pinged my phone from PC. I got reply from My phone.
Then I figured out that the Symantec Firework stopped the internet traffic of the shared internet. By changing to allow IP traffic, now my my phone can access the internet with the USB cable.
Some apps work well, including Google Play and Gmail. But Fongo and Nonoh says no Internet connection.
If someone know how to make Fongo and Nonoh work, I really appreciate it.
Thanks again for the great help from you guys.
Click to expand...
Click to collapse
It is very funny that actually Fongo connects to the internet and shows my account info. However, it still says WiFi & Data not available.
It seems that these apps don't test the internet accessibility by trying to connect to the servers, but by reading some WiFi & Data status information in the phone system. So how can we cheat them?
Thanks again for this wonderful post.
After using the command: ifconfig rmnet0 0.0.0.0, is there any way to reverse the command? Thanks. I want to check how some apps work if I didn't use the command.
Tried to use this method on linux, apparently either adb or terminal emulator stops working (adb says my device is offline, terminal emulator doesn't show any prompt, just blank screen) when I enable USB Tethering, therefore I can't execute the required commands.
Notworking in proxy connections
Hi,
I tried all the steps mentioned by you in my Kubuntu PC. All worked well except i'm not able to use internet on my mobile. My pc is connected to a network (which i want to share to my pc) via proxy settings. I pinged from my adb shell for other PCs in my network, and it worked without any packet loss. So my phone is actually connected to the network but i cant access internet. Is there any solution
wangzhuoyu said:
After using the command: ifconfig rmnet0 0.0.0.0, is there any way to reverse the command? Thanks. I want to check how some apps work if I didn't use the command.
Click to expand...
Click to collapse
Try to turn off mobile broadband, or this command:
ifconfig rmnet0 down
leledumbo said:
Tried to use this method on linux, apparently either adb or terminal emulator stops working (adb says my device is offline, terminal emulator doesn't show any prompt, just blank screen) when I enable USB Tethering, therefore I can't execute the required commands.
Click to expand...
Click to collapse
Try to use latest adb version (download from Google instead of using repository version). Android 4.2.2 requires you to accept connection from adb in a dialog displayed on your phone's touchscreen. Try to clear cache/application data in Android Settings/Applications for Terminal Emulator.
Sagar Uv said:
I tried all the steps mentioned by you in my Kubuntu PC. All worked well except i'm not able to use internet on my mobile. My pc is connected to a network (which i want to share to my pc) via proxy settings. I pinged from my adb shell for other PCs in my network, and it worked without any packet loss. So my phone is actually connected to the network but i cant access internet. Is there any solution
Click to expand...
Click to collapse
Run 'busybox route' in Terminal Emulator and assure the default gateway is correct. It should be Kubuntu PC's IP on USB interface (10.42.0.1), like this:
default 10.42.0.1 0.0.0.0 UG 0 0 0 rndis0
then try 'nslookup www.google.com' to see if it can reach DNS server and get domain name resolving.
Try to turn off firewall on your Kubuntu PC:
'sudo ufw disable'
I have not tested with proxy networks yet. Maybe you have something in your PC/network that blocks traffic from your phone to Internet?