Udoobuntu 2.2.0 missing ipv6 iptables

Discussion in 'Linux Ubuntu' started by fireblade, Jan 27, 2018.

  1. fireblade

    fireblade UDOOer

    Joined:
    Jun 14, 2013
    Messages:
    16
    Likes Received:
    1
    was trying to configure ufw on a UdooNeo running UDOObuntu 2.2.0

    Code:
     sudo ufw allow to any app openssh
    and got

    Code:
    ERROR: initcaps
    [Errno 2] modprobe: FATAL: Module ip6_tables not found.
    ip6tables v1.4.21: can't initialize ip6tables table `filter': No chain/target/match by that name
    Perhaps ip6tables or your kernel needs to be upgraded.
    
    so tried
    Code:
    sudo ip6tables -L
    and got

    Code:
    modprobe: FATAL: Module ip6_tables not found.
    ip6tables v1.4.21: can't initialize ip6tables table `filter': No chain/target/match by that name
    Perhaps ip6tables or your kernel needs to be upgraded.
    

    which to me looks like the kernel module(s) for ipv6 iptables is missing

    im not familiar with recompiling the kernel so can anyone tell me what i have to do to fix this?

    also im not sure how wise it it to have ipv6 support without support for an ipv6 capable firewall

    edit 1

    have found https://www.udoo.org/docs-neo/Advanced_Topics/Compile_Linux_Kernel.html

    however gcc-arm-linux-gnueabihf appears available from udoobuntu default repositories

    Code:
    Package gcc-arm-linux-gnueabihf is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'gcc-arm-linux-gnueabihf' has no installation candidate
    
     
    Last edited: Jan 28, 2018
  2. igorpec

    igorpec UDOOer

    Joined:
    Jan 25, 2015
    Messages:
    28
    Likes Received:
    13
    Perhaps you could try Armbian. Building kernel or image is super easy - you only need to setup Ubuntu Xenial X64 virtual machine, run on it or under Docker ... https://github.com/armbian/build does everything for you.
     
  3. fireblade

    fireblade UDOOer

    Joined:
    Jun 14, 2013
    Messages:
    16
    Likes Received:
    1
    using ubuntu and those instructions successfully compiled the kernel (might try armbian in future) using a vm with ubuntu 16.04 LTS

    need to use

    ARCH=arm make menuconfig
    to add correct modules

    found tool for ufw to test for right modules /usr/share/ufw/check-requirements
    and now appear to have a functional configuration where ufw enables and allows OpenSSH

    have attached .config file for anyone interested
     

    Attached Files:

Share This Page