On 5/7/20 9:06 AM, Tom H wrote:
On Thu, May 7, 2020 at 12:21 AM Samuel Sieb <samuel(a)sieb.net>
wrote:
> On 5/6/20 3:10 PM, John M. Harris Jr wrote:
>> On Wednesday, May 6, 2020 2:50:27 PM MST Samuel Sieb wrote:
>>>
>>> Are you using NetworkManager or something else?
>>> What do you mean they aren't being read? What is happening or not
>>> happening?
>>
>> I'm using NetworkManager. The interface is present, with the
>> correct name, but didn't get an IP address assigned.
>
> My ethernet port is called enp0s25, change the following command as
> necessary. Run "nmcli c show enp0s25" to see what NetworkManager
> knows about the connection. See if there's anything missing.
You can't assume that the NIC and the connction have the same name.
And there's no way to run "nmcli c s" against a NIC name.
Yes, as Ed reminded me, you should use "nmcli c" to find the connection
before trying to get the information. Which, of course, is what I had
done myself, but didn't think to add that to my reply.