This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Please help: Roadwarrior doesn't work

Hi there,

I tried to configure PPTP Roadwarrior on my Astaro 4.008 but when i try to connect i always get the same error message in PPTP livelog: 

pppd[21446]: rc_map2id: can't find tty /dev/ in map database
pppd[21446]: rc_get_ipaddr: couldn't resolve hostname: gateway.xxxxx.xxxxx.xx
rc_own_ipaddress: couldn't get own IP address

The configuration for RaodWarrior Access and User Authentification is correct.
What's wrong with this, and why in the world should Astaro try to resolve its own host name (and fail)?? 

Greetings
Thorsten  


This thread was automatically locked due to age.
Parents Reply Children
  • Hi all,

    OK, here is the complete output from pptp-log:

    Aug 13 10:54:01 (none) pptpd[2540]: MGR: Launching /usr/local/sbin/pptpctrl to handle client
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: local address = 10.95.178.1
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: remote address = 10.95.178.3
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: pppd options file = /etc/ppp/options
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: Client XXX.XXX.XXX.XXX control connection started
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: Received PPTP Control Message (type: 1)
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: Made a START CTRL CONN RPLY packet
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: I wrote 156 bytes to the client.
    Aug 13 10:54:01 (none) pptpd[2540]: CTRL: Sent packet to client
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: Received PPTP Control Message (type: 7)
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: Set parameters to 1525 maxbps, 64 window size
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: Made a OUT CALL RPLY packet
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: Starting call (launching pppd, opening GRE)
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: pty_fd = 5
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: tty_fd = 6
    Aug 13 10:54:04 (none) pptpd[2545]: CTRL (PPPD Launcher): Connection speed = 115200
    Aug 13 10:54:04 (none) pptpd[2545]: CTRL (PPPD Launcher): local address = 10.95.178.1
    Aug 13 10:54:04 (none) pptpd[2545]: CTRL (PPPD Launcher): remote address = 10.95.178.3
    Aug 13 10:54:04 (none) pppd[2545]: Plugin /usr/sbin/radius.so loaded.
    Aug 13 10:54:04 (none) pppd[2545]: RADIUS plugin initialized.
    Aug 13 10:54:04 (none) pppd[2545]: Plugin /usr/sbin/radattr.so loaded.
    Aug 13 10:54:04 (none) pppd[2545]: RADATTR plugin initialized.
    Aug 13 10:54:04 (none) pppd[2545]: Plugin /usr/sbin/radius.so loaded.
    Aug 13 10:54:04 (none) pppd[2545]: RADIUS plugin initialized.
    Aug 13 10:54:04 (none) pppd[2545]: Plugin /usr/sbin/radattr.so loaded.
    Aug 13 10:54:04 (none) pppd[2545]: RADATTR plugin initialized.
    Aug 13 10:54:04 (none) pppd[2545]: pppd 2.4.2b1 started by (unknown), uid 0
    Aug 13 10:54:04 (none) pppd[2545]: using channel 13
    Aug 13 10:54:04 (none) pppd[2545]: Starting negotiation on /dev/ttyp0
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x1        ]
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: I wrote 32 bytes to the client.
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: Sent packet to client
    Aug 13 10:54:04 (none) pptpd[2540]: GRE: Bad checksum from pppd.
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: Received PPTP Control Message (type: 15)
    Aug 13 10:54:04 (none) pptpd[2540]: CTRL: Got a SET LINK INFO packet with standard ACCMs
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x1  ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x2       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x2 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x3       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x3 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x4       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x4 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x5       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x5 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x6       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x6 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x7       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x7 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x8       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x8 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0x9       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0x9 ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0xa       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfNak id=0xa ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0xb       ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfRej id=0xb ]
    Aug 13 10:54:04 (none) pppd[2545]: sent [LCP ConfReq id=0xc      ]
    Aug 13 10:54:04 (none) pppd[2545]: rcvd [LCP ConfAck id=0xc      ]
    Aug 13 10:54:06 (none) pppd[2545]: rcvd [LCP ConfReq id=0x1      ]
    Aug 13 10:54:06 (none) pppd[2545]: sent [LCP ConfRej id=0x1 ]
    Aug 13 10:54:06 (none) pppd[2545]: rcvd [LCP ConfReq id=0x2     ]
    Aug 13 10:54:06 (none) pppd[2545]: sent [LCP ConfAck id=0x2     ]
    Aug 13 10:54:06 (none) pppd[2545]: sent [LCP EchoReq id=0x0 magic=0xb8a44070]
    Aug 13 10:54:06 (none) pppd[2545]: sent [CHAP Challenge id=0x1 ��b43a37a2659d1b450dbf86c9d657>, name = "pptp"]
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: Received PPTP Control Message (type: 15)
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
    Aug 13 10:54:06 (none) pppd[2545]: rcvd [LCP code=0xc id=0x3 58 9b 2d 97 4d 53 52 41 53 56 35 2e 30 30]
    Aug 13 10:54:06 (none) pppd[2545]: sent [LCP CodeRej id=0xd 0c 03 00 12 58 9b 2d 97 4d 53 52 41 53 56 35 2e 30 30]
    Aug 13 10:54:06 (none) pppd[2545]: rcvd [LCP code=0xc id=0x4 58 9b 2d 97 4d 53 52 41 53 2d 30 2d 47 45 4e 45 52 49 43 2d 57 45 42]
    Aug 13 10:54:06 (none) pppd[2545]: sent [LCP CodeRej id=0xe 0c 04 00 1b 58 9b 2d 97 4d 53 52 41 53 2d 30 2d 47 45 4e 45 52 49 43 2d 57 45 42]
    Aug 13 10:54:06 (none) pppd[2545]: rcvd [LCP EchoRep id=0x0 magic=0x589b2d97]
    Aug 13 10:54:06 (none) pppd[2545]: rcvd [CHAP Response id=0x1 d8b41db50e120425431841bab1d430000000000000000b933ce810076936bab7f1ae4cc28d810add11bf78b52c77500>, name = "XXXXX"]
    Aug 13 10:54:06 (none) pppd[2545]: rc_map2id: can't find tty /dev/ in map database
    Aug 13 10:54:06 (none) pppd[2545]: rc_get_ipaddr: couldn't resolve hostname: gateway.XXXXX.XXXXX.XX
    Aug 13 10:54:06 (none) pppd[2545]: rc_own_ipaddress: couldn't get own IP address
    Aug 13 10:54:06 (none) pppd[2545]: sent [CHAP Failure id=0x1 "E=691 R=1 C=9224B43A37A2659D1B450DBF86C9D657 V=0 M=I don't like you.  Go 'way."]
    Aug 13 10:54:06 (none) pppd[2545]: CHAP peer authentication failed for remote host XXXXX
    Aug 13 10:54:06 (none) pppd[2545]: sent [LCP TermReq id=0xf "Authentication failed"]
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: Received PPTP Control Message (type: 15)
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: Got a SET LINK INFO packet with standard ACCMs
    Aug 13 10:54:06 (none) pppd[2545]: rcvd [LCP TermAck id=0xf "Authentication failed"]
    Aug 13 10:54:06 (none) pptpd[2540]: GRE: read(fd=5,buffer=804dbe0,len=8196) from PTY failed: status = -1 error = Input/output error
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
    Aug 13 10:54:06 (none) pppd[2545]: Connection terminated.
    Aug 13 10:54:06 (none) pppd[2545]: Exit.
    Aug 13 10:54:06 (none) pptpd[1492]: MGR: Reaped child 2540
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: Closing child ppp with pid 2545
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: Client XXX.XXX.XXX.XXX control connection finished
    Aug 13 10:54:06 (none) pptpd[2540]: CTRL: Exiting now

    After updating to 4.010 the problem still remains ( i thought there would be a official pptp patch).
    The Radius Server is fine...
    Can anyone help me??

    Thx & Greetings
    Thorsten
      
  • Hi Thorsten,

    make sure that you have the following settings:

    1. A valid DNS server under "Proxies"->"DNS"->"Forwarding name
       servers"
    2. A resolvable host name under "System"->"Settings"->"Hostname" (if you don't have an official DNS name for the ASL machine, then you can use any other resolvable name)

    This should get RADIUS working.

    Stephan
      
  • Hi all,

    I solved my pptp problem by changing the entries in the resolv.conf files to my internal DNS ip address.

    Since that pptp works without any problems!

    Grettings,
    Thorsten