Can wicd automatically select a wired profile

Asked by Thomas Preston on 2013-11-11

I have a script which asks me which environment I would like to use (work/home/laptop/shell) when I log in. Each environment has a slightly different set up (external screens and other variables). I would like wicd to choose the wired 'home' profile when I'm at home and 'work' when I'm at work. Is there anyway for wicd to select a profile based on the existence of a file or to change the profile from the command line?

Question information

Language:
English Edit question
Status:
Answered
For:
wicd Edit question
Assignee:
No assignee Edit question
Last query:
2013-11-11
Last reply:
2014-05-08
atrain (superatrain) said : #1

Hi, try adding the following to your scripts:

# wicd-cli --wired -c -o -m profile_name

Alexander (myspambox2) said : #2

that is, I will need to create a script with this code and add it to configure a connection to the network necessary to me? I apologize - I have a new theme for, but to do that it would work

Can you help with this problem?

Provide an answer of your own, or ask Thomas Preston for more information if necessary.

To post a message you must log in.