Jump to content


Photo

error with pcduino v2 while setting nat: iptables v1.4.12 can't initialize iptables table nat' :No chain/target/match by that name

linux linaro pcdcuino kernel

  • Please log in to reply
3 replies to this topic

#1 kikomeko

kikomeko

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 27 November 2015 - 01:22 AM

Hi there, Am trying to build a rover on pcduino v2 with green wifi , but i can not pass this step root@ubuntu:~# iptables -t nat -A POSTROUTING -o eth0 -MASQUERADE i get an error, error: iptables v1.4.12 can't initialize iptables table nat' :No chain/target/match by that name perhaps iptables or your kernek needs to be upgraded Please help. Thanks in advance

#2 youkee

youkee

    Advanced Member

  • Administrators
  • 237 posts

Posted 27 November 2015 - 02:30 AM

I guess the current kernel can not support iptables. You have to get the kernel source code and compile a module which is used to support iptables. The Kernel configuration option is :

 

 #

Networking support ->

4 #  

Networking options ->

5 #    

Network packet filtering framework (Netfilter) ->

6 #         

IP: Netfilter Configuration

 

Good luck!



#3 kikomeko

kikomeko

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 27 November 2015 - 08:51 AM

Thank you, but how can i do that?



#4 youkee

youkee

    Advanced Member

  • Administrators
  • 237 posts

Posted 27 November 2015 - 12:46 PM

You should get kernel source code for A10, configure and compile the kernel module, then install it. 

 

If you never compile Linux kernel before, this is a big problem! You can try follow this wiki, but I am not sure it will suite for you or not.

http://linux-sunxi.org/Linux_Kernel

 

Good luckļ¼







Also tagged with one or more of these keywords: linux, linaro, pcdcuino kernel

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users