iPXE discussion forum
Image download fails over wireless connection: Connection reset error - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Image download fails over wireless connection: Connection reset error (/showthread.php?tid=11481)



Image download fails over wireless connection: Connection reset error - ssanyal1 - 2018-06-14 05:37

Hi,

In my current project, I am loading a ipxe.efi from the web server using UEFI HTTPBoot and booting into a WinPE image. The ipxe.efi contains the following simple embedded script:

#!ipxe

:dhcploop
dhcp || goto dhcploop

kernel wimboot gui pause
initrd http://<ipaddress>/boot/bcd BCD
initrd http://<ipaddress>/boot/boot.sdi boot.sdi
initrd http://<ipaddress>/sources/boot.wim boot.wim
boot

The client machine has both wired and wireless Intel UNDI driver installed.
The above method works fine when using the wired Ethernet LAN. But this does not work when using the Intel Wireless NIC.

I understand that iPXE uses the Intel native drivers under the network stack (TCP,IP,DHCP) when using the wired Ethernet LAN. I have confirmed this from the ifstat results where the netdev is identified as Intel I219-LM (4).

When using the wireless network, iPXE falls back on the SNP driver (confirmed in the ifstat result) as there is still no native support for Intel wireless adapters in iPXE. Dhcp works fine (confirmed as iPXE is able to obtain an ip address) using the SNP driver. But when it tries to download (using imgfetch) files it is very slow until there is a connection reset error.

I understand that HTTPBoot (as explained in edk2 documentation) uses the same underlying SNP driver but is able to download large files(400 MB) fairly quickly but the iPXE network stack is unable to do so.

I want to use iPXE because of the advanced scripting and menu support which is required for my project. However wireless support is also critical for the project. Could you please provide any suggestions or work around of how to get this working?


RE: Image download fails over wireless connection: Connection reset error - NiKiZe - 2018-06-15 00:28

have you confirmed with ifstat that the wireless nic is up? and also that it has used the wireless nic to get IP? (and not some other nic)

How was the settings for the wireless nic (SSID etc) configured?

The wireless support in iPXE is not really maintained, so in this case you would have to get the SNP driver to play ball. (unless you are willing to do or pay someone for getting the wireless parts in iPXE up2date)