Re: Serial admin console program (minicom)

2008-09-24 Thread Tom Buskey
On Tue, Sep 23, 2008 at 5:56 PM, Michael ODonnell <
[EMAIL PROTECTED]> wrote:

>
> 
> Here (IIRC) is how I turn a machine into a serial-port server:
>
>   stty 115200 raw   
>   socket -l -s  /dev/ttyS1 2>&1
>
> ...after which anybody who telnets to port  on that
> machine is automatically connected to /dev/ttyS1.
> 
>
>
I've been using conserver for serial port servers.  It's a nice wrapper that
logs the output and allows multiple users to view each port with only 1
controlling it.

I have 64 ports from 4 different consoles feeding it now.
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Serial admin console program (minicom)

2008-09-23 Thread Michael ODonnell


Here (IIRC) is how I turn a machine into a serial-port server:

   stty 115200 raw   /dev/ttyS1 2>&1

...after which anybody who telnets to port  on that
machine is automatically connected to /dev/ttyS1.


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Serial admin console program (minicom)

2008-09-23 Thread Michael ODonnell


minicom works great and is not by nature modem-specific,
though the default config does have lots of modem init strings
all helpfully rigged to spew a bunch of stuff down the wire
to confuse hell out of whatever it is you're talking to.

Hand editing of minicom config files is generally not
recommended but if you write the following file (there should
be no blank lines in the file and don't include the SNIP lines)
into /etc/minirc.dfl you will end up with minicom rigged by
default to communicate via /dev/ttyS0 at 115200 baud 8-N-1
with no HW handshake and no modem init strings:

##SNIP#
# Machine-generated file - use "minicom -s" to change parameters.
pr port /dev/ttyS0
pu baudrate 115200
pu bits 8
pu parity   N
pu stopbits 1
pu minit
pu mreset
pu mdialpre
pu mdialsuf
pu mdialpre2
pu mdialsuf2
pu mdialpre3
pu mdialsuf3
pu mconnect
pu mnocon1
pu mnocon2
pu mnocon3
pu mnocon4
pu mhangup
pu mdialcan
pu rtscts   No
##SNIP#


Alternatively, you could write that to /etc/minirc.fubar and
then start minicom as:

   minicom fubar

...to get the same result with out changing the default config.

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/