Jump to content

UPDATE_PAYLOADS don't work


ElKebir
Go to solution Solved by dark_pyrro,

Recommended Posts

Hi, i have a problem with UPDATE_PAYLOADS command. I configure my SharkJack as described in manual with NETMODE_DHCP_CLIENT; I Test succesfully the ping command "ping -c3 example.com" but when I send the command UPDATE_PAYLOADS I receive this message:


Downloading payloads repository...
tar: can't open '/tmp/payloads-sync.tar.gz': No such file or directory
cp: can't stat '/tmp/payloads-sync/sharkjack-payloads-master/payloads/library/': No such fule or directory
Succesfully syncronized payloads repository.

The PAYLOAD dosen't donwloaded

Do you ave any idea?

Link to comment
Share on other sites

  • Solution

The download of the tar.gz file most likely fails because of the fact that the Shark date and time is incorrect. The Shark doesn't have an RTC and reverts to a date too far back in time on boot which makes the https curl download fail due to certificate reasons. Set the Shark date and time using the date command before running UPDATE_PAYLOADS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...