Connect to network before user login
As a learning experiment, I'm trying to turn Ubuntu Desktop into a server. I was able to disable X at boot time and now, I am trying to get my computer to connect to my WiFi network at boot time, before any user logs in. That way, I won't have to be physically near my computer every time it reboots. I've set up the WiFi connection using the Network Manager if that can help somehow (would be nice not having to reconfigure it again!).
networking command-line wireless network-manager
add a comment |
As a learning experiment, I'm trying to turn Ubuntu Desktop into a server. I was able to disable X at boot time and now, I am trying to get my computer to connect to my WiFi network at boot time, before any user logs in. That way, I won't have to be physically near my computer every time it reboots. I've set up the WiFi connection using the Network Manager if that can help somehow (would be nice not having to reconfigure it again!).
networking command-line wireless network-manager
add a comment |
As a learning experiment, I'm trying to turn Ubuntu Desktop into a server. I was able to disable X at boot time and now, I am trying to get my computer to connect to my WiFi network at boot time, before any user logs in. That way, I won't have to be physically near my computer every time it reboots. I've set up the WiFi connection using the Network Manager if that can help somehow (would be nice not having to reconfigure it again!).
networking command-line wireless network-manager
As a learning experiment, I'm trying to turn Ubuntu Desktop into a server. I was able to disable X at boot time and now, I am trying to get my computer to connect to my WiFi network at boot time, before any user logs in. That way, I won't have to be physically near my computer every time it reboots. I've set up the WiFi connection using the Network Manager if that can help somehow (would be nice not having to reconfigure it again!).
networking command-line wireless network-manager
networking command-line wireless network-manager
edited Apr 13 '17 at 12:24
Community♦
1
1
asked Dec 6 '10 at 3:53
Olivier Lalonde
20.6k50111140
20.6k50111140
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
I found out how to do it :) Simply go into Network Manager > Edit Connections. Select your connection, click Edit and check Available to all users.
You may also need to add a line for each interface that you want to automatically come up at boot time in /etc/network/interfaces:
auto eth0
auto wifi0
Is that working?I have already tried that but it's not working.
– karthick87
Dec 6 '10 at 4:12
Yep it's working here. The connection doesn't use DHCP but I doubt it wouldn't work because of DHCP.
– Olivier Lalonde
Dec 6 '10 at 4:17
3
The interface cards won't always be named "eth0" and "wifi0". You can find the names of the ethernet interfaces with "cat /proc/net/dev " or "ifconfig".
– Jonathan
Dec 11 '15 at 11:05
1
is doesn't work on my fresh install of Ubuntu 16.04. The network connection is made only after a user logs in. This makes working remote extremely difficult.
– L. D. James
Jun 15 '16 at 9:54
1
It won't work with my 16.04 LTS. It requires logging in on the console, then it connects automatically. Yes, it is checked to be available to all users, even thoguh I am the only one. --> And just to be funny, on the login screen it offers the WiFi networks but when I try to pick on it says insufficient privilege. Ha Ha. Whomever is doing their UI QC has a sense of humor.
– SDsolar
Jul 16 '17 at 9:29
|
show 2 more comments
If you are using Ubuntu 16.x, navigate to /etc/NetworkManager/system-connections/. There you will find a file with the same name as your wireless network. This file contains your wifi credentials and settings. Edit it, find the line with permission=, and remove everything after the = sign (or the whole line).
Restart and you can connect before login.
Additionally,psk-flags=1means the password is stored encrypted in users home dir. it prob won't work before login in that case. It's less secure, but if you need this to work, you can replacepask-flags=1withpsk=MyWifiPassword. More about that thought: lauri.xn--vsandi-pxa.com/cfgmgmt/…
– dhaupin
Apr 14 '17 at 20:37
There is nothing after the = sign. And it does not connect until I log in at the console. Since WiFi is my only connection I can't do it remotely - this makes me have to travel to the computer to recover from a reboot. It is on a UPS but even that can only last so long.
– SDsolar
Jul 16 '17 at 9:48
add a comment |
dhaupin's solution solved my problem with minor modifications:
My /etc/NetworkManager/system-connections/ file did not have a permission= line. But it did have a psk-flags=1 line. Commenting it out and adding a psk="MyWifiPassword" line fixed the Network-Mangler problem.
Rebooted and it came up online without logging in.
I already had the psk=Mypassword" line and it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:49
add a comment |
Edit the interfaces file /etc/network/interfaces
sudo -H gedit /etc/network/interfaces
Add the following,
auto ra0
iface ra0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
Is there a technical difference between the way I did it (see my answer) and yours?
– Olivier Lalonde
Dec 6 '10 at 4:07
Olivier, I think your solution is more up-to-date, depending as it does on a relatively new feature ofNetworkManager. Kathick's solution, on the other hand, circumventsNetworkManageraltogether. Your solution might be more robust asNetworkManagerkeeps track of the connection and reconncects if it is lost temporarily (although theinterfacesway might do that too in some cases).
– loevborg
Dec 6 '10 at 15:15
I hate to mess with that file, plus this computer is alreayd entered into the hosts file of all the other computers as a static IP. wpa_supplicant is fine. And yet it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:50
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f16376%2fconnect-to-network-before-user-login%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I found out how to do it :) Simply go into Network Manager > Edit Connections. Select your connection, click Edit and check Available to all users.
You may also need to add a line for each interface that you want to automatically come up at boot time in /etc/network/interfaces:
auto eth0
auto wifi0
Is that working?I have already tried that but it's not working.
– karthick87
Dec 6 '10 at 4:12
Yep it's working here. The connection doesn't use DHCP but I doubt it wouldn't work because of DHCP.
– Olivier Lalonde
Dec 6 '10 at 4:17
3
The interface cards won't always be named "eth0" and "wifi0". You can find the names of the ethernet interfaces with "cat /proc/net/dev " or "ifconfig".
– Jonathan
Dec 11 '15 at 11:05
1
is doesn't work on my fresh install of Ubuntu 16.04. The network connection is made only after a user logs in. This makes working remote extremely difficult.
– L. D. James
Jun 15 '16 at 9:54
1
It won't work with my 16.04 LTS. It requires logging in on the console, then it connects automatically. Yes, it is checked to be available to all users, even thoguh I am the only one. --> And just to be funny, on the login screen it offers the WiFi networks but when I try to pick on it says insufficient privilege. Ha Ha. Whomever is doing their UI QC has a sense of humor.
– SDsolar
Jul 16 '17 at 9:29
|
show 2 more comments
I found out how to do it :) Simply go into Network Manager > Edit Connections. Select your connection, click Edit and check Available to all users.
You may also need to add a line for each interface that you want to automatically come up at boot time in /etc/network/interfaces:
auto eth0
auto wifi0
Is that working?I have already tried that but it's not working.
– karthick87
Dec 6 '10 at 4:12
Yep it's working here. The connection doesn't use DHCP but I doubt it wouldn't work because of DHCP.
– Olivier Lalonde
Dec 6 '10 at 4:17
3
The interface cards won't always be named "eth0" and "wifi0". You can find the names of the ethernet interfaces with "cat /proc/net/dev " or "ifconfig".
– Jonathan
Dec 11 '15 at 11:05
1
is doesn't work on my fresh install of Ubuntu 16.04. The network connection is made only after a user logs in. This makes working remote extremely difficult.
– L. D. James
Jun 15 '16 at 9:54
1
It won't work with my 16.04 LTS. It requires logging in on the console, then it connects automatically. Yes, it is checked to be available to all users, even thoguh I am the only one. --> And just to be funny, on the login screen it offers the WiFi networks but when I try to pick on it says insufficient privilege. Ha Ha. Whomever is doing their UI QC has a sense of humor.
– SDsolar
Jul 16 '17 at 9:29
|
show 2 more comments
I found out how to do it :) Simply go into Network Manager > Edit Connections. Select your connection, click Edit and check Available to all users.
You may also need to add a line for each interface that you want to automatically come up at boot time in /etc/network/interfaces:
auto eth0
auto wifi0
I found out how to do it :) Simply go into Network Manager > Edit Connections. Select your connection, click Edit and check Available to all users.
You may also need to add a line for each interface that you want to automatically come up at boot time in /etc/network/interfaces:
auto eth0
auto wifi0
edited Dec 24 at 15:36
Zanna
50k13131238
50k13131238
answered Dec 6 '10 at 4:06
Olivier Lalonde
20.6k50111140
20.6k50111140
Is that working?I have already tried that but it's not working.
– karthick87
Dec 6 '10 at 4:12
Yep it's working here. The connection doesn't use DHCP but I doubt it wouldn't work because of DHCP.
– Olivier Lalonde
Dec 6 '10 at 4:17
3
The interface cards won't always be named "eth0" and "wifi0". You can find the names of the ethernet interfaces with "cat /proc/net/dev " or "ifconfig".
– Jonathan
Dec 11 '15 at 11:05
1
is doesn't work on my fresh install of Ubuntu 16.04. The network connection is made only after a user logs in. This makes working remote extremely difficult.
– L. D. James
Jun 15 '16 at 9:54
1
It won't work with my 16.04 LTS. It requires logging in on the console, then it connects automatically. Yes, it is checked to be available to all users, even thoguh I am the only one. --> And just to be funny, on the login screen it offers the WiFi networks but when I try to pick on it says insufficient privilege. Ha Ha. Whomever is doing their UI QC has a sense of humor.
– SDsolar
Jul 16 '17 at 9:29
|
show 2 more comments
Is that working?I have already tried that but it's not working.
– karthick87
Dec 6 '10 at 4:12
Yep it's working here. The connection doesn't use DHCP but I doubt it wouldn't work because of DHCP.
– Olivier Lalonde
Dec 6 '10 at 4:17
3
The interface cards won't always be named "eth0" and "wifi0". You can find the names of the ethernet interfaces with "cat /proc/net/dev " or "ifconfig".
– Jonathan
Dec 11 '15 at 11:05
1
is doesn't work on my fresh install of Ubuntu 16.04. The network connection is made only after a user logs in. This makes working remote extremely difficult.
– L. D. James
Jun 15 '16 at 9:54
1
It won't work with my 16.04 LTS. It requires logging in on the console, then it connects automatically. Yes, it is checked to be available to all users, even thoguh I am the only one. --> And just to be funny, on the login screen it offers the WiFi networks but when I try to pick on it says insufficient privilege. Ha Ha. Whomever is doing their UI QC has a sense of humor.
– SDsolar
Jul 16 '17 at 9:29
Is that working?I have already tried that but it's not working.
– karthick87
Dec 6 '10 at 4:12
Is that working?I have already tried that but it's not working.
– karthick87
Dec 6 '10 at 4:12
Yep it's working here. The connection doesn't use DHCP but I doubt it wouldn't work because of DHCP.
– Olivier Lalonde
Dec 6 '10 at 4:17
Yep it's working here. The connection doesn't use DHCP but I doubt it wouldn't work because of DHCP.
– Olivier Lalonde
Dec 6 '10 at 4:17
3
3
The interface cards won't always be named "eth0" and "wifi0". You can find the names of the ethernet interfaces with "cat /proc/net/dev " or "ifconfig".
– Jonathan
Dec 11 '15 at 11:05
The interface cards won't always be named "eth0" and "wifi0". You can find the names of the ethernet interfaces with "cat /proc/net/dev " or "ifconfig".
– Jonathan
Dec 11 '15 at 11:05
1
1
is doesn't work on my fresh install of Ubuntu 16.04. The network connection is made only after a user logs in. This makes working remote extremely difficult.
– L. D. James
Jun 15 '16 at 9:54
is doesn't work on my fresh install of Ubuntu 16.04. The network connection is made only after a user logs in. This makes working remote extremely difficult.
– L. D. James
Jun 15 '16 at 9:54
1
1
It won't work with my 16.04 LTS. It requires logging in on the console, then it connects automatically. Yes, it is checked to be available to all users, even thoguh I am the only one. --> And just to be funny, on the login screen it offers the WiFi networks but when I try to pick on it says insufficient privilege. Ha Ha. Whomever is doing their UI QC has a sense of humor.
– SDsolar
Jul 16 '17 at 9:29
It won't work with my 16.04 LTS. It requires logging in on the console, then it connects automatically. Yes, it is checked to be available to all users, even thoguh I am the only one. --> And just to be funny, on the login screen it offers the WiFi networks but when I try to pick on it says insufficient privilege. Ha Ha. Whomever is doing their UI QC has a sense of humor.
– SDsolar
Jul 16 '17 at 9:29
|
show 2 more comments
If you are using Ubuntu 16.x, navigate to /etc/NetworkManager/system-connections/. There you will find a file with the same name as your wireless network. This file contains your wifi credentials and settings. Edit it, find the line with permission=, and remove everything after the = sign (or the whole line).
Restart and you can connect before login.
Additionally,psk-flags=1means the password is stored encrypted in users home dir. it prob won't work before login in that case. It's less secure, but if you need this to work, you can replacepask-flags=1withpsk=MyWifiPassword. More about that thought: lauri.xn--vsandi-pxa.com/cfgmgmt/…
– dhaupin
Apr 14 '17 at 20:37
There is nothing after the = sign. And it does not connect until I log in at the console. Since WiFi is my only connection I can't do it remotely - this makes me have to travel to the computer to recover from a reboot. It is on a UPS but even that can only last so long.
– SDsolar
Jul 16 '17 at 9:48
add a comment |
If you are using Ubuntu 16.x, navigate to /etc/NetworkManager/system-connections/. There you will find a file with the same name as your wireless network. This file contains your wifi credentials and settings. Edit it, find the line with permission=, and remove everything after the = sign (or the whole line).
Restart and you can connect before login.
Additionally,psk-flags=1means the password is stored encrypted in users home dir. it prob won't work before login in that case. It's less secure, but if you need this to work, you can replacepask-flags=1withpsk=MyWifiPassword. More about that thought: lauri.xn--vsandi-pxa.com/cfgmgmt/…
– dhaupin
Apr 14 '17 at 20:37
There is nothing after the = sign. And it does not connect until I log in at the console. Since WiFi is my only connection I can't do it remotely - this makes me have to travel to the computer to recover from a reboot. It is on a UPS but even that can only last so long.
– SDsolar
Jul 16 '17 at 9:48
add a comment |
If you are using Ubuntu 16.x, navigate to /etc/NetworkManager/system-connections/. There you will find a file with the same name as your wireless network. This file contains your wifi credentials and settings. Edit it, find the line with permission=, and remove everything after the = sign (or the whole line).
Restart and you can connect before login.
If you are using Ubuntu 16.x, navigate to /etc/NetworkManager/system-connections/. There you will find a file with the same name as your wireless network. This file contains your wifi credentials and settings. Edit it, find the line with permission=, and remove everything after the = sign (or the whole line).
Restart and you can connect before login.
edited Apr 14 '17 at 20:47
dhaupin
1055
1055
answered Jul 10 '16 at 10:45
Александр Лавриненко
13112
13112
Additionally,psk-flags=1means the password is stored encrypted in users home dir. it prob won't work before login in that case. It's less secure, but if you need this to work, you can replacepask-flags=1withpsk=MyWifiPassword. More about that thought: lauri.xn--vsandi-pxa.com/cfgmgmt/…
– dhaupin
Apr 14 '17 at 20:37
There is nothing after the = sign. And it does not connect until I log in at the console. Since WiFi is my only connection I can't do it remotely - this makes me have to travel to the computer to recover from a reboot. It is on a UPS but even that can only last so long.
– SDsolar
Jul 16 '17 at 9:48
add a comment |
Additionally,psk-flags=1means the password is stored encrypted in users home dir. it prob won't work before login in that case. It's less secure, but if you need this to work, you can replacepask-flags=1withpsk=MyWifiPassword. More about that thought: lauri.xn--vsandi-pxa.com/cfgmgmt/…
– dhaupin
Apr 14 '17 at 20:37
There is nothing after the = sign. And it does not connect until I log in at the console. Since WiFi is my only connection I can't do it remotely - this makes me have to travel to the computer to recover from a reboot. It is on a UPS but even that can only last so long.
– SDsolar
Jul 16 '17 at 9:48
Additionally,
psk-flags=1 means the password is stored encrypted in users home dir. it prob won't work before login in that case. It's less secure, but if you need this to work, you can replace pask-flags=1 with psk=MyWifiPassword. More about that thought: lauri.xn--vsandi-pxa.com/cfgmgmt/…– dhaupin
Apr 14 '17 at 20:37
Additionally,
psk-flags=1 means the password is stored encrypted in users home dir. it prob won't work before login in that case. It's less secure, but if you need this to work, you can replace pask-flags=1 with psk=MyWifiPassword. More about that thought: lauri.xn--vsandi-pxa.com/cfgmgmt/…– dhaupin
Apr 14 '17 at 20:37
There is nothing after the = sign. And it does not connect until I log in at the console. Since WiFi is my only connection I can't do it remotely - this makes me have to travel to the computer to recover from a reboot. It is on a UPS but even that can only last so long.
– SDsolar
Jul 16 '17 at 9:48
There is nothing after the = sign. And it does not connect until I log in at the console. Since WiFi is my only connection I can't do it remotely - this makes me have to travel to the computer to recover from a reboot. It is on a UPS but even that can only last so long.
– SDsolar
Jul 16 '17 at 9:48
add a comment |
dhaupin's solution solved my problem with minor modifications:
My /etc/NetworkManager/system-connections/ file did not have a permission= line. But it did have a psk-flags=1 line. Commenting it out and adding a psk="MyWifiPassword" line fixed the Network-Mangler problem.
Rebooted and it came up online without logging in.
I already had the psk=Mypassword" line and it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:49
add a comment |
dhaupin's solution solved my problem with minor modifications:
My /etc/NetworkManager/system-connections/ file did not have a permission= line. But it did have a psk-flags=1 line. Commenting it out and adding a psk="MyWifiPassword" line fixed the Network-Mangler problem.
Rebooted and it came up online without logging in.
I already had the psk=Mypassword" line and it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:49
add a comment |
dhaupin's solution solved my problem with minor modifications:
My /etc/NetworkManager/system-connections/ file did not have a permission= line. But it did have a psk-flags=1 line. Commenting it out and adding a psk="MyWifiPassword" line fixed the Network-Mangler problem.
Rebooted and it came up online without logging in.
dhaupin's solution solved my problem with minor modifications:
My /etc/NetworkManager/system-connections/ file did not have a permission= line. But it did have a psk-flags=1 line. Commenting it out and adding a psk="MyWifiPassword" line fixed the Network-Mangler problem.
Rebooted and it came up online without logging in.
edited Jun 13 '17 at 5:14
Zanna
50k13131238
50k13131238
answered Jun 13 '17 at 3:08
another anon user
211
211
I already had the psk=Mypassword" line and it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:49
add a comment |
I already had the psk=Mypassword" line and it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:49
I already had the psk=Mypassword" line and it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:49
I already had the psk=Mypassword" line and it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:49
add a comment |
Edit the interfaces file /etc/network/interfaces
sudo -H gedit /etc/network/interfaces
Add the following,
auto ra0
iface ra0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
Is there a technical difference between the way I did it (see my answer) and yours?
– Olivier Lalonde
Dec 6 '10 at 4:07
Olivier, I think your solution is more up-to-date, depending as it does on a relatively new feature ofNetworkManager. Kathick's solution, on the other hand, circumventsNetworkManageraltogether. Your solution might be more robust asNetworkManagerkeeps track of the connection and reconncects if it is lost temporarily (although theinterfacesway might do that too in some cases).
– loevborg
Dec 6 '10 at 15:15
I hate to mess with that file, plus this computer is alreayd entered into the hosts file of all the other computers as a static IP. wpa_supplicant is fine. And yet it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:50
add a comment |
Edit the interfaces file /etc/network/interfaces
sudo -H gedit /etc/network/interfaces
Add the following,
auto ra0
iface ra0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
Is there a technical difference between the way I did it (see my answer) and yours?
– Olivier Lalonde
Dec 6 '10 at 4:07
Olivier, I think your solution is more up-to-date, depending as it does on a relatively new feature ofNetworkManager. Kathick's solution, on the other hand, circumventsNetworkManageraltogether. Your solution might be more robust asNetworkManagerkeeps track of the connection and reconncects if it is lost temporarily (although theinterfacesway might do that too in some cases).
– loevborg
Dec 6 '10 at 15:15
I hate to mess with that file, plus this computer is alreayd entered into the hosts file of all the other computers as a static IP. wpa_supplicant is fine. And yet it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:50
add a comment |
Edit the interfaces file /etc/network/interfaces
sudo -H gedit /etc/network/interfaces
Add the following,
auto ra0
iface ra0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
Edit the interfaces file /etc/network/interfaces
sudo -H gedit /etc/network/interfaces
Add the following,
auto ra0
iface ra0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
edited Dec 24 at 15:37
Zanna
50k13131238
50k13131238
answered Dec 6 '10 at 4:05
karthick87
47.5k53166217
47.5k53166217
Is there a technical difference between the way I did it (see my answer) and yours?
– Olivier Lalonde
Dec 6 '10 at 4:07
Olivier, I think your solution is more up-to-date, depending as it does on a relatively new feature ofNetworkManager. Kathick's solution, on the other hand, circumventsNetworkManageraltogether. Your solution might be more robust asNetworkManagerkeeps track of the connection and reconncects if it is lost temporarily (although theinterfacesway might do that too in some cases).
– loevborg
Dec 6 '10 at 15:15
I hate to mess with that file, plus this computer is alreayd entered into the hosts file of all the other computers as a static IP. wpa_supplicant is fine. And yet it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:50
add a comment |
Is there a technical difference between the way I did it (see my answer) and yours?
– Olivier Lalonde
Dec 6 '10 at 4:07
Olivier, I think your solution is more up-to-date, depending as it does on a relatively new feature ofNetworkManager. Kathick's solution, on the other hand, circumventsNetworkManageraltogether. Your solution might be more robust asNetworkManagerkeeps track of the connection and reconncects if it is lost temporarily (although theinterfacesway might do that too in some cases).
– loevborg
Dec 6 '10 at 15:15
I hate to mess with that file, plus this computer is alreayd entered into the hosts file of all the other computers as a static IP. wpa_supplicant is fine. And yet it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:50
Is there a technical difference between the way I did it (see my answer) and yours?
– Olivier Lalonde
Dec 6 '10 at 4:07
Is there a technical difference between the way I did it (see my answer) and yours?
– Olivier Lalonde
Dec 6 '10 at 4:07
Olivier, I think your solution is more up-to-date, depending as it does on a relatively new feature of
NetworkManager. Kathick's solution, on the other hand, circumvents NetworkManager altogether. Your solution might be more robust as NetworkManager keeps track of the connection and reconncects if it is lost temporarily (although the interfaces way might do that too in some cases).– loevborg
Dec 6 '10 at 15:15
Olivier, I think your solution is more up-to-date, depending as it does on a relatively new feature of
NetworkManager. Kathick's solution, on the other hand, circumvents NetworkManager altogether. Your solution might be more robust as NetworkManager keeps track of the connection and reconncects if it is lost temporarily (although the interfaces way might do that too in some cases).– loevborg
Dec 6 '10 at 15:15
I hate to mess with that file, plus this computer is alreayd entered into the hosts file of all the other computers as a static IP. wpa_supplicant is fine. And yet it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:50
I hate to mess with that file, plus this computer is alreayd entered into the hosts file of all the other computers as a static IP. wpa_supplicant is fine. And yet it still doesn't do it.
– SDsolar
Jul 16 '17 at 9:50
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f16376%2fconnect-to-network-before-user-login%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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