wifi

Configure OpenWrt to provide HTTP authentication [closed]

倖福魔咒の 提交于 2019-11-29 04:49:30
I need to configure an "Accton MR3201A" access point running OpenWrt. I want it to provide an open WiFi with an HTTP authentication webpage on which users must provide a username & password before being able to access the internet. Is there an existing package ( http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/ ) that allows this ? 0xception This may be a little bit of an old post, but figured it might be helpful for anyone else searching: There are a few captive portal solutions out there and the best solution depends on your flexibility, customization, and technology requirements

how to get distance using Wi-Fi

馋奶兔 提交于 2019-11-29 04:13:37
问题 I want to find the distance using wi-fi and plot the marker on map in iPhone. So any idea or code i can get for that? 回答1: Upon first reading your question, i was under the assumption you were referring to distance to an access point. After writing a bunch about that, i realized you might mean something else. In case that is what you mean, keep reading... Given your configuration: a single fixed receiver (your phone doesn't have to be fixed, but it is effectively fixed if you're looking for

Can I use Wi-Fi Direct and cellular data in an app?

旧巷老猫 提交于 2019-11-29 02:46:00
I have two+ Android devices. I would like the devices to send instructions to the other devices using Wi-Fi Direct, while at the same time being able to access the internet via their cellular data connection. It seems that using the Wi-Fi Direct interface is being treated as the primary connection, disabling the other connections, just like how Wi-Fi disables the cellular data connection. How can I programmatically allow both to operate at the same time? Currently the Wi-Fi Direct receiver is implemented according to Google's Android Developer documents. I was under the assumption that I could

Detecting limited network connectivity in Android?

本秂侑毒 提交于 2019-11-29 02:30:18
There are a number of questions regarding how to detect network connectivity in Android. https://stackoverflow.com/a/4239019/90236 provides a very detailed answer and https://stackoverflow.com/a/8548926/90236 shows methods to identify the type of network to which one is connected. We detect network connectivity using code similar to those answers like: private boolean isNetworkAvailable() { ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); return

Android - Detect if Wifi Requires Browser Login

随声附和 提交于 2019-11-29 02:24:57
问题 My university has an open wifi access point, however it requires you to enter your e-mail before it allows you to use the web. My problem is that the Wifi is stupid in that it seems to drop my connection and force me to enter my e-mail again every 10 minutes. I wanted to create my own app that I can use to automatically do this step for me, but I cannot seem to find any documentation for a nice and easy way to detect if a Wifi access point has a browser login page. Is there a way in Android

Getting OSX Connected Wi-Fi Network Name

做~自己de王妃 提交于 2019-11-29 01:00:24
问题 I need to get the name of the currently connected Wi-Fi SSID on OSX. I've messed with the SystemConfiguration framework, I feel like it is there (as I am able to get the name of the network locaiton) but I am not really finding a way of getting the Wi-Fi SSID. Would appreciate any help. :) Thanks. 回答1: You can use the CoreWLAN framework: CWInterface has a property called ssid . The code below gets the current wireless interface and shows its BSD name and its SSID. It works on Mac OS 10.6+.

How to get signal strength of connected WiFi android?

半世苍凉 提交于 2019-11-29 00:37:10
I want to get signal strength of this wifi which is connected with my device. This is probably easy. But I am beginner. And It's homework. How to get it? I tried this code. But it doesn't work. registerReceiver(new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { final WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); int state = wifi.getWifiState(); if(state == WifiManager.WIFI_STATE_ENABLED) { List<ScanResult> results = wifi.getScanResults(); for (ScanResult result : results) { if(result.BSSID.equals(wifi.getConnectionInfo()

determining your location using ONLY wifi signals?

岁酱吖の 提交于 2019-11-29 00:10:26
问题 i will be working on a project that tries to determine your position using the wifi signal strength from a few access points. i was wondering if anyone knew of any similiar projects or any articles on that topic if anyone cares: its a research project in at my university. the app is written is used as a playing ground to develop new wifi antenna that are better suited for this type of usage. i only work on the coding part of the project though. oh and its written using c# which is not

List / Scan for available WiFis iPhone

删除回忆录丶 提交于 2019-11-28 22:06:58
I'm searching for a way to present available WiFis in an iPhone App. So far my research resulted in the following: Apps that implement(ed) such a functionality were removed from the AppStore (means you can't deploy the App via AppStore which is fine for me) Apple hides the functionality that is necessary for a scan in a private framework and you can't find any explanations/comments/examples on "how to use" http://code.google.com/p/iphone-wireless seems to be most promising. anyway, i can't figure out how to include the delivered sources in my code so that it runs on a device Even the adaptions

LocationManager returns old cached “Wifi” location with current timestamp

拈花ヽ惹草 提交于 2019-11-28 21:41:21
问题 I am trying to get the current location. For that I implement a LocationListener and register it for both the network and the GPS provider: locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener); I block then for 30 seconds and use the first location that gets passed into the listener's onLocationChanged() method with an accuracy of 100 meters or better. Most