wpa

Debian 7.4 - Wifi configuration fails … Again [closed]

匆匆过客 提交于 2019-12-25 02:22:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I've been installing multiple versions of ubunutu over years and now I better understand why I faced always problems with wifi configuration on these different baselines : Debian root of course. Issue Now on Debian 7.4 : The Broadcom BCM4313 driver is not loaded by default (not free product) for my wifi card.

wpa-handshake with python - hashing difficulties

拈花ヽ惹草 提交于 2019-12-04 11:23:01
问题 I try to write a Python program which calculates the WPA-handshake, but I have problems with the hashes. For comparison I installed cowpatty (to see where I start beeing wrong) . My PMK-generation works fine, but the PTK-calculation alsways seems to be wrong. I am not sure if I have to format my input (macadresses and noces) or just give them into the function as a string. I will give you my routerinformation, which is no problem since I just set it up for testing. My program looks as follows

How to connect to WPA_EAP WIFI on Android with 4.3 API

会有一股神秘感。 提交于 2019-12-04 10:27:42
问题 Recently Android added the ability to connect to EAP WIFI with API 18 (JellyBean 4.3). I have looked for a number of examples, but can't find any examples, and I can't get my code to connect. Everything appears to work as expected, but making the actual connection doesn't seem to work. Here is what I'm doing: Log.d( "WiFi", "adding network via Android Enterprise Config with SSID: " + ssid ); WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); wifiConfig = new WifiConfiguration

Android using wifimanager to connect to WPA-PSK secured network

折月煮酒 提交于 2019-12-04 02:21:43
问题 so I have trawled true all threads in here and any where else where google would take me. But still I am having problems connecting to WPA PSK networks. Here is my code, I have 2 edittext fields from which I read SSID and PSK and then one checkbox to select if SSID is hidden or not. EditText mSSID = (EditText) findViewById(R.id.wifiTVssidcurrent); String networkSSID = mSSID.getText().toString(); EditText mWPA = (EditText) findViewById(R.id.wifiTVwpacurrent); String networkWPA = mWPA.getText()

wpa-handshake with python - hashing difficulties

匆匆过客 提交于 2019-12-03 07:27:31
I try to write a Python program which calculates the WPA-handshake, but I have problems with the hashes. For comparison I installed cowpatty (to see where I start beeing wrong) . My PMK-generation works fine, but the PTK-calculation alsways seems to be wrong. I am not sure if I have to format my input (macadresses and noces) or just give them into the function as a string. I will give you my routerinformation, which is no problem since I just set it up for testing. My program looks as follows: import hmac,hashlib,binascii passPhrase = "10zZz10ZZzZ" ssid = "Netgear 2/158" A = "Pairwise key

How to connect to WPA_EAP WIFI on Android with 4.3 API

ぃ、小莉子 提交于 2019-12-03 06:47:17
Recently Android added the ability to connect to EAP WIFI with API 18 (JellyBean 4.3). I have looked for a number of examples, but can't find any examples, and I can't get my code to connect. Everything appears to work as expected, but making the actual connection doesn't seem to work. Here is what I'm doing: Log.d( "WiFi", "adding network via Android Enterprise Config with SSID: " + ssid ); WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); wifiConfig = new WifiConfiguration(); wifiConfig.SSID = ssid; enterpriseConfig.setIdentity(userName); enterpriseConfig.setPassword

“no route to host” on device on getOutputStream() - connected wirelessly

孤街浪徒 提交于 2019-12-02 14:56:43
问题 private String urlPost = "http://192.168.1.66:8080/DataCollectionServlet/"; @Override protected void doWakefulWork(Intent intent) { // https://stackoverflow.com/q/14630255/281545 HttpURLConnection connection = null; try { connection = connection(); w("connection"); // allrigt final OutputStream connOutStream = connection.getOutputStream(); w("GEToUTPUTsTREAM"); // I never see this } catch (IOException e) { e.printStackTrace(); // No route to host } finally { if (connection != null) connection

“no route to host” on device on getOutputStream() - connected wirelessly

♀尐吖头ヾ 提交于 2019-12-02 08:34:55
private String urlPost = "http://192.168.1.66:8080/DataCollectionServlet/"; @Override protected void doWakefulWork(Intent intent) { // https://stackoverflow.com/q/14630255/281545 HttpURLConnection connection = null; try { connection = connection(); w("connection"); // allrigt final OutputStream connOutStream = connection.getOutputStream(); w("GEToUTPUTsTREAM"); // I never see this } catch (IOException e) { e.printStackTrace(); // No route to host } finally { if (connection != null) connection.disconnect(); } } private HttpURLConnection connection() throws MalformedURLException, IOException {

Android using wifimanager to connect to WPA-PSK secured network

爷,独闯天下 提交于 2019-12-01 14:27:53
so I have trawled true all threads in here and any where else where google would take me. But still I am having problems connecting to WPA PSK networks. Here is my code, I have 2 edittext fields from which I read SSID and PSK and then one checkbox to select if SSID is hidden or not. EditText mSSID = (EditText) findViewById(R.id.wifiTVssidcurrent); String networkSSID = mSSID.getText().toString(); EditText mWPA = (EditText) findViewById(R.id.wifiTVwpacurrent); String networkWPA = mWPA.getText().toString(); // Update text to show that connection is pending TextView wifiStatus = (TextView)