{"action":"created","issue":{"url":"https://api.github.com/repos/anthill/6sense/issues/32","labels_url":"https://api.github.com/repos/anthill/6sense/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/anthill/6sense/issues/32/comments","events_url":"https://api.github.com/repos/anthill/6sense/issues/32/events","html_url":"https://github.com/anthill/6sense/issues/32","id":118081600,"number":32,"title":"iw doesn find the proper physcal interface and make all usb down","user":{"login":"vallettea","id":371303,"avatar_url":"https://avatars.githubusercontent.com/u/371303?v=3","gravatar_id":"","url":"https://api.github.com/users/vallettea","html_url":"https://github.com/vallettea","followers_url":"https://api.github.com/users/vallettea/followers","following_url":"https://api.github.com/users/vallettea/following{/other_user}","gists_url":"https://api.github.com/users/vallettea/gists{/gist_id}","starred_url":"https://api.github.com/users/vallettea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vallettea/subscriptions","organizations_url":"https://api.github.com/users/vallettea/orgs","repos_url":"https://api.github.com/users/vallettea/repos","events_url":"https://api.github.com/users/vallettea/events{/privacy}","received_events_url":"https://api.github.com/users/vallettea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-20T16:55:18Z","updated_at":"2015-11-24T09:40:50Z","closed_at":null,"body":"```\r\npi@raspberrypi ~/6brain $ sudo env=DEBUG node index.js\r\nZZZzzzZZZzzz...  sleeping  ...ZZZzzzZZZzzz\r\nbluetooth state : uninitialized\r\nbluetooth state : initialized\r\nconnected to the server. ID : 89332401000001798145\r\ndata received : init 300 7 20 2015-11-20T16:52:13.872Z\r\nActivating Monitor mode... interface : wlan0\r\nbluetooth state : recording\r\nphysical interface to use : phy4\r\nOK all good !\r\nExiting sleeping state\r\n============== monitoring ==============\r\nStarting recording process...\r\ntcpdump: wlan0mon: No such device exists\r\n(wlan0mon: SIOCGIWPRIV: No such device)\r\nExiting monitoring state\r\n************** recording **************\r\n^Cpi@raspberrypi ~/6brain $ ifconfig\r\neth0      Link encap:Ethernet  HWaddr b8:27:eb:da:65:22\r\n          inet addr:192.168.20.35  Bcast:129.168.20.255  Mask:255.255.255.0\r\n          inet6 addr: fe80::ba27:ebff:feda:6522/64 Scope:Link\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          RX packets:975 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:686 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1000\r\n          RX bytes:85854 (83.8 KiB)  TX bytes:98465 (96.1 KiB)\r\n\r\nlo        Link encap:Local Loopback\r\n          inet addr:127.0.0.1  Mask:255.0.0.0\r\n          inet6 addr: ::1/128 Scope:Host\r\n          UP LOOPBACK RUNNING  MTU:65536  Metric:1\r\n          RX packets:567 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:567 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:0\r\n          RX bytes:70255 (68.6 KiB)  TX bytes:70255 (68.6 KiB)\r\n\r\nppp0      Link encap:Point-to-Point Protocol\r\n          inet addr:10.72.2.246  P-t-P:10.64.64.64  Mask:255.255.255.255\r\n          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1\r\n          RX packets:219 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:247 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:3\r\n          RX bytes:42543 (41.5 KiB)  TX bytes:45035 (43.9 KiB)\r\n\r\npi@raspberrypi ~/6brain $ sudo env=DEBUG node index.js\r\nZZZzzzZZZzzz...  sleeping  ...ZZZzzzZZZzzz\r\nbluetooth state : uninitialized\r\nbluetooth state : initialized\r\nconnected to the server. ID : 89332401000001798145\r\ndata received : init 300 7 20 2015-11-20T16:53:17.921Z\r\nActivating Monitor mode... interface : wlan0\r\nbluetooth state : recording\r\nphysical interface to use : phy5\r\n```\r\n\r\nthe weird thing here is that wlan0 changes physical interface."},"comment":{"url":"https://api.github.com/repos/anthill/6sense/issues/comments/159209230","html_url":"https://github.com/anthill/6sense/issues/32#issuecomment-159209230","issue_url":"https://api.github.com/repos/anthill/6sense/issues/32","id":159209230,"user":{"login":"vallettea","id":371303,"avatar_url":"https://avatars.githubusercontent.com/u/371303?v=3","gravatar_id":"","url":"https://api.github.com/users/vallettea","html_url":"https://github.com/vallettea","followers_url":"https://api.github.com/users/vallettea/followers","following_url":"https://api.github.com/users/vallettea/following{/other_user}","gists_url":"https://api.github.com/users/vallettea/gists{/gist_id}","starred_url":"https://api.github.com/users/vallettea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vallettea/subscriptions","organizations_url":"https://api.github.com/users/vallettea/orgs","repos_url":"https://api.github.com/users/vallettea/repos","events_url":"https://api.github.com/users/vallettea/events{/privacy}","received_events_url":"https://api.github.com/users/vallettea/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T09:40:50Z","updated_at":"2015-11-24T09:40:50Z","body":"also scary:\r\n```\r\nZZZzzzZZZzzz...  sleeping  ...ZZZzzzZZZzzz\r\nbluetooth state : uninitialized\r\nconnected to the server. ID : 89332401000001798145\r\ndata received : init 300 7 20 2015-11-20T13:53:13.197Z\r\n[DEBUG 6brain]  command received : init\r\n[DEBUG 6brain]  args : [ 'init', '300', '7', '20', '2015-11-20T13:53:13.197Z' ]\r\n[DEBUG 6brain]  init done\r\n[DEBUG 6brain]  Restarting measurements.\r\nActivating Monitor mode... interface : wlan0\r\nphysical interface to use : phy18\r\nOK all good !\r\nExiting sleeping state\r\n[DEBUG 6brain]  wifi status sent : monitoring\r\n============== monitoring ==============\r\nStarting recording process...\r\ntcpdump: verbose output suppressed, use -v or -vv for full protocol decode\r\nlistening on wlan0mon, link-type IEEE802_11_RADIO (802.11 plus radiotap header), capture size 262144 bytes\r\nExiting monitoring state\r\n[DEBUG 6brain]  wifi status sent : recording\r\n************** recording **************\r\ntcpdump: pcap_loop: The interface went down\r\n69252 packets captured\r\n69252 packets received by filter\r\n0 packets dropped by kernel\r\n4294967026 packets dropped by interface\r\n```"}}