Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 22:35:49 +0000
From:      Vittorio <v.demartino2@virgilio.it>
To:        freebsd-questions@freebsd.org
Subject:   Problems with user ppp
Message-ID:  <200505032235.49979.v.demartino2@virgilio.it>

next in thread | raw e-mail | index | archive | help
On my PC with the latest freebsd 5.4 I'm trying to connect to my ISP "alice=
"=20
by means of user ppp. Here is my /etc/ppp/ppp.conf:=20
#
default:
=A0set log Phase Chat LCP IPCP CCP tun command
=A0ident user-ppp VERSION (built COMPILATIONDATE)
=A0set device /dev/cuaa0
=A0set speed 115200
=A0set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
=A0 =A0 =A0 =A0 =A0 =A0\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CON=
NECT"
=A0set timeout 180 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# 3 minut=
e idle timer (the default)

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

=A0set phone "7020803380"
=A0set authname "pippolino@tin.it"
=A0set authkey "nonteladico"

=A0set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
=A0add default HISADDR =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Add a (stic=
ky) default route
=A0enable dns =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # req=
uest DNS info (for resolv.conf)

AND
in /etc/ppp/options

lock
noauth

Launching "ppp -background alice" I can connect with my ISP but ..... names=
=20
are not resolved because PPP doesn't get the DNSs provided by the peer and=
=20
uses the first DNS server in in /etc/resolv.conf ,10.255.201.22, of a=20
previous  dhcp connection at office.
Here it is an extract of the connection log:
=2E........................................................................=
=2E.......
ppp[505]: tun0: Phase: deflink: his =3D CHAP 0x05, mine =3D none
ppp[505]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from apx-rm5)
ppp[505]: tun0: Phase: Chap Output: RESPONSE (pippolino@tin.it)
ppp[505]: tun0: Phase: Chap Input: SUCCESS
ppp[505]: tun0: IPCP: Using trigger address 0.0.0.0
ppp[505]: tun0: CCP: FSM: Using "deflink" as a transport
ppp[505]: tun0: CCP: deflink: State change Initial --> Closed
ppp[505]: tun0: CCP: deflink: LayerStart.
ppp[505]: tun0: CCP: MPPE: Not usable without CHAP81
ppp[505]: tun0: CCP: deflink: SendConfigReq(1) state =3D Closed
ppp[505]: tun0: CCP: =A0DEFLATE[4] win 15
ppp[505]: tun0: CCP: =A0PRED1[2]
ppp[505]: tun0: CCP: deflink: State change Closed --> Req-Sent
ppp[505]: tun0: Phase: deflink: lcp -> open
ppp[505]: tun0: Phase: bundle: Network
ppp[505]: tun0: IPCP: FSM: Using "deflink" as a transport
ppp[505]: tun0: IPCP: deflink: State change Initial --> Closed
ppp[505]: tun0: IPCP: deflink: LayerStart.
ppp[505]: tun0: IPCP: deflink: SendConfigReq(1) state =3D Closed
ppp[505]: tun0: IPCP: =A0IPADDR[6] 0.0.0.0
ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP: =A0PRIDNS[6] 10.155.201.22
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0^^^^^^^^^^^^^
ppp[505]: tun0: IPCP: =A0SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: State change Closed --> Req-Sent
ppp[505]: tun0: IPCP: deflink: RecvConfigReq(1) state =3D Req-Sent
ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP: =A0IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: SendConfigAck(1) state =3D Req-Sent
ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP: =A0IPADDR[6] 80.21.255.5
ppp[505]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
ppp[505]: tun0: LCP: deflink: RecvProtocolRej(3) state =3D Opened
ppp[505]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control=20
Protocol)
ppp[505]: tun0: CCP: deflink: State change Req-Sent --> Stopped
ppp[505]: tun0: IPCP: deflink: RecvConfigNak(1) state =3D Ack-Sent
ppp[505]: tun0: IPCP: =A0IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP: =A0IPADDR[6] changing address: 0.0.0.0 =A0-->=20
212.216.149.154
ppp[505]: tun0: IPCP: =A0PRIDNS[6] 10.155.201.22
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0^^^^^^^^^^^^^^
ppp[505]: tun0: IPCP: =A0SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: Primary nameserver set to 10.155.201.22
ppp[505]: tun0: IPCP: deflink: SendConfigReq(2) state =3D Ack-Sent
ppp[505]: tun0: IPCP: =A0IPADDR[6] 212.216.149.154
ppp[505]: tun0: IPCP: =A0COMPPROTO[6] 16 VJ slots with slot compression
ppp[505]: tun0: IPCP: =A0PRIDNS[6] 10.155.201.22
ppp[505]: tun0: IPCP: =A0SECDNS[6] 255.255.255.255
ppp[505]: tun0: IPCP: deflink: RecvConfigAck(2) state =3D Ack-Sent
=2E........................................................................=
=2E.........

What should I do?
Vittorio



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