public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fernando Rodriguez <frodriguez.developer@outlook.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Network manager [ control of wireless and wired interafaces]
Date: Wed, 11 Mar 2015 17:18:50 -0400	[thread overview]
Message-ID: <1717438.lgrjPnUM43@navi> (raw)
In-Reply-To: <CAOdo=SwhAcoDJVnTMLK757m8_9GgXY-uHN_8B03DRaeAaJ+r7g@mail.gmail.com>

On Wednesday, March 11, 2015 4:15:53 PM Tom H wrote:
> I've never used nmcli except to get ip information (see below) but
> setting up NM without a gui is simple.
> 
> This is my home wifi setup:
> 
> # cat /etc/NetworkManager/system-connections/thsky
> [connection]
> id=thsky
> uuid=e03d75e4-043a-4276-bf03-3995270ec891
> type=802-11-wireless
> 
> [802-11-wireless]
> ssid=myssidname
> mode=infrastructure
> security=802-11-wireless-security
> 
> [802-11-wireless-security]
> key-mgmt=wpa-psk
> psk=myssidpassword
> 
> [ipv4]
> method=manual
> address1=192.168.1.11/24,192.168.1.1
> dns=192.168.1.111
> 
> [ipv6]
> method=link-local

Did you find that documented somewhere or did you use an UI to create the file 
originally? What about when you need one of the many features that this simple 
example doesn't cover (like permissions)? what is the guid? It is hard.
 
When I started using NetworkManager I had hell trying to modify that file 
manually because plasma-nm ask for root password when modifying system wide 
connections but it doesn't save the changes (the solution was to run nm-
connection-editor manually as root). The same applies to nmtui and it only 
covers a few options. I don't remember exactly what needed to be changed in 
the file but it wasn't intuitive.

-- 
Fernando Rodriguez



  reply	other threads:[~2015-03-11 21:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11  9:19 [gentoo-user] Network manager [ control of wireless and wired interafaces] German
2015-03-11  9:48 ` Fernando Rodriguez
2015-03-11 11:15   ` Neil Bothwick
2015-03-11 11:40     ` German
2015-03-11 11:52       ` Alan McKinnon
2015-03-11 12:03         ` German
2015-03-11 12:12           ` Paul Klos
2015-03-11 12:14             ` German
2015-03-11 12:38               ` Neil Bothwick
2015-03-11 13:16                 ` German
2015-03-11 14:40                   ` Neil Bothwick
2015-03-11 18:35                   ` Jc García
2015-03-11 18:51                     ` Jc García
2015-03-11 19:27                     ` German
2015-03-11 21:46                       ` Tom H
2015-03-11 20:15                     ` Tom H
2015-03-11 21:18                       ` Fernando Rodriguez [this message]
2015-03-11 22:11                         ` Tom H

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717438.lgrjPnUM43@navi \
    --to=frodriguez.developer@outlook.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox