Ubuntu 18 Network Manager Adhoc Wifi











up vote
0
down vote

favorite












I had a adhoc wifi network setup fine but now with Network Manager I can't seem to get it working. I've followed all the tutorials in google (related to new Network Manager) and the GUI even caters for it but no luck. Anyone else succeeded and willing to share their network file? This is my current attempt - doesn't work.



Network is visible in nm-applet and I can try to connect but always fails. syslog says:



**Syslog **



2150 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Trying to associate with SSID 'ADHOC'
2151 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Association request to the driver failed
2152 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ADHOC" auth_failures=3 duration=30 reason=CONN_ FAILED
2153 Dec 3 10:17:19 Squid org.gnome.Shell.desktop[2783]: [6088:6116:1203/101719.744341:ERROR:connection_factory_impl.cc(400)] Failed to connect t o MCS endpoint with error -105
2154 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3027] device (wlp4s0): Activation: (wifi) Ad-Hoc network creation took too lon g, failing activation
2155 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3029] device (wlp4s0): state change: config -> failed (reason 'supplicant-time out', sys-iface-state: 'managed')
2156 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3035] manager: NetworkManager state is now CONNECTED_LOCAL
2157 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3045] device (wlp4s0): Activation: failed for connection 'ADHOC



Network config file I'm currently trying: /etc/NetworkManager/ADHOC



I've also tried with/without security, static IP, and band selection.





[connection]
id=ADHOC
type=wifi
autoconnect=false
permissions=



[wifi]
mac-address-blacklist=
mode=adhoc
ssid=ADHOC



[wifi-security]
key-mgmt=wpa-psk
psk=1234567890



[ipv4]
address1=10.42.1.1/24
dns-search=
method=shared










share|improve this question
























  • Did you edit the network settings using nm-connection editor? If you use nm-connection-editor in Ubuntu 18.04 to change the hotspot password and you use the default WPA & WPA2 Personal security, devices may not be able to connect to your hotspot, displaying an authentication / incorrect password error. At least this is how it worked in my case, using Ubuntu 18.04 to create the hotspot and an Android phone to connect to it. If that's the case, try starting over and only edit the file manually.
    – Logix
    Dec 5 at 1:10















up vote
0
down vote

favorite












I had a adhoc wifi network setup fine but now with Network Manager I can't seem to get it working. I've followed all the tutorials in google (related to new Network Manager) and the GUI even caters for it but no luck. Anyone else succeeded and willing to share their network file? This is my current attempt - doesn't work.



Network is visible in nm-applet and I can try to connect but always fails. syslog says:



**Syslog **



2150 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Trying to associate with SSID 'ADHOC'
2151 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Association request to the driver failed
2152 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ADHOC" auth_failures=3 duration=30 reason=CONN_ FAILED
2153 Dec 3 10:17:19 Squid org.gnome.Shell.desktop[2783]: [6088:6116:1203/101719.744341:ERROR:connection_factory_impl.cc(400)] Failed to connect t o MCS endpoint with error -105
2154 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3027] device (wlp4s0): Activation: (wifi) Ad-Hoc network creation took too lon g, failing activation
2155 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3029] device (wlp4s0): state change: config -> failed (reason 'supplicant-time out', sys-iface-state: 'managed')
2156 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3035] manager: NetworkManager state is now CONNECTED_LOCAL
2157 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3045] device (wlp4s0): Activation: failed for connection 'ADHOC



Network config file I'm currently trying: /etc/NetworkManager/ADHOC



I've also tried with/without security, static IP, and band selection.





[connection]
id=ADHOC
type=wifi
autoconnect=false
permissions=



[wifi]
mac-address-blacklist=
mode=adhoc
ssid=ADHOC



[wifi-security]
key-mgmt=wpa-psk
psk=1234567890



[ipv4]
address1=10.42.1.1/24
dns-search=
method=shared










share|improve this question
























  • Did you edit the network settings using nm-connection editor? If you use nm-connection-editor in Ubuntu 18.04 to change the hotspot password and you use the default WPA & WPA2 Personal security, devices may not be able to connect to your hotspot, displaying an authentication / incorrect password error. At least this is how it worked in my case, using Ubuntu 18.04 to create the hotspot and an Android phone to connect to it. If that's the case, try starting over and only edit the file manually.
    – Logix
    Dec 5 at 1:10













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I had a adhoc wifi network setup fine but now with Network Manager I can't seem to get it working. I've followed all the tutorials in google (related to new Network Manager) and the GUI even caters for it but no luck. Anyone else succeeded and willing to share their network file? This is my current attempt - doesn't work.



Network is visible in nm-applet and I can try to connect but always fails. syslog says:



**Syslog **



2150 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Trying to associate with SSID 'ADHOC'
2151 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Association request to the driver failed
2152 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ADHOC" auth_failures=3 duration=30 reason=CONN_ FAILED
2153 Dec 3 10:17:19 Squid org.gnome.Shell.desktop[2783]: [6088:6116:1203/101719.744341:ERROR:connection_factory_impl.cc(400)] Failed to connect t o MCS endpoint with error -105
2154 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3027] device (wlp4s0): Activation: (wifi) Ad-Hoc network creation took too lon g, failing activation
2155 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3029] device (wlp4s0): state change: config -> failed (reason 'supplicant-time out', sys-iface-state: 'managed')
2156 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3035] manager: NetworkManager state is now CONNECTED_LOCAL
2157 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3045] device (wlp4s0): Activation: failed for connection 'ADHOC



Network config file I'm currently trying: /etc/NetworkManager/ADHOC



I've also tried with/without security, static IP, and band selection.





[connection]
id=ADHOC
type=wifi
autoconnect=false
permissions=



[wifi]
mac-address-blacklist=
mode=adhoc
ssid=ADHOC



[wifi-security]
key-mgmt=wpa-psk
psk=1234567890



[ipv4]
address1=10.42.1.1/24
dns-search=
method=shared










share|improve this question















I had a adhoc wifi network setup fine but now with Network Manager I can't seem to get it working. I've followed all the tutorials in google (related to new Network Manager) and the GUI even caters for it but no luck. Anyone else succeeded and willing to share their network file? This is my current attempt - doesn't work.



Network is visible in nm-applet and I can try to connect but always fails. syslog says:



**Syslog **



2150 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Trying to associate with SSID 'ADHOC'
2151 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: Association request to the driver failed
2152 Dec 3 10:17:13 Squid wpa_supplicant[963]: wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ADHOC" auth_failures=3 duration=30 reason=CONN_ FAILED
2153 Dec 3 10:17:19 Squid org.gnome.Shell.desktop[2783]: [6088:6116:1203/101719.744341:ERROR:connection_factory_impl.cc(400)] Failed to connect t o MCS endpoint with error -105
2154 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3027] device (wlp4s0): Activation: (wifi) Ad-Hoc network creation took too lon g, failing activation
2155 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3029] device (wlp4s0): state change: config -> failed (reason 'supplicant-time out', sys-iface-state: 'managed')
2156 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3035] manager: NetworkManager state is now CONNECTED_LOCAL
2157 Dec 3 10:17:20 Squid NetworkManager[970]: [1543850240.3045] device (wlp4s0): Activation: failed for connection 'ADHOC



Network config file I'm currently trying: /etc/NetworkManager/ADHOC



I've also tried with/without security, static IP, and band selection.





[connection]
id=ADHOC
type=wifi
autoconnect=false
permissions=



[wifi]
mac-address-blacklist=
mode=adhoc
ssid=ADHOC



[wifi-security]
key-mgmt=wpa-psk
psk=1234567890



[ipv4]
address1=10.42.1.1/24
dns-search=
method=shared







networking network-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 3 at 16:44

























asked Dec 3 at 15:22









r4space

506




506












  • Did you edit the network settings using nm-connection editor? If you use nm-connection-editor in Ubuntu 18.04 to change the hotspot password and you use the default WPA & WPA2 Personal security, devices may not be able to connect to your hotspot, displaying an authentication / incorrect password error. At least this is how it worked in my case, using Ubuntu 18.04 to create the hotspot and an Android phone to connect to it. If that's the case, try starting over and only edit the file manually.
    – Logix
    Dec 5 at 1:10


















  • Did you edit the network settings using nm-connection editor? If you use nm-connection-editor in Ubuntu 18.04 to change the hotspot password and you use the default WPA & WPA2 Personal security, devices may not be able to connect to your hotspot, displaying an authentication / incorrect password error. At least this is how it worked in my case, using Ubuntu 18.04 to create the hotspot and an Android phone to connect to it. If that's the case, try starting over and only edit the file manually.
    – Logix
    Dec 5 at 1:10
















Did you edit the network settings using nm-connection editor? If you use nm-connection-editor in Ubuntu 18.04 to change the hotspot password and you use the default WPA & WPA2 Personal security, devices may not be able to connect to your hotspot, displaying an authentication / incorrect password error. At least this is how it worked in my case, using Ubuntu 18.04 to create the hotspot and an Android phone to connect to it. If that's the case, try starting over and only edit the file manually.
– Logix
Dec 5 at 1:10




Did you edit the network settings using nm-connection editor? If you use nm-connection-editor in Ubuntu 18.04 to change the hotspot password and you use the default WPA & WPA2 Personal security, devices may not be able to connect to your hotspot, displaying an authentication / incorrect password error. At least this is how it worked in my case, using Ubuntu 18.04 to create the hotspot and an Android phone to connect to it. If that's the case, try starting over and only edit the file manually.
– Logix
Dec 5 at 1:10















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098178%2fubuntu-18-network-manager-adhoc-wifi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098178%2fubuntu-18-network-manager-adhoc-wifi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei