Wireshark Problem in Yosemite

  1. 无法启动wireshark,从命令行运行时,提示错误

     oylbin@ouyangs-MacBook-Air:~ (Window: ) > 
     > wireshark 
     2015-02-28 16:50:31.048 defaults[1624:27634] 
     The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
     dyld: Library not loaded: /usr/X11/lib/libcairo.2.dylib
       Referenced from: /Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
       Reason: image not found
     Trace/BPT trap: 5
    

    解决方案

     sudo ln -s /opt/X11 /usr/X11
    
  2. wireshark启动后看不到任何network interface。解决方案:

     cd /dev
     sudo chown oylbin:admin bp*
     ls -la | grep bp
    

Comments