TFTP upload script with menu - waits until host available

Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload
Author Message
inetquestion
DD-WRT User


Joined: 24 Sep 2015
Posts: 67

PostPosted: Mon Jun 28, 2021 15:49    Post subject: TFTP upload script with menu - waits until host available Reply with quote
Choose image file to upload, then go. Script waits for target host to be available on network before attempting to upload file.

Used this on a Mac, should be portable across multiple *nix flavors.

-Inet
Sponsor
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Wed Sep 29, 2021 19:55    Post subject: Reply with quote
An issue with this approach.

TFTP requires IPs/MAC set for specific devices with ARP and so on, the IP provided is wrong in some cases, so TFTP will never connect using the provided IP unless same HW used by some chance or users edit the script to suit their machines.

Some routers have a TFTP IP around 192.168.11.xxx for instance.

So if anyone downloaded this and tried and it did not work, consider editing the script according to your routers TFTP IP/MAC requirements.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)


Last edited by the-joker on Sun Oct 24, 2021 7:53; edited 7 times in total
inetquestion
DD-WRT User


Joined: 24 Sep 2015
Posts: 67

PostPosted: Mon Oct 11, 2021 13:28    Post subject: Reply with quote
Wondered why the HOST was in the *config* section... smh
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sun Oct 24, 2021 13:04    Post subject: Reply with quote
inetquestion wrote:
Wondered why the HOST was in the *config* section... smh


Yes, its obvious for experienced users, but I did edit my previous comment to make it clearer that the script may need editing.

But thanks anyway, I see it being being useful for some subset of users if they manage to get it working.

Also its completely missing ARP setup which is needed for some routers, So this will work only for those who dont need it.

Be well.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum