[ale] How can I use pppd over a 7E1 connection?

Geoffrey Myers geof at denali.is.net
Fri Jun 14 04:53:03 EDT 1996


}If anyone can give me some hints on this it
}would be much appreciated.
}
}I'm trying to establish a PPP connection to
}an HP-UX box and all of it's modems are
}set to use even parity (7/1).  When I try
}to use pppd/chat to log in I see that I
}receive either nothing or garbage for the
}login prompt.  When I use "cu -e" I have no
}problems logging in (to my regular account).
}Also, pppd doesn't seem to have any options
}to set the parity of the connection.

The following excerpt from the PPP howto tells me that you will not be able
to do this.  Take particular note of the items highlighted via the '^'.
By the way, I've just presented a small portion of this doc, you may want
to check it out further:

  o  The line is not "eight bit clean". This means that you need to have
     eight data bits, no parity, and one stop bit. The PPP link
     absolutely requires eight data bits.

     The pppd software will automatically put the line into eight data
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     bits, no parity, and one stop bit. The remote must match this
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     configuration or framing and parity errors may occur.
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     PPP will escape characters. It is not possible for it to escape
     bits as kermit does. PPP will not work with a seven bit
     communications link. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     ^^^^^^^^^^^^^^^^^^^^

     There is a compile option in the PPP.c driver (part of the kernel)
     called CHECK_CHARACTERS which will include additional code in the
     driver to provide additional checking on the input characters. It
     will be able to tell you if the parity was enabled or if the remote
     system always sent the characters as seven bits.

}
}Any alternatives or other suggestions?

I can't help you here.

}
}Thanks
}-- 
}Chris Milam.........milam at ahpook.atl.ga.us
}"The Planet drifts to random insect doom."

-- 
Until later:
Geoffrey Myers   geof at denali.is.net   Unix.Guru.Dude at worldnet.att.net
	http://www.ticllc.net/~geof  or http://denali.is.net/~geof

	Opinions expressed by me are mine, all mine, only mine.....






More information about the Ale mailing list