tftp transaction in UEFI shell states "too few arguments"
by boomerang from LinuxQuestions.org on (#6MQ9F)
Hello, I am an ultra-beginner to UEFI world.
I was trying to setup a way to transfer the files from a server (running Linux) to a client setup (running UEFI shell).
I was able to ping server's IP address from the client setup and vice-versa.
I installed tftpserver on server.
Code:[~ || $> cat /etc/default/tftpd-hpa
/etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"And I have a file abc.txt in /srv/tftp.
Code:[~ || $> ls /srv/tftp
abc.txtFrom UEFI shell of client, I am trying to download the file from server.
And I have `tftp.efi` created in UEFI shell of client setup.
Code:FS0:\network\> ls
Directory of: FS0:\network\
05/03/2024 14:39 <DIR> 16,384 .
05/02/2024 16:45 <DIR> 0 ..
05/03/2024 14:38 53,056 http.efi
05/03/2024 14:38 43,712 tftp.efi
2 File(s) 96,768 bytes
FS0:\network\> (s)
FS0:\network\> tftp 10.7.71.53 abc.txt
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
tftp: Too few argumentsFor some reason, this error does not go away.
I tried other options mentioned in `tftp -?` but in vain.
Any help to break-through is highly appreciated. Thank you!
I was trying to setup a way to transfer the files from a server (running Linux) to a client setup (running UEFI shell).
I was able to ping server's IP address from the client setup and vice-versa.
I installed tftpserver on server.
Code:[~ || $> cat /etc/default/tftpd-hpa
/etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"And I have a file abc.txt in /srv/tftp.
Code:[~ || $> ls /srv/tftp
abc.txtFrom UEFI shell of client, I am trying to download the file from server.
And I have `tftp.efi` created in UEFI shell of client setup.
Code:FS0:\network\> ls
Directory of: FS0:\network\
05/03/2024 14:39 <DIR> 16,384 .
05/02/2024 16:45 <DIR> 0 ..
05/03/2024 14:38 53,056 http.efi
05/03/2024 14:38 43,712 tftp.efi
2 File(s) 96,768 bytes
FS0:\network\> (s)
FS0:\network\> tftp 10.7.71.53 abc.txt
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
ASSERT [tftp] /u/aydas/last/edk2/MdeModulePkg/Library/BaseSortLib/BaseSortLib.c(97): ((BOOLEAN)(0==1))
tftp: Too few argumentsFor some reason, this error does not go away.
I tried other options mentioned in `tftp -?` but in vain.
Any help to break-through is highly appreciated. Thank you!