On Sun, 29 Jul 2012, in the Usenet newsgroup comp.protocols.ppp, in article
<jv2pv7$ovk$
1...@news.datemas.de>,
jid...@jidanni.org wrote:
>Gentlemen, this works perfectly
># pppd /dev/ttyS0 user udn defaultroute noaccomp noauth nopersist \
>usepeerdns 115200 connect 'chat -v -f /etc/chatscripts/generic -T
> 40508888'
OK - looks normal, but why the noaccomp noauth nopersist (shouldn't
be needed)?
>Alas when I instead use /dev/ttyUSB0 I often get
>"Couldn't get channel number: Input/output error".
1. /dev/ttyS0 is (as you know) an RS-232 serial port
2. /dev/ttyUSB0 doesn't exist on this system - hald problems? There
is a series of /dev/usb* but not wanted
3. ls -l /dev/ttyACM*
4. Once that's working, up the port speed from 115200 to 230400
>I.e., how can I tighten up some options so my serial port adapter
>succeeds just like a real serial port?
Is this an actual USB modem, or a USB-RS-232 adapter? In my case,
this is a US Robotics 5637 USB modem, and all I had to change was
the device call (from /dev/ttyS2 to /dev/ttyACM0). I up'ed the port
speed later. In the mean time, I'm using exactly the same basic
script that I've been using since... ppp-2.1.2d in late 1994.
>Yes I have ADSL, but I want to use my 56K modem as a backup.
When using the modem, down the default route to the ADSL link. The
pppd daemon will want the peer to authenticate to you if a default
exists, and the "stock" pppd will not replace a pre-existing default.
(SUSE among others added a "replacedefaultroute" option to bypass
the latter restriction - but it makes for much confusion).
Old guy