There are some situation in which you want your Laptop or Desktop with Wired Connection,Mobile Broadband or Wireless Connection to share network to all your friends or family member's devices,there comes an package called AP-Hotspot in Ubuntu to do the above task.
Steps To Install and Use AP-Hotspot In Ubuntu
Download AP-Hotspot Package from
http://www.ubuntuupdates.org/package/webupd8/raring/main/base/ap-hotspot
Double click over the package so that i will direct to software center,there you click install button and you will get password prompt for authentication,there enter the password
After installing go to terminal and type "sudo ap-hotspot configure"-Give Username and Password of your choice
Then type "sudo ap-hotspot start",Here you Go your Wifi-Hotspot is ready to share the network
To stop type "sudo ap-hotspot stop" command and to restart type "sudo ap-hotspot restart".