The best alternative solution for all devices, all android, adhoc connections - Android General

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?

Related

Cm9/ics ad-hoc fix

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.

[Q] Cannot connect to Wifi Hotspot in Android 2.3.5

I downloaded this program called mhotspot to make my laptop a Wifi Hotspot and shared my dial-up connection with the hotspot.
Now when i connect to the hotspot, it disconnects and halts at "Obtaining IP Address".
To resolve this, i added Static IP address. This fixed the above problem.
Now the wifi gets connected, but when i try browsing in my phone, it does not show up the webpage.
Is there any way to connect my wifi hotspot to the phone?
Phone: HTC Explorer (Pico)
Android: 2.3.5 Gingerbread
tatiraju.rishabh said:
I downloaded this program called mhotspot to make my laptop a Wifi Hotspot and shared my dial-up connection with the hotspot.
Now when i connect to the hotspot, it disconnects and halts at "Obtaining IP Address".
To resolve this, i added Static IP address. This fixed the above problem.
Now the wifi gets connected, but when i try browsing in my phone, it does not show up the webpage.
Is there any way to connect my wifi hotspot to the phone?
Phone: HTC Explorer (Pico)
Android: 2.3.5 Gingerbread
Click to expand...
Click to collapse
Edited
From the mhotspot website:
My 'android device' won't connect to the hotspot
>Actually,to say it is a bug in the Android OS related to wifi.
>To reload the wifi driver dial *#*#526#*#* (or) install the "wifi-fixer" app from the market
Click to expand...
Click to collapse
However, at the same that website looks REALLY sketchy. Ridiculously poor English and a horrible site layout are both bad signs. On top of that, if you're running Windows or Linux (or probably even Mac) then you can create an ad-hoc network (i.e. WiFi hotspot) without any third-party software. I'd get rid of that mhotspot program as fast as you can.
Check out this article for more info on setting up an ad-hoc WiFi network on Windows:
lifehacker. com/5369381/turn-your-windows-7-pc-into-a-wireless-hotspot
(remove space in ". com" before going to link)
mike12489 said:
From the mhotspot website:
However, at the same that website looks REALLY sketchy. Ridiculously poor English and a horrible site layout are both bad signs. On top of that, if you're running Windows or Linux (or probably even Mac) then you can create an ad-hoc network (i.e. WiFi hotspot) without any third-party software. I'd get rid of that mhotspot program as fast as you can.
Check out this article for more info on setting up an ad-hoc WiFi network on Windows:
lifehacker. com/5369381/turn-your-windows-7-pc-into-a-wireless-hotspot
(remove space in ". com" before going to link)
Click to expand...
Click to collapse
I created an ad-hoc network, but my phone doesn't detect it at all.
As far as i remember stock Android can't connect to wifi ad-hoc hotspot. Only custom roms like Cyanogenmod can do it You should create an Access Point connection using program called Connectify ( if you use Windows 7).
lewymaro said:
As far as i remember stock Android can't connect to wifi ad-hoc hotspot. Only custom roms like Cyanogenmod can do it You should create an Access Point connection using program called Connectify ( if you use Windows 7).
Click to expand...
Click to collapse
Installed connectify, but the same problem persists. I can connect to the network but internet is unavailable.
http://mhotspot.com/blog/fix-obtaining-ip-address-android-wifi-problem/
tatiraju.rishabh said:
I downloaded this program called mhotspot to make my laptop a Wifi Hotspot and shared my dial-up connection with the hotspot.
Now when i connect to the hotspot, it disconnects and halts at "Obtaining IP Address".
To resolve this, i added Static IP address. This fixed the above problem.
Now the wifi gets connected, but when i try browsing in my phone, it does not show up the webpage.
Is there any way to connect my wifi hotspot to the phone?
Phone: HTC Explorer (Pico)
Android: 2.3.5 Gingerbread
Click to expand...
Click to collapse
I think I remember this being a common problem with the stock soft, with CM it works perfectly.
So either you switch or you need to use an app for this...
Have you set up AP like here in attachment? On my phone works perfectly.
No internet
tatiraju.rishabh said:
I downloaded this program called mhotspot to make my laptop a Wifi Hotspot and shared my dial-up connection with the hotspot.
Now when i connect to the hotspot, it disconnects and halts at "Obtaining IP Address".
To resolve this, i added Static IP address. This fixed the above problem.
Now the wifi gets connected, but when i try browsing in my phone, it does not show up the webpage.
Is there any way to connect my wifi hotspot to the phone?
Phone: HTC Explorer (Pico)
Android: 2.3.5 Gingerbread
Click to expand...
Click to collapse
Is the problem solved?
I'm facing the same issue. I tried many options in all it gets connected but not getting internet.
Problem solved using Connectify and static IP.
Sent from my LeanA9v3 using xda app-developers app
bangmichel said:
Is the problem solved?
I'm facing the same issue. I tried many options in all it gets connected but not getting internet.
Click to expand...
Click to collapse
Now its working. The problem was my Symantec Endpoint Protection was blocking it.
tatiraju.rishabh said:
I downloaded this program called mhotspot to make my laptop a Wifi Hotspot and shared my dial-up connection with the hotspot.
Now when i connect to the hotspot, it disconnects and halts at "Obtaining IP Address".
To resolve this, i added Static IP address. This fixed the above problem.
Now the wifi gets connected, but when i try browsing in my phone, it does not show up the webpage.
Is there any way to connect my wifi hotspot to the phone?
Phone: HTC Explorer (Pico)
Android: 2.3.5 Gingerbread
Click to expand...
Click to collapse
I had the same problem using Mhotspot & trying to connect my Samsung Android phone to it. Mhotspot is a credible & very popular software ranked number 1 by CNET so don't worry. It's lightweight & free. The "obtaining ip adress" problem may occur due to the limitation cause by your firewall. I disabled my default windows firewall. You can simply add an exception for mhotspot in your firewall settings or disable it since windows firewall is useless anyway. That solved the problem for me.

Reverse tethering using laptops wifi and usb question

I have a GT-p3113 7.0 running 4.1.1 stock and rooted. I have been trying to connect to my laptops hotspot using wifi. I can create the connection and connect with an IP, however no shared internet. I used the CMD prompt to create the hostednetwork then share my lan connection.
> netsh wlan set hostednetwork mode=allow ssid="name of connection" key="password"
Share the connection from setting in the control panel then start it up.
>netsh wlan start hostednetwork
I can connect with an assigned IP but no internet.
So... while I am "connected" I used the USB reverse tether app with the tunnel local app and connect to the internet. and yes I can no connect to Gplay and download from most app sites with no problem because I do have an active wifi connection... just not using it to get to the site..
Can't use https , not sure why yet. or if it is even possible.
But I would like to be able to use my wifi connection if at all possible... does anyone know a way to do this? I do not want to use Conectify as it tells me to unistall my vzaccess ( I can't ) I have a 4g wireless card for my laptop. also tried virtual router, same thing.. connects, gets ip, but no internet. Has anybody been able to get around this? or do you think it is just my work network. I want to use this when I travel an am in a hotel but don't want to carry around another piece of hardware for a hotspot.
Thanks

[Q] moto g - using PC broadband on moto g

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 ..

Clockworkmod Tether to use on multiple devices

When i connect my computer it works but i was wondering if i can make my Windows 10 laptop to share connection somehow for more devices, it is not showing in my hotspot on my laptop.
iwcarbon said:
When i connect my computer it works but i was wondering if i can make my Windows 10 laptop to share connection somehow for more devices, it is not showing in my hotspot on my laptop.
Click to expand...
Click to collapse
Go to network settings in Windows, find the option to create a new network, then choose to create an ad-hoc network, configure its settings the way you want, click ok. Then see if it is broadcasting a Wifi signal.
Sent from my SM-S767VL using Tapatalk

Categories

Resources