Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have an android ics phone and i want to use my wired internet connection on my laptop through wifi.

it can be done easily on windows 7 using softwares like virtual router or connectify.

is there any similar software for ubuntu. i am new to linux. i have 4.0.4

2.ubuntu 12.04

share|improve this question
+ android 4.0.4 is not rooted, and android cannot connect to the ad-hoc wireless network created in ubuntu – razor Nov 17 '12 at 1:11
sir i know this. but i needed a solution for this problem. if there is a way to use ubuntu system as hotspot for android phones like we do in windows via connectify or virtual router – Detro Nov 20 '12 at 18:42
Try here – Shaharil Ahmad May 18 '13 at 19:09

Some mobile devices doesn't able to detect the hotspot created on ubuntu by default method.
Solution for this problem is to install ap-hotspot software on Ubuntu.

For Ubuntu 12.10,13.04,13.10

Run these commands to install ap-hotspot.

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ap-hotspot

Run these commands to start and stop ap-hotspot.

sudo ap-hotspot start
sudo ap-hotspot stop

Run this command to configure ap-hotspot

sudo ap-hotspot configure

enter image description here

If it asks for WPA passphrase give a key with the minimum of 8 characters.


For Ubuntu 12.04

you can download the script from here.This script requires Hostapd 1.0 which was available by default in Ubuntu 12.10,13.04,13.10.

For Ubuntu 12.04,add these two lines to /etc/apt/sources.list

deb precise main
deb-src precise main

and save the file and run the below commands in terminal.

sudo apt-get update
sudo apt-get install hostapd
share|improve this answer

Software Data Cable does it

With it I could connect to my phone with filezilla and write files on the sd card.

share|improve this answer
buddy i need a solution to connect android phone to linux os so that i can use my computers internet on my phone.anyways thanks for the rpl – Detro Jan 26 '13 at 18:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.