You are not logged in.

#1 2012-12-20 10:08:39

graph
Member
Registered: 2010-12-21
Posts: 105

Compile kernel without network

What would I need to disable, if I wanted to create a kernel with no networking capabilities at all?
More specifically, I would like to disable ethernet, wlan and bluetooth.

I've tried looking around the web, but it seems that this is not something a lot of people are doing.

My kernel is going to be used on a live-system and I want to make sure that it's as hard as possible to transfer files from this system to other media (not counting via USB).

Offline

#2 2012-12-20 10:28:33

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: Compile kernel without network

You can use iptables for that. Disabling networking completely at the kernel level may have some unwanted issues. As a side note it is not that hard to disable networking at kernel level. Just start with new config file and check the only options you want. There is a whole section in the kernel about networking. Or just dont compile any drivers/modules relalted to ethernet, wlan at all. 
IMHO it is a time consuming task and not worth the effort.


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

Board footer

Powered by FluxBB