wireless

Set or View “Advanced Wi-fi” Settings programatically

ε祈祈猫儿з 提交于 2019-11-30 20:22:53
I need a way to open the "Advanced wifi" settings programatically to let the user change some of the settings, or, preferably, to change these advanced wireless settings programatically. I can only access the wi-fi settings so far via startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)) but not the advanced settings. Is there a way to open the "Advanced wifi" settings? There are two more settings that might work for you: From the API documentation: Settings.ACTION_WIRELESS_SETTINGS startActivity(new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS)); Settings.ACTION_WIFI_IP

Wireless mesh networking on Raspberry Pi using batman-adv protocol

拟墨画扇 提交于 2019-11-30 10:23:33
So I'm trying to setup a wireless mesh network using Raspberry Pi's, with the Edimax EW-7811Un WLAN Adapter and the batman-adv protocol. I've tried following the basic setup guides from: http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide http://mindofdes.blogspot.co.uk/2013/02/raspberry-pi-raspbian-wireless-and.html Unfortunately, when I get to the point where I need to ping one node from the other, I get Destination Host Unreachable. Running the batctl o command displays 'no batman nodes in range' However, when running iwconfig , both nodes appear to be associated with the

Wireless API for Linux in C or Java

▼魔方 西西 提交于 2019-11-30 07:01:11
my team and I are working in a project based on the drone Parrot API. We are trying to find an api to write a small program which can scan the wireless network and selects the drone ESSID. Our main language is C but Java is also appreciated. I tried to look if exist any API for the iwlist/iwconfig command but i did not find anything. Can someone help me plz? Any example (code sample) will also be appreciated. Gracias With newer kernels the framework for managing wireless cards is called nl80211 . It's netlink based, so you can use libnl to issue commands and parse answers. More information:

Can't connect to Android via ADB over wifi - Do I need root access?

爷,独闯天下 提交于 2019-11-30 06:59:21
I'm basically trying to do this: How can I connect to Android with ADB over TCP? with the Droid X2. I have USB Debugging on, and my phone is plugged in via USB. The IP Address is 10.0.78.33 (I have verified that I can do TCP communication to the phone on that IP, and I can ping it). I go to the command line and do the following: >>adb tcpip 5555 restarting in TCP mode port: 5555 >>adb connect 10.0.78.33:5555 unable to connect to 10.0.78.33:5555 Any thoughts on why this doesn't work? Do I need root access in order to do this? I'm trying to avoid rooting the phone. Thanks! Step 1 . Go to

Is there any way to put Android WIFI (droid handset) into promiscuous monitoring mode?

吃可爱长大的小学妹 提交于 2019-11-30 05:19:52
For a Computer Science Information Warfare class a few years ago I wrote a python script that ran on libpcap promiscuous packet capture files to parse out facebook chat traffic (earlang tuples passed in clear text), and thought an interesting project would be to port the program to Android. I would like to rewrite it in Java but can't find any information about packet capturing directly on the handset. As far as I'm aware, there is no way to put the Wifi NIC into monitoring mode from the public API. However, depending on the device used by the phone, you may be able to get the system to put it

Using nl80211.h to scan access points

断了今生、忘了曾经 提交于 2019-11-30 02:28:51
I'm trying to use nl80211.h for scanning access points for a simple WLAN manager. I can't find any example code and only documentation I can find is kerneldoc . I have been trying to study from iw and wpa_supplicant source but it's rather complex. This is only documentation I can find: NL80211_CMD_GET_SCAN get scan results NL80211_CMD_TRIGGER_SCAN trigger a new scan with the given parameters NL80211_ATTR_TX_NO_CCK_RATE is used to decide whether to send the probe requests at CCK rate or not. How can I scan access points with nl80211? I think I need to use enum nl80211_commands {NL80211_CMD_GET

Xcode 4.5 - Wirelessly build app on my device

亡梦爱人 提交于 2019-11-29 23:24:25
So recently my iPhone 4 decided to stop working and I can no longer connect it to my Mac or PC with a USB (it'll only charge if I connect it to a USB that's in a wall outlet and I have to push the 30 pin connector upwards while inserting) but that's another issue. The problem is that I can no longer build and test my app on my device. I have my device set up with iTunes so I can do a wireless sync. So other than testing my apps on my device the phone is still 100% usable. I was reading this other post Xcode 4.2 Support Wirelessly Connected Devices that seems to be talking about wirelessly

Raspberry Pi ad-hoc networking

早过忘川 提交于 2019-11-29 23:19:18
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 managed mode to a router: Bus 001 Device 004: ID 050d:945a Belkin Components F7D1101 v1 Basic Wireless

Wireless mesh networking on Raspberry Pi using batman-adv protocol

∥☆過路亽.° 提交于 2019-11-29 14:56:43
问题 So I'm trying to setup a wireless mesh network using Raspberry Pi's, with the Edimax EW-7811Un WLAN Adapter and the batman-adv protocol. I've tried following the basic setup guides from: http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide http://mindofdes.blogspot.co.uk/2013/02/raspberry-pi-raspbian-wireless-and.html Unfortunately, when I get to the point where I need to ping one node from the other, I get Destination Host Unreachable. Running the batctl o command displays 'no

Wireless API for Linux in C or Java

Deadly 提交于 2019-11-29 07:55:52
问题 my team and I are working in a project based on the drone Parrot API. We are trying to find an api to write a small program which can scan the wireless network and selects the drone ESSID. Our main language is C but Java is also appreciated. I tried to look if exist any API for the iwlist/iwconfig command but i did not find anything. Can someone help me plz? Any example (code sample) will also be appreciated. Gracias 回答1: With newer kernels the framework for managing wireless cards is called