FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
1,926 views 2 comments
by
Hello,

i have a RUT240 router, and i know that is linux openwrt.

Can i enter to console and make a script listening on a router port and switch external I/O ?

I need to implement watchdog for devices on local network.

Regards

1 Answer

+1 vote
by anonymous
Hi,

So other devices will be sending request to the router and you want to catch them?

What tool will you be using on those devices for sending the requests? Will it be plain TCP/UDP packet or maybe HTTP request?

Will there be more than one device that sends the requests? If yes, do you need to differentiate them (by different ports, IPs, TCP/UDP payload etc.)?
Best answer
by
only unique android device.

it send http request for watchdog. port 80 i think
by anonymous

I assume you can control the text of HTTP request (otherwise I don't think there is an easy solution). All you need is to enable Output control via HTTP POST/GET requests:

https://wiki.teltonika.lt/index.php?title=Input/Output#Post.2FGet_Configuration

Usage examples are  here:

https://wiki.teltonika.lt/index.php?title=Input/Output#Post.2FGet_usage