wifi

Phone doesn't send all stored ssids while capturing Wi-Fi probe wequests

冷暖自知 提交于 2019-12-06 02:58:58
问题 I build a script with scapy to capture probe requests in a monitornig wi-fi interface. I successfully capture the requests, and some of the SSIDs contained in them. But most of the networks stored in the phone don't get broadcasted. And there isn't a clear pattern of why this happens. Some phones don't broadcast ssids at all. I'm trying to find an explanation for the reasoning behind this behaviour, but haven't found any, apart that the hidden networks should be broadcasted in order for the

iOS: Use WiFi and Mobile Data simultaneously

折月煮酒 提交于 2019-12-06 02:49:48
问题 Setup: My project involves a WiFi Camera which creates a WiFi hotspot. In order to stream video preview/browse media on the Camera, the user needs to connect to Camera's hotspot. Problem: The user cannot use the cellular data over 3G/4G simultaneously, as the iOS device is already connected to the camera via WiFi. What I have tried? / Investigations Customizing WiFi hotspot by setting Static IP, Subnet Mask and leaving all other fields empty. This works as expected, iOS connects to the

how can I send raw packets over wifi without a network?

别说谁变了你拦得住时间么 提交于 2019-12-06 01:29:51
I am trying to send some data between 2 raspberry pi's over wifi without them being connected to a network. I want it to work similar to the way beacons and probe requests work, where a broadcast can be sent out the wireless interface. the data I want to send will be the hostname of the device and the time the packet was sent. I've been trying to figure this out for the last few days but I cannot get anything to work without them being on the same network. Is anybody able to point me in the right direction? I'm not too fussed about what language I use. I have been trying python and C with

Switching from WiFi connection to 3g causes connection to hang?

一曲冷凌霜 提交于 2019-12-06 00:58:12
I have an application which connects to a web service. I can connect to the web service any number of times without any problem using WIFI or 3G provided that I stay loyal to my connection type during the life cycle of my application. That is if I don't switch from WIFI to 3G. If I switches from WIFI to 3G, I can't get a response anymore. My connection just keeps on waiting for response. I tried 4 scenarios below. I'm only having problem with the 3rd scenario. What could be the problem? 1st Scenario: Connection is always on WIFI (Ok) Application connects to a web service using WIFI. Response

Is there a way to detect what kind of connection I'm using ? WiFi, 3G or Ethernet?

谁说我不能喝 提交于 2019-12-06 00:38:10
问题 I'm trying to detect what kind of network connection I'm connected to. is it WiFi or 3G? is there a way to do that using c# win forms .net 2.0 or 4.0 ? foreach (NetworkInterface adapter in adapters) { if (adapter.OperationalStatus == OperationalStatus.Up) { if (adapter.NetworkInterfaceType == NetworkInterfaceType.Wireless80211) { lblNetworkType.Text = "you are using WiFi"; break; } else if (adapter.NetworkInterfaceType == NetworkInterfaceType.Ppp) { lblNetworkType.Text = "you are using 3G or

Accessing 802.11 Wireless Management Frames from Python

喜夏-厌秋 提交于 2019-12-05 22:19:16
问题 From Python on Linux I would like to sniff 802.11 management 'probe-request' frames. This is possible from Scapy like so: # -*- coding: utf-8 -*- from scapy.all import * def proc(p): if ( p.haslayer(Dot11ProbeReq) ): mac=re.sub(':','',p.addr2) ssid=p[Dot11Elt].info ssid=ssid.decode('utf-8','ignore') if ssid == "": ssid="<BROADCAST>" print "%s:%s" %(mac,ssid) sniff(iface="mon0",prn=proc) Or from tshark like so: tshark -n -i mon0 subtype probereq -R 'wlan.fc.type_subtype eq 4' -T fields -e wlan

Firebase servers not reachable when using mobile phone data (3g/4g)

断了今生、忘了曾经 提交于 2019-12-05 22:18:43
I was running some FireBase tests and suddenly I realized Firebase was not working anymore when using mobile data from Chile. At the beginning I thought the problem was my app so I tried to open a Firebase official example but I had no luck (office-mover-demo example). This is what I tried: I connected the phone to my home wifi connection and FireBase works :) I shared the phone’s internet connection to my computer and it did not work :( . This is the error y receive. I emailed Firebase support and they sill don´t have an answer to this strange situation. I asked people from The Netherlands

C# Dns.GetHostEntry doesn't return names of mobile devices connected to WiFi

主宰稳场 提交于 2019-12-05 20:33:41
I have a windows form application in C# and I'm trying to get the host name of all the clients that I have in a list. Given below is a code example by ra00l from this link: GetHostEntry is very slow (I have a similar code made but this one is cleaner) private delegate IPHostEntry GetHostEntryHandler(string ip); public string GetReverseDNS(string ip, int timeout) { try { GetHostEntryHandler callback = new GetHostEntryHandler(Dns.GetHostEntry); IAsyncResult result = callback.BeginInvoke(ip,null,null); if (result.AsyncWaitHandle.WaitOne(timeout, false)) { return callback.EndInvoke(result)

How can I list the devices connected to my WiFi network using VB6 or BAT/CMD?

邮差的信 提交于 2019-12-05 19:03:47
I am making a program to list all the devices who are connected to my Wi-Fi network so that I can see if anyone else is connected. I have found a code for CMD - net view but it lists only the computers connected to my Wi-Fi but not the mobile devices. Is there any other command to list mobile devices connected to my Wi-Fi using CMD. You need an external tool called : Wireless Network Watcher Description : Wireless Network Watcher is a small utility that scans your wireless network and displays the list of all computers and devices that are currently connected to your network. For every

Java create wifi hotspot in Windows 8

蓝咒 提交于 2019-12-05 18:34:56
I need to create a wifi hotspot and a DHCP server in Windows 7-8 with Java. I'm developing a software that could be for the user less intrusive and simple that i could. For the first part of my work, I thought to use netsh to create the hosted network and to set static the ip. my current code is this: String[] command = { "cmd", }; Process p = Runtime.getRuntime().exec(command); new Thread(new SyncPipe(p.getErrorStream(), System.err)).start(); new Thread(new SyncPipe(p.getInputStream(), System.out)).start(); PrintWriter stdin = new PrintWriter(p.getOutputStream()); //now I use the stdin