Cant get modem to connect with 'chat' and 'pppd'

Cant get modem to connect with 'chat' and 'pppd'

Post by Kalgoorlie Assay Lab » Sat, 14 Aug 1999 04:00:00



I swear it's chat's problem.

I can get linux to connect using xisp and x-windows, not a worry. I can also
get it working by pressing activate on the Network configurator. I can get
my modem dialing into my ISP from the command line using minicom. I have the
right pot: cua0, ttyS0, and modem. (using /dev/modem works with x-windows
and minicom)

However, if I follow the How-to's and set up a pppd/chat script combination,
it will not work.

When executing the script, I can see that the ATZ command gets through...
the modem hangs up. Great. But then it makes no attempts to dial. No lights
flicker, no sound comes out. I tried running just chat without pppd to see
the output, and it runs... ATZ command is sent, then nothing else.

Connect script is:

pppd connect 'chat "" "ATZ" "" ATD 90917055 CONNECT "" ogin: login word:
password' /dev/modem 57600 modem

All the information is correct (except passord and login of course) But the
modem doesn't even seem to dial.

I've tried to echo commands to the modem:

echo ATZ > /dev/modem

I dont get an error message, but it doesnt do anything (Like it would in
DOS). Any help would be appreciated... WHY WONT IT WORK FROM THE COMMAND
LINE!!!!! *grrrrr*


 
 
 

Cant get modem to connect with 'chat' and 'pppd'

Post by Clifford Ki » Sat, 14 Aug 1999 04:00:00



: I swear it's chat's problem.

:)

: Connect script is:

: pppd connect 'chat "" "ATZ" "" ATD 90917055 CONNECT "" ogin: login word:
: password' /dev/modem 57600 modem

Maybe your problem is related to the fact that the space in ATD 90917055
causes 90917055 to be an chat expect string and so hangs chat.

--

/* I gave up on politics when no matter who I voted for, I regretted it.
 *    -- Pepper...and Salt, WSJ */

 
 
 

Cant get modem to connect with 'chat' and 'pppd'

Post by PsychoTro » Sun, 15 Aug 1999 04:00:00


Why write a script file?  KDE makes an auto-dialer and PPP starter for
Internet connections.

You could always use linuxconf to connect also.



> I swear it's chat's problem.

> I can get linux to connect using xisp and x-windows, not a worry. I can
also
> get it working by pressing activate on the Network configurator. I can get
> my modem dialing into my ISP from the command line using minicom. I have
the
> right pot: cua0, ttyS0, and modem. (using /dev/modem works with x-windows
> and minicom)

> However, if I follow the How-to's and set up a pppd/chat script
combination,
> it will not work.

> When executing the script, I can see that the ATZ command gets through...
> the modem hangs up. Great. But then it makes no attempts to dial. No
lights
> flicker, no sound comes out. I tried running just chat without pppd to see
> the output, and it runs... ATZ command is sent, then nothing else.

> Connect script is:

> pppd connect 'chat "" "ATZ" "" ATD 90917055 CONNECT "" ogin: login word:
> password' /dev/modem 57600 modem

> All the information is correct (except passord and login of course) But
the
> modem doesn't even seem to dial.

> I've tried to echo commands to the modem:

> echo ATZ > /dev/modem

> I dont get an error message, but it doesnt do anything (Like it would in
> DOS). Any help would be appreciated... WHY WONT IT WORK FROM THE COMMAND
> LINE!!!!! *grrrrr*



 
 
 

Cant get modem to connect with 'chat' and 'pppd'

Post by W.G. Unr » Sun, 15 Aug 1999 04:00:00



>Why write a script file?  KDE makes an auto-dialer and PPP starter for
>Internet connections.

Because they make assumptions about how the connection should be maade and are difficult to
debug if they do not work
 
 
 

1. trouble with pppd connect 'chat -f <chatscript>'

I get an error message when I try to run
pppd connect 'chat -f <chatscript>'
pppd error is "unknown command -f"

It's as if pppd is trying to accept -f as an argument, instead of chat.

I'm running Slackware96 using Linux kernel 2.0, just installed last
week.  I would appreciate any suggestions to solve this problem!


2. NFS exports under AIX 4.2.1 (world = /etc/hosts)

3. pppd 'chat' problems with modem.

4. ip addressing on linux box

5. 'chat' bug - can't connect to ISP

6. Trouble Installing HP LaserJet 4M under SOLARIS 2.2

7. pppd problem: SIGHUP after 'connect: ppp0 <--> /dev/modem'

8. Diald fifo problem

9. mgetty, pppd: What's the modem's connect speed?

10. Sending output and accepting input with 'chat/pppd'

11. Slow FTP 'gets', Fast 'puts'???

12. Getting unresolved symbols for 'new' and 'delete' operators

13. Multiple 'connect' on ONE 'socket'?