[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Edit NIC Address



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


Reply to: