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

Forum Discussion

TonyKL's avatar
TonyKL
Guide
Feb 29, 2016

Help compiling modules on ReadyOS 6.4.2 (required to route eth1 over tun1)

Hi all,


I'm wanted to route traffice from eth1 over a VPN connection via openvpn.

I've installed and configured openvpn and all is good however I believe I need support for netfilter in iptables to set this route up?

 

I've downloaded the sources for 6.4.2 and configured the kernel from the readynas config to enable the modules and rebuilt everything.  However I'm unable to load the modules once they have been installed.

 

Modinfo appears to report the same information for the new modules compared to the existing shipped modules but I don't know why they wont load.  I usually get 'invalud argument' when attempting to load.

 

Anybody correctly built modules on the readynas?

21 Replies

Replies have been turned off for this discussion
  • I ran into the same problem. Since 6.4.1 or 6.4.2 I can no longer build kernel modules on my VMs but have to build them directly on the ReadyNAS to get working versions. Don't know if it's the same problem for I'm mostly builting modules external to the kernel tree but you should see some additional messages when running

    dmesg

    after trying to load the module(s) in question.

    -Stefan

    • TonyKL's avatar
      TonyKL
      Guide

      Thanks for the reply, I'm actually trying to do this on the ReadyNAS as I didn't know how to do it from a VM.

      I will try again on 6.4.2 as the kernel is updated.  I get stuff like this in dmesg:

       

      nf_conntrack: disagrees about version of symbol skb_copy_bits

      nf_conntrack: Unknown symbol skb_copy_bits (err -22)

      nf_conntrack: disagrees about version of symbol register_net_sysctl

      nf_conntrack: Unknown symbol register_net_sysctl (err -22)

      nf_conntrack: disagrees about version of symbol skb_make_writable

      nf_conntrack: Unknown symbol skb_make_writable (err -22)

      nf_conntrack: disagrees about version of symbol seq_open_net

      nf_conntrack: Unknown symbol seq_open_net (err -22)

      nf_conntrack: disagrees about version of symbol nf_afinfo

      nf_conntrack: Unknown symbol nf_afinfo (err -22)

      nf_conntrack: Unknown symbol nf_conntrack_destroy (err 0)

      nf_conntrack: Unknown symbol nf_ct_destroy (err 0)

      nf_conntrack: disagrees about version of symbol register_pernet_subsys

      nf_conntrack: Unknown symbol register_pernet_subsys (err -22)

      nf_conntrack: disagrees about version of symbol init_net

      nf_conntrack: Unknown symbol init_net (err -22)

      nf_conntrack: disagrees about version of symbol seq_release_net

      nf_conntrack: Unknown symbol seq_release_net (err -22)

      nf_conntrack: disagrees about version of symbol unregister_pernet_subsys

      nf_conntrack: Unknown symbol unregister_pernet_subsys (err -22)

      nf_conntrack: disagrees about version of symbol nf_log_packet

      nf_conntrack: Unknown symbol nf_log_packet (err -22)

      nf_conntrack: disagrees about version of symbol inet_proto_csum_replace4

      nf_conntrack: Unknown symbol inet_proto_csum_replace4 (err -22)

      nf_conntrack: Unknown symbol ip_ct_attach (err 0)

      nf_conntrack: disagrees about version of symbol unregister_net_sysctl_table

      nf_conntrack: Unknown symbol unregister_net_sysctl_table (err -22)

      • WhoCares_'s avatar
        WhoCares_
        Mentor

        What's the actual command set you're running and is this an ARM or an Intel based ReadyNAS?

         

        -Stefan

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