Re: [AFMUG] SSH or Telnet script to check when a radio/sm is up?

2018-03-27 Thread Cameron Crum
That is true, but most use a script like this or similar in a MT router (PC BMU) to accomplish it. So even if you have one of those systems, you still need a way to redirect people in the router. At least with this, it will be one less step to configure when he makes the change ;) On Tue, Mar

Re: [AFMUG] SSH or Telnet script to check when a radio/sm is up?

2018-03-26 Thread Steve Jones
not to be that guy, but powercode, sonar, etc... they do this for you and redirect them to say "hey, bum, pay" On Mon, Mar 26, 2018 at 11:16 AM, Cameron Crum wrote: > If you didn't want the redirect, you could just write a quick firewall to > drop all traffic from the

Re: [AFMUG] SSH or Telnet script to check when a radio/sm is up?

2018-03-26 Thread Cameron Crum
If you didn't want the redirect, you could just write a quick firewall to drop all traffic from the suspended list as well, but redirecting to a portal is preferable in my view. Cameron On Mon, Mar 26, 2018 at 11:09 AM, Sam Lambie wrote: > thank you Cameron. I appreciate

Re: [AFMUG] SSH or Telnet script to check when a radio/sm is up?

2018-03-26 Thread Sam Lambie
thank you Cameron. I appreciate it! On Mon, Mar 26, 2018 at 10:04 AM, Cameron Crum wrote: > Here is a MT script to set up the web proxy redirect. Obviously you will > need to change the urls in the last section under /ip proxy address. This > script takes anything in the

Re: [AFMUG] SSH or Telnet script to check when a radio/sm is up?

2018-03-26 Thread Cameron Crum
Here is a MT script to set up the web proxy redirect. Obviously you will need to change the urls in the last section under /ip proxy address. This script takes anything in the 'suspended' address list and redirects port 80 traffic to whatever you put in place of myportal.com. You also need to

Re: [AFMUG] SSH or Telnet script to check when a radio/sm is up?

2018-03-26 Thread Sam Lambie
We are in the the process of going to MT. But now, plain ole Linksys e2500's. On Mon, Mar 26, 2018 at 9:51 AM, Cameron Crum wrote: > Are you using MT routers? I can show you a script to ssh to the router and > move him to an address list that either redirects him through a

Re: [AFMUG] SSH or Telnet script to check when a radio/sm is up?

2018-03-26 Thread Cameron Crum
Are you using MT routers? I can show you a script to ssh to the router and move him to an address list that either redirects him through a web proxy or just drops all traffic. On Mon, Mar 26, 2018 at 10:36 AM, Sam Lambie wrote: > Has anyone used a script to check say every