【问题标题】:yocto custom built linux iptables issueyocto 自定义构建的 linux iptables 问题
【发布时间】:2015-10-15 03:46:00
【问题描述】:

我是 yocto 新手用户,我正在使用 yocto 为 olinuxino a20-lime 开发自定义 linux 构建 我正在尝试使用基于 rtl8192cu 的加密狗(TP-Link wn823n)建立接入点 我跟着这个教程http://trac.gateworks.com/wiki/Yocto/Wireless

当我运行iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT 时,我得到了No chain/target/match by that name 现在我该怎么办?更改 linux 内核构建参数之类的?

我的 ap 模式正在运行(我的意思是设备可以连接),但互联网连接似乎时不时地断开。 我该怎么办?

【问题讨论】:

    标签: iptables yocto hostapd


    【解决方案1】:

    我最好的猜测是内核没有在 conntrack 支持下构建(或者模块没有加载),因此无法识别“-m 状态”。

    可以通过设置以下内核配置项来允许连接跟踪:

    • CONFIG_NF_CONNTRACK
    • CONFIG_NF_CONNTRACK_IPV4

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-06-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-07
      • 2020-04-08
      • 2021-10-20
      相关资源
      最近更新 更多