How do I create a wireless ad-hoc network?

Whenever I need to copy some files and couldn't find a pen drive (I don't have bluetooth enabled in my laptop), I create a new ad-hoc wireless network in Windows and share the necessary files on the network and share files with the other system.

Now, I want to do the same with Ubuntu.

I can create a new network, but I am not able to share or send files.

I also don't know how to access the system connected to the network.

How can I do this?


Do you have Samba installed? Run the following:

sudo apt-get install samba

Then you need to set up samba: http://www.samba.netfirms.com/addusers.htm


You just need to click the network icon, and choose "Create new wireless network" from the menu.

A popup will come up asking you for a name and optionally a password. Once you are done, you can connect to this network using other systems as you would with Windows.