I have two computers both with Ubuntu 16.04. On my desktop, I create an ad-hoc network called "UbuntuTest". I make the Wi-Fi security WEP 128-bit Passphrase. Then on my laptop, I try to connect to this hotspot "UbuntuTest" using the key but it won't connect. It will try for about a minute and then it will disconnect.
The wireless card on my desktop is RT3092 Wireless 802.11n 2T/2R PCIe and on my laptop is Centrino Advanced-N 6235.
How can I fix this so I can connect my ubuntu laptop to a hotspot created by my ubuntu desktop?
I should also note that other devices can connect to the hotspot I create on my desktop (i.e. iPhone, Mac, and Windows)
I ran the script described on WiFi not Working Information.
The output of the script is at the following link script output (iwconfig is in the output, just search iwconfig). There are two networks shown in the output NetworkICanConnectTo (which is my usual home wifi) and NetworkICanNOTConnectTo (which is the wifi I create on my desktop).
I also tried connecting my laptop (and desktop) to a wifi created by a raspberry pi running raspbian Jessie lite and I still have the same problem. So to sum it up I'm having trouble connecting ubuntu to a network created by a linux machine.