Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Install Debian 12 "Network autoconfiguration failed"

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
User avatar
su01
Posts: 5
Joined: 2024-01-26 10:50

Install Debian 12 "Network autoconfiguration failed"

#1 Post by su01 »

Hello everybody,

I’m really lost trying to install Debian 12 on my Fujitsu i7 Workstation.

That computer currently runs Debian 11 without a problem, network works fine, but during installation, it says „Network autoconfiguration failed“ in step „Configuring with DHCP“.

I don’t think it’s an hardware problem, the NIC (Intel Cooperation 82579V Gigabit Network Connection) is working perfectly fine on the currently installed Debian 11 system.

Is this a known problem? Do you have any idea what I can do about that?
I’m using the „debian-12.4.0-amd64-netinst.iso“ image. I remember having problems with non-free drivers in the past, but since Debian 12 there are no non-free-images, as far as I understand …?

Thank you so much for your help

AJ

User avatar
bbbhltz
Posts: 166
Joined: 2024-01-10 14:53
Location: Normandy
XMMP/Jabber: bbbhltz@mailbox.org
Has thanked: 49 times
Been thanked: 33 times

Re: Install Debian 12 "Network autoconfiguration failed"

#2 Post by bbbhltz »

Is it possible that your device has more than one network adapter listed?

If you have the time, grab one of the Live ISOs and give that a test to see if you can still connect to the internet.
bbbhltz
longtime desktop Linux user; eternal newbie

User avatar
su01
Posts: 5
Joined: 2024-01-26 10:50

Re: Install Debian 12 "Network autoconfiguration failed"

#3 Post by su01 »

Thanks bbbhltz for your reply.
No, there is only one adapter listed - should work IMHO.
But good idea, I'll try "debian-live-12.4.0-amd64-xfce.iso" to see if network's working on Debian 12.

User avatar
su01
Posts: 5
Joined: 2024-01-26 10:50

Re: Install Debian 12 "Network autoconfiguration failed"

#4 Post by su01 »

Update: I still don't get it!

I tried the XFCE and standard (with no desktop environment) live-ISOs and both are immediately connected to the network.
Still, when I run the setup (doesn’t matter if I use text or graphical mode), it doesn’t work, cannot connect to the internet.

Since it works perfectly fine in the live-environment, do I have to active special drivers or something in the setup? Please help …

Thank you so much.

AJ

User avatar
su01
Posts: 5
Joined: 2024-01-26 10:50

Re: Install Debian 12 "Network autoconfiguration failed"

#5 Post by su01 »

Nothing, no ideas?

Using the Live-Image, which works perfectly fine, I found out that it's using the e10001 nic driver - seems like the setup is not able to use that driver?
Is there any way to find out the reason for that?

Thanks so much

lindi
Debian Developer
Debian Developer
Posts: 452
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 88 times

Re: Install Debian 12 "Network autoconfiguration failed"

#6 Post by lindi »

su01 wrote: 2024-02-08 08:13 Is there any way to find out the reason for that?
Does manual network configuration work in debian-installer?

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Install Debian 12 "Network autoconfiguration failed"

#7 Post by Aki »

Hello @su01,
su01 wrote: 2024-02-08 08:13 Using the Live-Image, which works perfectly fine, I found out that it's using the e10001 nic driver - seems like the setup is not able to use that driver? Is there any way to find out the reason for that?
You can search system logs for any message about your NIC (network interface card):

Code: Select all

su -l -c "journalctl -b --no-pager -g e1000"
Note that existing NIC kernel modules names are "e1000" and "e1000e".

Hope this help. Please let me know.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
su01
Posts: 5
Joined: 2024-01-26 10:50

Re: Install Debian 12 "Network autoconfiguration failed"

#8 Post by su01 »

Thanks for replies – I solved the issue, even though I’d still like to know the reason, why the setup behaves totally different than the live system.

Quick summary: When I try to install the Debian 12, network just doesn’t work.
It doesn’t matter whether I try to use DHCP or a static-IP during setup, just doesn’t work.
When I boot any live-image (I tried several) network works perfectly fine, and even if I ignore that not-working-network during installation, network doesn’t work on the fresh install either.
It also wasn’t a driver problem, which is what I initially thought, I found out the setup also uses the Intel e1000 driver …

So anyway, to cut a long story short, for whatever reason, the setup and fresh installation uses the wrong network interface!

/etc/network/interfaces on setup / fresh-installation:
Iface enp2s5 inet dhcp

/etc/network/interfaces on the live-image:
Iface enp0s25 inet dhcp

So when I found that out, it was obviously an easy fix, replacing “enp2s5” with “enp0s25” and the network works!
I’d never expected that!

Do you have any idea, why the live-images uses the correct interface enp0s25, while any installed system (and the setup) uses a (non-existing?) enp2s5 interface?


Thanks so much again

AJ

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: Install Debian 12 "Network autoconfiguration failed"

#9 Post by Aki »

Hello,
su01 wrote: 2024-02-19 07:24 [..] for whatever reason, the setup and fresh installation uses the wrong network interface!
/etc/network/interfaces on setup / fresh-installation:

Code: Select all

iface enp2s5 inet dhcp
/etc/network/interfaces on the live-image:

Code: Select all

Iface enp0s25 inet dhcp
So when I found that out, it was obviously an easy fix, replacing “enp2s5” with “enp0s25” and the network works!
I’d never expected that!
Do you have any idea, why the live-images uses the correct interface enp0s25, while any installed system (and the setup) uses a (non-existing?) enp2s5 interface?
It's quite interesting. May you report the Debian Installer's log ? You can find it here:
  • /var/log/installer/syslog
You can do it in one the following ways:
  • attaching the log to a follow-up forum message as a compressed zip or gz file
  • paste the log into the body of a follow-up message between code tags (if they fit the size of a forum message)
Thanks.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply