echo –off
if %1empty == empty then
echo usage netconf {adresse ip locale} [adresse ip routeur]
goto End
endif
load fs0:\efi\tools\tcpipv4.efi
ifconfig sni0 %1 netmask 255.255.255.0
if not %2empty == empty then
route add default %2
endif
load fs0:\EFI\Tools\ftpd.efi
:End
fs0:\> Netconf 129.182.189.3 129.182.189.1
adresse ip
129.182.189.3
129.182.189.1
load fs0:\efi\tools\ftpd.efi
adresse ip de la passerelle
Configuration manuelle du réseau