Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #265521 > unrolled thread
| Started by | David <david.g_jones@ntlworld.com> |
|---|---|
| First post | 2024-01-05 06:00 +0100 |
| Last post | 2024-01-05 10:40 +0100 |
| Articles | 9 — 7 participants |
Back to article view | Back to linux.debian.user
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
| From | David <david.g_jones@ntlworld.com> |
|---|---|
| Date | 2024-01-05 06:00 +0100 |
| Subject | Edit NIC Address |
| Message-ID | <HSKtj-Tz1-3@gated-at.bofh.it> |
Morning Group, 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. Thank you, David.
[toc] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2024-01-05 06:50 +0100 |
| Message-ID | <HSLfH-Ubk-1@gated-at.bofh.it> |
| In reply to | #265521 |
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. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [prev] | [next] | [standalone]
| From | David <david.g_jones@ntlworld.com> |
|---|---|
| Date | 2024-01-05 11:50 +0100 |
| Message-ID | <HSPW2-X3Q-7@gated-at.bofh.it> |
| In reply to | #265522 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Marco Moock <mm@dorfdsl.de> |
|---|---|
| Date | 2024-01-05 12:00 +0100 |
| Message-ID | <HSQ5H-X7w-23@gated-at.bofh.it> |
| In reply to | #265529 |
Am 05.01.2024 um 10:41:26 Uhr schrieb David: > But I cannot find the file to edit. Use the Networkmanager (nmcli, nmtui) to edit it. nmcli connection show nmcli connection edit <UUID> "print" gives all attributes set <attribute> changes it. save to write it and then nmcli connection up <uuid> to apply it.
[toc] | [prev] | [next] | [standalone]
| From | Pocket <pocket@columbus.rr.com> |
|---|---|
| Date | 2024-01-05 13:30 +0100 |
| Message-ID | <HSRuO-Yc5-5@gated-at.bofh.it> |
| In reply to | #265529 |
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
[toc] | [prev] | [next] | [standalone]
| From | Timothy M Butterworth <timothy.m.butterworth@gmail.com> |
|---|---|
| Date | 2024-01-06 03:50 +0100 |
| Message-ID | <HT4V3-16U0-7@gated-at.bofh.it> |
| In reply to | #265529 |
[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/ ⠈⠳⣄⠀⠀
[toc] | [prev] | [next] | [standalone]
| From | Marco Moock <mm@dorfdsl.de> |
|---|---|
| Date | 2024-01-05 09:40 +0100 |
| Message-ID | <HSNUd-VP2-7@gated-at.bofh.it> |
| In reply to | #265521 |
Am 05.01.2024 um 04:30:44 Uhr schrieb David: > 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? There are various ways to configure it. Files in /etc/network, systemd-networkd, NetworkManager, etc.
[toc] | [prev] | [next] | [standalone]
| From | Keith Bainbridgge <keithrbau@gmail.com> |
|---|---|
| Date | 2024-01-05 10:20 +0100 |
| Message-ID | <HSOwV-WiP-1@gated-at.bofh.it> |
| In reply to | #265521 |
David I use nmtuI (from a terminal) for jobs like this. I think it is installed by default. I'd bet you'll be terminated when the change activates All the best Keith Bainbridge keith.bainbridge.3216@gmail.com +61 (0)447 667 468 UTC + 10:00 On 5/1/24 15:30, David wrote: > Morning Group, > > 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. > > Thank you, > > David. >
[toc] | [prev] | [next] | [standalone]
| From | Geert Stappers <stappers@stappers.nl> |
|---|---|
| Date | 2024-01-05 10:40 +0100 |
| Message-ID | <HSOQh-WpA-1@gated-at.bofh.it> |
| In reply to | #265526 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Jan 05, 2024 at 08:15:08PM +1100, Keith Bainbridgge wrote: > On 5/1/24 15:30, David wrote: > > Morning Group, > > > > 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. > > > > > I use nmtuI (from a terminal) for jobs like this. I think it is installed by > default. Right now we have strong indications that the remote box is not a default install. My advice to Original Poster is to contact the people who know more about the (remote) machine. They even might be the best persons for making the IP-address change. > I'd bet you'll be terminated when the change activates And I would like to know how to reconnect after the change. Yeah, it might not be possible, so I hope O.P. can revert the change. > All the best > > Keith Bainbridge > +61 (0)447 667 468 > UTC + 10:00 Awareness of timezone differences is another good reason to reply below previous text. > > Thank you, Thank the group by sharing knowledge how it went. > > David. Groeten Geert Stappers -- Silence is hard to parse
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web