You are not logged in.

#1 2018-05-02 00:51:10

jjanderson5
Member
Registered: 2016-05-10
Posts: 156

[RESOLVED] BL - Helium - has 'ifconfig' been deprecated?

I started my first install of the Helium release and I'm running into some problems. The first problem is that I'm trying to find the IP address of the PC on which the installation is being made. In the past, I have always used 'ifconfig'. When I look in /sbin, ifconfig is not there.

Has it been deprecated? If so, what is the recommended method to find the intranet IP address of the PC?

Last edited by jjanderson5 (2018-05-02 03:53:57)

Offline

#2 2018-05-02 02:19:30

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [RESOLVED] BL - Helium - has 'ifconfig' been deprecated?

To find your machine's IP:

ip addr

This will display status of all interfaces on your system.  The old ifconfig tools (in net-tools package) are considered deprecated in favor of the iproute2 package which has the ip command for managing the network interfaces. If you prefer using the old ifconfig just install the net-tools package which is available in stretch:

~$ sudo apt install net-tools

Real Men Use Linux

Offline

#3 2018-05-02 02:25:44

lowrider
Member
From: Germany
Registered: 2015-09-29
Posts: 358

Re: [RESOLVED] BL - Helium - has 'ifconfig' been deprecated?

DeepDayze wrote:

To find your machine's IP:

ip addr

or in short

ip a

Last edited by lowrider (2018-05-02 02:26:46)

Offline

#4 2018-05-02 02:37:19

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [RESOLVED] BL - Helium - has 'ifconfig' been deprecated?

lowrider wrote:
DeepDayze wrote:

To find your machine's IP:

ip addr

or in short

ip a

Ahh thanks for that little gem.


Real Men Use Linux

Offline

#5 2018-05-02 03:53:02

jjanderson5
Member
Registered: 2016-05-10
Posts: 156

Re: [RESOLVED] BL - Helium - has 'ifconfig' been deprecated?

@DeepDayze

Well, that is about the best answer I have ever received in the forums. Informative, concise and right on the mark. Thank you, much for the explanation.

Jim A.

Offline

#6 2018-05-02 05:52:22

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [RESOLVED] BL - Helium - has 'ifconfig' been deprecated?

This is covered in the upstream Debian stretch release notes:

https://www.debian.org/releases/stable/ … l#iproute2

Offline

Board footer

Powered by FluxBB