# check network configuration and MAC address

**URL:** https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888
**Category:** General Discussion
**Created:** [26 February 2020 13:42 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888 "2020-02-26T13:42:49Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![seron](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/779978/32.png) [@seron](https://dietpi.com/forum/u/seron)
#### Post date: [26 February 2020 13:42 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/1 "2020-02-26T13:42:49Z")

</div>

How can one check the current network settings and MAC address? _ifconfig_ is not available. Is there a utility in DietPi that display this information?

---

<div class="post-metadata">

### Author: ![seron](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/779978/32.png) [@seron](https://dietpi.com/forum/u/seron)
#### Post date: [26 February 2020 13:47 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/2 "2020-02-26T13:47:31Z")

</div>

```nohighlight
networkctl status eth0

```

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [26 February 2020 13:49 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/3 "2020-02-26T13:49:44Z")

</div>

Hi,

ifconfig deprecated.

[https://www.techrepublic.com/article/pro-tip-use-the-ip-command-in-favor-of-the-deprecated-ifconfig/](https://www.techrepublic.com/article/pro-tip-use-the-ip-command-in-favor-of-the-deprecated-ifconfig/)

But you can use ip commands to show network status/settings like

```nohighlight
ip a

```

---

<div class="post-metadata">

### Author: ![RKG456](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/9fc348/32.png) [@RKG456](https://dietpi.com/forum/u/RKG456)
#### Post date: [21 August 2023 21:14 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/4 "2023-08-21T21:14:42Z")

</div>

networkctl is not showing as a valid command on my dietpi headless minimal install.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 August 2023 21:42 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/5 "2023-08-21T21:42:13Z")

</div>

> [@RKG456](#):
>
> networkctl is not showing as a valid command

you mean something like following error message?

```auto
root@DietPiOPi5:~# networkctl
Failed to connect system bus: No such file or directory
root@DietPiOPi5:~#

```

this is expected as we don’t install `dbus` by default. Furthermore we don’t use `systemd-networkd` as we use `ifupdown` to manage the network interfaces

---

<div class="post-metadata">

### Author: ![RKG456](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/9fc348/32.png) [@RKG456](https://dietpi.com/forum/u/RKG456)
#### Post date: [22 August 2023 02:18 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/6 "2023-08-22T02:18:20Z")

</div>

i ended up installing net-tools with sudo apt install net-tools. Then Ifconfig worked and shows the MAC address as the listing ether.

---

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [22 August 2023 06:07 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/7 "2023-08-22T06:07:02Z")

</div>

Without installing anything you can use `ip link show` to see MAC addresses of your interfaces.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [22 August 2023 07:55 UTC](https://dietpi.com/forum/t/check-network-configuration-and-mac-address/3888/8 "2023-08-22T07:55:21Z")

</div>

> [@RKG456](#):
>
> sudo apt install net-tools. Then Ifconfig worked

I’m going to quote myself

> [@Joulinar](#):
>
> ifconfig deprecated.
> 
> [https://www.techrepublic.com/article/pro-tip-use-the-ip-command-in-favor-of-the-deprecated-ifconfig/](https://www.techrepublic.com/article/pro-tip-use-the-ip-command-in-favor-of-the-deprecated-ifconfig/)
> 
> But you can use ip commands to show network status/settings like
> 
> ```auto
> ip a
> 
> ```
