WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Where can I find the kernel config file?  (Read 2821 times)

Offline apuboard

  • WikiUser
  • *
  • Posts: 30
Where can I find the kernel config file?
« 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
But I need to modify the kernel config. Where do I find this file?
I looked in /lib/modules/... but couldn't find it.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10050
The only barriers that can stop you are the ones you create yourself.

Offline apuboard

  • WikiUser
  • *
  • Posts: 30
Re: Where can I find the kernel config file?
« Reply #2 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
« Last Edit: December 07, 2015, 03:39:11 AM by apuboard »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11068
Re: Where can I find the kernel config file?
« Reply #3 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.

Offline apuboard

  • WikiUser
  • *
  • Posts: 30
Re: Where can I find the kernel config file?
« Reply #4 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11068
Re: Where can I find the kernel config file?
« Reply #5 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.

Offline apuboard

  • WikiUser
  • *
  • Posts: 30
Re: Where can I find the kernel config file?
« Reply #6 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 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.