SCIENTIFIC-LINUX-USERS Archives

April 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Adrian Sevcenco <[log in to unmask]>
Reply To:
Adrian Sevcenco <[log in to unmask]>
Date:
Mon, 9 Apr 2012 23:52:28 +0300
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (1298 bytes) , smime.p7s (2038 bytes)
On 04/09/12 22:36, Tom H wrote:
> On Mon, Apr 9, 2012 at 1:27 PM, Konstantin Olchanski <[log in to unmask]> wrote:
>> On Mon, Apr 09, 2012 at 12:03:33PM -0500, Pat Riehecky wrote:
>>> On 04/09/2012 12:02 PM, Konstantin Olchanski wrote:
>>>>
>>>> That's right. Nm manager gui or vi. Our way or the highway. So you arrive to a remote location
>>>> to fix broken network config and find that the mouse walked away, too, welcome to vi.
>>>
>>> or nmcli
>>
>> The best I can tell, "nmcli" cannot change any configuration settings -
>> only report existing settings and do "ifconfig down"/"ifconfig up".
>>
>> (I tried to use the "up"/"down" function once but failed to figure out
>> what "id" to use for eth0. There are no examples and nmcli rejected
>> everything I tried. I did not try to use the UUID syntax on a text console
>> with no mouse).
> 
> NM's like udev. That's why nmcli is used to bring up, take down,
> delete, or list connections or devices.
> 
> For eth0 the "id" was probably "Wired connection 1".
> 
> If you have one NIC, "nmcli -t -f UUID con list" will return the UUID.
> Without a mouse the "id" option's simpler...
if you are on a laptop that command will return the UID of ALL wireless
connection that you had ...
nmcli -t -f uuid con status
will return the UUID of current connection

HTH,
Adrian



ATOM RSS1 RSS2