No ethernet connection: “ip configuration was unavailable”

1. Your Parrot information

```

DISTRIB_ID=Parrot
DISTRIB_RELEASE=4.10
DISTRIB_CODENAME=rolling
DISTRIB_DESCRIPTION=“Parrot 4.10”
PRETTY_NAME=“Parrot GNU/Linux 4.10”
NAME=“Parrot GNU/Linux”
ID=parrot
ID_LIKE=debian
VERSION=“4.10”
VERSION_ID=“4.10”
HOME_URL=“https://www.parrotsec.org/
SUPPORT_URL=“https://community.parrotsec.org/
BUG_REPORT_URL=“https://community.parrotsec.org/

```
  • Kernel version: run uname -a

Linux parrot 5.9.0-2parrot1-amd64 #1 SMP Debian 5.9.6-2parrot1 (2020-11-17) x86_64 GNU/Linux

Version: 4.10
Desktop Environment: KDE
Edition: Security

2. If you have this problem after fresh installation:

  1. How did you create USB bootable?

Flashed iso by EtchDroid on a USB drive

  1. How did you install OS?

Debian installer

3. If your hardware doesn’t work: wifi doesn’t show, graphic issue:

Hardware information

- Your device name or output of `lspci`
```
    00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d4)
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M]
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)


### 4. How did you get this error? Are there any steps to procedure it?
1. Installed Parrot OS
2. apt full-upgrade -y
3. Plugged in the Ethernet cable

### 5. Error log or screenshot
NetworkManager keeps throwing ![Screenshot_20210214_183101|409x314](upload://nYl0YlRjBnkVdT9E5ctajLpjawK.png) 
output of "sudo systemctl status isc-dhcp-server.service": 
    ```
isc-dhcp-server.service - LSB: DHCP server
     Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
     Active: failed (Result: exit-code) since Sun 2021-02-14 18:06:22 +04; 12min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 10433 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
        CPU: 32ms

Feb 14 18:06:20 parrot dhcpd[10449]: before submitting a bug.  These pages explain the proper
Feb 14 18:06:20 parrot dhcpd[10449]: process and the information we find helpful for debugging.
Feb 14 18:06:20 parrot dhcpd[10449]: 
Feb 14 18:06:20 parrot dhcpd[10449]: exiting.
Feb 14 18:06:22 parrot isc-dhcp-server[10433]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ...
Feb 14 18:06:22 parrot isc-dhcp-server[10454]:  failed!
Feb 14 18:06:22 parrot isc-dhcp-server[10455]:  failed!
Feb 14 18:06:22 parrot systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
Feb 14 18:06:22 parrot systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Feb 14 18:06:22 parrot systemd[1]: Failed to start LSB: DHCP server.
    ```
Output of sudo systemctl status NetworkManager: 
    ```
● NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2021-02-14 18:01:49 +04; 32min ago
       Docs: man:NetworkManager(8)
   Main PID: 7067 (NetworkManager)
      Tasks: 7 (limit: 1560)
     Memory: 7.3M
        CPU: 1.303s
     CGroup: /system.slice/NetworkManager.service
             ├─7067 /usr/sbin/NetworkManager --no-daemon
             └─7088 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /run/NetworkManager/dhclient-wlan0.pid -lf /var/lib/NetworkManager/dhclient-62698aaf-c77a-46cd-9019-6a6d88a8f3fb-wlan0.lease -cf /var/lib/NetworkManager/dhclient-wlan0.conf wlan0

Feb 14 18:32:17 parrot dhclient[11735]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
Feb 14 18:32:33 parrot NetworkManager[7067]: <warn>  [1613313153.6914] dhcp4 (eth0): request timed out
Feb 14 18:32:33 parrot NetworkManager[7067]: <info>  [1613313153.6915] dhcp4 (eth0): state changed unknown -> timeout
Feb 14 18:32:33 parrot NetworkManager[7067]: <info>  [1613313153.6916] device (eth0): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Feb 14 18:32:33 parrot NetworkManager[7067]: <warn>  [1613313153.6961] device (eth0): Activation: failed for connection 'Wired connection 1'
Feb 14 18:32:33 parrot NetworkManager[7067]: <info>  [1613313153.6997] device (eth0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Feb 14 18:32:33 parrot NetworkManager[7067]: <info>  [1613313153.7677] dhcp4 (eth0): canceled DHCP transaction, DHCP client pid 11735
Feb 14 18:32:33 parrot NetworkManager[7067]: <info>  [1613313153.7678] dhcp4 (eth0): state changed timeout -> done
Feb 14 18:32:33 parrot NetworkManager[7067]: <info>  [1613313153.7750] policy: auto-activating connection 'Wired connection 1' (01729775-2a1a-39c1-a115-742be9900349)
Feb 14 18:32:33 parrot NetworkManager[7067]: <info>  [1613313153.7783] device (eth0): state change: disconnected -> unavailable (reason 'carrier-changed', sys-iface-state: 'managed') 
    ```

### 6. If you have any idea or suggestion about this issue please tell us
It's clearly a DHCP issue and it has happened to other Parrot OS users: 
[Post #1](https://community.parrotsec.org/t/isc-dhcp-server-start-failed/14306)
[Post #2](https://community.parrotsec.org/t/eth0-issues/11424)
[Post #3](https://community.parrotsec.org/t/ethernet-rtl8169-r8169-no-internet-no-dhcp/13752)

Methods of fixing for other distros of similar issue do not help
[Ubuntu, 3 months ago](https://askubuntu.com/questions/1285928/no-ethernet-connection-ip-configuration-was-unavailable)
[Arch, 2017](https://bbs.archlinux.org/viewtopic.php?id=232833)
[Arch, 2017](https://bbs.archlinux.org/viewtopic.php?id=172670)

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.