Jump to content

Problems with wpa_supplicant


Nikodim
 Share

Recommended Posts

Hello everybody! Here is my problem:

I want to connect to wpa2 network via command prompt.

I downloaded wpa_supplicant by: opkg istall --dest usb wpa-supplicant

then i wanted to use wpa_passphrase ssid password > /etc/wpa_supplicant.conf

but it tells me

-ash: wpa_passphrase: not found

then i decided do do that manually

nano /etc/wpa_supplicant.conf

and put my generated psk via this site http://www.hautespot.net/wpapsk.html

so i done that and what i have:

Sending discover...
and thats all my story.
Please help anybody to install and configure wpa_supplicant or smth else.
Link to comment
Share on other sites

Have some addons to my problem. Here is the log, where i'm starting the script and what we have at hte end:

root@Pineapple:~# ./wireless_connect.sh
Current MAC: 00:0e:a2:86:f2:ef (Cyberguard Corporation)
Faked MAC: 00:05:d4:e8:1c:8a (Futuresmart Networks, Inc.)
Successfully initialized wpa_supplicant
Line 5: Invalid passphrase length 64 (expected: 8..63) '98e4a478571750002a5081ce7fa61e579e4db0a2856e057c93aae6913ea43365"'.
Line 5: failed to parse psk '"98e4a478571750002a5081ce7fa61e579e4db0a2856e057c93aae6913ea43365"'.
Line 7: WPA-PSK accepted for key management, but no PSK configured.
Line 7: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
udhcpc (v1.19.4) started
Sending discover...
Sending discover...
Sending discover...

--end of log--

so I have used this generator http://www.wireshark.org/tools/wpa-psk.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...