Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265533

Re: Edit NIC Address

From Pocket <pocket@columbus.rr.com>
Newsgroups linux.debian.user
Subject Re: Edit NIC Address
Date 2024-01-05 13:30 +0100
Message-ID <HSRuO-Yc5-5@gated-at.bofh.it> (permalink)
References <HSKtj-Tz1-3@gated-at.bofh.it> <HSLfH-Ubk-1@gated-at.bofh.it> <HSPW2-X3Q-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 1/5/24 05:41, David wrote:
> On Fri, 2024-01-05 at 00:43 -0500, Felix Miata wrote:
>> David composed on 2024-01-04 04:30 (UTC):
>>
>>> With the latest Debian I'm trying to find the file to edit to
>>> change
>>> the IP address of a remote box, can anybody point me in the correct
>>> direction please?
>>
>>> I can SSH into this box, but cannot find the file to edit.
>>
>> Traditionally it would be in /etc/network/interfaces used by
>> ifupdown. Mine is in
>> /etc/systemd/network/eth0.network because I'm using systemd-networkd.
>> Where
>> NetworkMangler users keep theirs I have no information. If you can
>> search files in
>> the /etc/ tree for string 192.168. or 10.0. or 172.16. likely you'll
>> find it.
> Thank you for the replies.
> 
> After doing a grep search for 192.168.205 I was given the
> directory /etc/NetworkManager/system-connections/Wired connection
> 1.nmconnection::address1-192.168.205.42/24
> 
> I can go to the directory /etc/NetworkManager/system-connections/
> 
> But I cannot find the file to edit.
> 
> Can anybody help me please?
> 
> David.
> 
> 

The file is in /run/NetworkManager/system-connections if you haven't 
placed a configuration file in /etc/NetworkManager/system-connections

I copy the files from /run/NetworkManager/system-connections to 
/NetworkManager/system-connections after first boot.

the debian wiki has some information and here:

https://www.redhat.com/sysadmin/becoming-friends-networkmanager


-- 
Hindi madali ang maging ako

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Edit NIC Address David <david.g_jones@ntlworld.com> - 2024-01-05 06:00 +0100
  Re: Edit NIC Address Felix Miata <mrmazda@earthlink.net> - 2024-01-05 06:50 +0100
    Re: Edit NIC Address David <david.g_jones@ntlworld.com> - 2024-01-05 11:50 +0100
      Re: Edit NIC Address Marco Moock <mm@dorfdsl.de> - 2024-01-05 12:00 +0100
      Re: Edit NIC Address Pocket <pocket@columbus.rr.com> - 2024-01-05 13:30 +0100
      Re: Edit NIC Address Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-01-06 03:50 +0100
  Re: Edit NIC Address Marco Moock <mm@dorfdsl.de> - 2024-01-05 09:40 +0100
  Re: Edit NIC Address Keith Bainbridgge <keithrbau@gmail.com> - 2024-01-05 10:20 +0100
    Re: Edit NIC Address Geert Stappers <stappers@stappers.nl> - 2024-01-05 10:40 +0100

csiph-web