[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange modem prob on pismo



Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:

> > Since it isn't the modem hardware, I'm guessing that I need a
> > different initialization string? However OS 9 doesn't seem to give any
> > useful way of finding what init string is being used.
> > 
> > Does anyone have suggestions as to:
> > 1) How to get the init string from OS 9
> 
> Look at the "Modem Scripts" in the MacOS system folder, and edit
> the one for this modem with a text editor.

OK, I mounted my mac partition and got the init string, but sadly it
didn't work. Same result:

Feb  3 19:33:43 amadeus pppd[11610]: pppd 2.4.1 started by root, uid 0
Feb  3 19:33:45 amadeus chat[11612]: abort on (BUSY)
Feb  3 19:33:45 amadeus chat[11612]: abort on (NO CARRIER)
Feb  3 19:33:45 amadeus chat[11612]: abort on (VOICE)
Feb  3 19:33:45 amadeus chat[11612]: abort on (NO ANSWER)
Feb  3 19:33:45 amadeus chat[11612]: send (AT&FL3E0W1Q0V1X4&C1&K3S95=1&D3S7=75S0=0+MS=11,1,300,33600^M)
Feb  3 19:33:46 amadeus chat[11612]: expect (OK)
Feb  3 19:33:47 amadeus chat[11612]: AT&FL3E0W1Q0V1X4&C1&K3S95=1&D3S7=75S0=0+MS=11,1,300,33600^M^M
Feb  3 19:33:47 amadeus chat[11612]: OK
Feb  3 19:33:47 amadeus chat[11612]:  -- got it 
Feb  3 19:33:47 amadeus chat[11612]: send (ATDT172226^M)
Feb  3 19:33:47 amadeus chat[11612]: expect (CONNECT)
Feb  3 19:33:47 amadeus chat[11612]: ^M
Feb  3 19:33:52 amadeus chat[11612]: ^M
Feb  3 19:33:52 amadeus chat[11612]: NO DIALTONE^M
Feb  3 19:34:32 amadeus chat[11612]: alarm
Feb  3 19:34:32 amadeus chat[11612]: Failed
Feb  3 19:34:32 amadeus pppd[11610]: Connect script failed
Feb  3 19:34:33 amadeus pppd[11610]: Exit.


> > 3) Other possible causes solutions?
> 
> A common problem is that the modem takes some time to power up (up
> to 2 seconds). It powers up when the port is opened. However, the
> dialers tend to usually expect that the modem replies to the first
> "AT" command right away and thus will timeout.
> 
> You can play with the dialer timeout values, that usually helps.

I'm not using a dialer, though, I'm just using 'pon' and editing
/etc/chatscripts/provider. Also, my modem works on my old phone line
just not the new one.

I also changed the script to *not* look for CONNECT, but instead to
just pause 10 seconds and succeed (letting pppd do its thing), but
that didn't work either.

Without the modem speaker I can't hear what's going on, either.

I'm pretty stumped :-(

Any help appreciated.
jas.



Reply to: