How to share a wired internet connection via Wifi?

  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.

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.

Wireless_with_password

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

Wireless_without_password

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.


This worked for me:

http://ubuntuhandbook.org/index.php/2014/09/3-ways-create-wifi-hotspot-ubuntu/

Do NOT forget to restart

service network-manager restart

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

[connection]
id=kuba2
uuid=0b38ea2c-68e7-4522-8241-d1f3631c7f6a
type=wifi
autoconnect=false
timestamp=1472243821

[wifi]
ssid=kuba2
mode=ap
band=bg
mac-address=A4:4E:31:6A:CA:E0
security=802-11-wireless-security
hidden=false

[wifi-security]
key-mgmt=wpa-psk
proto=rsn;
pairwise=ccmp;
group=ccmp;
psk-flags=1

[ipv4]
method=shared

[ipv6]
method=auto
ip6-privacy=0