How to force IPV4 network during installation.

Help with issues regarding installation of Debian

How to force IPV4 network during installation.

Postby pritesh_ugrankar » 2020-12-10 21:01

Hi,

I am trying to install Debian 10.7 with non free firmware on my brand new HP Pavilion Gaming 16 laptop. For some reason, the installer tries to connect using IPV6 and then it just stalls. I have connected the laptop to the router through Network cable, because the wifi is not detected, but that's not a problem, because once I get the install done, I can install the wireless drivers myself. Just not sure how to force IPV4 during installation.

Note:- I plan to dual boot with Windows 10 (gotta keep it for work reason). Not related to my issue I know, but just putting it here for reference.
pritesh_ugrankar
 
Posts: 6
Joined: 2017-03-14 11:45

Re: How to force IPV4 network during installation.

Postby p.H » 2020-12-10 21:05

You can add "ipv6.ipv6_disable=1" to the installer kernel command line to disable the use of IPv6 by the kernel.

pritesh_ugrankar wrote:For some reason, the installer tries to connect using IPV6 and then it just stalls

Maybe because your network has broken IPv6 connectivity (the router advertises an IPv6 prefix but offers no global IPv6 connectivity).
p.H
 
Posts: 1609
Joined: 2017-09-17 07:12

Re: How to force IPV4 network during installation.

Postby pritesh_ugrankar » 2020-12-10 22:26

Hi,
Thank you for the reply. Kindly let me know how do I do it?
At which step? Do I get into the terminal by pressing alt tab F2? Sorry but I really haven't tried this before.
pritesh_ugrankar
 
Posts: 6
Joined: 2017-03-14 11:45

Re: How to force IPV4 network during installation.

Postby pritesh_ugrankar » 2020-12-11 13:05

Hi,
At the installation prompt, when the GRUB screen comes up, I press "e" and type "ipv6.ipv6_disable=1" and then press Crtl+X to reboot, still the installer goes searching for ipv6 connection/DHCPv6. I must be doing something wrong. Can someone help?
pritesh_ugrankar
 
Posts: 6
Joined: 2017-03-14 11:45

Re: How to force IPV4 network during installation.

Postby pritesh_ugrankar » 2020-12-11 14:24

Hi,

Found the right answer in this forum!! I should have read existing threads, my bad.

The correct parameter is(NOTE:- type the option with the double quotes):

Code: Select all
"ipv6.disable_ipv6=1"


I passed this option during the initial installation from the USB. The moment the GRUB screen shows up, I selected "Debian Installer" option by pressing the down arrow, then typed "e" (without quotes. It will not be visible anyways) and then, in the next screen I typed the "ipv6.disable_ipv6=1" line right next to an existing line(after a space). Then I pressed Ctrl x (That's pressing the control button and thexn the button). The laptop rebooted, and took me straight to the installation screen (skipping the GRUB screen). This time it ignored the ipv6 and I could proceed with installation. Still have not completed it as some other work came up. Just posting it here so that someone with similar issues would hopefully find this useful.
pritesh_ugrankar
 
Posts: 6
Joined: 2017-03-14 11:45

Re: How to force IPV4 network during installation.

Postby peter_irich » 2020-12-11 16:51

I thought that for the kernel through GRUB "ipv6.disable=1" is needed.
https://www.thegeekdiary.com/centos-rhel-7-how-to-disable-ipv6/

Peter.
peter_irich
 
Posts: 1303
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: How to force IPV4 network during installation.

Postby Head_on_a_Stick » 2020-12-11 18:31

Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to force IPV4 network during installation.

Postby p.H » 2020-12-15 18:38

pritesh_ugrankar wrote:The correct parameter is(NOTE:- type the option with the double quotes): "ipv6.disable_ipv6=1"

Sorry for the typo. It seems to happen to me all the time...

peter_irich wrote:I thought that for the kernel through GRUB "ipv6.disable=1" is needed.

Needed for what ?
p.H
 
Posts: 1609
Joined: 2017-09-17 07:12

Re: How to force IPV4 network during installation.

Postby peter_irich » 2020-12-15 19:54

p.H wrote:
peter_irich wrote:I thought that for the kernel through GRUB "ipv6.disable=1" is needed.

Needed for what ?

For ipv6 disabling.
peter_irich
 
Posts: 1303
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: How to force IPV4 network during installation.

Postby p.H » 2020-12-15 21:20

Right, but that was not what the OP asked.
p.H
 
Posts: 1609
Joined: 2017-09-17 07:12


Return to Installation

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable