android Archives - Mohamed Shaer https://shaer.me/blog/tag/android/ Software Developer Sat, 25 Oct 2014 15:04:15 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://shaer.me/wp-content/uploads/2014/11/cropped-xjZjS-54549aab_site_icon-1-32x32.png android Archives - Mohamed Shaer https://shaer.me/blog/tag/android/ 32 32 How to Enable Ad-hoc Connection on your Android https://shaer.me/blog/technical/how-to-enable-ad-hoc-connection-on-your-android/ https://shaer.me/blog/technical/how-to-enable-ad-hoc-connection-on-your-android/#comments Thu, 09 Aug 2012 01:58:46 +0000 http://shaer.me/blog/?p=893 Hello, I was searching for a long time how to enable ad-hoc connections on my HTC chacha and finally I found it!, so I decided to share my experience with you. btw I found many ways but guess what?! most of them didn’t work 🙁 lets stop talking and start enjoying the unlimited internet connection […]

The post How to Enable Ad-hoc Connection on your Android appeared first on Mohamed Shaer.

]]>

Hello,
I was searching for a long time how to enable ad-hoc connections on my HTC chacha and finally I found it!, so I decided to share my experience with you.
btw I found many ways but guess what?! most of them didn’t work 🙁

lets stop talking and start enjoying the unlimited internet connection on your mobile 🙂

Ubuntu Users

First of all you had to install hostapd

“In simple words, hostapd allows you to create software wifi access points allowing decent amount of configuration options. In rest of this post, I will show how to create a software access point in Linux using hostapd and share your internet to the devices through it”

To Install hostapd just type this command on 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=MyAP
hw_mode=g
channel=11
wpa=1
wpa_passphrase=MyPasswordHere
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
wpa_ptk_rekey=600

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.

Then create a normal ad-hoc network from the wireless menu from the top bar click on “Create New Wireless Network

after the new network created successfully proceed to the next and the final step

Now, in your terminal:

sudo hostapd hostapd.conf

Turn the wifi connection on in your devices and enjoy the fast network share!

Windows Users

You can install Virtual Router

Project Description

Virtual Router turns any Windows 7 or Windows 2008 R2 Computer into a Wifi Hot Spot using Windows 7’s Wireless Hosted Network (Virtual Wifi) technology.

What is Virtual Router?

Virtual Router is a free, open source software based router for PCs running Windows 7 or Windows Server 2008 R2. Using Virtual Router, users can wirelessly share any internet connection (Wifi, LAN, Cable Modem, Dial-up, Cellular, etc.) with any Wifi device (Laptop, Smart Phone, iPod Touch, iPhone, Android Phone, Zune, Netbook, wireless printer, etc.) These devices connect to Virtual Router just like any other access point, and the connection is completely secured using WPA2 (the most secure wireless encryption.)

Download Virtual Router

http://virtualrouter.codeplex.com/downloads/get/93540

 Preparing your Wireless Connection

After installing Virtual Router and restarting, open the application this window will appear

Type your network name ,, and your password ,, choose network to share ,, and click on Start Virtual Router

Turn the wifi connection on in your devices and enjoy the fast network share!

 

Resources

http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/

http://exain.wordpress.com/tag/hostapd/

http://zhangyou.wordpress.com/2010/08/26/easily-turn-your-ubuntu-into-a-virtual-router/

http://virtualrouter.codeplex.com

The post How to Enable Ad-hoc Connection on your Android appeared first on Mohamed Shaer.

]]>
https://shaer.me/blog/technical/how-to-enable-ad-hoc-connection-on-your-android/feed/ 62