Forum Turris
Fórum Turris Nápověda

Milí majitelé routerů Turris,

toto fórum bylo 9. 12. 2016 zmrazeno a nahrazeno naším novým Turris fórem. Ještě chvíli bude dostupné k prohlížení, ale již zde není možné přispívat. Více informací naleznete v oznámení o uzavření fóra.


Dear Turris routers users,

this forum has been frozen on Dec 9th, 2016 and replaced by our new Turris forum. It will be read-only accessible for some time after. For more information, read the announcement about closing the forum.

Nahoru Téma Majitelé routerů / Gadgets / Using dongle with telnet
- - Od samm Dne 2015-07-15 23:04 Upraveno 2015-07-16 08:47 Hlasů 4
Hi,

I found that it is very easy to use and manage dongle with telnet using ser2net project.

To use it: install on OpenWRT:

opkg install ser2net

This is my configuration (/etc/ser2net.conf):

BANNER:banner:Welcome to the Jablotron gateway :) \r\n
OPENSTR:getversion:WHO AM I?\r\n
2001:raw:600:/dev/ttyUSB0:57600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS getversion banner


Then login to your router:


bash-3.2$ telnet 192.168.101.1 2001
Trying 192.168.101.1...
Connected to 192.168.101.1.
Escape character is '^]'.
Welcome to the Jablotron gateway :)

TURRIS DONGLE V1.4

[XXXXXXX] TP-82N INT:26.0�C LB:0

You can also type commands:

GET SLOT:01

SLOT:01 [xxxxxxx]


You can also specify text file to dump all commands from the ser2net daemon in the config

It also works on OSX, you will have to change port name and run ser2net with -u command line switch
Nadřazený - Od VeselovskyM Dne 2015-07-16 08:43
Great and simple.
Thanks
Nadřazený - - Od Gorole Dne 2015-07-24 18:33
hence I do not get it:

Then login to your router:

bash-3.2$ telnet 192.168.101.1 2001
Trying 192.168.101.1...
Connected to 192.168.101.1.
Escape character is '^]'.
Welcome to the Jablotron gateway :)

TURRIS DONGLE V1.4

[XXXXXXX] TP-82N INT:26.0�C LB:0

You can also type commands:

GET SLOT:01

SLOT:01 [xxxxxxx]

You can also specify text file to dump all commands from the ser2net daemon in the config

It also works on OSX, you will have to change port name and run ser2net with -u command line switch
Nadřazený - Od samm Dne 2015-07-24 21:52
Provide more details )
Nahoru Téma Majitelé routerů / Gadgets / Using dongle with telnet

Powered by mwForum 2.29.3 © 1999-2013 Markus Wichitill