2.4.7内核升级2.4.18网桥所需要的内核编译!!

来源:互联网 发布:iphone手机铃声mac 编辑:程序博客网 时间:2024/06/15 14:59

日期:2004/07/30  作者:zcatlinux  来源:zclinux

2.4.7内核升级2.4.18网桥所需要的内核编译:


1. 下载2.4.18的内核源代码并解压缩到/usr/src
2. cd /usr/src/linux-2.4.18
3. make mrproper;make clean
4. make menuconfig

 1) Processor type and features
  选择对应的CPU类型
  去掉SMP支持
   Symmetric multi-precessing support

 2) Networking options
  bridge支持:
  802.1d Ethernet bridging

  Netfilter支持:   
   先选择:
   Network packet filtering(replace ipchains)
   
   再配置Netfilter Configuration
    Connection tracking
    IP tables support
   可以将Netfilter Configuration部分全部选上

   
 3) Network device support
  Ethernet(10 or 100Mbit)
  10M或100M网卡选择相应型号

  或者

  Ethernet(1000Mbit)
 1000M网卡选择相应型号

 4) File systems
  Ext3 jounalling file systems support
  Quota support

 如果将bridge和Netfilter部分编译成模块, 则虚在这些模块被加载后
 才能加载acstar所使用的模块和执行setbr.sh命令. 因为现有acstar是
 在init启动脚本中启动, 所以最好将bridge和Netfilter部分编译进内核
 或修改acstar的init启动脚本部分, 在最前面手动加载bridge和netfilter
 相关模块.

 其它使用默认选项即可

5. make dep;make bzImage;make modules;make modules_install
6. cp arch/i386/boot/bzImage /boot/2.4.18-kernel
7. vi /etc/grub.conf

title 2.4.18-kernel
 root (hda0,0)
 kernel=/boot/2.4.18-kernel ro root=/dev/hda1

原创粉丝点击