Results 1 to 2 of 2

Thread: Add the VLAN (8021q) kernel module?

  1. #1
    Join Date
    2014-Mar
    Posts
    1

    Add the VLAN (8021q) kernel module?

    I just succeeded in installing Kali on my new Utilite Standard device!

    My main use will be firewalling. However I'd really need support for VLAN's in the kernel, but it doesn't seem to be compiled in.

    Is there any chance to get support for this?

    Everything else I need seems to be available though

    /Peter

  2. #2
    Join Date
    2014-Feb
    Posts
    299
    Kali isn't really a good firewall distribution...

    That being said, you could definitely create your own image using the same scripts that we do.

    This is how you would go about modifying the kernel...

    I'll do a simple walk through.

    Code:
    git clone https://github.com/offensive-security/gcc-arm-linux-gnueabihf-4.7 ~/compiler
    export PATH=${PATH}:/root/compiler/gcc-arm-linux-gnueabihf-4.7/bin
    
    mkdir ~/utilite-firewall
    cd ~/utilite-firewall
    git clone git://github.com/offensive-security/kali-arm-build-scripts
    pushd kali-arm-build-scripts
    ./build-deps.sh
    git clone https://gitorious.org/utilite/utilite.git kernel
    cd kernel
    cp ../kernel-configs/utilite.config .config
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
    Make your changes, then exit (and save the config!)

    Make sure it builds first.

    Code:
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j $(grep -c processor /proc/cpuinfo)
    Assuming it builds and there are no errors occurring, then you will cp YOUR new .config to ~/utilite-firewall/kali-arm-build-scripts/kernel-configs/utilite.config

    Then when you run the utilite.sh script to build a utilite image, it will build with your kernel config...

    Code:
    cd ~/utilite-firewall/kali-arm-build-scripts
    ./utilite.sh 1.0.6-firewall

Similar Threads

  1. Replies: 12
    Last Post: 2017-03-05, 03:28
  2. mt7601Uap module license unspecifield taints kernel kali linux 2.0
    By dimastt in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-04-25, 19:27
  3. Detecting out of band vlan
    By freebirds in forum General Archive
    Replies: 0
    Last Post: 2013-12-17, 16:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •