kermit zur Verbindung mit seriellen Geräten, (serial ttyS0)
Beispiel:
$ kermit Linux Kermit>set modem type none Linux Kermit>set line /dev/ttyS0 Linux Kermit>set speed 9600 /dev/ttyS0, 9600 bps Linux Kermit>connect Connecting to /dev/ttyS0, speed 9600 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ?Carrier required but not detected. *********************************** Hint: To CONNECT to a serial device that is not presenting the Carrier Detect signal, first tell C-Kermit to: SET CARRIER-WATCH OFF *********************************** Linux Kermit>set carrier-watch off Linux Kermit>connect Connecting to /dev/ttyS0, speed 9600 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- <beim anschalten des webthermomethers noch ein x drücken> IP no.+<ENTER>: 192.168.136.6 IP no.+<ENTER>: FAIL 192.168.136.001,255.000.000.000,000.000.000.000-1+w0 IP no.+<ENTER>: IP no.+<ENTER>: 193.192.136.006 IP no.+<ENTER>: 192.168.136.006
Beispiel2:
> kermit Linux Kermit>set line /dev/ttyS0 <------------ Linux Kermit>set speed 115200 <------------ /dev/ttyS0, 115200 bps Linux Kermit>show communication Communications Parameters: Line: /dev/ttyS0, speed: 115200, mode: local, modem: hayes-2400 Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: xon/xoff, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..ttyS0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): On Dataset Ready (DSR): Off Clear To Send (CTS): On Ring Indicator (RI): Off Data Terminal Ready (DTR): On Request To Send (RTS): On Type SHOW DIAL to see DIAL-related items. Type SHOW MODEM to see modem-related items. Linux Kermit>connect <-------------- Connecting to /dev/ttyS0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Connecting to /dev/ttyS0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- Welcome! Choose a login for the following features: -Initial IP configuration: "config". -Unblock currently blocked users: "unblock". 192.168.42.63 login: config IP autoconfiguration (none/dhcp/bootp) [none]: none IP [192.168.42.63]: 192.168.9.5 NetMask [255.255.254.0]: 255.255.255.0 Gateway (0.0.0.0 for none) [192.168.42.1]: 193.168.9.5
Linux Kermit> Linux Kermit>q Closing /dev/ttyS0...OK
Seit dem mir ein Kollege den Tip gab, dass man mit dem Program Screen sich auch auf Serielle Ports hängen kann, habe ich nichts anderes mehr verwendet.
gilt für alle Tipps, Tricks & Spickzettel:
dies sind einfache, teils banale Notizen für meinen persönlichen Gebrauch,
die hier eher zufällig auch öffentlich lesbar sind
(vielleicht hilft es ja jemandem weiter). Verwendung auf eigene Gefahr
Fehler-Hinweise, Dankesschreiben , etc. bitte an: web.21@unixwitch.de
weitere Tools / Spickzettel