JIUI v4(MIUI v4) & JWP7(Windows Phone 7 MOD): http://forum.xda-developers.com/showthread.php?p=26890050#post26890050
cm9 does not support ad-hoc because ics doen not provide that facility. But we can create a virtual router and share the wifi from our laptop.
1.Download virtual router(you can google it. version:0.9 beta).
2.Install it in your system.Open it.
3.Now open command promt as administrator and type this
netsh wlan set hostednetwork mode=allow ssid=android key=TYPE YOUR PASSWORD
press enter.
4.Type netsh wlan start hostednetwork and press enter. Now you hava created a virtual router.
5.Open network and sharing center. it will display your lan network which is connected to internet.
6.Click on Local area connection and select properties. A new window will open.
7.Select sharing from that window. There will be something called Allow network users to connect through this computer's internet. Click on the Checkbox.
8.Select the network. Usually it will be wireless network connection 2. If not select wireless network connection.
9.Hit ok. Now you will be able to share your internet connection via wifi.
ANY BROKEN LINKS!! PLEASE REPORT.
yeah, that's great. but what if i use ubuntu and my wireless card is not supported by hostapd? haven't found a working wpa_supplicant for my ics-sed galaxy s yet, so i'll stick to gb for the time being..
I have DEFY i changed wpa_supplicant but no use same result only and wifi tether does work but no apps support the internet connection recevied through wifi tether. Some one has to change the script, its in the hands of developers. So far what i posted before works. Will try to figure our something and will let you know.
fartlec said:
yeah, that's great. but what if i use ubuntu and my wireless card is not supported by hostapd? haven't found a working wpa_supplicant for my ics-sed galaxy s yet, so i'll stick to gb for the time being..
Click to expand...
Click to collapse
I am not big fan of UBUNTU but found this. Give it a try and say if it works.
In Ubuntu 10.04, it seems extremely easy to have this hostapd work. First, of course, you need to install it. It is already in the official repositories. Just run this in the terminal:
sudo apt-get install hostapd
Then, open a text editor program, for example gedit. Copy the following into it.
interface=wlan0
driver=nl80211
ssid=
channel=1
hw_mode=g
auth_algs=1
wpa=3
wpa_passphrase=
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
Please don’t forget to fill in the name of your network after “ssid=”, as well as the password after “wpa_passphrase=”.
After all these, save the file as hostapd.conf in your home folder.
Now, in your terminal:
sudo hostapd hostapd.conf
Turn the wifi connection on in your devices and enjoy the fast network share!
janeindiran said:
cm9 does not support ad-hoc because ics doen not provide that facility. But we can create a virtual router and share the wifi from our laptop.
1.Download virtual router(you can google it. version:0.9 beta).
2.Install it in your system.Open it.
3.Now open command promt as administrator and type this
netsh wlan set hostednetwork mode=allow ssid=android key=TYPE YOUR PASSWORD
press enter.
4.Type netsh wlan start hostednetwork and press enter. Now you hava created a virtual router.
5.Open network and sharing center. it will display your lan network which is connected to internet.
6.Click on Local area connection and select properties. A new window will open.
7.Select sharing from that window. There will be something called Allow network users to connect through this computer's internet. Click on the Checkbox.
8.Select the network. Usually it will be wireless network connection 2. If not select wireless network connection.
9.Hit ok. Now you will be able to share your internet connection via wifi.
Click to expand...
Click to collapse
This works only on windows platform. Tested on Windows 7 ultimate x64.
@ janeindiran
yeah, thanks, already did it. long story short: nl80211 driver does not work, guys @ linuxwireless are working on a functional broadcom4313 driver, which is, by chance, my wireless card. Good news is that they're working on it, so there's still hope.
ps can agree on ubuntu, but i'm a dumbass and it was my first choice to move from windows!
fartlec said:
yeah, thanks, already did it. long story short: nl80211 driver does not work, guys @ linuxwireless are working on a functional broadcom4313 driver, which is, by chance, my wireless card. Good news is that they're working on it, so there's still hope.
ps can agree on ubuntu, but i'm a dumbass and it was my first choice to move from windows!
Click to expand...
Click to collapse
If you find any fix please do post it here. I will try to find a fix for it.
Its not really a fix for your phone, its another way of creating a network. It will work for Windows users.
If anyone has tried, don't forget to mention the review.
is wifi tethering ever gonna work for ics?
flanagan843 said:
is wifi tethering ever gonna work for ics?
Click to expand...
Click to collapse
Use wifi tether from market that works.
this is just an pc solution.. i can't connect to my mobile Wlan ad hoc hotspot with my ics phone
Chest3r said:
this is just an pc solution.. i can't connect to my mobile Wlan ad hoc hotspot with my ics phone
Click to expand...
Click to collapse
Yep. So far this is the only working solution.
don't know if anyone is interested yet, but i've found out that wifi ad hoc support is a bit troublesome in ics. wpa_supplicant does not make the job, as it is also kernel related. starting from 20120506 nightly, cm9 does support ad hoc wifi (at least in galaxy s). of course, custom kernels have to be based on this stock to make the job. Onestly, this is the only way i found to make it work in ics
It's not working on all WINDOWS .
Virtual Router doesn't work on XP .
Commands netsh wlan star hostednetwork etc, doesn't work too .. :/
polokk said:
It's not working on all WINDOWS .
Virtual Router doesn't work on XP .
Commands netsh wlan star hostednetwork etc, doesn't work too .. :/
Click to expand...
Click to collapse
Run the command prompt as Administrator. If you open that application and if you try to create via that application that application it won't work. Open that application minimize it and then use those commands in command prompt. It will work fine. One more thing after hosting Virtual Router, you have to do few configurations in your control panel to share wifi.
virtualwifi router
i used VitualWifi Router developed by ravieeswar
it works fine
https://www.dropbox.com/s/e4b08htwrb4v9zu/VirtualWiFiRouter_2.0.1.5.exe
how about the gingerbread version ?!
i am using JIUI GB and my phone doesnt see the AD-HOC network that i created !
ardalaan said:
how about the gingerbread version ?!
i am using JIUI GB and my phone doesnt see the AD-HOC network that i created !
Click to expand...
Click to collapse
I can conform AD-HOC works in JIUI GB
janeindiran said:
Run the command prompt as Administrator. If you open that application and if you try to create via that application that application it won't work. Open that application minimize it and then use those commands in command prompt. It will work fine. One more thing after hosting Virtual Router, you have to do few configurations in your control panel to share wifi.
Click to expand...
Click to collapse
But the software Virtual Router is stated as for Windows 7, and not XP.
Related
Hello. I have searched the forums but can't find a solution that works for me.
I need to connect my g1 to my laptop Wi-fi connection or at least via USB using adb shell. Can someone help me. I live in a country with very expensive 3g
data and cannot afford downloading apps. Any help will be appreciated.
I have rooted G1 with JF rc33
Why not get a wireless router?
/Mats
for example at work...
Edit : Nvm just reread ur post
Just get a wireless router or use the ad hoc thing for laptops, google search it
http://www.wi-fiplanet.com/tutorials/article.php/1451421
Пробвай това: http://junefabrics.com/android/index.php
Try this: http://junefabrics.com/android/index.php
;-)
Thanks
Well, getting a wireless router just to connect my G1 from time to time seems like a waste of money to me.I have read some articles about G1 and ad hoc networks and it seems that it is not possible at this moment to connect the device to a laptop. Actually I used to connect a PPC this way but the G1 won't even detect the ad hoc network i create. Well, if there isn't any other solution I guess the wireless router will be the last resort then. About PdaNET- i think it does just the opposite - it connects your PC to the internet using your phone. Isn't there any way to reverse teether using adb shell and usb cable?
Come on, is it really impossible to reverse tether using adb shell fo rexample, cant anyone with more knowledge give a solution please.
I was looking for something else and came across this post. I decided, even though it's ANCIENT, that someone might want to do the same, so I went to Google and searched for "Reverse tether G1 android". Within 5 minutes I had the answer.
http://androidcommunity.com/forums/291099-post8.html
It does require you to do a little command-line work on the G1 itself (or through ADB on the command prompt of the computer) but it appears it can be done.
HIH.
try this
Close any program that uses internet on your PC, connect your phone, turn on USB tethering. You would see a new virtual network adapter in your PC, enable internet sharing on that adapter as described in this article(hxxp://support.microsoft.com/kb/306126). The adapter's ip address would change to 192.168.0.1 with netmask of 255.255.255.0.
Then input the following codes line by line in your phone's terminal, you could download GScript(hxxp://code.google.com/p/gscript-android/) to do the job or just save it as a .sh file with 755 permission and run it when you want.
Code:
busybox ifconfig usb0 192.168.0.2 netmask 255.255.255.0
busybox route delete default
iptables -F
iptables -F -t nat
busybox route add default gw 192.168.0.1
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
You would need to keep your GPRS/Edge connection on to trick programs into thinking that you have an internet connection, but all your phone's data is now routed thru your PC. Confirm this by checking if the GPRS/Edge icon on the top has those up and down arrows in it.
And to disable this, you simply turn off USB tethering and restart your GPRS/Edge connection.
OMG I just replied a post of 23rd March 2009, 09:13 PM! Don't think axlastro is needing this anymore. lol
@test1943
nice, I have been looking for this but...
how do I disable this properly?
To "restart your GPRS/Edge connection" I put my phone into airplane mode and then back to normal but it still couldn't connect to the network?? so I just rebooted and now that works.
But now my phone isn't recognized by my pc when I plug in the usb??
Any help.
oops let me take that all back. reboot, re-plugin and pc finds my phone again. tested again and it works as described.
Sweet Thanks
can this be done using root explorer?
I don't think so.
I just used gscript lite (free on the market)
I saved the stuff from test1943 in notepad as USBTether.sh, copied to my sdcard into the gscript folder.
Open gscript, push menu > add script. Click load file and select the USBTether.sh.
Made sure su was checked and clicked save.
Created a shortcut on the homescreen for this script.
1. Enabled Usb Tether
2. ran script
3. ???
4. profit.
Sleeepy2 said:
@test1943
nice, I have been looking for this but...
how do I disable this properly?
To "restart your GPRS/Edge connection" I put my phone into airplane mode and then back to normal but it still couldn't connect to the network?? so I just rebooted and now that works.
But now my phone isn't recognized by my pc when I plug in the usb??
Any help.
oops let me take that all back. reboot, re-plugin and pc finds my phone again. tested again and it works as described.
Sweet Thanks
Click to expand...
Click to collapse
The easiest way to disable this(I think we could call it reverse USB tethering) was to use an APN switch, the "APN on-off Widget" in the market seems to do the job right. Turn off USB tethering, switch off APN, then switch on and you are good to go.
And Sleeepy2, how do you mean by "not recognized by my pc", is it in storage mode or debug mode?
plumppp said:
can this be done using root explorer?
Click to expand...
Click to collapse
I think he is referring to the root explorer by Gpc, a Taiwanese. Never used that app, but judging by its description it could turn on/off APN just like the "APN on-off Widget" did.
Sleeepy2 said:
I don't think so.
I just used gscript lite (free on the market)
I saved the stuff from test1943 in notepad as USBTether.sh, copied to my sdcard into the gscript folder.
Open gscript, push menu > add script. Click load file and select the USBTether.sh.
Made sure su was checked and clicked save.
Created a shortcut on the homescreen for this script.
1. Enabled Usb Tether
2. ran script
3. ???
4. profit.
Click to expand...
Click to collapse
ok thanks, gonna give it a try now
Edit: is this step necessary? im using vista and can't seem to find it.. can i skip it?
# Log on to the client computer as Administrator or as Owner.
# Click Start, and then click Control Panel.
# Click Network and Internet Connections.
# Click Network Connections.
# Right-click Local Area Connection, and then click Properties.
# Click the General tab, click Internet Protocol (TCP/IP) in the This connection uses the following items list, and then click Properties.
# In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP address automatically (if it is not already selected), and then click OK.
Note You can also assign a unique static IP address in the range of 192.168.0.2 to 192.168.0.254. For example, you can assign the following static IP address, subnet mask, and default gateway:
IP Address 192.168.0.2
Subnet mask 255.255.255.0
Default gateway 192.168.0.1
plumppp said:
ok thanks, gonna give it a try now
Edit: is this step necessary? im using vista and can't seem to find it.. can i skip it?
# Log on to the client computer as Administrator or as Owner.
# Click Start, and then click Control Panel.
# Click Network and Internet Connections.
# Click Network Connections.
# Right-click Local Area Connection, and then click Properties.
# Click the General tab, click Internet Protocol (TCP/IP) in the This connection uses the following items list, and then click Properties.
# In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP address automatically (if it is not already selected), and then click OK.
Note You can also assign a unique static IP address in the range of 192.168.0.2 to 192.168.0.254. For example, you can assign the following static IP address, subnet mask, and default gateway:
IP Address 192.168.0.2
Subnet mask 255.255.255.0
Default gateway 192.168.0.1
Click to expand...
Click to collapse
Sorry for the confusion, that article was for XP only. Check this one for Vista: hxxp://windows.microsoft.com/en-US/windows-vista/Using-ICS-Internet-Connection-Sharing
Notice: the network adapter you'll be working on should NOT be "Local Area Connection" because that's your PC's adapter. If you should have enabled USB tethering on your phone, you should see NEW one(i.e. it was not there before you turn on tethering), in my Windows 7, it was named "Local Area Connection 2".
test1943 said:
And Sleeepy2, how do you mean by "not recognized by my pc", is it in storage mode or debug mode?
Click to expand...
Click to collapse
I mean after disabling usb tether, unplug usb, then plug it back in. The pc did nothing. Didn't recognize that I even plugged it in. Must be something that I did because it works great now.
I just need to figure out how to us gscript to enable USB Tether then I can do it all with 1 shortcut.
Then another 1 to disable USB Tether, disable apn and then re-enable apn.
test1943 said:
Sorry for the confusion, that article was for XP only. Check this one for Vista: hxxp://windows.microsoft.com/en-US/windows-vista/Using-ICS-Internet-Connection-Sharing
Notice: the network adapter you'll be working on should NOT be "Local Area Connection" because that's your PC's adapter. If you should have enabled USB tethering on your phone, you should see NEW one(i.e. it was not there before you turn on tethering), in my Windows 7, it was named "Local Area Connection 2".
Click to expand...
Click to collapse
ok thanks, gonna try this again
Edit: sorry if im beginning to become an annoyance.. but when i run the script i get "stderrr Script execution failed" "no such process network is unreachable"
Su is checked, i also removed tex. and added sh
plumppp said:
ok thanks, gonna try this again
Edit: sorry if im beginning to become an annoyance.. but when i run the script i get "stderrr Script execution failed" "no such process network is unreachable"
Su is checked, i also removed tex. and added sh
Click to expand...
Click to collapse
Please type in each line to see which line produces error. And may I ask which ROM are you using? Remember to su first.
test1943 said:
Please type in each line to see which line produces error. And may I ask which ROM are you using? Remember to su first.
Click to expand...
Click to collapse
okay thanks again, i'll do it manually one at a time. i'm using cyanogen 307 nightly
Edit: okay.. i didn't even get pass the first line lol..
i'm assuming its the rom.. when typing "busybox ifconfig usb0 192.168.0.2 netmask 255.255.255.0"
i get: [ifconfig: socket: Permission denied]
which rom are you using?
plumppp said:
okay thanks again, i'll do it manually one at a time. i'm using cyanogen 307 nightly
Edit: okay.. i didn't even get pass the first line lol..
i'm assuming its the rom.. when typing "busybox ifconfig usb0 192.168.0.2 netmask 255.255.255.0"
i get: [ifconfig: socket: Permission denied]
which rom are you using?
Click to expand...
Click to collapse
That seems to be a root problem to me, does other root-required apps work right?
Hey Everyone,
I was searching all over Google and XDA to find an applicable solution to have reverse USB tethering enabled on my Captivate - I recall it was a default option in the stock JH6 it came with but afterwards, it was removed.
This is only for Windows based machines. I've tested this to work on my 32-bit Windows 7 laptop.
Now, before I go on, i'm going to mention some requirements to get this running:
*Rooted Captivate
*A console emulator - or program to apply a script
*USB Tethering in the Settings menu, most probably under "Wireless & Network"
*A Windows machine
*USB Drivers for your Captivate MUST be installed
There are two parts to getting this work, let's start by connecting the phone in "Debugging Mode" to the PC:
1.
Go to "Settings" --> "Wireless and networks" --> "Tethering" then select the check mark next to "USB Tethering"
2.
Open your console emulator - and type in the below:
su
netcfg usb0 dhcp
This will force the USB to obtain its IP Address/Info from the DHCP server.
On the Windows machine, you will need to apply the below:
1.
Network and Sharing Center --> Network Connections (Change Adapter Settings)
2.
Make note of your Samsung USB interface, mine is named "Local Area Connection 10" (SAMSUNG Android USB Remote NDIS Network Device)
3.
Select the Network interface that you would like to share - mine is "Wireless Network Connection", and go to its "Properties"
4.
Go to the "Sharing" tab
5.
Check the first box "Allow other network users to connect through this computer's Internet connection"
6.
In the drop-down box, choose the interface that recflect's your Samsung's USB
7.
Apply & OK, you should be good to go.
If this works on your side, don't forget to hit the "Thanks" button.
I hope you all enjoy!!
Edit:
Added a script so that users are able to apply the script via GScript rather than use a console emulator.
Thats a good guide... It will work from your local pc... not from your office pc because connection sharing will be most likely be disabled!! Well, when at home, I already have my wifi connection to use. This would have been so good if we could do it at our office
Thanks for sharing!
sujesharukil said:
Thats a good guide... It will work from your local pc... not from your office pc because connection sharing will be most likely be disabled!! Well, when at home, I already have my wifi connection to use. This would have been so good if we could do it at our office
Thanks for sharing!
Click to expand...
Click to collapse
If your office PC has wi-fi adapter in it and runs Windows 7, you can use this guide http://tameyourpc.blogspot.com/2009/07/windows-7-as-wireless-access-point.html to turn your PC into a wifi AP. That's what I did in my office using my office laptop.
Office PC does have wi-fi, but getting Windows 7??? It is like hoping to get Honeycomb on our captivate
Well, I dont really care much now, I use about 1.6 to 1.7 gigs a month of 3g even after hooking onto every free wifi spot I get! so I am good..
I love how I was trying to fond out how to do this last month; I cant connect to the school's wifi anymore so I had to upgrade my data plan.
However im definitely going to do this when I get back.
sujesharukil said:
Thats a good guide... It will work from your local pc... not from your office pc because connection sharing will be most likely be disabled!! Well, when at home, I already have my wifi connection to use. This would have been so good if we could do it at our office
Thanks for sharing!
Click to expand...
Click to collapse
Glad I could help.. Sucks if you don't have admin privileges at your office PC
I kinda like to use this when i'm low on battery, or when my phone can barely get a Wifi signal, but the Laptop has a better one.. etc..
FLAC Vest said:
I love how I was trying to fond out how to do this last month; I cant connect to the school's wifi anymore so I had to upgrade my data plan.
However im definitely going to do this when I get back.
Click to expand...
Click to collapse
Good luck!
Hii,
used your guide to reverse tether the internet connection to my galaxy 3 GT-I5801,
but there's a problem whenever i try to browse the net a popup comes and says connection not found retry or okay. i click okay and then again it popups ignoring this the net is working fine.. also i can't use the internet to download apps via market i can see them see their screen shots but can't download them.
deepansh_gupta said:
Hii,
used your guide to reverse tether the internet connection to my galaxy 3 GT-I5801,
but there's a problem whenever i try to browse the net a popup comes and says connection not found retry or okay. i click okay and then again it popups ignoring this the net is working fine.. also i can't use the internet to download apps via market i can see them see their screen shots but can't download them.
Click to expand...
Click to collapse
I'm using it just fine here, not sure if it could be that the PC you're connecting to uses a proxy/firewall/security suite or something that might be blocking off some sort of traffic..
Correct me if i'm wrong, but you can browse the net, right?
Interesting, thanks
Sent from my SAMSUNG-SGH-I897 using XDA App
Will this reset to normal tether mode upon reboot? If not, what's the reset command?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
FeO2 said:
Will this reset to normal tether mode upon reboot? If not, what's the reset command?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
yes, in fact, just upon removing the usb cable
i believe that even disabling/re-enabling usb tether should do the trick but i haven't tried it
Sorry to revive a dead thread, but is this method still usable? or does anyone has a better way to do reverse tethering by now?
low99 said:
Sorry to revive a dead thread, but is this method still usable? or does anyone has a better way to do reverse tethering by now?
Click to expand...
Click to collapse
Hey,
Sorry for not checking back on this.
I still use it till the day on Andromeda 2.2 and it rocks
Tell me how it works for you
I don't get it? You could use you PC for internet stuff and your phone as a phone? I love my smartphone but if I'm near a computer, that's usually going to be used first for anything data.
GSMinCT said:
I don't get it? You could use you PC for internet stuff and your phone as a phone? I love my smartphone but if I'm near a computer, that's usually going to be used first for anything data.
Click to expand...
Click to collapse
In simple words, you could get your Captivate to use internet off your PC, rather than waste your battery on wireless, or your GBs on your data plan - or simply if there is no wireless network!
aehlayel said:
In simple words, you could get your Captivate to use internet off your PC, rather than waste your battery on wireless, or your GBs on your data plan - or simply if there is no wireless network!
Click to expand...
Click to collapse
You missed his point, he is saying why bother using the internet on your phone at all if you have a freakin COMPUTER in front of you.
studacris said:
You missed his point, he is saying why bother using the internet on your phone at all if you have a freakin COMPUTER in front of you.
Click to expand...
Click to collapse
Exactly 10char
Didn't really worked, can you help me out?
I got
1) USB debugging mode on
2) plugged in my phone to the pc
3) ticked Tethering in settings
4) opened the app "terminal emulator"
5) keyed in
su
netcfg usb0 dhcp
6) Change adapter settings, and set to share, however I don't have the drop down box, so I'd figure it is on the advanced tab but I'm quite clueless to what to fill (I'm on windows 7)
*screenshot attached*
low99 said:
Didn't really worked, can you help me out?
I got
1) USB debugging mode on
2) plugged in my phone to the pc
3) ticked Tethering in settings
4) opened the app "terminal emulator"
5) keyed in
su
netcfg usb0 dhcp
6) Change adapter settings, and set to share, however I don't have the drop down box, so I'd figure it is on the advanced tab but I'm quite clueless to what to fill (I'm on windows 7)
*screenshot attached*
Click to expand...
Click to collapse
Ok, so from the screenshots it seems you've got the wrong interface:
3.
Select the Network interface that you would like to share - mine is "Wireless Network Connection", and go to its "Properties"
Click to expand...
Click to collapse
So that should be the interface you want to share, say your Ethernet or Wireless.
And I believe that you configure the PC side first, then the phone side...
Tell me if it works this way for you.
I lost you, you're on a window xp machine? mine doesn't read as wireless network but as local area connection, I did start from the phone side, but the settings on the adapter seems to stick after I unplug and everything. Can I have a few screenshots? Sorry for the trouble.
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:
We know android won't connect to Ad Hoc networks, I tried to flash and root often, replaced many versions of the file wpa_suppicant with no results.
Here is an easier alternative to the android - pc connections [adhoc] and share internet, without doing anything on the device, only with a PC application, for all androids and devices...
We will turn our PC into a router, well, do it this way.
This is easy with a little application that I share.
1. Download and extract the files
2. Install the application
3. Restart the system
4. Register the product with the serial (included)
5. Setting fields:
Hotspot Name: choose any name
Password: choose any password
Internet to share: Your interface with internet to share
Share Over: Your wifi interface to connect with your android
Sharing Mode: Select the "wi-fi Access Point"
6. Start Hotspot
7. Activate the wifi on your android and connect to your acces point
Enjoy.
What's the name of sware?
Hi jota!
What's the name of your suggested software? Is it connectify? Connectify can create Access Point mode HotSpot for Windows 7 and above. It's so far the best AP hotspot app for Windows though some other apps like Virtual Router, Virtual Wifi Router,etc are available.
HEXcube said:
Hi jota!
What's the name of your suggested software? Is it connectify? Connectify can create Access Point mode HotSpot for Windows 7 and above. It's so far the best AP hotspot app for Windows though some other apps like Virtual Router, Virtual Wifi Router,etc are available.
Click to expand...
Click to collapse
Yes, it is connectify with enabled wi-fi acces point.
Do you know if and how I can host an adhoc network from my phone to other devicss (so i dont have to share my router )
Greets
Sent from my Xperia X10 using xda app-developers app
afaik you can make any windows 7/8 (and maybe vista) pc into a wifi hot point with just a few console commands without any external app or program...
Code:
A detailed step-by-step to setup tethering in Windows 7 without any 3rd party software:
From admin command prompt type:
netsh wlan set hostednetwork mode=allow ssid=mywifinetwork key=mysecretkey
Enable new virtual Wi-Fi adapter (it might be disabled upon creation)
From admin command prompt type:
netsh wlan start hostednetwork
From current internet conection adapter share (ICS) to the virtual adapter
Connect from wireless client to virtual SSID. Wi-Fi client gets an auto IP and you're good to go.
After host computer restart you only need to repeat steps 3 & 5 to be up and running.
Adhoc or Access Point?
Thanks for the command prompt method NixZero. But, is the created network Adhoc or Access Point mode hotspot? If it's AP, Android can directly connect to it.
---------- Post added at 11:43 AM ---------- Previous post was at 11:14 AM ----------
@keenofhiphop
Android 2.2 or above have a built in Portable Hotspot feature to create Access Point mode Hotspot easily. Go to Settings->Wifi->Tethering and Portable Hotspot and turn on Portable Hotspot. This is a proper hotspot and acts like a real router. You can share your phone's internet connection over wifi and even play games. There's no need to create an Adhoc network when Access Point mode is readily available.
HEXcube said:
Thanks for the command prompt method NixZero. But, is the created network Adhoc or Access Point mode hotspot? If it's AP, Android can directly connect to it.
Click to expand...
Click to collapse
access point mode - I've used it to connect my tablet
the only annoying thing is that you have to activate it by hand at every boot (you can make a .bat obviously) and there are a few limits on the network sharing, for eg. it sets the dhcp for 192.168.0.255 mask with the server pc as 192.168.0.1 and you cant change it even if you set a different lan ip.
HEXcube said:
@keenofhiphop
Android 2.2 or above have a built in Portable Hotspot feature to create Access Point mode Hotspot easily. Go to Settings->Wifi->Tethering and Portable Hotspot and turn on Portable Hotspot. This is a proper hotspot and acts like a real router. You can share your phone's internet connection over wifi and even play games. There's no need to create an Adhoc network when Access Point mode is readily available.
Click to expand...
Click to collapse
Yeah I know but I dont wantbto share my 3g but my wifi. With builtin tethering it only works 3g to wlan.
Greets
Sent from my Xperia X10 using xda app-developers app
Configure as Repeater
keenofhiphop said:
Yeah I know but I dont wantbto share my 3g but my wifi. With builtin tethering it only works 3g to wlan.
Greets
Sent from my Xperia X10 using xda app-developers app
Click to expand...
Click to collapse
You can create Wifi Access Point without sharing internet. Just turn off Mobile Data and then start Hotspot. It will create a Hotspot with no internet access.
Or did you mean you want to share your home wifi over phone's wifi? Usually, you can only have one wifi connection at a time since there is only 1 wifi transciever per device. But, it may be possible to configure the device as a repeater. This can be done on Windows 7 devices using Connectify by setting up a hotspot with the same name and password as the source wifi connection. I don't know if it can be done on Android too.
---------- Post added at 03:00 PM ---------- Previous post was at 02:44 PM ----------
@NixZero
Will this IP cause any conflict? As this is dhcp there should be nothing to worry about,right?
What about Static IP? Are there any commands to assign IP?
AndroidWifi for Windows 7
The blog Seeing and Believing has given a more detailed description and steps for the command line WiFi Access Point method that NixZero shared with us. An advantage of this method is that it can share non ethernet internet connections like USB dongle,bluetooth modem,etc. Connectify and other Virtual Routers are limited to sharing ethernet. Connectify Pro can do this, but it's not free. The same blog has also linked to a Windows Application AndroidWiFi which automates execution of these scripts.
How to get list of connected clients?
Hey NixZero, you missed one point - Connectify can show you the list of clients connected to Virtual AP. But, how do we do that in the Access Point created through command scripts?
Hi,
I own a moto g and I have a broadband connection on my PC. Is there any way I use that to access internet on my moto g ?
If there is please explain.
Thanks & Regards
Gilagamesh
gilagamesh said:
Hi,
I own a moto g and I have a broadband connection on my PC. Is there any way I use that to access internet on my moto g ?
If there is please explain.
Thanks & Regards
Gilagamesh
Click to expand...
Click to collapse
do you have a desktop or a laptop ..
if desktop then you should try some apps like reverse USB tethering ..which are very simple to use ..
there are too many apps like this which you can find on the play store ..
Sent from my GT-I9300 using XDA Premium 4 mobile app
Thru Ethernet cable? If so change your modem to WiFi modem if using from data card use WiFi dongle search ebay
Sent from my XT1033 using Tapatalk
Well if you are on laptop...you can use this software known as Connectify to set up a Hotspot on ur laptop
You can do that with a wifi adapter on a PC too
jaspreet997 said:
Well if you are on laptop...you can use this software known as Connectify to set up a Hotspot on ur laptop
You can do that with a wifi adapter on a PC too
Click to expand...
Click to collapse
By the way I am using a Desktop PC and I don't have a Wifi adapter. But can't I use usb cables for connecting internet on my mobile? I that mandatory that I purchase a Wifi adapter?
gilagamesh said:
By the way I am using a Desktop PC and I don't have a Wifi adapter. But can't I use usb cables for connecting internet on my mobile? I that mandatory that I purchase a Wifi adapter?
Click to expand...
Click to collapse
Not at all
There are some reverse tethering apps to get ur pc's internet just by USB cable but they need a rooted phone!
Search on play store " reverse tethering"
If you don't wanna root....invest in a router...they are pretty cheap nowdays!
Sent from Samsung Chat
@gilagamesh
You can do it without using any apps ...u just have to enter some commands in ur PC and ur phone by terminal emulator.. Will help u PM me..
NOTE:: Root is required .
Sent from my XT1033 using xda premium
You can setup an ad hoc wifi network and share the internet connection to connected devices.
You can do it using the Control Panel or using the CMD.
In Windows 8 this functionality ist not available anymore using the GUI.
These commands should work on all windows pc's.
Replace ssid and key with your own if wanted.
Remember to open CMD with admin rights.
To configure adhoc network typ in CMD:
netsh wlan set hostednetwork mode=allow ssid=NameForMyNetwork key=MySecurityKey
Click to expand...
Click to collapse
To start adhoc network type in CMD:
netsh wlan start hostednetwork
Click to expand...
Click to collapse
To stop adhoc network type in CMD:
netsh wlan stop hostednetwork
Click to expand...
Click to collapse
Open properties of your network adapter on PC and you'll find an option to share the internet connection of connected devices of the specific adapter.
Connect your Android over wifi to your PC, voila, you should be done if i did not forget something.......
EDIT:
Aaaargh.....just saw it by reading it the thread a second time....you have no wifi.
But anyway, maybe it helps somebody else.
mokkami said:
You can setup an ad hoc wifi network and share the internet connection to connected devices.
You can do it using the Control Panel or using the CMD.
In Windows 8 this functionality ist not available anymore using the GUI.
These commands should work on all windows pc's.
Replace ssid and key with your own if wanted.
Remember to open CMD with admin rights.
To configure adhoc network typ in CMD:
To start adhoc network type in CMD:
To stop adhoc network type in CMD:
Open properties of your network adapter on PC and you'll find an option to share the internet connection of connected devices of the specific adapter.
Connect your Android over wifi to your PC, voila, you should be done if i did not forget something.......
EDIT:
Aaaargh.....just saw it by reading it the thread a second time....you have no wifi.
But anyway, maybe it helps somebody else.
Click to expand...
Click to collapse
A simpler way to go at it is a software called Connectify....completely gui based...I used to use it all the time on my laptop.....works on windows xp sp3 and up....
Sent from Samsung Chat
@mokkami
This is to create a wifi hotspot ...and as i see the person is using a desktop he might not have a wifi card...and even if u dn have wireless network connection 2 adapter you would notbe able to even create Wifi hotspot from a laptop ....and it does need service pack3 for windows 7
---------- Post added at 02:27 PM ---------- Previous post was at 02:23 PM ----------
I Dont remember the original thread but here are the contents i got fromthat link a while ago...
@gilagamesh
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!
And it works !!!
Yes it is to create a hotspot. And i wrote already that i read it to late that he has no wifi available.
prachetas13 said:
and even if u dn have wireless network connection 2 adapter you would notbe able to even create Wifi hotspot from a laptop
Click to expand...
Click to collapse
I do not understand what you mean. I created a wifi hotspot sucessfully on my netbook which was also connected via network cable.
mokkami said:
Yes it is to create a hotspot. And i wrote already that i read it to late that he has no wifi available.
I do not understand what you mean. I created a wifi hotspot sucessfully on my netbook which was also connected via network cable.
Click to expand...
Click to collapse
Its like most of them dn have those adapters ...i have thinkpad L430 but nt able to share internet ...but on my dell laptop it was easier ...i havetried a lot but netsh wlan commands doesnot work ...not even by connectify ...in the other hand it works good on my other laptop ...
well not losing the oroginal topic ...i have provided a method of reverse tethering ..