[EMAIL PROTECTED] writes:

> This is not networking in the IP sense, but:
> 
> I would like to access a router over a null modem serial cable.  I
> have done this using minicom and the like, but I wonder if there is a
> more straightforward way.  I'd love to be able to do it from within an
> emacs buffer.  I would also like to use a perl script to talk to the
> router over the null modem serial cable.

Sheeesh, emacs is nice for reading mail, and other jobs that require
editing.  But for configuring routers... this is certainly the first
time I am hearing something like this.

Seriously now.  There should be some programs that provide you with a
"raw" connection over a serial line.  But minicom works fine for me, and 
a couple of friends that use it as the console of several CISCO routers.

> What is the easiest way to do this?

In perl-talk, this would be something like:

        open(STDIN, "</dev/modem");
        open(STDOUT, ">/dev/modem");

and you're ready to use standard "print" and "<STDIN>" statements to
play with your modem.

-- 
Giorgos Keramidas, <[EMAIL PROTECTED]>
"What we have to learn to do, we learn by doing." [Aristotle]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to