Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* New Modem frustration
@ 1998-12-21  7:01 Ric Tibbetts
  1998-12-21  8:19 ` Bob Taylor
  0 siblings, 1 reply; 5+ messages in thread
From: Ric Tibbetts @ 1998-12-21  7:01 UTC (permalink / raw)
  To: axp-list@redhat.com

Hi all;
	I'm in the process of pulling out my old internal modem, and replacing
it with a new - faster external model. (The new one is a 3com/USR 56k External
FAX Modem). I've been using the 33.6 internal version of this for years with no
trouble. No such luck with the 56k model... (oh.. setting it up on a
AlphaStation 200/233, running RedHat 5.1).

	Here's what's up:
	If I open minicom, I can dial, and establish a connection. Then with a
flip of alt-q it's out of there, and a quick pppd command, and the ppp link is
up and running. Fair enough. The modem works.
	Now I'm trying to get the scripts to work, and there's no joy at all.
(I also tried netcfg, and kppp with similar results as the following).
	Using a script to call chat, nothing happens! It doesn't dial. Looking
at the /var/log/messages, I get the following:

	...send (rAT^M)
	...expect (OK)
	...alarm
	...send (+++)
	...expect (OK)
	...alarm
	...connect script failed

	The chat script looks like:

/usr/sbin/chat -v
	TIMEOUT		3				\
	ABORT			'\nBUSY\r'			\
	ABORT			'\nNO ANSWER\r'		\
	ABORT			'\rRINGING\r\n\rRINGING\r'	\
	''			\rAT				\
	'OK-+++\c-OK'		ATH0				\
	TIMEOUT		30				\
	OK			ATDT$TELEPHONE		\
	CONNECT		''				\
	ogin:--ogin:		$ACCOUNT			\
	assword:		$PASSWORD	

(Look familiar?)

	Obviously, it's not getting the "expects" it should. But all looks
normal in minicom...

	Any light will be greatly appreciated!

			Thanks!

	Ric


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New Modem frustration
  1998-12-21  7:01 Ric Tibbetts
@ 1998-12-21  8:19 ` Bob Taylor
  1998-12-21  8:45   ` Ric Tibbetts
  0 siblings, 1 reply; 5+ messages in thread
From: Bob Taylor @ 1998-12-21  8:19 UTC (permalink / raw)
  To: axp-list

In message <98122023145800.01573@darkstar.tibbetts.net>, Ric Tibbetts writes:
> Hi all;
> 	I'm in the process of pulling out my old internal modem, and replacing
> it with a new - faster external model. (The new one is a 3com/USR 56k Externa
>l
> FAX Modem). I've been using the 33.6 internal version of this for years with 
>no
> trouble. No such luck with the 56k model... (oh.. setting it up on a
> AlphaStation 200/233, running RedHat 5.1).
> 
> 	Here's what's up:
> 	If I open minicom, I can dial, and establish a connection. Then with a
> flip of alt-q it's out of there, and a quick pppd command, and the ppp link i
>s
> up and running. Fair enough. The modem works.
> 	Now I'm trying to get the scripts to work, and there's no joy at all.
> (I also tried netcfg, and kppp with similar results as the following).
> 	Using a script to call chat, nothing happens! It doesn't dial. Looking
> at the /var/log/messages, I get the following:
> 
> 	...send (rAT^M)
> 	...expect (OK)
> 	...alarm
> 	...send (+++)
> 	...expect (OK)
> 	...alarm
> 	...connect script failed
> 
> 	The chat script looks like:
> 
> /usr/sbin/chat -v
> 	TIMEOUT		3				\
> 	ABORT			'\nBUSY\r'			\
> 	ABORT			'\nNO ANSWER\r'		\
> 	ABORT			'\rRINGING\r\n\rRINGING\r'	\
> 	''			\rAT				\
> 	'OK-+++\c-OK'		ATH0				\
> 	TIMEOUT		30				\
> 	OK			ATDT$TELEPHONE		\
> 	CONNECT		''				\
> 	ogin:--ogin:		$ACCOUNT			\
> 	assword:		$PASSWORD	
> 
> (Look familiar?)
> 
> 	Obviously, it's not getting the "expects" it should. But all looks
> normal in minicom...
> 
> 	Any light will be greatly appreciated!

I'm not using a 56k modem (USRobotics V.Everything). It's been working
since I first installed Linux (Red Hat 3.0.3).

	/usr/sbin/chat  \
		ABORT BUSY \
		ABORT "NO CARRIER" \
		ABORT "NO ANSWER" \
		ABORT "NO DIALTONE" \
		ABORT ERROR \
		REPORT CONNECT \
		"" AT\&F1 \
		OK ATDT$phone \
		CONNECT "" \
		ogin:--ogin: yourname \
		word: \\qyourpassword

Bob


-- 
+---------------------------------------------------------------+
| Bob Taylor             Email: brtaylor@inreach.com            |
|---------------------------------------------------------------|
| Like the ad says, at 300 dpi you can tell she's wearing a     |
| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you   |
| can tell it's painted on. I suppose at 2400 dpi you can tell  |
| if the paint is giving her a rash. (So says Joshua R. Poulson)|
+---------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New Modem frustration
  1998-12-21  8:19 ` Bob Taylor
@ 1998-12-21  8:45   ` Ric Tibbetts
  0 siblings, 0 replies; 5+ messages in thread
From: Ric Tibbetts @ 1998-12-21  8:45 UTC (permalink / raw)
  To: axp-list

That did the trick. As usual, I was getting too fancy with all the newlines, &
returns, etc..  Cleaning it up (as in below "THANKS BOB!!!") did the trick!

Next challenge.. Move my firewall off of my Intel box, onto the Alpha... 
Tomorrow...

	Thanks again Bob!  I was ready to throw the whole thing in the bay!

			Ric


 >> 	Obviously, it's not getting the "expects" it should.
But all looks >> normal in minicom...
>> 
>> 	Any light will be greatly appreciated!
>
>I'm not using a 56k modem (USRobotics V.Everything). It's been working
>since I first installed Linux (Red Hat 3.0.3).
>
>	/usr/sbin/chat  \
>		ABORT BUSY \
>		ABORT "NO CARRIER" \
>		ABORT "NO ANSWER" \
>		ABORT "NO DIALTONE" \
>		ABORT ERROR \
>		REPORT CONNECT \
>		"" AT\&F1 \
>		OK ATDT$phone \
>		CONNECT "" \
>		ogin:--ogin: yourname \
>		word: \\qyourpassword
>
>Bob
>
>
>-- 
>+---------------------------------------------------------------+
>| Bob Taylor             Email: brtaylor@inreach.com            |
>|---------------------------------------------------------------|
>| Like the ad says, at 300 dpi you can tell she's wearing a     |
>| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you   |
>| can tell it's painted on. I suppose at 2400 dpi you can tell  |
>| if the paint is giving her a rash. (So says Joshua R. Poulson)|
>+---------------------------------------------------------------+
>
>
>-- 
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New Modem frustration
@ 1998-12-21 10:12 AfterBurn
  0 siblings, 0 replies; 5+ messages in thread
From: AfterBurn @ 1998-12-21 10:12 UTC (permalink / raw)
  To: axp-list

Actually, it does look familiar, adn im not pointing to the script, but to
the error messages. I had the same for an external isdn modem and a 56k
analog modem. Bear with me, ill have to dig for something for you to maybe
give you a solution.

-AB-

>Hi all;
> I'm in the process of pulling out my old internal modem, and replacing
>it with a new - faster external model. (The new one is a 3com/USR 56k
External
>FAX Modem). I've been using the 33.6 internal version of this for years
with no
>trouble. No such luck with the 56k model... (oh.. setting it up on a
>AlphaStation 200/233, running RedHat 5.1).
>
> Here's what's up:
> If I open minicom, I can dial, and establish a connection. Then with a
>flip of alt-q it's out of there, and a quick pppd command, and the ppp link
is
>up and running. Fair enough. The modem works.
> Now I'm trying to get the scripts to work, and there's no joy at all.
>(I also tried netcfg, and kppp with similar results as the following).
> Using a script to call chat, nothing happens! It doesn't dial. Looking
>at the /var/log/messages, I get the following:
>
> ...send (rAT^M)
> ...expect (OK)
> ...alarm
> ...send (+++)
> ...expect (OK)
> ...alarm
> ...connect script failed
>
> The chat script looks like:
>
>/usr/sbin/chat -v
> TIMEOUT 3 \
> ABORT '\nBUSY\r' \
> ABORT '\nNO ANSWER\r' \
> ABORT '\rRINGING\r\n\rRINGING\r' \
> '' \rAT \
> 'OK-+++\c-OK' ATH0 \
> TIMEOUT 30 \
> OK ATDT$TELEPHONE \
> CONNECT '' \
> ogin:--ogin: $ACCOUNT \
> assword: $PASSWORD
>
>(Look familiar?)
>
> Obviously, it's not getting the "expects" it should. But all looks
>normal in minicom...
>
> Any light will be greatly appreciated!
>
> Thanks!
>
> Ric
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New Modem frustration
@ 1998-12-21 16:43 Paul B. Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Paul B. Brown @ 1998-12-21 16:43 UTC (permalink / raw)
  To: axp-list@redhat.com; +Cc: Ric Tibbetts

Ric,

It looks like you are forgetting to initialize the modem before dialing.

This is a line in your chat script:

	OK		ATDT$TELEPHONE			\

This is a line in mine:

	OK		ATE1Q0S0=0M0DT$TELEPHONE	\

I added the M0 piece because I don't like to hear the modem dial or
connect.  Hope this helps . . . .  :-)

Paul

---------------------------------------------------------------------------
Paul B. Brown                          pbrown@btechnet.com
President
Brown Technologies Network, Inc.       http://www.btechnet.com/

Unix Systems Administration            "Sailing is a state of mind . . . ."
---------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-12-21 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-21 16:43 New Modem frustration Paul B. Brown
  -- strict thread matches above, loose matches on Subject: below --
1998-12-21 10:12 AfterBurn
1998-12-21  7:01 Ric Tibbetts
1998-12-21  8:19 ` Bob Taylor
1998-12-21  8:45   ` Ric Tibbetts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox