On Tue, Jun 02, 2020 at 12:24:30PM -0000, Lukasz Zurek wrote:
Hi,
I have problem to setup ser2net daemon with yawl configuration file. I am looking for some description or manual explaning how to do it.
There is a yaml configuration file man page (ser2net.yaml.5). You can
run "man ser2net.yaml" if it is installed, or
"nroff -man ser2net.yaml.5 | less -r" from the source code.
If the information you need is not there, then ask your question, and
I'll get the info added to the man page.
Hello Corey,
I found what I was looking for but when I start ser2net I receive an error "Main mapping requires an anchor for the name on line XX column X". I have followed simplest configuration based on man page:
On Tue, Jun 02, 2020 at 02:23:22PM -0000, Lukasz Zurek wrote:
Hello Corey,
I found what I was looking for but when I start ser2net I receive an error "Main mapping requires an anchor for the name on line XX column X". I have followed simplest configuration based on man page:
Thanks for your replay. I have managed to start ser2net with yaml configuration. I have however other question about Admin Interface - can you tell me how can I access this mode? How does it work or where can I find more information how to use it?
Cheers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Wed, Jun 03, 2020 at 11:55:20AM -0000, Lukasz Zurek wrote:
Thanks for your replay. I have managed to start ser2net with yaml configuration. I have however other question about Admin Interface - can you tell me how can I access this mode? How does it work or where can I find more information how to use it?
That would be in the ser2net.8 man page, under ADMIN INTERFACE. There
is also some configuration information in ser2net.yaml.5 under ADMIN
CONNECTIONS.
-corey
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have problem to setup ser2net daemon with yawl configuration file. I am looking for some description or manual explaning how to do it.
Cheers.
On Tue, Jun 02, 2020 at 12:24:30PM -0000, Lukasz Zurek wrote:
There is a yaml configuration file man page (ser2net.yaml.5). You can
run "man ser2net.yaml" if it is installed, or
"nroff -man ser2net.yaml.5 | less -r" from the source code.
If the information you need is not there, then ask your question, and
I'll get the info added to the man page.
-corey
Hello Corey,
I found what I was looking for but when I start ser2net I receive an error "Main mapping requires an anchor for the name on line XX column X". I have followed simplest configuration based on man page:
default:
name: speed
value: 115200
class: serialdev
connection:
name: connection to /dev/ttyACM0
accepter: tcp,50025
connector: serialdev,/dev/ttyACM0,local
Any thoughts what I might be doing wrong?
Cheers.
On Tue, Jun 02, 2020 at 02:23:22PM -0000, Lukasz Zurek wrote:
After your email, I looked and found a bunch of errors in the
documentation :(. I've fixed them. This is leftover from an old design
that I changed.
Basically, the "name:" thing is gone, and you need to set up a YAML alias
after connection, something like:
connection: &ttyACM0
accepter: tcp,50025
connector: serialdev,/dev/ttyACM0,local
The YAML alias becomes the name in the admin interface.
-corey
Thanks for your replay. I have managed to start ser2net with yaml configuration. I have however other question about Admin Interface - can you tell me how can I access this mode? How does it work or where can I find more information how to use it?
Cheers.
On Wed, Jun 03, 2020 at 11:55:20AM -0000, Lukasz Zurek wrote:
That would be in the ser2net.8 man page, under ADMIN INTERFACE. There
is also some configuration information in ser2net.yaml.5 under ADMIN
CONNECTIONS.
-corey
According to man page I have added following entry to ser2net.yaml configuration file:
admin: &admin
accepter: tcp,50000
I am able to connect to that port but when I try to type ie. showport [50050] nothing happens.
Last edit: Lukasz Zurek 2020-06-03
On Wed, Jun 03, 2020 at 01:10:32PM -0000, Lukasz Zurek wrote:
I just did the following and it worked for me:
admin:
accepter: telnet,tcp,2000
You need to ident accepter, per yaml. I'l probably need the whole
config file to see if something else is wrong.