Using An Android Smartphone As A WLAN Hotspot

Want to support HowtoForge? Become a subscriber!
 
Submitted by CSch (Contact Author) (Forums) on Fri, 2011-08-26 13:31. :: Android | Desktop

Using An Android Smartphone As A WLAN Hotspot

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>, Christian Schmalfeld  <c [dot] schmalfeld [at] projektfarm [dot] de>
Follow me on Twitter
Last edited 08/17/2011

To access Wireless LAN you usually need to find a so-called hotspot where you can use the local Wireless LAN to access the Internet. Android smartphones however have a feature which enables them to become a wireless hotspot themselves - they use UMTS to connect to the Internet and make the Internet connection available to other computers/devices via WLAN. This article describes how you can configure this feature.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

The screenshots taken for this tutorial originate from a HTC Desire A8181 Android smartphone and the Linux Mint 11 operating system. The tutorial's steps may differ a little if you use other devices or operating systems, but the main procedure remains the same for similar ones. It should be noted however, that the Wi-Fi Hotspot function is available only on Android 2.2 (Froyo) and newer!

 

2 Configuring The Wi-Fi Hotspot

To make your smartphone a wireless hotspot, browse Apps > Settings > Wireless & Networks.

Make sure to uncheck Wi-Fi. Scroll down and check Mobile network instead. It should switch to Connected then. These changes should automatically be applied when the hotspot is being activated, but to be on the safe side we do it manually before we proceed.

Tap on Portable Wi-Fi hotspot settings next.

Choose your SSID (the name the network will be displayed on your computer), the type of security protocol (WPA2 is safer than WEP, so select this) and your password. The password I used is very unsafe, be sure to pick one that one cannot figure out easily since the hotspot is accessible to every wireless device around it. Confirm by checking the Press to turn on box.

Read the instructions carefully and proceed by hitting OK. The wireless hotspot should now be displayed as Ready.

It should also be checked as Active in the Wireless & Networks section.

You are now finished configuring the wireless hotspot. Proceed by connecting your computer to the network using a wireless adapter or similar hardware.


3 Connecting To The Hotspot

Browse your networks to find the network by the given name and click on it to connect. You will then be asked for the security protocol and your password.

It may occur that you do not have the option to select the protocol you told the smartphone to use. In that case, browse your networks again and click the Edit Connections... panel.

Go to the Wireless tab and the select the network by the given name. Click Edit to configure the available protocols.

Browse the Wireless Security tab and select the chosen security protocol from the dropdown menu. Enter your password and click on Save.

If you try to connect to the hotspot once again, your protocol should be available in the list. Enter your password and click Connect to access the Internet with your selfmade wireless hotspot.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by kiranjith (not registered) on Fri, 2011-08-26 18:59.

Any Idea how to make PC as Hot spot and connect Android to it ?????

  Like we do AdHoc.

 

my aim is to connect my phone to PC, so I can share my Internet on PC with android. 

Submitted by Balwinder S Dheeman (not registered) on Sun, 2011-11-06 01:53.

It is possible, but only with a few WiFi cards and drivers which allow you to setup the wireless interface in a "Master" mode on the PC.

In addition  to above, you must install and configure a DHCP server for auto-magically assigning IPv4 addresses, routers and dns-servers etc. to the client machines or mobile devices on the PC.

To make it secure, either manually configure wpa_supplicant or use a Network Manager GUI like wicd to setup the wireless interface as an access point on your PC.

Last, but not the least, do configure a good firewall using iptables or whatever you prefer and enable packet forwarding on the PC (your PC will work like a gateway/router for the WiFi client machines, nodes and, or mobile devices).