Can someone please help me with a complete step by step guide to share my internet connection (which is through a USB modem by ZTE) with my iphone 3G?

  1. Click the network icon
  2. Select "Create wireless network"
  3. Choose a name, encryption type and password
  4. Click create
  5. Make sure you're connected to the internet.
| improve this answer | |
  • 3
    I believe you also have to edit the wireless connection via "edit connections" and set it to "share to other computers" or something similar. – user6658 Sep 11 '11 at 20:20
  • 2
    There is no need to edit the connection to set it to "Share to other computers". When you create a wireless connection as mentioned in this answer it will automatically share. – Luis Alvarado Feb 23 '12 at 21:18
  • 1
    This doesn't work for me the Ad-hoc network type is necessary to connect but in connecting windows im still getting no DNS found – tomasb Aug 5 '13 at 22:49
  • 1
    didn't worked. ubuntu 16.04 – Bsienn Mar 6 '17 at 7:39

Create Wireless (Ad-Hoc) Network

First make sure that your wireless network is enabled by hardware switch.
Click the network menu (located in panel, top right in Unity). Select Create New Wireless Network from the menu.


Enter a Network name and password. You can also create a network without any password. For that change wireless security to None.


After you click on Create, a new wireless network would be created. Note that if you were already connected with some wireless network, that connection would be disconnected.

Edit Wireless Network

In case you want to edit an earlier created network (like if you want to change the password), go to the network menu again and select Edit Connections...
Go to the Wireless tab and double click the network you want to edit.

Wireless Settings

From here, you can change the Network Name, Security Settings and passphrase. You can also modify more advanced settings like the Band and Channel, IPv4 and IPv6, MAC addresses, Basic SSID (BSSID), MTU, Automatic Connection (Creation), and the Availability of this to other users on your machine.

Delete/Disconnect Wireless Network

To disconnect a wireless network, again go to network menu. You will see your network listed under the heading Wireless Networks. Click on Disconnect option just below it. Network manager remembers all the wireless networks that you created/joined. To delete them, go to Edit Connections under network menu, choose the network and select the Delete option.

Troubleshooting/Advanced Options

Please have a look at Ubuntu Wiki.

| improve this answer | |
  • My save button is grayed... – Benjamin Crouzier Feb 26 '13 at 9:40
  • @pinouchon: It must be because you left some of the fields empty or incomplete. – ignite Feb 26 '13 at 11:51
  • how to troubleshoot if other computer with android does not see my wifi network created along these tips but does see other wifi networks? – Sashko Lykhenko Nov 7 '15 at 14:28

This worked for me:


Do NOT forget to restart

service network-manager restart

content of /etc/NetworkManager/system-connections/kuba2:





| improve this answer | |

In case of sharing to an Android mobile device from a laptop with Ubuntu 16.04

Create a new Wifi network. Then edit it and change the type from "Ad-Hoc" to access point.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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