mpd5 not connected

Вячеслав Моисеев moiseevvn at gmail.com
Tue Feb 25 07:22:44 UTC 2014


Hi all!

At RPI-B successfully created vpn-connection, which gives access to the 
network 10.0.0.0 / 8. Further inside the vpn-connection I'm trying to 
create a new connection to the server 10.100.65.27, which results in an 
error:
Feb 25 12:48:25 raspberry mpd: [B2] Bundle: Interface ng1 created
Feb 25 12:48:25 raspberry mpd: [L2] Link: OPEN event
Feb 25 12:48:25 raspberry mpd: [L2] LCP: Open event
Feb 25 12:48:25 raspberry mpd: [L2] LCP: state change Initial --> Starting
Feb 25 12:48:25 raspberry mpd: [L2] LCP: LayerStart
Feb 25 12:49:40 raspberry mpd: [L2] PPTP call failed
Feb 25 12:49:40 raspberry mpd: [L2] Link: DOWN event
Feb 25 12:49:40 raspberry mpd: [L2] LCP: Down event
Feb 25 12:49:40 raspberry mpd: [L2] Link: reconnection attempt 1 in 1 
seconds
Feb 25 12:49:41 raspberry mpd: [L2] Link: reconnection attempt 1
Feb 25 12:50:56 raspberry mpd: [L2] PPTP call failed
Feb 25 12:50:56 raspberry mpd: [L2] Link: DOWN event
Feb 25 12:50:56 raspberry mpd: [L2] LCP: Down event

Packets pass:
# tcpdump -i ng0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ng0, link-type NULL (BSD loopback), capture size 65535 bytes
13:16:31.084475 IP 10.100.65.93.16290 > 10.100.65.27.pptp: Flags [S], 
seq 1234408069, win 65535, options [mss 1416,nop,wscale 6,sackOK,TS val 
58997701 ecr 0], length 0
13:16:31.094796 IP 10.100.65.27.pptp > 10.100.65.93.16290: Flags [.], 
ack 1234408070, win 1024, length 0
13:16:48.695908 IP 10.100.65.93.25931 > 10.100.65.27.pptp: Flags [S], 
seq 252118709, win 65535, options [mss 1416,nop,wscale 6,sackOK,TS val 
59015311 ecr 0], length 0
13:16:48.704843 IP 10.100.65.27.pptp > 10.100.65.93.25931: Flags [S.], 
seq 3296563462, ack 252118710, win 65535, options [mss 1416,nop,wscale 
6,sackOK,TS val 2197804102 ecr 59015311], length 0
13:16:51.694465 IP 10.100.65.93.25931 > 10.100.65.27.pptp: Flags [S], 
seq 252118709, win 65535, options [mss 1416,nop,wscale 6,sackOK,TS val 
59018311 ecr 0], length 0
^C

# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
         inet 127.0.0.1 netmask 0xff000000
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=80001<RXCSUM,LINKSTATE>
         ether b8:27:eb:b5:b0:3c
         inet 192.168.88.248 netmask 0xffffff00 broadcast 192.168.88.255
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 
mtu 1456
         inet 10.100.65.93 --> 10.100.65.19 netmask 0xffffffff
         inet6 fe80::ba27:ebff:feb5:b03c%ng0 prefixlen 64 scopeid 0x3
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ng1: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1500
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.88.1       UGS         0     2401    ue0
10.100.65.19       link#3             UH          0        0    ng0
10.100.65.27       10.100.65.19       UGHS        0      234    ng0
10.100.65.93       link#3             UHS         0        0    lo0
127.0.0.1          link#1             UH          0        2    lo0
192.168.88.0/24    link#2             U           0     4445    ue0
192.168.88.248     link#2             UHS         0        0    lo0

# uname -a
FreeBSD raspberry.home 10.0-STABLE FreeBSD 10.0-STABLE #0 r261200: Tue 
Jan 28 22:58:29 UTC 2014 
root at grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B  arm
# mpd5 --version
Version 5.7 (root at raspberry.home 11:10 24-Feb-2014)

If I point out the route for the second connection through another 
computer, then both connections are established successfully. The 
problem arises only through working through the first vpn-connection. 
Firewall disabled.
Exactly the same configuration on another local computer i386 works 
without problems.

What may be the reason?



More information about the freebsd-arm mailing list