NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

kraney's avatar
kraney
Aspirant
Sep 11, 2009

HOWTO: PPtP VPN

This howto will list the steps necessary to set up a pptp server on a ReadyNAS Duo. PPtP makes a nice choice, because OSX natively supports connecting to PPtP VPNs. I think windows does also, but don't have personal experience with it.

This howto guide was developed against RAIDiator 4.1.6. It may work with older versions, possibly with minor modifications.

First, set up a dev environment using the instructions at http://www.readynas.com/?p=145

Next, you'll need to install and set up the necessary software

  1. In FrontView, create a new group named "dip" (this is needed by the ppp package that pptpd relies on.)

  2. execute
    apt-get install pptpd

  3. edit /etc/pptpd.conf, and set up definitions for localip and remoteip. These will need to have appropriate values for your network. There are examples in the default config file. You basically want to pick IP addresses that are within your subnet, but not used by DHCP or by computers in your network. If your local net is 192.168.0.0, you might choose something like
    localip 192.168.0.2
    remoteip 192.168.0.3-50

  4. optionally, turn on bcrelay in pptpd.conf

  5. edit /etc/ppp/chap-secrets, and add a username and password for a VPN user

  6. edit /etc/sysctl.conf and add
    net.ipv4.ip_forward 1

    This will tell the ReadyNAS to route your VPN client's traffic out to the rest of your network. This change will take effect on your next boot. You can go ahead and turn on routing without needing to reboot by running
    echo 1 >> /proc/sys/net/ipv4/ip_forward


  7. Finally, you'll need to build the PPP kernel modules. This howto assumes you'll be building the kernel modules directly on the NAS device. You can also cross-compile on a different box, but I'll leave that explanation to other guides.

    1. Download the Linux kernel posted at http://www.readynas.com/gpl

    2. run
      apt-get install libncurses5-dev
      (needed to run menuconfig when setting up the kernel)

    3. cd to the linux kernel directory, and run
      cp arch/padre/defconfig .config

    4. There is a hardcoded cross-compile setup in the kernel build, which needs to be fixed. Edit arch/padre/Makefile, and replace the line that starts with "CROSS_COMPILE" with one like this
      CROSS_COMPILE ?=

    5. run
      make menuconfig

    6. Navigate to the "Network Device Support -> PPP (point-to-point protocol support)" page

    7. enable "PPP" by pressing "M" to mark it as a module

    8. also enable MPPE compression and async serial support.

    9. enable ppp filtering by pressing the space bar (it isn't a module, so 'M' doesn't work.)

    10. save the configuration and run
      make modules
      cp drivers/net/{ppp_async,ppp_mppe,ppp_generic,slhc}.ko /lib/modules/2.6.17.8ReadyNAS/kernel/drivers/net/
      mkdir /lib/modules/2.6.17.8ReadyNAS/kernel/crypto
      cp crypto/{sha1,arc4}.ko /lib/modules/2.6.17.8ReadyNAS/kernel/crypto/
      depmod -a


    11. At this point, you should be able to connect from your VPN client, using the username and password you added to /etc/ppp/chap-secrets. The kernel will automatically load the new modules when they're needed.

      If you run into trouble, check /var/log/syslog on the ReadyNAS for error messages.

60 Replies

Replies have been turned off for this discussion
  • I have this exact problem about which I posted here: http://www.readynas.com/forum/viewtopic.php?f=35&t=63015
    Unfortunately, so far, no one has answered :-(
    I've rolled-back to 4.2.19 and everything is fine.
  • The problem I had with 4.2.20 has somehow disappeared with 4.2.21.
    I've posted the instructions on the thread mentioned in my post above :)
  • Hi,

    Having some issues with this hopefully someone can point me in the right direction.

    Have a Pro6 with firmware 4.2.21.
    Linux NV6-PRO 2.6.37.6.RNx86_64.2.4 #1 SMP Mon May 21 16:00:40 PDT 2012 x86_64 GNU/Linux

    I get the follow error.

    NV6-PRO:/c/devel/2try/linux-2.6.37.6# cp drivers/net/*.ko /lib/modules/2.6.37.6.RNx86_64.2.4/kernel/drivers/net/
    NV6-PRO:/c/devel/2try/linux-2.6.37.6# depmod -a
    NV6-PRO:/c/devel/2try/linux-2.6.37.6# modprobe ppp_generic
    FATAL: Error inserting ppp_generic (/lib/modules/2.6.37.6.RNx86_64.2.4/kernel/drivers/net/ppp_generic.ko): Invalid argument

    get more info

    NV6-PRO:/c/devel/2try/linux-2.6.37.6# tail -n30 /var/log/syslog
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol __alloc_skb
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol __alloc_skb (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol skb_queue_tail
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol skb_queue_tail (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol skb_pull
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol skb_pull (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol skb_push
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol skb_push (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol register_netdev
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol register_netdev (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol free_netdev
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol free_netdev (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol unregister_pernet_device
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol unregister_pernet_device (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol dev_alloc_skb
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol dev_alloc_skb (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol skb_queue_purge
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol skb_queue_purge (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol __pskb_pull_tail
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol __pskb_pull_tail (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol netif_rx
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol netif_rx (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol skb_trim
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol skb_trim (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol __register_chrdev
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol __register_chrdev (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol register_pernet_device
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol register_pernet_device (err -22)
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: disagrees about version of symbol skb_queue_head
    Jul 1 08:56:56 NV6-PRO kernel: ppp_generic: Unknown symbol skb_queue_head (err -22)
    NV6-PRO:/c/devel/2try/linux-2.6.37.6#



    ppp_generic: disagrees about version of symbol skb_copy_bits
    ppp_generic: Unknown symbol skb_copy_bits (err -22)
    ppp_generic: disagrees about version of symbol skb_put
    ppp_generic: Unknown symbol skb_put (err -22)
    ppp_generic: disagrees about version of symbol __netif_schedule
    ppp_generic: Unknown symbol __netif_schedule (err -22)
    ppp_generic: disagrees about version of symbol unregister_netdev
    ppp_generic: Unknown symbol unregister_netdev (err -22)
    ppp_generic: disagrees about version of symbol skb_dequeue
    ppp_generic: Unknown symbol skb_dequeue (err -22)
    ppp_generic: disagrees about version of symbol skb_pull_rcsum
    ppp_generic: Unknown symbol skb_pull_rcsum (err -22)
    ppp_generic: disagrees about version of symbol skb_copy_datagram_iovec
    ppp_generic: Unknown symbol skb_copy_datagram_iovec (err -22)
    ppp_generic: disagrees about version of symbol pskb_expand_head
    ppp_generic: Unknown symbol pskb_expand_head (err -22)
    ppp_generic: disagrees about version of symbol kfree_skb
    ppp_generic: Unknown symbol kfree_skb (err -22)
    ppp_generic: disagrees about version of symbol alloc_netdev_mq
    ppp_generic: Unknown symbol alloc_netdev_mq (err -22)
    ppp_generic: disagrees about version of symbol __alloc_skb
    ppp_generic: Unknown symbol __alloc_skb (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_tail
    ppp_generic: Unknown symbol skb_queue_tail (err -22)
    ppp_generic: disagrees about version of symbol skb_pull
    ppp_generic: Unknown symbol skb_pull (err -22)
    ppp_generic: disagrees about version of symbol skb_push
    ppp_generic: Unknown symbol skb_push (err -22)
    ppp_generic: disagrees about version of symbol register_netdev
    ppp_generic: Unknown symbol register_netdev (err -22)
    ppp_generic: disagrees about version of symbol free_netdev
    ppp_generic: Unknown symbol free_netdev (err -22)
    ppp_generic: disagrees about version of symbol unregister_pernet_device
    ppp_generic: Unknown symbol unregister_pernet_device (err -22)
    ppp_generic: disagrees about version of symbol dev_alloc_skb
    ppp_generic: Unknown symbol dev_alloc_skb (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_purge
    ppp_generic: Unknown symbol skb_queue_purge (err -22)
    ppp_generic: disagrees about version of symbol __pskb_pull_tail
    ppp_generic: Unknown symbol __pskb_pull_tail (err -22)
    ppp_generic: disagrees about version of symbol netif_rx
    ppp_generic: Unknown symbol netif_rx (err -22)
    ppp_generic: disagrees about version of symbol skb_trim
    ppp_generic: Unknown symbol skb_trim (err -22)
    ppp_generic: disagrees about version of symbol __register_chrdev
    ppp_generic: Unknown symbol __register_chrdev (err -22)
    ppp_generic: disagrees about version of symbol register_pernet_device
    ppp_generic: Unknown symbol register_pernet_device (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_head
    ppp_generic: Unknown symbol skb_queue_head (err -22)
    ppp_generic: disagrees about version of symbol skb_copy_bits
    ppp_generic: Unknown symbol skb_copy_bits (err -22)
    ppp_generic: disagrees about version of symbol skb_put
    ppp_generic: Unknown symbol skb_put (err -22)
    ppp_generic: disagrees about version of symbol __netif_schedule
    ppp_generic: Unknown symbol __netif_schedule (err -22)
    ppp_generic: disagrees about version of symbol unregister_netdev
    ppp_generic: Unknown symbol unregister_netdev (err -22)
    ppp_generic: disagrees about version of symbol skb_dequeue
    ppp_generic: Unknown symbol skb_dequeue (err -22)
    ppp_generic: disagrees about version of symbol skb_pull_rcsum
    ppp_generic: Unknown symbol skb_pull_rcsum (err -22)
    ppp_generic: disagrees about version of symbol skb_copy_datagram_iovec
    ppp_generic: Unknown symbol skb_copy_datagram_iovec (err -22)
    ppp_generic: disagrees about version of symbol pskb_expand_head
    ppp_generic: Unknown symbol pskb_expand_head (err -22)
    ppp_generic: disagrees about version of symbol kfree_skb
    ppp_generic: Unknown symbol kfree_skb (err -22)
    ppp_generic: disagrees about version of symbol alloc_netdev_mq
    ppp_generic: Unknown symbol alloc_netdev_mq (err -22)
    ppp_generic: disagrees about version of symbol __alloc_skb
    ppp_generic: Unknown symbol __alloc_skb (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_tail
    ppp_generic: Unknown symbol skb_queue_tail (err -22)
    ppp_generic: disagrees about version of symbol skb_pull
    ppp_generic: Unknown symbol skb_pull (err -22)
    ppp_generic: disagrees about version of symbol skb_push
    ppp_generic: Unknown symbol skb_push (err -22)
    ppp_generic: disagrees about version of symbol register_netdev
    ppp_generic: Unknown symbol register_netdev (err -22)
    ppp_generic: disagrees about version of symbol free_netdev
    ppp_generic: Unknown symbol free_netdev (err -22)
    ppp_generic: disagrees about version of symbol unregister_pernet_device
    ppp_generic: Unknown symbol unregister_pernet_device (err -22)
    ppp_generic: disagrees about version of symbol dev_alloc_skb
    ppp_generic: Unknown symbol dev_alloc_skb (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_purge
    ppp_generic: Unknown symbol skb_queue_purge (err -22)
    ppp_generic: disagrees about version of symbol __pskb_pull_tail
    ppp_generic: Unknown symbol __pskb_pull_tail (err -22)
    ppp_generic: disagrees about version of symbol netif_rx
    ppp_generic: Unknown symbol netif_rx (err -22)
    ppp_generic: disagrees about version of symbol skb_trim
    ppp_generic: Unknown symbol skb_trim (err -22)
    ppp_generic: disagrees about version of symbol __register_chrdev
    ppp_generic: Unknown symbol __register_chrdev (err -22)
    ppp_generic: disagrees about version of symbol register_pernet_device
    ppp_generic: Unknown symbol register_pernet_device (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_head
    ppp_generic: Unknown symbol skb_queue_head (err -22)
    ppp_generic: disagrees about version of symbol skb_copy_bits
    ppp_generic: Unknown symbol skb_copy_bits (err -22)
    ppp_generic: disagrees about version of symbol skb_put
    ppp_generic: Unknown symbol skb_put (err -22)
    ppp_generic: disagrees about version of symbol __netif_schedule
    ppp_generic: Unknown symbol __netif_schedule (err -22)
    ppp_generic: disagrees about version of symbol unregister_netdev
    ppp_generic: Unknown symbol unregister_netdev (err -22)
    ppp_generic: disagrees about version of symbol skb_dequeue
    ppp_generic: Unknown symbol skb_dequeue (err -22)
    ppp_generic: disagrees about version of symbol skb_pull_rcsum
    ppp_generic: Unknown symbol skb_pull_rcsum (err -22)
    ppp_generic: disagrees about version of symbol skb_copy_datagram_iovec
    ppp_generic: Unknown symbol skb_copy_datagram_iovec (err -22)
    ppp_generic: disagrees about version of symbol pskb_expand_head
    ppp_generic: Unknown symbol pskb_expand_head (err -22)
    ppp_generic: disagrees about version of symbol kfree_skb
    ppp_generic: Unknown symbol kfree_skb (err -22)
    ppp_generic: disagrees about version of symbol alloc_netdev_mq
    ppp_generic: Unknown symbol alloc_netdev_mq (err -22)
    ppp_generic: disagrees about version of symbol __alloc_skb
    ppp_generic: Unknown symbol __alloc_skb (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_tail
    ppp_generic: Unknown symbol skb_queue_tail (err -22)
    ppp_generic: disagrees about version of symbol skb_pull
    ppp_generic: Unknown symbol skb_pull (err -22)
    ppp_generic: disagrees about version of symbol skb_push
    ppp_generic: Unknown symbol skb_push (err -22)
    ppp_generic: disagrees about version of symbol register_netdev
    ppp_generic: Unknown symbol register_netdev (err -22)
    ppp_generic: disagrees about version of symbol free_netdev
    ppp_generic: Unknown symbol free_netdev (err -22)
    ppp_generic: disagrees about version of symbol unregister_pernet_device
    ppp_generic: Unknown symbol unregister_pernet_device (err -22)
    ppp_generic: disagrees about version of symbol dev_alloc_skb
    ppp_generic: Unknown symbol dev_alloc_skb (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_purge
    ppp_generic: Unknown symbol skb_queue_purge (err -22)
    ppp_generic: disagrees about version of symbol __pskb_pull_tail
    ppp_generic: Unknown symbol __pskb_pull_tail (err -22)
    ppp_generic: disagrees about version of symbol netif_rx
    ppp_generic: Unknown symbol netif_rx (err -22)
    ppp_generic: disagrees about version of symbol skb_trim
    ppp_generic: Unknown symbol skb_trim (err -22)
    ppp_generic: disagrees about version of symbol __register_chrdev
    ppp_generic: Unknown symbol __register_chrdev (err -22)
    ppp_generic: disagrees about version of symbol register_pernet_device
    ppp_generic: Unknown symbol register_pernet_device (err -22)
    ppp_generic: disagrees about version of symbol skb_queue_head
    ppp_generic: Unknown symbol skb_queue_head (err -22)
    NV6-PRO:/c/devel/2try/linux-2.6.37.6#

    I have tried this with GPL 4.2.16 & 4.2.19 with same result. have I missed something.

    tried to do with 4.2.21 GPL but couldnt find the correct files. (linux directory linux-atm....)

    Any help would be greatly appreciated.
  • invik wrote:
    I have this exact problem about which I posted here: viewtopic.php?f=35&t=63015
    Unfortunately, so far, no one has answered :-(
    I've rolled-back to 4.2.19 and everything is fine.



    Followed this link and all working with 4.2.21.

    Thanks for the info :D
  • What ports do I need to farward in my router?

    Edit: probably not port errors.

    On Iphone I get this error

    VPN Connection
    You are discionected by the communication device. *Try reconnecting. If the problem continues, verfy your settings.

    Log from readynas

    Jul 13 05:52:53 readynas pptpd[1527]: GRE: read(fd=6,buffer=8058640,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
    Jul 13 05:52:53 readynas pptpd[1527]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
    Jul 13 05:52:53 readynas pptpd[1527]: CTRL: Reaping child PPP[1528]
    Jul 13 05:52:53 readynas pptpd[1527]: CTRL: Client 109.58.145.xxx control connection finished
    Jul 13 05:52:53 readynas kernel: ppp_async: Unknown symbol crc_ccitt_table (err 0)
    Jul 13 05:53:02 readynas pptpd[1536]: CTRL: Client 109.58.145.xxx1 control connection started
    Jul 13 05:53:03 readynas pptpd[1536]: CTRL: Starting call (launching pppd, opening GRE)
    Jul 13 05:53:03 readynas pppd[1537]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
    Jul 13 05:53:03 readynas pppd[1537]: pppd 2.4.4 started by root, uid 0
    Jul 13 05:53:03 readynas kernel: ppp_async: Unknown symbol crc_ccitt_table (err 0)
    Jul 13 05:53:03 readynas modprobe: FATAL: Error inserting ppp_async (/lib/modules/2.6.37.6.RNx86_64.2.4/kernel/drivers/net/ppp_async.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    Jul 13 05:53:03 readynas pppd[1537]: Couldn't set tty to PPP discipline: Invalid argument
    Jul 13 05:53:03 readynas pppd[1537]: Exit.
    Jul 13 05:53:03 readynas pptpd[1536]: GRE: read(fd=6,buffer=8058640,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
    Jul 13 05:53:03 readynas pptpd[1536]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
    Jul 13 05:53:03 readynas pptpd[1536]: CTRL: Reaping child PPP[1537]
    Jul 13 05:53:03 readynas pptpd[1536]: CTRL: Client 109.58.145.xxx control connection finished
    Jul 13 06:11:39 readynas udhcpc[2427]: Sending renew...
    Jul 13 06:11:39 readynas udhcpc[2427]: Lease of 192.168.1.106 obtained, lease time 3600
    Jul 13 06:25:06 readynas syslogd 1.4.1#18: restart.
    Jul 13 06:41:39 readynas udhcpc[2427]: Sending renew...
    Jul 13 06:41:39 readynas udhcpc[2427]: Lease of 192.168.1.106 obtained, lease time 3600
    Jul 13 07:11:40 readynas udhcpc[2427]: Sending renew...
    Jul 13 07:11:40 readynas udhcpc[2427]: Lease of 192.168.1.106 obtained, lease time 3600
    Jul 13 07:15:23 readynas pptpd[1961]: CTRL: Client 109.58.145.xxx control connection started
    Jul 13 07:15:25 readynas pptpd[1961]: CTRL: Starting call (launching pppd, opening GRE)
    Jul 13 07:15:25 readynas pppd[1962]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
    Jul 13 07:15:25 readynas pppd[1962]: pppd 2.4.4 started by root, uid 0
    Jul 13 07:15:25 readynas modprobe: FATAL: Error inserting ppp_async (/lib/modules/2.6.37.6.RNx86_64.2.4/kernel/drivers/net/ppp_async.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    Jul 13 07:15:25 readynas pppd[1962]: Couldn't set tty to PPP discipline: Invalid argument
    Jul 13 07:15:25 readynas pppd[1962]: Exit.
    Jul 13 07:15:25 readynas pptpd[1961]: GRE: read(fd=6,buffer=8058640,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
    Jul 13 07:15:25 readynas pptpd[1961]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
    Jul 13 07:15:25 readynas pptpd[1961]: CTRL: Reaping child PPP[1962]
    Jul 13 07:15:25 readynas pptpd[1961]: CTRL: Client 109.58.145.xxx control connection finished
    Jul 13 07:15:25 readynas kernel: ppp_async: Unknown symbol crc_ccitt_table (err 0)
    Jul 13 07:23:06 readynas pptpd[1977]: CTRL: Client 109.58.145.xxx control connection started
    Jul 13 07:23:07 readynas pptpd[1977]: CTRL: Starting call (launching pppd, opening GRE)
    Jul 13 07:23:07 readynas pppd[1978]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
    Jul 13 07:23:07 readynas pppd[1978]: pppd 2.4.4 started by root, uid 0
    Jul 13 07:23:07 readynas modprobe: FATAL: Error inserting ppp_async (/lib/modules/2.6.37.6.RNx86_64.2.4/kernel/drivers/net/ppp_async.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    Jul 13 07:23:07 readynas pppd[1978]: Couldn't set tty to PPP discipline: Invalid argument
    Jul 13 07:23:07 readynas pppd[1978]: Exit.
    Jul 13 07:23:07 readynas pptpd[1977]: GRE: read(fd=6,buffer=8058640,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
    Jul 13 07:23:07 readynas pptpd[1977]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
    Jul 13 07:23:07 readynas pptpd[1977]: CTRL: Reaping child PPP[1978]
    Jul 13 07:23:07 readynas pptpd[1977]: CTRL: Client 109.58.145.xxx control connection finished
    Jul 13 07:23:07 readynas kernel: ppp_async: Unknown symbol crc_ccitt_table (err 0)
  • Sorry to bring up an old thread, but thanks for all the help! Just curious what kind of throughput folks are seeing with this setup? I seem to be limited to around 1 to 1.5 Mbps throughput.

    One other thing to note. I did have to specify a DNS server in pptpd-options for traffic to start passing.
  • Most residential ISPs will throttle your upload throughput to about 1 mbps or (10-20 kB/sec) after a few minutes of uploading. Unfortunately, this is not a limit of the ReadyNAS, PPTP, or of your modem.
  • Hi guys, I follow your suggests and I was lucky... a make without an error :)
    I can't still connect to the server

    This is modprobe result:

    root@LEONAS:~# modprobe ppp_generic
    WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/display_class, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/pnp-hotplug, it will be ignored in a future release.




    root@LEONAS:~# tail -f /var/log/syslog
    Aug 15 17:31:50 LEONAS avahi-daemon[3987]: Registering new address record for 10.1.3.251 on eth0.IPv4.
    Aug 15 17:31:50 LEONAS avahi-daemon[3987]: Registering HINFO record with values 'ARMV5TEL'/'LINUX'.
    Aug 15 17:31:50 LEONAS avahi-daemon[3987]: Server startup complete. Host name is LEONAS.local. Local service cookie is 125115100.
    Aug 15 17:31:51 LEONAS avahi-daemon[3987]: Service "ReadyNAS Discovery [LEONAS]" (/services/readynas.service) successfully established.
    Aug 15 17:31:51 LEONAS avahi-daemon[3987]: Service "FrontView on LEONAS" (/services/frontview.service) successfully established.
    Aug 15 17:31:51 LEONAS avahi-daemon[3987]: Service "LEONAS (CIFS)" (/services/cifs.service) successfully established.
    Aug 15 17:31:51 LEONAS avahi-daemon[3987]: Service "LEONAS (AFP)" (/services/afp.service) successfully established.
    Aug 15 17:32:58 LEONAS kernel: program smartctl.org is using a deprecated SCSI ioctl, please convert it to SG_IO
    Aug 15 17:32:58 LEONAS last message repeated 12 times
    Aug 15 17:34:45 LEONAS kernel: PPP generic driver version 2.4.2
    Aug 15 17:35:18 LEONAS pptpd[4111]: CTRL: Client 176.244.210.55 control connection started
    Aug 15 17:35:19 LEONAS pptpd[4111]: CTRL: Starting call (launching pppd, opening GRE)
    Aug 15 17:35:19 LEONAS pppd[4118]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
    Aug 15 17:35:19 LEONAS pppd[4118]: pppd 2.4.5 started by root, uid 0
    Aug 15 17:35:19 LEONAS kernel: ppp_async: Unknown symbol crc_ccitt_table
    Aug 15 17:35:19 LEONAS modprobe: FATAL: Error inserting ppp_async (/lib/modules/2.6.31.8.duov2/kernel/drivers/ppp_asyter (see dmesg)
    Aug 15 17:35:19 LEONAS pppd[4118]: Couldn't set tty to PPP discipline: Invalid argument
    Aug 15 17:35:19 LEONAS pppd[4118]: Exit.
    Aug 15 17:35:19 LEONAS pptpd[4111]: GRE: read(fd=7,buffer=1bce8,len=8196) from PTY failed: status = -1 error = Input/ion of pppd, check option syntax and pppd logs
    Aug 15 17:35:19 LEONAS pptpd[4111]: CTRL: PTY read or GRE write failed (pty,gre)=(7,8)
    Aug 15 17:35:19 LEONAS pptpd[4111]: CTRL: Reaping child PPP[4118]
    Aug 15 17:35:19 LEONAS pptpd[4111]: CTRL: Client 176.244.210.55 control connection finished


    is ppp_async my problem? what did I wrong?
    thanks
    Paolo
  • Looks like you need the the CRC crypto modules too. I think it's back on page 2 of this thread, there's a list of additional modules needed and the folders that the .ko file will be in after the build.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More