Ed:

A few recommendations for troubleshooting.

In /etc/ser2net.conf comment out the 4 default lines (/dev/ttyS0-3)
so that the line Nick provided is the only config present.

Stop ser2net:
     /etc/init.d/ser2net stop
then restart:
     /etc/init.d/ser2net start

Make sure ser2net is running:
     ps -ef | grep ser2net

If not, tail /var/log/syslog and see if any errors were reported on statrtup.
Normally you just see a single line reporting successful startup.

If it is running , make sure it is listening on the socket you specified (3200):
   netstat -tln | grep 3200

you should see a line with 0.0.0.0:3200 under local address

There is additional troubleshooting you can do depending on results
of above steps.

Good luck.

Mike

On 1/12/2016 03:58, Ed Armstrong wrote:
More details please. I've installed it, but can't make it work. My USB/serial cable is /dev/ttyUSB0 just like yours. I used your .conf file. But lady heather says connection rejected.


Ed

On 1/11/2016 8:00 PM, Nick Sayer via time-nuts wrote:
I answered my own question. :)

ser2net works perfectly as a “server” for LH. I’m using a USB to serial adapter and the ser2net.conf line for it is

3200:raw:0:/dev/ttyUSB0:9600 8DATABITS NONE 1STOPBIT LOCAL

And for LH, /ip=n.n.n.n:3200 works.

_____________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


_______________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.



_______________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to