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


Groups > linux.debian.user > #265565

Re: Edit NIC Address

From Timothy M Butterworth <timothy.m.butterworth@gmail.com>
Newsgroups linux.debian.user
Subject Re: Edit NIC Address
Date 2024-01-06 03:50 +0100
Message-ID <HT4V3-16U0-7@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


[Multipart message — attachments visible in raw view] - view raw

On Fri, Jan 5, 2024 at 12:18 PM David <david.g_jones@ntlworld.com> 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
>

Try this: ls "/etc/NetworkManager/system-connections/Wired connection
1.nmconnection"

Or this: ls /etc/NetworkManager/system-connections/Wired\ connection\
1.nmconnection

The spaces in the name create an annoyance.

I can go to the directory /etc/NetworkManager/system-connections/
>
> But I cannot find the file to edit.
>
> Can anybody help me please?
>
> David.
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

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