Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 00:54:06 +0200
From:      "Lauri Ahonen" <nikanj@iki.fi>
To:        <questions@FreeBSD.org>
Subject:   ppp problem(Siemens M50, gprs, freebsd 4.7)
Message-ID:  <009c01c2b2b1$daea5120$e216dd50@raato>

next in thread | raw e-mail | index | archive | help
I bought me a new gprs phone, planning to use mainly for wireless network.
However, I can't get it going under freebsd(which is running on my laptop)
I got it working under windows XP(my desktop), using these settings

-port speed 57600
-disable software compression
-disable LCP extensions
-NO username/password
-extra init string AT+CGDCONT=1,"IP","internet"
-dial number *99***1#

(I'm pretty sure my chat-script is broken, but that shouldn't affect me when
I'm using the term command)
Here is my ppp.conf and the log ppp gave me(logging instructions found on
the
man page of ppp)

#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.5 2001/07/13 10:55:23 brian Exp $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa0

 set speed 57600
 set dial "ATZ OK OK AT+CGDCONT=1,"IP","internet" OK ATDT*99***1# CONNECT"
 set timeout 180                        # 3 minute idle timer (the default)
# enable dns                            # request DNS info (for resolv.conf)

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone *99***1#
 set authname
 set authkey

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default route


----------------------------------------------------------------------
**********************************************************************
----------------------------------------------------------------------

-bash-2.05b$ ppp
Working in interactive mode
Using interface: tun0
ppp ON libretto>  set log local phase lcp ipcp
ppp ON libretto> set device /dev/cuaa0
ppp ON libretto> set speed 57600
ppp ON libretto> set authname
ppp ON libretto> set authkey
ppp ON libretto> term
Phase: bundle: Establish
Phase: deflink: closed -> opening
Phase: deflink: Connected!
deflink: Entering terminal mode on /dev/cuaa0
Type `~?' for help
Phase: deflink: opening -> carrier
Phase: deflink: /dev/cuaa0 doesn't support CD
Phase: deflink: carrier -> ready

OK
ATZ
OK
AT+CGDCONT=1,"IP","internet"
OK
ATDT*99***1#
CONNECT
Phase: deflink: PPP packet detected, coming up
Phase: deflink: ready -> carrier
Phase: deflink: carrier -> lcp
LCP: FSM: Using "deflink" as a transport
LCP: deflink: State change Initial --> Closed
LCP: deflink: State change Closed --> Stopped
ppp ON libretto> LCP: deflink: LayerStart
LCP: deflink: SendConfigReq(1) state = Stopped
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x00000000
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0x5cce49e4
LCP: deflink: State change Stopped --> Req-Sent
LCP: deflink: RecvConfigNak(1) state = Req-Sent
LCP:  ACCMAP[6] 0x000a0000
LCP: deflink: SendConfigReq(2) state = Req-Sent
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x000a0000
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0x5cce49e4
LCP: deflink: RecvConfigAck(2) state = Req-Sent
LCP:  ACFCOMP[2]
LCP:  PROTOCOMP[2]
LCP:  ACCMAP[6] 0x000a0000
LCP:  MRU[4] 1500
LCP:  MAGICNUM[6] 0x5cce49e4
LCP: deflink: State change Req-Sent --> Ack-Rcvd
LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
LCP:  ACCMAP[6] 0x000a0000
LCP:  PROTOCOMP[2]
LCP:  ACFCOMP[2]
LCP:  MAGICNUM[6] 0xd599a7c8
LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
LCP:  ACCMAP[6] 0x000a0000
LCP:  PROTOCOMP[2]
LCP:  ACFCOMP[2]
LCP:  MAGICNUM[6] 0xd599a7c8
LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
LCP: deflink: State change Ack-Rcvd --> Opened
LCP: deflink: LayerUp
LCP: deflink: SendIdent(0) state = Opened
LCP:  MAGICNUM 5cce49e4
LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
Phase: bundle: Authenticate
Phase: deflink: his = CHAP 0x05, mine = none
Ppp ON libretto> Phase: Chap Input: CHALLENGE (20 bytes)
Phase: Chap Output: RESPONSE ()
Phase: Chap Input: SUCCESS
Phase: deflink: lcp -> open
Phase: bundle: Network
IPCP: FSM: Using "deflink" as a transport
IPCP: deflink: State change Initial --> Closed
IPCP: deflink: LayerStart.
IPCP: deflink: SendConfigReq(1) state = Closed
IPCP:  IPADDR[6] 127.0.0.1
IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
IPCP: deflink: State change Closed --> Req-Sent
PPp ON libretto> LCP: deflink: RecvProtocolRej(4) state = Opened
LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
rejected!
IPCP: deflink: RecvConfigRej(1) state = Req-Sent
LCP: deflink: SendIdent(1) state = Opened
LCP:  MAGICNUM 5cce49e4
LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
IPCP: deflink: SendConfigReq(2) state = Req-Sent
IPCP:  IPADDR[6] 127.0.0.1
LCP: deflink: RecvProtocolRej(5) state = Opened
LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was
rejected!
Phase: deflink: IPV6CP protocol reject closes IPV6CP !
LCP: deflink: RecvProtocolRej(6) state = Opened
LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was
rejected!
Phase: deflink: IPV6CP protocol reject closes IPV6CP !
LCP: deflink: RecvTerminateReq(7) state = Opened
LCP: deflink: LayerDown
LCP: deflink: SendTerminateAck(7) state = Opened
LCP: deflink: State change Opened --> Stopping
Phase: deflink: open -> lcp
IPCP: deflink: State change Req-Sent --> Starting
IPCP: deflink: LayerFinish.
IPCP: Connect time: 1 secs: 0 octets in, 0 octets out
IPCP: 0 packets in, 0 packets out
IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Thu Jan  2 23:58:09 2003
IPCP: deflink: State change Starting --> Initial
Phase: bundle: Terminate
ppp ON libretto> LCP: deflink: RecvTerminateReq(7) state = Stopping
LCP: deflink: SendTerminateAck(7) state = Stopping
LCP: deflink: LayerFinish
LCP: deflink: State change Stopping --> Stopped
LCP: deflink: State change Stopped --> Closed
LCP: deflink: State change Closed --> Initial
Phase: deflink: Disconnected!
Phase: deflink: Connect time: 37 secs: 350 octets in, 408 octets out
Phase: deflink: 17 packets in, 13 packets out
Phase:  total 20 bytes/sec, peak 144 bytes/sec on Thu Jan  2 23:58:10 2003
Phase: deflink: lcp -> closed
Phase: bundle: Dead
ppp ON libretto>




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?009c01c2b2b1$daea5120$e216dd50>