Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image download fails over wireless connection: Connection reset error
2018-06-14, 05:37
Post: #1
Image download fails over wireless connection: Connection reset error
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?
Find all posts by this user
Quote this message in a reply
2018-06-15, 00:28
Post: #2
RE: Image download fails over wireless connection: Connection reset error
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)

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)