Bug 24540 - impossible to use DHCP on netinstall using USB RJ45 adapters
Summary: impossible to use DHCP on netinstall using USB RJ45 adapters
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-20 11:50 CET by Nicolas Lécureuil
Modified: 2021-02-01 15:52 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
network card screen (62.42 KB, image/jpeg)
2019-03-20 11:54 CET, Nicolas Lécureuil
Details

Description Nicolas Lécureuil 2019-03-20 11:50:10 CET
I am trying to use netinstall on laptops with USB/RJ45 adapters.

I don't pass to connect to the DHCP server with it.

In addition, in the screen where i can choose the network card, i see a line with the number 0.
Comment 1 Nicolas Lécureuil 2019-03-20 11:54:04 CET
Created attachment 10876 [details]
network card screen
Comment 2 Frank Griffin 2019-03-20 14:55:18 CET
What happens when you select that network card ?  The DHCP server just doesn't answer ?  Check tty3 for more detail.  If the card requires a special driver, you may have to use a nonfree install image.

CC: (none) => ftg

Comment 3 Nicolas Lécureuil 2019-03-22 10:45:56 CET
from https://cateee.net/lkddb/web-lkddb/USB_NET_DRIVERS.html  it does not need any nonfree driver


Bus 003 Device 020: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter

Bus 003 Device 019: ID 0b95:7e2b ASIX Electronics Corp. AX88772B Fast Ethernet Controller


are my 2 adapters
Comment 4 Nicolas Lécureuil 2019-03-22 10:49:01 CET
from tty3 i can see that it asks for a DHCP Discover and then 
<sleep>
<sleep>
<sleep>
<sleep>

and no answer.
Comment 5 Thomas Backlund 2019-03-22 12:43:55 CET
Does the adapter work (get an ip) if you connect it to a running Mageia 7 (Cauldron) system ?

CC: (none) => tmb

Comment 6 Mike Rambo 2019-03-22 12:55:12 CET
If you have access to the dhcp server logs you should also be able to see the entire sequence logged there in the form of discover, offer, request, and ack.

Mar 22 07:50:32 penguin dhcpd: DHCPDISCOVER from 4c:66:41:31:4d:e2 (SAMSUNG-SM-G930V) via 10.207.10.1

Mar 22 07:50:32 penguin dhcpd: DHCPOFFER on 10.207.10.157 to 4c:66:41:31:4d:e2 (SAMSUNG-SM-G930V) via 10.207.10.1

Mar 22 07:50:32 penguin dhcpd: DHCPREQUEST for 10.207.10.157 (10.189.16.107) from 4c:66:41:31:4d:e2 (SAMSUNG-SM-G930V) via 10.207.10.1

Mar 22 07:50:32 penguin dhcpd: DHCPACK on 10.207.10.157 to 4c:66:41:31:4d:e2 (SAMSUNG-SM-G930V) via 10.207.10.1

See if the discover is ever making it to the server and then what happens thereafter.

CC: (none) => mrambo

Comment 7 Nicolas Lécureuil 2019-03-22 14:17:26 CET
(In reply to Thomas Backlund from comment #5)
> Does the adapter work (get an ip) if you connect it to a running Mageia 7
> (Cauldron) system ?

yes.

I tried with 2 different same issue.
Comment 8 Nicolas Lécureuil 2019-03-22 14:18:33 CET
(In reply to Mike Rambo from comment #6)
> If you have access to the dhcp server logs you should also be able to see
> the entire sequence logged there in the form of discover, offer, request,
> and ack.
> 
> Mar 22 07:50:32 penguin dhcpd: DHCPDISCOVER from 4c:66:41:31:4d:e2
> (SAMSUNG-SM-G930V) via 10.207.10.1
> 
> Mar 22 07:50:32 penguin dhcpd: DHCPOFFER on 10.207.10.157 to
> 4c:66:41:31:4d:e2 (SAMSUNG-SM-G930V) via 10.207.10.1
> 
> Mar 22 07:50:32 penguin dhcpd: DHCPREQUEST for 10.207.10.157 (10.189.16.107)
> from 4c:66:41:31:4d:e2 (SAMSUNG-SM-G930V) via 10.207.10.1
> 
> Mar 22 07:50:32 penguin dhcpd: DHCPACK on 10.207.10.157 to 4c:66:41:31:4d:e2
> (SAMSUNG-SM-G930V) via 10.207.10.1
> 
> See if the discover is ever making it to the server and then what happens
> thereafter.

The dhcp server is my freebox, i will try to setup it somewhere else for the tests.
Comment 9 Marja Van Waes 2019-03-25 08:21:24 CET
(In reply to Nicolas Lécureuil from comment #8)

> 
> The dhcp server is my freebox, i will try to setup it somewhere else for the
> tests.

Marking this report as NEEDINFO until you report back about the tests

Keywords: (none) => NEEDINFO
CC: (none) => marja11

Comment 10 Nicolas Lécureuil 2019-03-25 17:06:36 CET
with the card  
Bus 002 Device 007: ID 0b95:7e2b ASIX Electronics Corp. AX88772B Fast Ethernet Controller


mars 25 16:52:12 pulse-syncthing dhcpd[4762]: DHCPDISCOVER from 08:00:27:ac:b0:bd via eno1
mars 25 16:52:12 pulse-syncthing dhcpd[4762]: DHCPOFFER on 192.168.0.110 to 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
mars 25 16:52:16 pulse-syncthing dhcpd[4762]: DHCPDISCOVER from 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
mars 25 16:52:16 pulse-syncthing dhcpd[4762]: DHCPOFFER on 192.168.0.110 to 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPDISCOVER from 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPOFFER on 192.168.0.110 to 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPREQUEST for 192.168.0.110 (192.168.0.8) from 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPACK on 192.168.0.110 to 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1


but i have the answer: "No DHCP Reply received" in the netinstall

Keywords: NEEDINFO => (none)

Comment 11 Thomas Backlund 2019-03-25 17:12:25 CET
Does it work with the Mga 6.1 netinstall ?

http://ftp.free.fr/mirrors/mageia.org/distrib/6.1/x86_64/install/images/Mageia-6.1-netinstall-x86_64.iso
Comment 12 Nicolas Lécureuil 2019-03-25 17:22:45 CET
* Just tried on an other machine using mageia 7 and adapter works correctly

* I will test with Mageia-6.1-netinstall-x86_64.iso in a few minutes
Comment 13 Nicolas Lécureuil 2019-03-25 17:36:57 CET
works OK on mageia 6.1
Comment 14 Thomas Backlund 2019-03-25 17:57:09 CET
Ok, so we have regressed then.

I'll dig out my usb adapter and take a look if I can reproduce
Comment 15 Nicolas Lécureuil 2019-03-25 17:58:59 CET
it does not install but this is a new bugreport i will open :)
Comment 16 Nicolas Lécureuil 2019-03-25 17:59:26 CET
i have 2 other adapters, i will do tests a report here.
Comment 17 Thomas Backlund 2019-03-25 18:01:35 CET
(In reply to Nicolas Lécureuil from comment #15)
> it does not install but this is a new bugreport i will open :)

You can use the mga6.1 boot.iso and point it at cauldron distrib tree and it should work (if the mga6 kernel sees your harddisk)
Comment 18 Frank Griffin 2019-03-25 23:16:16 CET
(In reply to Nicolas Lécureuil from comment #10)
> with the card  
> Bus 002 Device 007: ID 0b95:7e2b ASIX Electronics Corp. AX88772B Fast
> Ethernet Controller
> 
> 
> mars 25 16:52:12 pulse-syncthing dhcpd[4762]: DHCPDISCOVER from
> 08:00:27:ac:b0:bd via eno1
> mars 25 16:52:12 pulse-syncthing dhcpd[4762]: DHCPOFFER on 192.168.0.110 to
> 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
> mars 25 16:52:16 pulse-syncthing dhcpd[4762]: DHCPDISCOVER from
> 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
> mars 25 16:52:16 pulse-syncthing dhcpd[4762]: DHCPOFFER on 192.168.0.110 to
> 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
> mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPDISCOVER from
> 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
> mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPOFFER on 192.168.0.110 to
> 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
> mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPREQUEST for 192.168.0.110
> (192.168.0.8) from 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
> mars 25 16:52:24 pulse-syncthing dhcpd[4762]: DHCPACK on 192.168.0.110 to
> 08:00:27:ac:b0:bd (DESKTOP-6BFPU2I) via eno1
> 
> 
> but i have the answer: "No DHCP Reply received" in the netinstall

The question here is why the first two DHCPOFFERs were ignored and it took 12 seconds for the install DHCP client to accept (DHCPREQUEST) the offered IP.
Comment 19 Nicolas Lécureuil 2019-03-26 09:22:59 CET
(In reply to Thomas Backlund from comment #17)
> (In reply to Nicolas Lécureuil from comment #15)
> > it does not install but this is a new bugreport i will open :)
> 
> You can use the mga6.1 boot.iso and point it at cauldron distrib tree and it
> should work (if the mga6 kernel sees your harddisk)

it does not install on mga6/7 because of gpt errors, i will report it.
Aurelien Oudelet 2020-09-02 17:48:12 CEST

CC: (none) => ouaurelien

Comment 20 Aurelien Oudelet 2020-09-04 22:06:40 CEST
Does this still apply to actual Cauldron (Mga8 B1)?
Comment 21 Aurelien Oudelet 2021-01-30 17:05:22 CET
Ping ? ;)
Comment 22 Nicolas Lécureuil 2021-02-01 15:52:58 CET
i dcon't have the computer anymore i can't test.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.