OpenWrt Forum Archive

Topic: ser2net lost connection

The content of this topic has been archived on 2 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello everybody, I succesfully install and use ser2net, my problem is that sometimes the connection lost but still can see ser2net process running, what should I do to check the connection lost and restart ser2net.
Someone can help me out with this?

Best Regards

Carina

Do you use usb-serial adapter?

I would try using a cron with a bash script. Use "opkg update", "opkg install nano", then type in "EDITOR=nano" and hit enter. Then once you have your script ready to run simply use "crontab -e" to edit your cron config file. Call your bash script that checks the status of ser2net ( e.g. /ubin/mydirectory/myscript.sh) via cron. There are plenty of examples and tutorials out there...

Good luck in your quest.

The discussion might have continued from here.