I need to do peer to peer communication between my 2 ubuntu 16.04 machines. I created an ad-hoc network in 2 laptops. In the Wi-Fi settings tab, I gave SSID name as Ad-hoc and I changed the mode to Ad-hoc. Remaining things i havent touched. Then in the Wi-Fi security tab, i gave WEP 128-bit pharaphrase and i assigned a key for that. Then in the IPV4 seetings tab, i gave a fixed IP address and subnet mask and gateway. And atlast I saved all and i closed. But I am not able to connect to that adhoc network. Can anyone help me to fix this?
Also, if I tried to create adhoc networks in 2 machines using command terminal, am able to ping between 2 computers but am not able to access the internet. Can anyone help me to figure out how we can use adhoc and wifi at the same time in a laptop?