ifconfig missing from .img

Post Reply
additude
Posts: 83
Joined: Sat Dec 02, 2017 8:02 pm
languages_spoken: english
ODROIDs: .
8-XU4's
11-MC1's
6 - N2's
Has thanked: 11 times
Been thanked: 6 times
Contact:

ifconfig missing from .img

Post by additude »

Hello,
I have downloaded the latest XU4 image file: ubuntu-18.04.3-4.14-minimal-odroid-xu4-20190910.img.xz and the ifconfig command is not available.

/sbin/ifconfig is not present.

Is this an oversight?

mad_ady
Posts: 8475
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 465 times
Contact:

Re: ifconfig missing from .img

Post by mad_ady »

ifconfig is deprecated in favor of ip (ip addr show).
You can install it, but I don't remember in what package it is.
These users thanked the author mad_ady for the post:
additude (Sun Oct 20, 2019 12:04 am)

additude
Posts: 83
Joined: Sat Dec 02, 2017 8:02 pm
languages_spoken: english
ODROIDs: .
8-XU4's
11-MC1's
6 - N2's
Has thanked: 11 times
Been thanked: 6 times
Contact:

Re: ifconfig missing from .img

Post by additude »

Thanks....
ip is already on my 18.04.3 .....

Nuems
Posts: 171
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 16 times
Contact:

Re: ifconfig missing from .img

Post by Nuems »

ifconfig is part of "net-tools", so

Code: Select all

sudo apt install net-tools
However: https://ubuntu.com/blog/if-youre-still- ... n-the-past

mad_ady
Posts: 8475
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 465 times
Contact:

Re: ifconfig missing from .img

Post by mad_ady »

Yes, living in the past is normal after 20 years of linux usage...
Image

In all fairness, I had some IP issues I couldn't solve with ifconfig, but were obvious with ip. I had two ips set on eth0. Ifconfig showed only the first ip, while ip showed both...

Nuems
Posts: 171
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 16 times
Contact:

Re: ifconfig missing from .img

Post by Nuems »

I'm totally with Grandpa Simpson, too :D
Actually, I think things like this are what makes it really hard for Linux beginners: You might have a first idea of whatever it is you want to do and you google it, but 80% of the Linux info is obsolete/doesn't apply to your distro or the version you're using. Once I had learnt to write somewhat decent init scripts, systemd came along etc. :x

mad_ady
Posts: 8475
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 465 times
Contact:

Re: ifconfig missing from .img

Post by mad_ady »

At least it forces the brain to learn new things. Keeps Alzheimer away :)
These users thanked the author mad_ady for the post:
odroid (Mon Oct 21, 2019 9:58 am)

User avatar
rooted
Posts: 7991
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 243 times
Contact:

Re: ifconfig missing from .img

Post by rooted »

mad_ady wrote:At least it forces the brain to learn new things. Keeps Alzheimer away :)
Indeed, in the world is medicine it's this way. You have old school doctors who won't continue their training and practice medicine from the past and new school doctors who go to seminars and schools yearly to learn what's new.

Hayden85
Posts: 1
Joined: Sun Nov 24, 2019 2:54 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: ifconfig missing from .img

Post by Hayden85 »

Check out the man pages for updatedb and locate.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 4 guests