Re: Modem/PPP Problems
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 20 Aug 1999, Kelly Lesperance wrote:
> PPP is setup and configured, and it works fine, only the connect speed is
> never reported. If I look in /var/log/messages it just says "CONNECT" with
> no speed. I've tried a bunch of init strings (Including the one I use in
> Windows for the same modem), but nothing seems to work. The modem I'm using
> is a USRobotics Sportster 56K External Data/Fax. Ultimately, I'd like for
> connect speed as well as the local and remote IPs to be echoed to the
> console when a connection is established. Thanks,
As near as i can tell (Got the modem as "not intended for individual sale
;) i have a USRobotics Sportster 56K Internal Data/Fax. When connecting,
these lines appear in the log:
Aug 20 19:36:30 anomie chat[326]: expect (CONNECT)
Aug 20 19:36:30 anomie chat[326]: ^M
Aug 20 19:36:50 anomie chat[326]: ATDT6869855^M^M
Aug 20 19:36:50 anomie chat[326]: CONNECT
Aug 20 19:36:50 anomie chat[326]: -- got it
Aug 20 19:36:50 anomie chat[326]: send (^M)
Aug 20 19:36:50 anomie chat[326]: expect (ogin:)
Aug 20 19:36:50 anomie chat[326]: 49333/ARQ/V90/LAPM/V42BIS^M
Chat breaks as soon as it sees CONNECT, and prints the rest of the
response later on.
What i did was to add "REPORT CONNECT" to the top of my
/etc/chatscripts/provider, and edited /etc/ppp/peers/provider to have chat
called with a '-r /var/log/ppp.connect' option. I then had to touch
/var/log/ppp.connect and make it so group dip could write it (or, you
could just use /tmp instead of /var/log). An ip-up.d script later takes
that and writes the speed to "/var/run/ppp-speed.$PPP_IFACE". In your
case, you could write to the console instead of a file.
And in case you want to know, my init string is ATQ0 V1 E1 L0 S0=0 &C1 &D2
S11=55 +FCLASS=0 [If you connect to your modem with minicom, sending AT$
or AT&$ should give you help]
- --
finger for PGP public key.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBN74Q+r7M/9WKZLW5AQH9ygP+LFaCQytdGZtV5yN+sp4LDvkFomGQiUYc
oINkUx+3g+HUxSZ0aEblLWSX2RFCGfVK3LnkKBmvlUsgqTDXfdXzOADG0O+EFEmR
ziNNXNxUFgYj9M032nrIOdXvUI9C49WdfgVjxJdAP/XZ9xk8uwjtxAkcHUNGgEH8
4eAGNYoh4d8=
=arVW
-----END PGP SIGNATURE-----
Reply to: