wireless

RSSI information with Scapy

落花浮王杯 提交于 2021-01-29 14:16:30
问题 When I try to get Rssi information from my around wireless network with Scapy , I'm getting some error. Also , I am using ALFA-036NH , my monitor mode is open and OS is Kali Linux. I used below codes : from scapy.all import * from datetime import datetime import os import signal import sys def PacketHandler(pkt) : if pkt.haslayer(Dot11) : if pkt.type == 0 and pkt.subtype == 8 : if pkt.haslayer(Dot11Beacon) or pkt.haslayer(Dot11ProbeResp): try: extra = pkt.notdecoded rssi = -(256 - ord(extra[

基于Android平台的无线传感器网络(ZigBee)监控系统

主宰稳场 提交于 2020-05-05 11:38:31
过去包括将来,从别人开源项目上和博客学到太多,实在是很欣赏开源的精神。这段时间,review了下做过的东西,毕业后不再做这个方向的东西了。陆续也有不少网上或者低届的同学问我讨要论文相关资料,现在把读研期间做的东西的资料、源码开源出来,全部放到github上 https://github.com/changety/hellowsn ,供参考,也为纪念自己读研期间花在它们上的时光。六月是新的旅途。这里贴一下readme文件和相关图。 Wireless Sensor Networks(WSN) Monitor System Based On Android 包括三部分: ZigBee协议 实现的WSN,由ZigBee协议的传感节点组成,完成数据采集、处理、上传,执行控制命令。 项目文件 JavaWeb实现的服务端,由RS232通信,数据解析,持久化层,面向移动终端的Web通信等模块组成。web部分包括了HTTP及XMPP协议的推送服务。 项目文件 Android平台上的WSN监控软件。 项目文件 WSN部分: 硬件基础 兼容 TI CC2530DK 的所有CC2530评估板上 运行 ZigBee协议 协议栈 Z-Stack协议栈 的CC2530芯片节点 软件实现 构建于基于 ZigBee协议 实现的 Z-Stack协议栈 上,在AP层上实现所有功能逻辑。 部署方法 熟悉IAR以及Z

iOS wireless ad hoc distribution fails at the end of download with “Unable to download…” message

半腔热情 提交于 2020-01-25 19:21:26
问题 iOS wireless ad hoc distribution fails at the end of download with "Unable to download..." message. I followed steps in the answer of here: iOS 4: wireless app distribution for in-house applications . Any workaround? 回答1: I got solution. I did not downloaded Provisioning Profile . A new device should download proper Provisioning Profile before downloading the app. 来源: https://stackoverflow.com/questions/3682279/ios-wireless-ad-hoc-distribution-fails-at-the-end-of-download-with-unable-to-do

How to know if MAC address is attached to wireless card or ethernet card?

為{幸葍}努か 提交于 2020-01-16 19:50:22
问题 I'm performing network monitoring with a software developed by my company. For each machine, I have the mac address of the card used to connect to the network. I'm looking for a way to know, from the MAC address (for example), if the card is an Ethernet card or a wireless card. I can use nmap and openvas sensors results in my analysis. The final goal is to get a hint to know if the machine is a workstation or a laptop. I'm programming in python, but any other solution is welcome. Thanks 回答1:

How to know if MAC address is attached to wireless card or ethernet card?

倖福魔咒の 提交于 2020-01-16 19:49:47
问题 I'm performing network monitoring with a software developed by my company. For each machine, I have the mac address of the card used to connect to the network. I'm looking for a way to know, from the MAC address (for example), if the card is an Ethernet card or a wireless card. I can use nmap and openvas sensors results in my analysis. The final goal is to get a hint to know if the machine is a workstation or a laptop. I'm programming in python, but any other solution is welcome. Thanks 回答1:

Android WifiConfiguration shows -1 for ID. How can I fix it for SSID to be recognized?

北慕城南 提交于 2020-01-05 16:40:06
问题 String networkSSID = "networkName"; String networkPassword = "networkPassword"; WifiManager wm = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); if (!wm.isWifiEnabled()) { if (wm.getWifiState() != WifiManager.WIFI_STATE_ENABLING) { wm.setWifiEnabled(true); } } WifiConfiguration wifiConfig = new WifiConfiguration(); wifiConfig.allowedAuthAlgorithms.clear(); wifiConfig.allowedGroupCiphers.clear(); wifiConfig.allowedKeyManagement.clear(); wifiConfig.allowedPairwiseCiphers.clear();

Can't Switch GPS On/Off and Wireless Location Settings through System.secure

…衆ロ難τιáo~ 提交于 2020-01-05 05:25:10
问题 I want switch Location Providers On and Off, that is GPS and Wireless Location I added permission in manifest my code to change wireless location settings is... Settings.Secure.setLocationProviderEnabled(context.getContentResolver(), provider, true); whenever I run this code logcat shows error logcat out put Caused by: java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS I searched about this, many person says The WRITE

Raspberry Pi ad-hoc networking

◇◆丶佛笑我妖孽 提交于 2019-12-29 18:06:15
问题 I want to try some networking projects with Raspberry Pis, and I need to just send packets between a pair of pis. I would be happy as a first step just being able to ping between to Raspberry Pis in ad-hoc mode. I have not successfully done this despite looking at several tutorials and examples online. I have 2x Raspberry Pis with the Debian Wheezy OS installed. I am using the following USB adapter which I installed firmware for on both pis and tested that they work by connected them in

Raspberry Pi ad-hoc networking

柔情痞子 提交于 2019-12-29 18:03:47
问题 I want to try some networking projects with Raspberry Pis, and I need to just send packets between a pair of pis. I would be happy as a first step just being able to ping between to Raspberry Pis in ad-hoc mode. I have not successfully done this despite looking at several tutorials and examples online. I have 2x Raspberry Pis with the Debian Wheezy OS installed. I am using the following USB adapter which I installed firmware for on both pis and tested that they work by connected them in