zoukankan      html  css  js  c++  java
  • macos Mojave 出现网络出错 Frame Check Sequence: Bad checksum

       问题描述:使用软电话外呼的时候出现Request Timeout . 端口监听之后通过 Wireshark发现错误:`Frame Check Sequence: Bad checksum`,查看wireshark 的preference 配置,checksum disable. 定位问题为电脑网络 checksum 出问题。
       

      解决方案:查询 使用命令关闭网络checksum功能

        sysctl -w net.link.ether.inet.apple_hwcksum_tx=0

        sysctl -w net.link.ether.inet.apple_hwcksum_rx=0

        出错:sysctl: unknown oid 'net.link.ether.inet.apple_hwcksum_tx'

               在https://gist.github.com/RichGuk/7252584 中查找类似key 

        最终解决:

          sysctl -w  net.link.generic.system.hwcksum_tx=0

          sysctl -w  net.link.generic.system.hwcksum_rx=0

       

     备注:执行sysctl 命令需要先取消系统保护 ,可根据教程 http://www.cadhome.com.cn/17646.html 处理

  • 相关阅读:
    linux基础知识-17
    linux基础知识-16
    linux基础知识-15
    linux基础知识-14
    linux基础知识-13
    phone 调试三种工具
    ANT_HOME is set incorrectly or ant could not be located .Please set ANT_HOME.
    如何解决google ping不通的问题。
    weinre targets none 的问题
    phonegap3.5了结
  • 原文地址:https://www.cnblogs.com/huronghuan/p/11334685.html
Copyright © 2011-2022 走看看