{"action":"opened","issue":{"url":"https://api.github.com/repos/ahobson/ruby-pcap/issues/8","repository_url":"https://api.github.com/repos/ahobson/ruby-pcap","labels_url":"https://api.github.com/repos/ahobson/ruby-pcap/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ahobson/ruby-pcap/issues/8/comments","events_url":"https://api.github.com/repos/ahobson/ruby-pcap/issues/8/events","html_url":"https://github.com/ahobson/ruby-pcap/issues/8","id":180790115,"number":8,"title":"Unknown data-link type (127) (Pcap::PcapError)","user":{"login":"brundage","id":100001,"avatar_url":"https://avatars.githubusercontent.com/u/100001?v=3","gravatar_id":"","url":"https://api.github.com/users/brundage","html_url":"https://github.com/brundage","followers_url":"https://api.github.com/users/brundage/followers","following_url":"https://api.github.com/users/brundage/following{/other_user}","gists_url":"https://api.github.com/users/brundage/gists{/gist_id}","starred_url":"https://api.github.com/users/brundage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brundage/subscriptions","organizations_url":"https://api.github.com/users/brundage/orgs","repos_url":"https://api.github.com/users/brundage/repos","events_url":"https://api.github.com/users/brundage/events{/privacy}","received_events_url":"https://api.github.com/users/brundage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T02:06:19Z","updated_at":"2016-10-04T02:06:19Z","closed_at":null,"body":"When trying to capture packets from a wireless NIC in monitor mode I get this error\r\n\r\n`capture/ip.rb:20:in 'each_packet': Unknown data-link type (127) (Pcap::PcapError)`\r\n\r\nNetwork configurations:\r\n\r\n```\r\n% ifconfig wlp3s0\r\nwlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 169.254.146.135  netmask 255.255.0.0  broadcast 169.254.255.255\r\n        unspec EC-08-6B-43-37-3C-D0-E6-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)\r\n        RX packets 208359  bytes 41201859 (39.2 MiB)\r\n        RX errors 0  dropped 205629  overruns 0  frame 0\r\n        TX packets 382  bytes 136999 (133.7 KiB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n\r\n% iwconfig wlp3s0\r\nwlp3s0    IEEE 802.11bgn  Mode:Monitor  Frequency:2.437 GHz  Tx-Power=15 dBm   \r\n          Retry short limit:7   RTS thr:off   Fragment thr:off\r\n          Power Management:off\r\n```\r\n\r\nDoes ruby-pcap understand radiotap headers?"}}
{"actor":{"display_login":"brundage"}}