Sun Jul 27 11:41:20 EDT 2003

Hi,

Is this with FreeBSD 5.1?. If it is, then does your /var/log/auth.log
have PAM authentication errors? This is the same problem currently
plaguing us.

We have yet to do a latest build world. I'll let you know if that
fixes things.

Andrew.

On Sun, Jul 27, 2003 at 05:21:08PM +0200, Chris Knipe wrote:
> Lo all,
> 
> I've successfully set up FreeBSD on numerous occasions as a PPP Dialin
> Server, both for modem usage, as well as PPTP and other types of VPNs.  I
> even managed to get the Radius sorted and working with that as well.  But
> alas, this one, is giving me a *really* hard time, it refuses to work, and I
> simply cannot see what is wrong here....
> 
> I'm using mgetty to answer modem calls, and then use Auto_PPP to start the
> pppd process.  From what I can see, it looks like PPP is having problems
> authenticating the users from ppp.secrets, but once again, from what I can
> see, ppp.secrets have no problem what so ever.
> 
> My routing table is as follows:
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif Expire
> default            192.168.1.254      UGSc        4    16461    rl0
> 127.0.0.1          127.0.0.1          UH         10       98    lo0
> 192.168.1/26       link#2             UC          4        0    rl1
> 192.168.1.5        00:50:04:3c:61:14  UHLW        1     6220    rl1   1198
> 192.168.1.10       00:05:5d:7c:e3:e0  UHLW        0     1939    rl1    940
> 192.168.1.11       00:c0:df:26:01:fb  UHLW        0      908    rl1   1049
> 192.168.1.12       00:c0:26:7f:ef:70  UHLW        0     2281    rl1    636
> 192.168.1.64/26    link#3             UC          4        0    rl2
> 192.168.1.66       00:c0:df:13:3b:40  UHLW        0     2558    rl2    745
> 192.168.1.67       00:a0:c9:fb:b4:ed  UHLW        0      967    rl2   1128
> 192.168.1.68       00:40:f4:75:bd:29  UHLW        0       93    rl2    626
> 192.168.1.69       00:a0:c9:92:9e:0e  UHLW        0      953    rl2    953
> 192.168.1.128/26   link#4             UC          0        0    rl3
> 192.168.1.248/29   link#1             UC          2        0    rl0
> 192.168.1.249      00:40:f4:7b:48:c5  UHLW        1     2019    lo0
> 192.168.1.254      00:02:96:05:70:72  UHLW        2        0    rl0    475
> 
> All pretty standard stuff, routing three /26 subnets over three dedicated
> networks.  The fourth and last /26 is further subnetted into smaller /29
> segments, also working fine.  From a routing point of view, there is nothing
> wrong and everything is working very happily to date.
> 
> mgetty's login.conf has:
> /AutoPPP/ -     -       /usr/sbin/ppp -direct dialin
> 
> Once again, no problem from what I can see.  Spending numerous hours on
> google, it's pretty much the same as what everyone else is using to call
> ppp.
> 
> My ppp.conf looks as follows:
> default:
>  set timeout 0
>  set log LCP IPCP CCP Chat Command Phase TUN
>  set device /dev/cuaa0
>  set dial
>  set login
>  set speed 115200
> 
> dialin:
>  accept dns
>  allow mode direct
>  disable chap
>  enable pap
>  enable proxy
> # set radius /etc/ppp/ppp.radius
>  set ifaddr 192.168.1.249 10.0.0.2-10.0.0.254
> 
> Once again, nothing here really that *should* cause PPP to fail from what I
> can see, and pretty much in line with all of my other configurations on my
> other servers, as well as those from the numerous examples found via google.
> 
> ppp.secret
> username<tab>password
> 
> As specified on numerous web sites.
> 
> 
> The ppp debug output is shown below.  *ANY* advice very welcome, I need to
> get this server online and working ASAP.....
> 
> --
> me
> 
> 
> Jul 25 20:08:33 router ppp[5741]: Phase: Using interface: tun0
> Jul 25 20:08:33 router ppp[5741]: Phase: deflink: Created in closed state
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: default: set device
> /dev/cuaa0
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: default: set speed 115200
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: default: set dial ABORT
> BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT            OK-AT-OK ATE1Q0 OK
> \dATDT\T TIMEOUT 40 CONNECT
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: cuaa0: disable chap
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: cuaa0: disable passwdauth
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: cuaa0: enable pap
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: cuaa0: enable proxy
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: cuaa0: set ifaddr
> 192.168.1.249 192.168.1.250 255.255.255.255
> Jul 25 20:08:33 router ppp[5741]: tun0: Command: cuaa0: set dns
> 192.168.1.249
> Jul 25 20:08:33 router ppp[5741]: tun0: Phase: PPP Started (direct mode).
> Jul 25 20:08:33 router ppp[5741]: tun0: Phase: bundle: Establish
> Jul 25 20:08:33 router ppp[5741]: tun0: Phase: deflink: closed -> opening
> Jul 25 20:08:33 router ppp[5741]: tun0: Phase: deflink: Connected!
> Jul 25 20:08:33 router ppp[5741]: tun0: Phase: deflink: opening -> carrier
> Jul 25 20:08:34 router ppp[5741]: tun0: Phase: deflink: /dev/cuaa0: CD
> detected
> Jul 25 20:08:34 router ppp[5741]: tun0: Phase: deflink: carrier -> lcp
> Jul 25 20:08:34 router ppp[5741]: tun0: LCP: FSM: Using "deflink" as a
> transport
> Jul 25 20:08:34 router ppp[5741]: tun0: LCP: deflink: State change
> Initial --> Closed
> Jul 25 20:08:34 router ppp[5741]: tun0: LCP: deflink: State change
> Closed --> Stopped
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP: deflink: LayerStart
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP: deflink: SendConfigReq(1) state
> = Stopped
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP:  MRU[4] 1500
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x5bd9ad1c
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> Jul 25 20:08:35 router ppp[5741]: tun0: LCP: deflink: State change
> Stopped --> Req-Sent
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP: deflink: RecvConfigReq(2) state
> = Req-Sent
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x798e0cae
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP: deflink: SendConfigRej(2) state
> = Req-Sent
> Jul 25 20:08:36 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:38 router ppp[5741]: tun0: LCP: deflink: SendConfigReq(1) state
> = Req-Sent
> Jul 25 20:08:38 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:38 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:38 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:38 router ppp[5741]: tun0: LCP:  MRU[4] 1500
> Jul 25 20:08:38 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x5bd9ad1c
> Jul 25 20:08:38 router ppp[5741]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP: deflink: RecvConfigReq(3) state
> = Req-Sent
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x798e0cae
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP: deflink: SendConfigRej(3) state
> = Req-Sent
> Jul 25 20:08:40 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:41 router ppp[5741]: tun0: LCP: deflink: SendConfigReq(1) state
> = Req-Sent
> Jul 25 20:08:41 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:41 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:41 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:41 router ppp[5741]: tun0: LCP:  MRU[4] 1500
> Jul 25 20:08:41 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x5bd9ad1c
> Jul 25 20:08:41 router ppp[5741]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP: deflink: RecvConfigReq(4) state
> = Req-Sent
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x798e0cae
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP: deflink: SendConfigRej(4) state
> = Req-Sent
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP: deflink: SendConfigReq(1) state
> = Req-Sent
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  MRU[4] 1500
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x5bd9ad1c
> Jul 25 20:08:44 router ppp[5741]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> Jul 25 20:08:47 router ppp[5741]: tun0: LCP: deflink: SendConfigReq(1) state
> = Req-Sent
> Jul 25 20:08:47 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:47 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:47 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:47 router ppp[5741]: tun0: LCP:  MRU[4] 1500
> Jul 25 20:08:47 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x5bd9ad1c
> Jul 25 20:08:47 router ppp[5741]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP: deflink: RecvConfigReq(5) state
> = Req-Sent
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP:  ACCMAP[6] 0x00000000
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP:  MAGICNUM[6] 0x798e0cae
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP:  PROTOCOMP[2]
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP:  ACFCOMP[2]
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP: deflink: SendConfigRej(5) state
> = Req-Sent
> Jul 25 20:08:48 router ppp[5741]: tun0: LCP:  CALLBACK[3] CBCP
> Jul 25 20:08:50 router ppp[5741]: tun0: LCP: deflink: LayerFinish
> Jul 25 20:08:50 router ppp[5741]: tun0: LCP: deflink: State change
> Req-Sent --> Stopped
> Jul 25 20:08:50 router ppp[5741]: tun0: LCP: deflink: State change
> Stopped --> Closed
> Jul 25 20:08:50 router ppp[5741]: tun0: LCP: deflink: State change
> Closed --> Initial
> Jul 25 20:08:50 router ppp[5741]: tun0: Phase: deflink: Disconnected!
> Jul 25 20:08:50 router ppp[5741]: tun0: Phase: deflink: Connect time: 17
> secs: 255 octets in, 388 octets out
> Jul 25 20:08:50 router ppp[5741]: tun0: Phase: deflink: 8 packets in, 9
> packets out
> Jul 25 20:08:50 router ppp[5741]: tun0: Phase:  total 37 bytes/sec, peak 54
> bytes/sec on Fri Jul 25 20:08:44 2003
> Jul 25 20:08:50 router ppp[5756]: tun0: Phase: deflink: lcp -> closed
> Jul 25 20:08:50 router ppp[5756]: tun0: Phase: bundle: Dead
> Jul 25 20:08:50 router ppp[5756]: tun0: Phase: PPP Terminated (normal).
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to