NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
TonyKL
Feb 29, 2016Guide
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 ...
WhoCares_
Feb 29, 2016Mentor
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
Feb 29, 2016Guide
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_Feb 29, 2016Mentor
What's the actual command set you're running and is this an ARM or an Intel based ReadyNAS?
-Stefan
- TonyKLFeb 29, 2016Guide
This is a ReadyNAS Ultra 4 so x86 architecture.
I've downloded the kernel sources and extracted them, copied the readynas config to .config then ran configure to enable netfilter (I'm after NAT routing for iptables).
after make, make modules, make modules_install i then have modules in /lib/modules/xxx
if I try to insmod the module it failes
- WhoCares_Feb 29, 2016Mentor
Try first running
make mrproper
then copy the ReadyNAS default config to .config and then run your commands again.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!