> установил тут коннект м-ду двумя девайсами по достаточно экзотическому
> каналу...
> в общем есть связь туда
> и связь обратно (на обоих девайсах - Linux)
> на хосте это выглядит как fifo_in и fifo_out
> 
> вопрос как поднять ррр между двумя хостами, если м-ду ними есть два
> таких канала?
> pppd кормится pty
> я вот только чего-то не врублю, как сюда воткнуться с моими пайпами?

man pppd:
...
       notty  Normally, pppd requires a  terminal  device.   With
              this option, pppd will allocate itself a pseudo-tty
              master/slave pair and use the slave as its terminal
              device.  Pppd will create a child process to act as
              a `character shunt' to transfer characters  between
              the  pseudo-tty  master  and its standard input and
              output.  Thus pppd will transmit characters on  its
              standard output and receive characters on its stan-
              dard input even if they are not  terminal  devices.
              This  option increases the latency and CPU overhead
              of transferring data over the ppp interface as  all
              of  the  characters  sent  and  received  must flow
              through the character shunt process.   An  explicit
              device  name  may  not  be  given if this option is
              used.
...
       pty script
              Specifies  that the command script is to be used to
              communicate rather than a specific terminal device.
              Pppd will allocate itself a pseudo-tty master/slave
              pair and use the slave as its terminal device.  The
              script  will  be  run  in  a child process with the
              pseudo-tty master as its standard input and output.
              An  explicit  device  name may not be given if this
              option is used.  (Note: if  the  record  option  is
              used  in  conjuction with the pty option, the child
              process will have pipes on its standard  input  and
              output.)

...

Нужно что-то из этого

Ответить