How can i configure my wpa_supplicant.conf?

161

in wpa_supplican.conf, write as below. remove all....

network={
ssid="SMC"
key_mgmt=WPA-PSK
proto=RSN
pairwise=CCMP
group=TKIP
psk="secret passphrase"
}

use wpa_passphrase for psk generation. You will get one kill. put psk="that key"

Then run with this command

wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant.conf -dd

change driver and interface name, if it is different.

Share:
161

Related videos on Youtube

online navad
Author by

online navad

Updated on September 18, 2022

Comments

  • online navad
    online navad almost 2 years

    Is there any hashing method for php to hash (just integer to string) in shortest lenght?

    for example

    input : 10565 output : rwk4

    input : 40853353246 output : orhg0ut04h

    if there is not hashing like this

    Is there any way(function) to do it?

    • Muhammad Sumon Molla Selim
      Muhammad Sumon Molla Selim almost 8 years
      No there's not. You can write your own function for this.
    • ʰᵈˑ
      ʰᵈˑ almost 8 years
      You could use pack() - but what is its purpose?
    • deceze
      deceze almost 8 years
      With short hashes like that, the possibility of a collision rises enormously. Such hashes would only be useful for a very specialised use case. What exactly is your use case...?!
    • gre_gor
      gre_gor almost 8 years
      You could make a one byte hash with $n % 256, but I doubt in usefulness of such hashes.
    • deceze
      deceze almost 8 years
      Not to mention... if the output length varies with the input length then it's not a hash, it's an encoding. Are you looking for Base 64 encoding?