Michael Lorer
2011-10-11 08:50:43 UTC
Hello again,
I've got some problems using the UEFI Network Stack in a NT32-Emulator Shell.
I compiled the NetNT32Io.dll an can load the different drivers:
SnpNt32Dxe.efi
MnpDxe.efi
ArpDxe.efi
IP4Dxe.efi
Ip4ConfigDxe.efi
Udp4Dxe.efi
Dhcp4Dxe.efi
MtFtpDxe.efi
Tcp4Dxe.efi
I've got two network interfaces eth0 and eth1. eth1 is connected to a local network with a DHCP Server running.
So I used
ifconfig -s eth dhcp
to get an ipadress from the dhcp server an it seems to work.
I get the following result for ifconfig -l eth1:
MAC: 00-19-...
Media State: Media present
Source: DHCP
Perment: FALSE
IP address: 10.10.30.158 (is different from the ip adress I get in the consol in windows where the emulator is running. I think thats ok)
Mask: 255.255.0.0
Gateway: 10.10.1.9
Routes (2 entries):
Entry[0]
Subnet: 10.10.0.0
Netmask: 255.255.0.0
Gateway: 0.0.0.0
Entry[1]
Subnet: 0.0.0.0
Netmask: 0.0.0.0
Gateway: 10.10.1.9
If I use the ping command with the eth1 interface I get a response from the Gateway.
But if I try to ping the windows workstation with the IP from the windows console (where a FTP-Server is running too) I can't get any response.
I also tried to get something working using ipconfig instead of ifconfig. But using that command I only get the following error:
MAC Adress: Same as mentioned above for eth1
Broadcast MAC: FF FF FF FF FF FF
ipconfig: Locate protocol error - 'PXE DHCP protocol'
Because I cannot ping my own windows maschine I think it's also not possible to get a connection using the ftp client from the EFI Toolkit?!?
I'm completly new to everything around UEFI. So thanks in advanced for any help.
Regards,
Michael
I've got some problems using the UEFI Network Stack in a NT32-Emulator Shell.
I compiled the NetNT32Io.dll an can load the different drivers:
SnpNt32Dxe.efi
MnpDxe.efi
ArpDxe.efi
IP4Dxe.efi
Ip4ConfigDxe.efi
Udp4Dxe.efi
Dhcp4Dxe.efi
MtFtpDxe.efi
Tcp4Dxe.efi
I've got two network interfaces eth0 and eth1. eth1 is connected to a local network with a DHCP Server running.
So I used
ifconfig -s eth dhcp
to get an ipadress from the dhcp server an it seems to work.
I get the following result for ifconfig -l eth1:
MAC: 00-19-...
Media State: Media present
Source: DHCP
Perment: FALSE
IP address: 10.10.30.158 (is different from the ip adress I get in the consol in windows where the emulator is running. I think thats ok)
Mask: 255.255.0.0
Gateway: 10.10.1.9
Routes (2 entries):
Entry[0]
Subnet: 10.10.0.0
Netmask: 255.255.0.0
Gateway: 0.0.0.0
Entry[1]
Subnet: 0.0.0.0
Netmask: 0.0.0.0
Gateway: 10.10.1.9
If I use the ping command with the eth1 interface I get a response from the Gateway.
But if I try to ping the windows workstation with the IP from the windows console (where a FTP-Server is running too) I can't get any response.
I also tried to get something working using ipconfig instead of ifconfig. But using that command I only get the following error:
MAC Adress: Same as mentioned above for eth1
Broadcast MAC: FF FF FF FF FF FF
ipconfig: Locate protocol error - 'PXE DHCP protocol'
Because I cannot ping my own windows maschine I think it's also not possible to get a connection using the ftp client from the EFI Toolkit?!?
I'm completly new to everything around UEFI. So thanks in advanced for any help.
Regards,
Michael