[Gllug] Modem Commands
Iain Conochie
iain at thargoid.co.uk
Sat Feb 9 18:10:56 UTC 2002
Hiya guys,
I have been playing around with various AT modem command to get the line
speed logged in /var/log/messages, but so far without success.
here is the line I am using...
"" "AT&FH0X4W2"
apparently, X4 should give call progress result codes, connectin speeds
etc, and W2 should givemodem to modem connect speeds. However, it
doesn't!!!!
see sample from /var/log/mesages
Feb 9 18:03:34 rialto chat[602]: abort on (NO DIALTONE)
Feb 9 18:03:34 rialto chat[602]: send (AT&FH0W2^M)
Feb 9 18:03:34 rialto chat[602]: expect (OK)
Feb 9 18:03:34 rialto chat[602]: AT&FH0W2^M^M
Feb 9 18:03:34 rialto chat[602]: OK
Feb 9 18:03:34 rialto chat[602]: -- got it
Feb 9 18:03:34 rialto chat[602]: send (atdtxxxxxxxxxxx^M)
Feb 9 18:03:34 rialto chat[602]: timeout set to 75 seconds
Feb 9 18:03:34 rialto chat[602]: expect (CONNECT)
Feb 9 18:03:34 rialto chat[602]: ^M
Feb 9 18:04:04 rialto chat[602]: atdtxxxxxxxxxxxxx^M^M
Feb 9 18:04:04 rialto pppd[600]: Serial connection established.
Feb 9 18:04:04 rialto pppd[600]: Connect: ppp0 <--> /dev/ttyS1
Feb 9 18:04:04 rialto chat[602]: CONNECT
Feb 9 18:04:04 rialto chat[602]: -- got it
But no speed after connect
What is the command I need to do this???
Cheers,
Monkey
Linux phoenix 2.4.9
6:01pm up 3 days, 3:09, 1 user, load average: 0.00, 0.00, 0.00
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list