Hi all,
I have a LTE modem (LG FM300) and a RB751G. To get into the internet, one first has to login to the LTE modem via telnet (VLAN 99, port 10000) and enter two commands. (The first one provides the PIN of the LTE SIM card and the second one sets the APN of my ISP.) After that a router board DHCP client gets a public IP on VLAN 132. Interactively, this all works very well.
Unfortunately the second telnet command that sets the APN has to be repeated from time to time (like a keep-alive command), else the internet connection stops working (sometimes even before the DHCP lease time is up). If I then login via telnet, enter the command again, and trigger a DHCP rebind/refresh, everything works well again. I need a way to automate this keep-alive/DHCP-rebind via a script and without an additional 24/7 PC in the network.
Can u help?
Thanks.
Details:
- Note that others have similar requests for different scenarios: http://forum.mikrotik.com/t/scripting-snmp-ssh-telnet/53049/1 and http://forum.mikrotik.com/t/send-telnet-commands-from-rb-s-script-to-direct-host/40438/1
- If this is not yet possible, are there plans to implement script commands like: “:local modemAnswer [/system telnet IP port command]”? (Or a command with additional support for username/password…) If so, when do you think this will be available for the RB751G?
[edit: shortened and streamlined the original post]