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

 

 

 

Debian 9 Install - DHCP Error

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
unstoppablegr
Posts: 7
Joined: 2017-07-16 15:08

Debian 9 Install - DHCP Error

#1 Post by unstoppablegr »

I am trying to install debian 9 through usb in UEFI mode but every time it tries to configure the DHCP it shows an error. I manually configure the network but still in the installer it cant download anything.. My motherboard is Gigabyte 970A-UD3P rev2.0 . This motherboard in order to install properly i have to enable on bios the IOMMU Controller and then after i boot the system to add a value on GRUB * iommu = soft * in order to disable it from bios. I also tried to use the non-free software but i still have the same issue.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 9 Install - DHCP Error

#2 Post by kedaha »

You say you've tried to use "the non-free software" but what package in particular? it's very likely because you need a non-free package like, for example r8168-dkms.
But you first need to identify the network card using a command like:
lspci -nn | grep Network
or
lspci |grep -i ethernet
Last edited by kedaha on 2017-07-25 14:26, edited 1 time in total.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

unstoppablegr
Posts: 7
Joined: 2017-07-16 15:08

Re: Debian 9 Install - DHCP Error

#3 Post by unstoppablegr »

How can i run this command if i havent installed Debian ?
*Actually i think my network card is Realtek 8168"

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 9 Install - DHCP Error

#4 Post by kedaha »

You don't have a live cd?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

unstoppablegr
Posts: 7
Joined: 2017-07-16 15:08

Re: Debian 9 Install - DHCP Error

#5 Post by unstoppablegr »

i cant make an EFI bootable usb with the live cd. Rufus shows an error. Only with Net installer

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 9 Install - DHCP Error

#6 Post by kedaha »

You want to do a network install? you could just install the basic system and then install the firmware afterwards, likely to be firmware-realtek
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

unstoppablegr
Posts: 7
Joined: 2017-07-16 15:08

Re: Debian 9 Install - DHCP Error

#7 Post by unstoppablegr »

Well i already tried that but i couldnt even boot after the install..

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 9 Install - DHCP Error

#8 Post by kedaha »

ah, the plot thickens.
Sounds like there's more than one issue then. So Debian9 is actually installed but you can't boot it?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

unstoppablegr
Posts: 7
Joined: 2017-07-16 15:08

Re: Debian 9 Install - DHCP Error

#9 Post by unstoppablegr »

Ok i booted into Debian. I tried to install the r8168-dkms package but it says dkms is not installed...so how can i install it without an internet connection?..

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 9 Install - DHCP Error

#10 Post by kedaha »

well, just go to the Debian packages site and download it from there @ stretch/r8168-dkms, save it to a pendrive using your present connection —with Windows or whatever—and then install it as root using dpkg -i command.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 9 Install - DHCP Error

#11 Post by kedaha »

You'll have to use the change directory command to go to media and then to find the package on the pendrive. if you're not too sure how it's done, see for example forums.debian.net/viewtopic.php?f=17&t=73204#p407168
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

unstoppablegr
Posts: 7
Joined: 2017-07-16 15:08

Re: Debian 9 Install - DHCP Error

#12 Post by unstoppablegr »

i already did that...it says a dependency is missing (dkms)

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 9 Install - DHCP Error

#13 Post by kedaha »

unstoppablegr wrote:i already did that...it says a dependency is missing (dkms)
Yes, I've just simulated
dpkg -i r8168-dkms_8.043.02-1_all.deb
followed by
apt-get -f install
which shows that not only dkms but multiple dependences are required to install the package in question. It would be laborious to download them all manually and save them to an external medium and then install them with dpkg.
I would therefore suggest that —using your other system—since the network install image does not contain the packages, you download and burn a complete iso image to a cdrom, add this to /etc/apt/sources.list and then run apt-get update followed by the above commands.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply