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

Re: What file does Linux use to...



Of course if you are installing as a Debian desktop workstation your networking is configured by DHCP. Your ISP allocates an address and network hostname to your machine at startup. That can also be configured "by config file" but only rarely requires it.

On Sun, May 18, 2025, 10:35 AM Nicholas Geovanis <nickgeovanis@gmail.com> wrote:
On Sun, May 18, 2025, 9:16 AM <tomas@tuxteam.de> wrote:
On Sun, May 18, 2025 at 09:42:45AM -0400, COMCAST wrote:
> What file does in Linux use to the store network address in?

If you mean "what file contains the IP address and hostname of my own server?": It depends whether you use NetworkManager to configure networking or the older style.

In the older style the config file goes in /etc/sysconfig/network-scripts and contains the NIC name as part of the filename. With NetworkManager the file has a different format and name and goes in /etc/NetworkManager/connection-scripts. 
There are command-line tools to configure NetworkManager-style like nmtui and nmcli if you reject GUIs ;-) You may need to install one of them if not already.

Whose network address? And: what do you mean by "store"?

Could you please explain what you are trying to do?

Cheers
--
t

Reply to: