gnokii-users
[Top][All Lists]
Advanced

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

Re: DataCall -> PC (ISDN, Modem)


From: Aart Koelewijn
Subject: Re: DataCall -> PC (ISDN, Modem)
Date: Fri, 26 Sep 2003 10:53:17 +0200 (CEST)

Op 2003-09-26 om 01:01 schreef Ekkard Gerlach:

> Hello,
>
> I can't find any howto oder FAQ to general understanding
> of a data call to a PC. I read DataCalls-QuickStart
> but it doesn't work yet. Now I ask here:
>
> I own a Nokia 6110/6130.

I use a Nokia 6110 to connect to my home-computer on an ISDN line

>
> * Is it possible to connect to a ISDN device on a PC?
>   I tried it, connection was established, but the
>   ipppd didn't come to a end:
>
>   [...]
>   ipppd[3492]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 1, linkunit: 0, fd: 7
>   [...]
>   ipppd[2594]: sent [0][LCP ConfReq id=0x1 <mru 296> <auth pap>
>                <magic 0xe89ee20> <pcomp> <accomp>]
>   ipppd[2646]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
>                <magic 0x1660e59a> <pcomp> <accomp>]
>   ipppd[2594]: sent [0][LCP ConfAck id=0x1 <asyncmap 0x0>
>                <magic 0x1660e59a> <pcomp> <accomp>]
>   ipppd[2594]: sent [0][LCP ConfReq id=0x1 <mru 296> <auth pap>
>                <magic 0xe89ee20> <pcomp> <accomp>]
>   [...]

A little piece from my log-file:

pppd[7061]: pppd 2.4.1 started by a_ppp, uid 0
pppd[7061]: Perms of /dev/ttyI8 are ok, no 'mesg n' neccesary.
pppd[7061]: using channel 19
pppd[7061]: Using interface ppp0
pppd[7061]: Connect: ppp0 <--> /dev/ttyI8
pppd[7061]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5>
            <magic 0xf282d58f> <pcomp> <accomp>]
pppd[7061]: rcvd [LCP ConfRej id=0x1 <asyncmap 0x0>]
pppd[7061]: sent [LCP ConfReq id=0x2 <auth chap MD5>
            <magic 0xf282d58f> <pcomp> <accomp>]
pppd[7061]: rcvd [LCP ConfAck id=0x2 <auth chap MD5>
            <magic 0xf282d58f> <pcomp> <accomp>]
pppd[7061]: rcvd [LCP ConfReq id=0x1 <magic 0x8879e85e>
             <pcomp> <accomp>]
pppd[7061]: sent [LCP ConfAck id=0x1 <magic 0x8879e85e>
             <pcomp> <accomp>]
pppd[7061]: sent [LCP EchoReq id=0x0 magic=0xf282d58f]
pppd[7061]: cbcp_lowerup

As you can see pppd is started, not ipppd, and it is only 1 proces [7061]
in this case which does not only sent messages but also gets answers, the
lines with rcvd, the computer connected to the Nokia does not seem to
react at all in your case.

>
>   Is it possible at all to connect to a "normal" ISDN device?
>
> * Is it only possible to connect to a ISDN-getty?
>
>   Accordding to
>   http://mail.nongnu.org/archive/html/gnokii-users/2002-07/msg00165.html
>   I set up    I8:35:respawn:/usr/sbin/mgetty ttyI8    in
>   /etc/inittab (with  telinit q   after).

Same in my case

>   But the getty seems not to react to any call to 8307937
>   my mgetty.config
>     port ttyI8
>     rings 1
>     data-only y
>     init-chat "" ATZ OK AT&E8307937 OK AT&R9600S19=197 OK

same in my case

>   my login.config
>     /AutoPPP/ -     a_ppp   /usr/sbin/pppd auth

Same in my case, but I don't understand why in your case ipppd is started
when you tell mgetty to start pppd. It may be that you use the same phone
number to call out, for instance to your provider, with ipppd and to call
in with your Nokia. I use different numbers, the number on which I call in
is otherwise only used for speech.

Some other things to look at:

Are your pap-secrets and chap-secret files on both computers ok?

How do you start your connection with the Nokia? I use:

/dev/gnokii 115200
modem crtscts defaultroute
connect '/usr/bin/chat -v TIMEOUT 90 ABORT BUSY ABORT ERROR\
        ABORT "NO CARRIER" "" AT OK-AT-OK ATZ OK ATS35=0 OK\
        ATD0(phonenumber) CONNECT'

I hope this helps

Aart





reply via email to

[Prev in Thread] Current Thread [Next in Thread]