Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: apuboard on December 07, 2015, 12:55:18 AM

Title: Where can I find the kernel config file?
Post by: apuboard on December 07, 2015, 12:55:18 AM
I'm trying to add a bridge in micro core. I do this with this tutorial, because I get the same error:http://thelinuxfaq.com/355-rtnetlink-answers-operation-not-supported-on-centos (http://error:http://thelinuxfaq.com/355-rtnetlink-answers-operation-not-supported-on-centos)
But I need to modify the kernel config. Where do I find this file?
I looked in /lib/modules/... but couldn't find it.
Title: Re: Where can I find the kernel config file?
Post by: curaga on December 07, 2015, 02:55:56 AM
ftp://ftp.nluug.nl/pub/ibiblio/distributions/tinycorelinux/6.x/x86/release/src/kernel/
Title: Re: Where can I find the kernel config file?
Post by: apuboard on December 07, 2015, 03:34:46 AM
I'm sorry if I wasn't accurate enough but I was thinking about the path on my running Micro Core. So I want to change the config files where I find this part.
Code: [Select]
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NF_CT_NETLINK=y
CONFIG_SCSI_NETLINK=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_SCHED=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_NETFILTER_XT_TARGET_MARK=y
Title: Re: Where can I find the kernel config file?
Post by: Juanito on December 07, 2015, 04:19:37 AM
There is no copy of the kernel config in the base tinycore, but you can download it from the link provided above.

Note also that the kernel config is only of use when compiling the kernel, changing the config after this will have no effect.
Title: Re: Where can I find the kernel config file?
Post by: apuboard on December 07, 2015, 04:22:35 AM
So I have to download the kernel, recompile it and use the new one? Because I never did that before, I think it's not that easy. Is there a easier way to set up a bridge, which doesn't take too much time?
Title: Re: Where can I find the kernel config file?
Post by: Juanito on December 07, 2015, 04:53:56 AM
So I have to download the kernel, recompile it and use the new one?
yes (if you wish to change something).

Quote
..I never did that before, I think it's not that easy.
It's not that difficult and there are several threads on the subject.
Title: Re: Where can I find the kernel config file?
Post by: apuboard on December 07, 2015, 05:12:08 AM
I have this tutorial from a recent post:http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt (http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt) at 3.3 Configuring Bonding Manually with iproute2. You think, this works. Would like to know the opinion of an expert, before I invest a lot of time.