Dietpi fail to find eithernet connection at boot time Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
mail2rst
Posts: 103
Joined: Fri Apr 13, 2018 4:53 pm

Re: Dietpi fail to find eithernet connection at boot time

Post by mail2rst »

this command works "dmesg -l emerg,alert,crit,err". after executing next line show up for next command. so commands executed correctly
alone journalctl works & 1000 of line show up
alone dmesg command works & 1000 line show up
ip a command not exist
ifup etho command not exist

my dell usb keyboard not able to write pipe "|" for dmesg less command
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fail to find eithernet connection at boot time

Post by Joulinar »

puuh this means you don't have ip command as well as ifup?? This is more than bad as you will not be able to bring up the network interface without...

Still the question. Do you have a backup? As well can you check installation status of ifupdown package

Code: Select all

dpkg -l ifupdown
It should looks like this

Code: Select all

root@DietPi3:~# dpkg -l ifupdown
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-================================================
ii  ifupdown       0.8.35       armhf        high level tools to configure network interfaces
root@DietPi3:~#
Looks like you hit the same situation like this user viewtopic.php?f=11&t=8658
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
mail2rst
Posts: 103
Joined: Fri Apr 13, 2018 4:53 pm

Re: Dietpi fail to find eithernet connection at boot time

Post by mail2rst »

sorry, dietpi is so stable i never think to backup anything.

with "dpkg -l ifupdown" same line showup as your but in table none for version, architecture & in description(no description available)
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fail to find eithernet connection at boot time

Post by Joulinar »

it need to have ii at the beginning, indicating the installation status.

Following 3 packages would need to be available

Code: Select all

dpkg -l ifupdown iproute2 isc-dhcp-client
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
mail2rst
Posts: 103
Joined: Fri Apr 13, 2018 4:53 pm

Re: Dietpi fail to find eithernet connection at boot time

Post by mail2rst »

with this command "dpkg -l ifupdown iproute2 isc-dhcp-client"

in table only shoup for ifupdown,

nothing for iproute2, isc-dhcp-client

one thing more, i have debian install live usb stick available if we can boot from it & repair dietpi. or you suggest better to reinstall everything again.
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fail to find eithernet connection at boot time

Post by Joulinar »

probably you removed iproute2 and isc-dhcp-client somewhere during your install/unstall procedure. I would recommend to reinstall all 3 packages. as you are offline with the system, you would need to download them on your computer and copy the packages via usb stick to your system. Let's check the architecture you are running on

Code: Select all

dpkg --print-architectur
cat /etc/apt/sources.list
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
mail2rst
Posts: 103
Joined: Fri Apr 13, 2018 4:53 pm

Re: Dietpi fail to find eithernet connection at boot time

Post by mail2rst »

thanks Joulinar,
Its look like i did multiple damage to standard operating system. so instead of repairing it i will reinstall everything again. it will almost same headache. what you suggest?
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fail to find eithernet connection at boot time

Post by Joulinar »

your could give it a try to download the 3 packages and have them installed. Should not be that complicate and maybe faster than reinstall whole stuf. If you still face issues, you are always good to start from scratch. And once back online, do a backup ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
mail2rst
Posts: 103
Joined: Fri Apr 13, 2018 4:53 pm

Re: Dietpi fail to find eithernet connection at boot time

Post by mail2rst »

dpkg command show me error & others works, the output from both as this image. https://pasteboard.co/JZudsKU.jpg
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi fail to find eithernet connection at boot time

Post by Joulinar »

sorry again a typo

dpkg --print-architecture
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply