Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 10:16:23 +0300
From:      Voicu Liviu <pacman@huji.ac.il>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Adsl on FreeBSD using pptp !
Message-ID:  <200209031016.23733.pacman@huji.ac.il>

next in thread | raw e-mail | index | archive | help
Hi, I have a problem with connecting the ADSL on FreeBSD 4.6.2.
In the following lines you will find the information about my local setti=
ngs:
Thanks in advance,
Liviu


Ok, link [
http://www.freebsdforums.com/forums/showthread.php?s=3D&postid=3D14472#po=
st14472
] should take you to a forum where i've post all this too:

----------- PPP.LOG --------------
Sep 2 09:46:53 livius-corner ppp[525]: Phase: Using interface: tun0
Sep 2 09:46:53 livius-corner ppp[525]: Phase: deflink: Created in closed
 state Sep 2 09:46:53 livius-corner ppp[525]: Warning: set remotename:
 Invalid command
Sep 2 09:46:53 livius-corner ppp[525]: Warning: set remotename: Failed 1
Sep 2 09:46:53 livius-corner ppp[525]: tun0: Phase: PPP Started (direct
 mode). Sep 2 09:46:53 livius-corner ppp[525]: tun0: Phase: bundle: Estab=
lish
 Sep 2 09:46:53 livius-corner ppp[525]: tun0: Phase: deflink: closed ->
 opening Sep 2 09:46:53 livius-corner ppp[525]: tun0: Phase: deflink:
 Connected! Sep 2 09:46:53 livius-corner ppp[525]: tun0: Phase: deflink:
 opening -> carrier
Sep 2 09:46:54 livius-corner ppp[525]: tun0: Phase: deflink: carrier -> l=
cp
Sep 2 09:46:54 livius-corner ppp[525]: tun0: LCP: FSM: Using "deflink" as=
 a
transport
Sep 2 09:46:54 livius-corner ppp[525]: tun0: LCP: deflink: State change
Initial --> Closed
Sep 2 09:46:54 livius-corner ppp[525]: tun0: LCP: deflink: State change
 Closed --> Stopped
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: deflink: LayerStart
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigReq(=
1)
state =3D Stopped
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: ACFCOMP[2]
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: PROTOCOMP[2]
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: ACCMAP[6] 0x00000000
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: MRU[4] 1452
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x222eeb5f
Sep 2 09:46:55 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:46:55 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 01 01 00 1=
8 08
02 07 02 02 06 00 00 ...!............
Sep 2 09:46:55 livius-corner ppp[525]: tun0: HDLC: 00 00 01 04 05 ac 05 0=
6 22
2e eb 5f e2 d6 ........".._..
Sep 2 09:46:55 livius-corner ppp[525]: tun0: LCP: deflink: State change
Stopped --> Req-Sent
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigReq(=
1)
state =3D Req-Sent
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: ACFCOMP[2]
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: PROTOCOMP[2]
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: ACCMAP[6] 0x00000000
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MRU[4] 1452
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x222eeb5f
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 01 01 00 1=
8 08
02 07 02 02 06 00 00 ...!............
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: 00 00 01 04 05 ac 05 0=
6 22
2e eb 5f e2 d6 ........".._..
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: hdlc_LayerPull:
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: c0 21 01 6e 00 12 01 0=
4 05
dc 03 04 c0 23 05 06 .!.n.........#..
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: 00 2d 59 63 78 b6 .-Yc=
x.
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: deflink: RecvConfigReq(=
110)
state =3D Req-Sent
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MRU[4] 1500
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: AUTHPROTO[4] 0xc023 (PA=
P)
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x002d5963
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigAck(=
110)
state =3D Req-Sent
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MRU[4] 1500
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: AUTHPROTO[4] 0xc023 (PA=
P)
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x002d5963
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 02 6e 00 1=
2 01
04 05 dc 03 04 c0 23 ...!.n.........#
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: 05 06 00 2d 59 63 8d a=
b
=2E..-Yc..
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: deflink: State change
Req-Sent --> Ack-Sent
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: hdlc_LayerPull:
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: c0 21 04 01 00 0e 08 0=
2 07
02 02 06 00 00 00 00 .!..............
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: 2c cd ,.
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: deflink: RecvConfigRej(=
1)
state =3D Ack-Sent
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: ACFCOMP[2]
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: PROTOCOMP[2]
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: ACCMAP[6] 0x00000000
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigReq(=
2)
state =3D Ack-Sent
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MRU[4] 1452
Sep 2 09:46:58 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x222eeb5f
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 01 02 00 0=
e 01
04 05 ac 05 06 22 2e ...!..........".
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: eb 5f 63 34 ._c4
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: hdlc_LayerPull:
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: c0 21 02 02 00 0e 01 0=
4 05
ac 05 06 22 2e eb 5f .!..........".._
Sep 2 09:46:58 livius-corner ppp[525]: tun0: HDLC: e0 5a .Z
Sep 2 09:47:01 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigReq(=
2)
state =3D Ack-Sent
Sep 2 09:47:01 livius-corner ppp[525]: tun0: LCP: MRU[4] 1452
Sep 2 09:47:01 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x222eeb5f
Sep 2 09:47:01 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:47:01 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 01 02 00 0=
e 01
04 05 ac 05 06 22 2e ...!..........".
Sep 2 09:47:01 livius-corner ppp[525]: tun0: HDLC: eb 5f 63 34 ._c4
Sep 2 09:47:01 livius-corner ppp[525]: tun0: HDLC: hdlc_LayerPull:
Sep 2 09:47:01 livius-corner ppp[525]: tun0: HDLC: c0 21 02 02 00 0e 01 0=
4 05
ac 05 06 22 2e eb 5f .!..........".._
Sep 2 09:47:01 livius-corner ppp[525]: tun0: HDLC: e0 5a .Z
Sep 2 09:47:04 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigReq(=
2)
state =3D Ack-Sent
Sep 2 09:47:04 livius-corner ppp[525]: tun0: LCP: MRU[4] 1452
Sep 2 09:47:04 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x222eeb5f
Sep 2 09:47:04 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:47:04 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 01 02 00 0=
e 01
04 05 ac 05 06 22 2e ...!..........".
Sep 2 09:47:04 livius-corner ppp[525]: tun0: HDLC: eb 5f 63 34 ._c4
Sep 2 09:47:04 livius-corner ppp[525]: tun0: HDLC: hdlc_LayerPull:
Sep 2 09:47:04 livius-corner ppp[525]: tun0: HDLC: c0 21 02 02 00 0e 01 0=
4 05
ac 05 06 22 2e eb 5f .!..........".._
Sep 2 09:47:04 livius-corner ppp[525]: tun0: HDLC: e0 5a .Z
Sep 2 09:47:07 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigReq(=
2)
state =3D Ack-Sent
Sep 2 09:47:07 livius-corner ppp[525]: tun0: LCP: MRU[4] 1452
Sep 2 09:47:07 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x222eeb5f
Sep 2 09:47:07 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:47:07 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 01 02 00 0=
e 01
04 05 ac 05 06 22 2e ...!..........".
Sep 2 09:47:07 livius-corner ppp[525]: tun0: HDLC: eb 5f 63 34 ._c4
Sep 2 09:47:07 livius-corner ppp[525]: tun0: HDLC: hdlc_LayerPull:
Sep 2 09:47:07 livius-corner ppp[525]: tun0: HDLC: c0 21 02 02 00 0e 01 0=
4 05
ac 05 06 22 2e eb 5f .!..........".._
Sep 2 09:47:07 livius-corner ppp[525]: tun0: HDLC: e0 5a .Z
Sep 2 09:47:10 livius-corner ppp[525]: tun0: LCP: deflink: SendConfigReq(=
2)
state =3D Ack-Sent
Sep 2 09:47:10 livius-corner ppp[525]: tun0: LCP: MRU[4] 1452
Sep 2 09:47:10 livius-corner ppp[525]: tun0: LCP: MAGICNUM[6] 0x222eeb5f
Sep 2 09:47:10 livius-corner ppp[525]: tun0: HDLC: hdlc_Output
Sep 2 09:47:10 livius-corner ppp[525]: tun0: HDLC: ff 03 c0 21 01 02 00 0=
e 01
04 05 ac 05 06 22 2e ...!..........".
Sep 2 09:47:10 livius-corner ppp[525]: tun0: HDLC: eb 5f 63 34 ._c4
Sep 2 09:47:10 livius-corner ppp[525]: tun0: HDLC: hdlc_LayerPull:
Sep 2 09:47:10 livius-corner ppp[525]: tun0: HDLC: c0 21 02 02 00 0e 01 0=
4 05
ac 05 06 22 2e eb 5f .!..........".._
Sep 2 09:47:10 livius-corner ppp[525]: tun0: HDLC: e0 5a .Z
Sep 2 09:47:13 livius-corner ppp[525]: tun0: LCP: deflink: LayerFinish
Sep 2 09:47:13 livius-corner ppp[525]: tun0: LCP: deflink: State change
Ack-Sent --> Stopped
Sep 2 09:47:13 livius-corner ppp[525]: tun0: LCP: deflink: State change
Stopped --> Closed
Sep 2 09:47:13 livius-corner ppp[525]: tun0: LCP: deflink: State change
 Closed --> Initial
Sep 2 09:47:13 livius-corner ppp[525]: tun0: Phase: deflink: Disconnected=
!
Sep 2 09:47:13 livius-corner ppp[525]: tun0: Phase: deflink: Connect time=
: 20
secs: 214 octets in, 302 octets out
Sep 2 09:47:13 livius-corner ppp[525]: tun0: Phase: deflink: : 7 packets =
in,
 8 packets out
Sep 2 09:47:13 livius-corner ppp[525]: tun0: Phase: total 25 bytes/sec, p=
eak
55 bytes/sec on Mon Sep 2 09:47:02 2002
Sep 2 09:47:13 livius-corner ppp[525]: tun0: Phase: deflink: lcp -> close=
d
Sep 2 09:47:13 livius-corner ppp[525]: tun0: Phase: bundle: Dead
Sep 2 09:47:13 livius-corner ppp[525]: tun0: Phase: PPP Terminated (norma=
l).

------------------ END PPP.LOG ----------------------

---------------- /ETC/PPP/PPP.CONF -----------------
my ppp.conf is:

 huji:
 set authname xxxxxxxx
 set authkey yyyyyyyyyyyy
 set remotename "10.0.0.138 RELAY_PPP1"       <=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 the log file says
"Warning: set remotename: Invalid command " where do i have to enter this=
?
 set mru 1452
 set mtu 1452
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set log Phase Chat Connect hdlc LCP IPCP CCP tun
---------------- END PPP.CONF --------------------

------------- /ETC/RC.CONF -------------------
 ...
 ...
 ###### add network interface ######
 network_interfaces=3D"rl0 lo0 ppp0 tun0 slo0"
 ifconfig_rl0=3D"inet 10.200.1.1 netmask 255.0.0.0 broadcast 10.255.255.2=
55"
 ppp_mode=3D"direct"
 ppp_profile=3D"huji"
 ppp_user=3D"root
----------------  END RC.CONF -----------------

my interfaces are:

 ######## network card interface ###############
 rl0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 inet 10.200.1.1 netmask 0xff000000 broadcast 10.255.255.255
 inet6 fe80::2c1:26ff:fe00:1016%rl0 prefixlen 64 scopeid 0x1
 ether 00:c1:26:00:10:16
 media: Ethernet autoselect (10baseT/UTP)
 status: active

lp0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 inet 127.0.0.1 netmask 0xff000000
 ppp0: flags=3D8010<POINTOPOINT,MULTICAST> mtu 1500
 sl0: flags=3Dc010<POINTOPOINT,LINK2,MULTICAST> mtu 552
 faith0: flags=3D8002<BROADCAST,MULTICAST> mtu 1500

####### this is used by ADSL ?!?! #############3
 tun0: flags=3D8010<POINTOPOINT,MULTICAST> mtu 1500
 inet6 fe80::2c1:26ff:fe00:1016%tun0 prefixlen 64 scopeid 0x7



Then i go to command line and type:
 #pptp 10.0.0.138 huji &

And failed............any clue?

Many Thanks

-------------------------------------------------------


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?200209031016.23733.pacman>