Mailing List Archive

Unable to see console output
I use this config in order to access serial cable attached to serial2usb adapter on my conserver server:
default * {
        # The '&' character is substituted with the console name
        logfile /var/consoles/&;
        rw sysadmin;  # use the group defined above
        master localhost;
}

default usb2serial {
        type device;
        device /dev/ttyUSB.;
        devicesubst .=Pd;
        portbase -1;
        portinc 1;
        host none;
        baud 9600;
        parity none;
}

console usb0 { include usb2serial; port 1; }

When connecting remotely to conserver and run call usb0 I can see only characters I am typing not console responses. All console output is going directly to log file.
What I am doing wrong? I want to ave interactive communication with my device connected through serial cable

Thank you,
Mike
Re: Unable to see console output [ In reply to ]
Are you using the "console" client? By saying "call usb0", it sounds like you're using telnet and tying to talk the conserver protocol directly. If so, yeah, you haven't done all that's required. I suggest looking for the client and using that - *waaaaaay* easier for normal cases. Only if you need some custom interaction (programmatically - an even then...) should you be avoiding the client.

If you are using the client, I'll need more details.

Bryan

> On Apr 21, 2014, at 12:18 PM, mikhail mamaenko <mmamaenko@yahoo.com> wrote:
>
> I use this config in order to access serial cable attached to serial2usb adapter on my conserver server:
> default * {
> # The '&' character is substituted with the console name
> logfile /var/consoles/&;
> rw sysadmin; # use the group defined above
> master localhost;
> }
>
> default usb2serial {
> type device;
> device /dev/ttyUSB.;
> devicesubst .=Pd;
> portbase -1;
> portinc 1;
> host none;
> baud 9600;
> parity none;
> }
>
> console usb0 { include usb2serial; port 1; }
> When connecting remotely to conserver and run call usb0 I can see only characters I am typing not console responses. All console output is going directly to log file.
> What I am doing wrong? I want to ave interactive communication with my device connected through serial cable
>
> Thank you,
> Mike
>
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users