Author Topic: Modem Dialup Timeout- Help?  (Read 2575 times)

RyczBrnz

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://
Modem Dialup Timeout- Help?
« on: June 09, 2004, 04:41:13 am »
Posted this in the 5x00 general discussion forum, but realized that it might be better suited for this area-  sorry, I\'m a newbie here...

Hi all-

Running box-stock Sharp ROM 2.38 on a 5500, and have installed a Socket CF 56k modem.

I\'m having trouble connecting to my local ISP via my home phone line with the Z- the same one I\'m using right now with my desktop PC to post this message so I know the phone line can work for data.

The Z can connect on other phone lines using the CF modem, in fact the second line here in my house works just fine. However, I\'ve found other places where it doesn\'t work.

I\'ve tried playing with the settings in the standard Internet Wizard- speeds, timeouts, flow control. No good. I always get a \"Timed Out\" error after about 60 seconds.

I listened in on the phone line to check on progress,and the dialing is OK, the remote modem answers, but the two don\'t seem to be able to link up.  (I\'ve tried disconnecting all my phone equipment at the telco\'s network interface outside the house and connecting direct from there- still no good)

I live on a country road where dialup speeds are generally pretty slow (24000 is not uncommon, although I often can do 33600).

I dropped a note to Socket, and no response yet. I called my local telco and they said they could send a tech- for $91 if they determine the line is \"OK.\" \"OK\" to them means you can make a voice call- no guarantees for data. So nix that idea.

I\'m wondering if there are any settings for the ppp or chap (or any of the scripts) that I can manually change to ask the modem to keep trying longer than that 60 seconds- just to see if I can force it to link up.

Any ideas or hints appreciated!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Modem Dialup Timeout- Help?
« Reply #1 on: June 09, 2004, 05:11:07 am »
Manually edit the dialup (chat & pppd all in one) script in /etc/ppp/peers/

If you need help, post the script, etc.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

RyczBrnz

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://
Modem Dialup Timeout- Help?
« Reply #2 on: June 11, 2004, 08:46:17 pm »
Quote
Manually edit the dialup (chat & pppd all in one) script in /etc/ppp/peers/

If you need help, post the script, etc.


Si


Problem solved----  saga outline follows!

I had looked at the files in peers, but had been looking at the wrong part of the file.  I was looking at the \"connect delay\" term, which was consistant with what I had changed it to in the GUI app, but changing this term didn\'t do any good....  the connection script wasn\'t getting this far before timing out.

I looked at some of the other scripts, including the options.ttyS3 file, and tried #ing out the \"connect delay\" line in that file (no good), also considered messing with the chat.script.tmp file, but couldn\'t find a good reference to assist me.

I have limited experience in playing with ppp script files (run a pretty automatically set-up RH8 Linux box here), so didn\'t want to get in over my head.

Before I posted the scripts I took one more look at one of the /etc/ppp/peers files and saw the way the script was calling chat.  It had:

connect \'/usr/sbin/chat -s -v ABORT \"NO CARRIER\"  ......

I did a little research on chat, and added -t 90 to the switches for chat (first line is now:

connect \'/usr/sbin/chat-s -v -t 90 .....)

, which allows 90 seconds for the modems to get their act together and link up.  Voila!   It works fine.  Only problem was that I have to go in and manually edit that file any time I change for example the phone number for the dialup... the script defaults back to the \"switchless\" version.

Anyway, thanks for the offer of help.  It\'s been a learning experience!!

Rich