Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have run into a situation where I'd like to get my wireless working without the benefit of a monitor, by sshing in. I have KDE on the system, have enabled autologin for one of the users and would now like to set up the wireless to automatically connect without kwallet prompting me for a password. (That way I can ditch my ethernet cable and move my computer out of the way).

I assume that this requires me to store the password in an unencrypted file; that's just fine with me. I've run across some ways to do that via the gui (such as this solution) but, for my circumstances, I need to be able to pull this off via ssh.

Would anyone know how to accomplish this? It would be much appreciated.

share|improve this question

marked as duplicate by guntbert, Eric Carvalho, Alvar, Warren Hill, mikewhatever Dec 25 '13 at 6:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@virtualxtc It's certainly close, but the key point is that I'd like to use knetworkmanager to accomplish this, as it's aready insatlled and working. Still, I'll see if there's a tip in that link that I might be able to include in what I'm trying to do. – neanderslob Dec 22 '13 at 3:41
up vote 1 down vote accepted

You can't; knetworkmanager is a graphical front end for network-manager, and thus is not controlled via the command line. However, there are tools for managing network manager, see this post: Connecting to wireless networks from command line

share|improve this answer
Ah, I see. Does that mean that the question is indeed the same as the one you linked to? – neanderslob Dec 22 '13 at 4:17
it's actually a dupe of the article I linked above. – virtualxtc Dec 22 '13 at 9:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.