LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1399|回复: 9

编译安装新内核后不能上网了,大家帮我看看

[复制链接]
发表于 2007-8-13 23:30:20 | 显示全部楼层 |阅读模式
ifup dsl0 后出现下面的情况

dsl0      
interface dsl0 is up
SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
FATAL: Module ip_conntrack not found.
SuSEfirewall2: batch committing...
iptables-batch v1.3.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
SuSEfirewall2: Error: iptables-batch failed, re-running using iptables
iptables v1.3.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.3.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
SuSEfirewall2: Firewall rules successfully set

换成旧的系统自带的内核启动,可以上网,没有以上情况,很郁闷
新内核是2。6。22。2的,尝试了2。5。21。3的出现同种情况
发表于 2007-8-14 03:04:05 | 显示全部楼层
FATAL: Module ip_conntrack not found.
初步觉得是少编译了内核模块,或者少打了补丁。
回复 支持 反对

使用道具 举报

发表于 2007-8-14 20:17:05 | 显示全部楼层
建议用老内核的配置文件直接编译,少改动为妙。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-15 23:48:16 | 显示全部楼层
真是很奇怪,我是用老的内核配置文件编译的,只是把声卡编译进内核,出现这个问题,依旧不能拨号上网、
不知道2位版主在编译安装20以上内核的时候,为什么就没有碰到我这个问题。
看来我只有试试2。6。19。 x的内核
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-16 13:52:33 | 显示全部楼层
I used the default configuration file that suse offers.
I just changed some places in netfilter of kernel configuration.(2.6.22.2)
And then when I run "ifup dsl0",it output

SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
FATAL: Module ip_conntrack not found.
SuSEfirewall2: batch committing...
commit failed on table filter: Invalid argument
SuSEfirewall2: Error: ip6tables-batch failed, re-running using ip6tables
ip6tables: Invalid argument
ip6tables: Invalid argument
ip6tables: Invalid argument
ip6tables: Invalid argument
ip6tables: Invalid argument
ip6tables: Invalid argument
ip6tables: Invalid argument
ip6tables: Invalid argument
ip6tables: Invalid argument
SuSEfirewall2: Firewall rules successfully set

But I can connect the Internet.So I think  "FATAL: Module ip_conntrack not found." is not the problem.

If someone totallly understand this problem,please tell me .Thank you .
回复 支持 反对

使用道具 举报

发表于 2007-8-16 14:15:10 | 显示全部楼层
FATAL: Module ip_conntrack not found.

你在编译内核时候看看这个,搜索下能找到不。

如果用不到IPV6,就不要编译。

试试把网卡那个选择全部选择,包括 PCI USB 等等.....

你是NB的东西,我是DT的。不同,所以不太清楚。
你安装的时候是否跳过了NIC测试?

兄弟能否全说中文? :)
回复 支持 反对

使用道具 举报

发表于 2007-8-16 14:30:58 | 显示全部楼层
zgrep -i ip_nf /proc/config.gz
上面結果看一看?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-16 14:34:34 | 显示全部楼层
Post by linux_pro
FATAL: Module ip_conntrack not found.

你在编译内核时候看看这个,搜索下能找到不。

如果用不到IPV6,就不要编译。

试试把网卡那个选择全部选择,包括 PCI USB 等等.....

你是NB的东西,我是DT的。不同,所以不太清楚。
你安装的时候是否跳过了NIC测试?

兄弟能否全说中文? :)


抱歉,之前没有装SCIM,在台式机上的论坛。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-16 14:40:40 | 显示全部楼层
Post by netman網中人
zgrep -i ip_nf /proc/config.gz
上面結果看一看?

linuxHero:/usr/src # zgrep -i ip_nf /proc/config.gz
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_AH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
CONFIG_IP_NF_TARGET_CLUSTERIP=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
回复 支持 反对

使用道具 举报

发表于 2007-8-16 14:50:05 | 显示全部楼层
哦。
那再看看 nat ?
zgrep -i nf_nat /proc/config.gz

以及 conntrack
zgrep -i nf_conntrack /proc/config.gz
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表