Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 1998 10:14:29 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        larry_nilsen <larry_nilsen@eee.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Warning:Dial Modem:dial failed
Message-ID:  <19981224101429.A36927@scientia.demon.co.uk>
In-Reply-To: <3681D354.D89E1A2@eee.org>
References:  <3681D354.D89E1A2@eee.org>

next in thread | previous in thread | raw e-mail | index | archive | help
larry_nilsen wrote:

> heres what my ppp.log says:

> tun0 chat: Sending: AT^M
> tun0 chat: Expecting: OK-AT-OK
> tun0 chat: Wait for(5):OK
> tun0 chat: Cant get (5) <-- how can i fix this?
> tun0 chat: Sending :AT^M
> tun0 chat: Wait for (5) :OK
> tun0 chat: Cant get (5)
> tun0 :Phase: Modem: Connect time :10 sec:

That looks like your modem isn't responding. Try this as root

type "ppp eee" (starts in interactive mode)
type "term" (talk to modem directly)
type "AT" (your modem should say OK after this)
type "~." then "quit" to get out of PPP

eg,

root@scientia# ppp demon
Working in interactive mode
Using interface: tun0
ppp ON scientia> term
deflink: Entering terminal mode on /dev/cuaa2
Type `~?' for help
AT
OK
            <-- type ~. here, but it doesn't show on screen
ppp ON scientia> quit
root@scientia# 

If your modem doesn't say "OK", something is wrong. Perhaps you're using
the wrong port? (Remember that COM2 is /dev/cuaa1, _not_ /dev/cuaa2.) If
you're sure you're using the right /dev/cuaa device, perhaps it's set up
wrong in the kernel? Make sure the `device sio1' in the kernel config
file has the right port/IRQ, etc.  (sio1 assumes you're using COM2, if
you're modem is on COM3, use sio2, etc.) Other information would help,
like is it an internal or external modem?

-- 
Ben Smithurst
ben@scientia.demon.co.uk

send a blank message to ben+pgp@scientia.demon.co.uk for PGP key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981224101429.A36927>