wifi

macbook找不到wifi热点的方法

醉酒当歌 提交于 2019-12-04 16:29:56
问题描述: 使用MacBook pro retina连接无线路由器时总是出现找不到无线路由器的情况,无论怎么重新启动macbook上的wifi开关也找不到无线路由器热点,但是重新启动一下无限路由器后有时能找到该无线路由器。 问题原因: macbook pro目前无法正确识别出频道大于11的wifi热点,因此在无线路由器上选择频道为自动时,若此时频道选择大于11,则macbook pro无法正确识别出该wifi热点。 解决方案: 登陆无线路由器,更新无线设置的频道,手动设置频道为11以下的值即可(注意尽可能不要选择1和6频道,因为这两个频道的用户太多了,容易对数据产生干扰)。 来源: oschina 链接: https://my.oschina.net/u/206258/blog/82058

Wifi information in Java

时光总嘲笑我的痴心妄想 提交于 2019-12-04 15:21:41
How can I get the MAC address , SSID , and signal strength of wifi routers nearby in Java ? Preferably system independent, if not then Windows. I don't really think there's any system independent way to know that from Java. On Windows you should be able to do that using Wireless LAN API s, but you most probably need some JNI to have access to them. Rafa de Castro To get the Mac address you need to query the ARP cache. Which is not trivial and system dependant. More here: Query ARP cache to get MAC ID I know this is a very old question but you can use netsh commands in Windows to extract wifi

Using selenium and Appium is it possible to change between wifi networks?

孤街醉人 提交于 2019-12-04 15:04:37
Using: selenium webdriver, rubygems, appium, android and ios devices The app I am testing has a button which becomes enabled only when connected to a specific wireless network. I'd like to create a script which will check if the button is active or not vKioskStatus = element.enabled? puts(vKioskStatus) If it is not active, then I'd like to change wifi networks. Is that possible to automate changing networks on a mobile device? UPDATE I'm receiving the following error when trying to use getNetworkConnection. Is there a require I need to add? <main>': undefined method `getNetworkConnection' for

duplicate SSID in scanning wifi result

十年热恋 提交于 2019-12-04 15:00:38
i'm trying to make an app that can create a list of available wifi access point. here's part of the code i used: x = new BroadcastReceiver() { @Override public void onReceive(Context c, Intent intent) { results = wifi.getScanResults(); size = results.size(); if (results != null) { for (int i=0; i<size; i++){ ScanResult scanresult = wifi.getScanResults().get(i); String ssid = scanresult.SSID; int rssi = scanresult.level; String rssiString = String.valueOf(rssi); textStatus.append(ssid + "," + rssiString); textStatus.append("\n"); } unregisterReceiver(x); //stops the continuous scan textState

https connection works over Wifi (wlan) but not for 3G/GPRS (umts)

∥☆過路亽.° 提交于 2019-12-04 14:55:49
I find this kindda strange: I transferred a working http connection into a https connection with a self-signed certificate following these instructions . All works well when I'm connected to WiFi. However, 3G/GPRS connections won't work. Instead, I get a 'timed out' or 'connection refused' exception. So does anyone have an explanation for this? Any help is appreciated since this is time critical. Thanks in advance, steff Alright, you guys were so right in pointing me to the certificate issue. Actually I couldn't believe it and it's still not clear to me how it worked over WiFi and failed over

Direct Wifi Communication between android smartphone and other devices

旧城冷巷雨未停 提交于 2019-12-04 14:01:27
问题 I want to establish a communication (via WIFI) between an Android device and another device (which is not another android smartphone but a device with wifi implemented using c++). I already found out that android provides direct wifi in order to communicate directly over wifi with two android devices. How can I communicate over wifi (without a network) with an android device and another c++ device? Especially, I want my app to discover any device which is in the near. So I have to implement

ACCESS VBA - Obtain Wireless Network Name (Connected)

僤鯓⒐⒋嵵緔 提交于 2019-12-04 13:42:26
Is it possible to detect the users Wifi network (SSID) they are connected to via vba? in Access 2010 Many thanks Max After some more research, I found the following link: http://www.vbforums.com/showthread.php?547916-List-available-wireless-networks-(using-WMI)-Help-pls If you scroll down to post #19 there is a code fragment using Native Wifi API, I adapted to the following code fragment where Function GetConnectedSSID() will return the SSID of the currently connected Wifi network: Option Explicit Private Const DOT11_SSID_MAX_LENGTH As Long = 32 Private Const WLAN_MAX_PHY_TYPE_NUMBER As Long =

Why does NSNetServiceBrowser find unpublished services in iPhone OS?

亡梦爱人 提交于 2019-12-04 13:36:57
Building a desktop version of my mobile app and providing the user syncing over wifi. Everything works great in the simulator - no problems resolving net services (which are published by the desktop app) or noticing when services become unavailable. The problem is when I run the app on the phone services are discovered and resolved (sometiems) but the NSNetServiceBrowser never notices when a service becomes unavailable. When this happens the net service browser constantly finds a net service (that is no longer published) resolves it but then can't connect to it. After several failed attempts

socket.io seems to be delayed on my Android phone

妖精的绣舞 提交于 2019-12-04 13:29:02
EDIT 2: I observed the same behavior using server-sent events (SSE) . See example here . (Of course, it is one way). However, it seems more robust on my Nexus 5 and it doesn't lag frequently. Also it recovers/reconnects fast. EDIT 1: See also Websocket interval... on SO. I'm using a Nexus 5 with Chrome 45 to communicate to my laptop via wifi through the router. The server on my desktop is coded with node.js version 0.12.7 and I use socket.io 1.3.6. Here is the code for the server: 'use strict' const app = require( 'express' )(); app.get( '/', function( req, res ){ res.render( 'test_socketio

CoreBluetooth and Wifi interference

你说的曾经没有我的故事 提交于 2019-12-04 12:15:30
I'm really stuck with a problem, thus, needless to say, I need your help. I'm using CoreBluetooth to communicate between two iDevices, it is the same app, running as a central on one device and as a peripheral on the other device. In some cases the central loses connection to the peripheral with the following error: Error Domain=CBErrorDomain Code=10 "The connection has failed unexpectedly." UserInfo=0x14ee8fe0 {NSLocalizedDescription=The connection has failed unexpectedly.} In this particular case, the peripheral was an iPad 4 and the central was an iPad mini. I tracked down the problem and