changing wifi password over SSH on wifi-only headless server
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to change the password for my wifi network foo
.
I've got a raspberry pi connected to foo
. I only use SSH to talk with it. The pi is headless, and it isn't convenient to attach a monitor+keyboard or hardline. /etc/wpa_supplicant/wpa_supplicant.conf
on the pi has lines like this:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
Can I just duplicate that config with the new password? Like so:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
network=
ssid="foo"
psk=abcdabcdabcdabcdabcdabcdabcdabcdabcdabcd
linux command-line wifi raspberry-pi headless
add a comment |
up vote
0
down vote
favorite
I want to change the password for my wifi network foo
.
I've got a raspberry pi connected to foo
. I only use SSH to talk with it. The pi is headless, and it isn't convenient to attach a monitor+keyboard or hardline. /etc/wpa_supplicant/wpa_supplicant.conf
on the pi has lines like this:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
Can I just duplicate that config with the new password? Like so:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
network=
ssid="foo"
psk=abcdabcdabcdabcdabcdabcdabcdabcdabcdabcd
linux command-line wifi raspberry-pi headless
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to change the password for my wifi network foo
.
I've got a raspberry pi connected to foo
. I only use SSH to talk with it. The pi is headless, and it isn't convenient to attach a monitor+keyboard or hardline. /etc/wpa_supplicant/wpa_supplicant.conf
on the pi has lines like this:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
Can I just duplicate that config with the new password? Like so:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
network=
ssid="foo"
psk=abcdabcdabcdabcdabcdabcdabcdabcdabcdabcd
linux command-line wifi raspberry-pi headless
I want to change the password for my wifi network foo
.
I've got a raspberry pi connected to foo
. I only use SSH to talk with it. The pi is headless, and it isn't convenient to attach a monitor+keyboard or hardline. /etc/wpa_supplicant/wpa_supplicant.conf
on the pi has lines like this:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
Can I just duplicate that config with the new password? Like so:
network=
ssid="foo"
psk=deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
network=
ssid="foo"
psk=abcdabcdabcdabcdabcdabcdabcdabcdabcdabcd
linux command-line wifi raspberry-pi headless
linux command-line wifi raspberry-pi headless
asked 21 hours ago
Adam Monsen
3001411
3001411
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
Yes
This works. The network manager will try connecting to each one.
1
@msp9011 it looks like a pretty definite answer to me.
– roaima
19 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Yes
This works. The network manager will try connecting to each one.
1
@msp9011 it looks like a pretty definite answer to me.
– roaima
19 hours ago
add a comment |
up vote
2
down vote
Yes
This works. The network manager will try connecting to each one.
1
@msp9011 it looks like a pretty definite answer to me.
– roaima
19 hours ago
add a comment |
up vote
2
down vote
up vote
2
down vote
Yes
This works. The network manager will try connecting to each one.
Yes
This works. The network manager will try connecting to each one.
answered 21 hours ago
Adam Monsen
3001411
3001411
1
@msp9011 it looks like a pretty definite answer to me.
– roaima
19 hours ago
add a comment |
1
@msp9011 it looks like a pretty definite answer to me.
– roaima
19 hours ago
1
1
@msp9011 it looks like a pretty definite answer to me.
– roaima
19 hours ago
@msp9011 it looks like a pretty definite answer to me.
– roaima
19 hours ago
add a comment |
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481378%2fchanging-wifi-password-over-ssh-on-wifi-only-headless-server%23new-answer', 'question_page');
);
Post as a guest
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
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
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