Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: WPA_supplicant network connectivity

  1. #1
    Just burned his ISO chard-fi's Avatar
    Join Date
    Jun 2007
    Posts
    6

    Unhappy WPA_supplicant network connectivity

    Hi peeps,

    Can anyone help me out on this one?

    I'm trying to use backtrack3 installed on a VM to connect to my WPA-PSK protected network using wpa_supplicant but it doesn't seem to want to know.

    I've tried with both a EDiMAX EW7318USG and a HAWKING HWUG1 (Think they are the same anyway) and on both my personal and work router with no luck.

    My config file reads the following;

    # See /usr/doc/wpa_supplicant-0.5.7/wpa_supplicant.conf.sample
    # for many more options that you can use in this file.

    # This line enables the use of wpa_cli which is used by rc.wireless
    # if possible (to check for successful association)
    ctrl_interface=/var/run/wpa_supplicant
    # By default, only root (group 0) may use wpa_cli
    ctrl_interface_group=0
    eapol_version=1
    ap_scan=2
    fast_reauth=1

    # WPA protected network, supply your own ESSID and WPAPSK here:
    network={
    scan_ssid=0
    ssid="Chimp_Scooter"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
    group=TKIP
    psk="PassKey"
    }

    I have deleted the contents of the /etc/dhcpc folder and then run the following

    ifconfig rausb0 up
    iwconfig rausb0 mode managed
    wpa_supplicant -Dwext -irausb0 /etc/wpa_supplicant.conf

    when running this i get the following error;

    octl[SIOCSIWPMKSA]: Network is down
    ioctl[SIOCSIWMODE]: Network is down
    Could not configure driver to use managed mode
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 5 value 0x1 - Trying to associate with SSID 'Chimp_Scooter'
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 6 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 5 value 0x1 - ioctl[SIOCSIWGENIE]: Operation not supported
    ioctl[SIOCSIWAUTH]: Operation not supported

    I've followed the tutorial from orums.remote-exploit.org/showthread.php?t=7497&highlight=wpa_supplicant[/url] to the letter but can't get the frickin thing to connect. Please help.


    Chard

  2. #2
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by chard-fi View Post
    Hi peeps,

    Can anyone help me out on this one?

    I'm trying to use backtrack3 installed on a VM to connect to my WPA-PSK protected network using wpa_supplicant but it doesn't seem to want to know.

    I've tried with both a EDiMAX EW7318USG and a HAWKING HWUG1 (Think they are the same anyway) and on both my personal and work router with no luck.

    My config file reads the following;

    # See /usr/doc/wpa_supplicant-0.5.7/wpa_supplicant.conf.sample
    # for many more options that you can use in this file.

    # This line enables the use of wpa_cli which is used by rc.wireless
    # if possible (to check for successful association)
    ctrl_interface=/var/run/wpa_supplicant
    # By default, only root (group 0) may use wpa_cli
    ctrl_interface_group=0
    eapol_version=1
    ap_scan=2
    fast_reauth=1

    # WPA protected network, supply your own ESSID and WPAPSK here:
    network={
    scan_ssid=0
    ssid="Chimp_Scooter"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
    group=TKIP
    psk="PassKey"
    }

    I have deleted the contents of the /etc/dhcpc folder and then run the following

    ifconfig rausb0 up
    iwconfig rausb0 mode managed
    wpa_supplicant -Dwext -irausb0 /etc/wpa_supplicant.conf

    when running this i get the following error;

    octl[SIOCSIWPMKSA]: Network is down
    ioctl[SIOCSIWMODE]: Network is down
    Could not configure driver to use managed mode
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWENCODEEXT]: Operation not supported
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 5 value 0x1 - Trying to associate with SSID 'Chimp_Scooter'
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 6 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 5 value 0x1 - ioctl[SIOCSIWGENIE]: Operation not supported
    ioctl[SIOCSIWAUTH]: Operation not supported

    I've followed the tutorial from orums.remote-exploit.org/showthread.php?t=7497&highlight=wpa_supplicant[/url] to the letter but can't get the frickin thing to connect. Please help.


    Chard
    Is that a typo?
    dd if=/dev/swc666 of=/dev/wyze

  3. #3
    Just burned his ISO chard-fi's Avatar
    Join Date
    Jun 2007
    Posts
    6

    Default

    Quote Originally Posted by swc666 View Post
    Is that a typo?
    No, thats my usb card interface. Am I being a spack?

  4. #4
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by chard-fi View Post
    No, thats my usb card interface. Am I being a spack?
    irausb0 is and rausb0 isnt...?
    dd if=/dev/swc666 of=/dev/wyze

  5. #5
    Just burned his ISO chard-fi's Avatar
    Join Date
    Jun 2007
    Posts
    6

    Default

    Quote Originally Posted by swc666 View Post
    irausb0 is and rausb0 isnt...?
    i'm really confused :-(

    I was under the impression that the -D was to specify the driver which is wext and the -i was to specify the interface which i thought was rausb0.

    Could you elaborate a little for me please.

    your help is muchly appreciated by the way.

  6. #6
    Member
    Join Date
    Mar 2007
    Posts
    204

    Default

    Try changing your ap_scan=2 to 1 see if that has any impact, failing that, did you bring your rasub up prior to connecting?

    ifconfig rausb0 up

  7. #7
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by chard-fi View Post
    i'm really confused :-(

    I was under the impression that the -D was to specify the driver which is wext and the -i was to specify the interface which i thought was rausb0.

    Could you elaborate a little for me please.

    your help is muchly appreciated by the way.
    Dude, LOOK AT THE POST YOU MADE! I was asking if you were aware that your syntax was incorrect, as you have no space between the -i and the rausb0. If this isn't the problem, then it could be something else, but you need to be aware that 1 little mistake can be costly.
    dd if=/dev/swc666 of=/dev/wyze

  8. #8
    Just burned his ISO chard-fi's Avatar
    Join Date
    Jun 2007
    Posts
    6

    Default

    Quote Originally Posted by swc666 View Post
    Dude, LOOK AT THE POST YOU MADE! I was asking if you were aware that your syntax was incorrect, as you have no space between the -i and the rausb0. If this isn't the problem, then it could be something else, but you need to be aware that 1 little mistake can be costly.
    Sorry mate but I just didn't get what you meant as in the example that wpa_supplicant gives you the -i and the interface are right next to each other. I have tried it with a space between them though and still no joy.

    ...also I've tried changing the scan to 0, 1 and 2 and these seem to make no difference, and i make sure i up the interface before running the wpa_supplicant command.

    Does anyone have any more thoughts on this one? Am i missing somthing really important here.

    Thanks guys.

  9. #9
    Senior Member imported_spankdidly's Avatar
    Join Date
    Feb 2006
    Posts
    1,031

    Default

    Quote Originally Posted by swc666 View Post
    Dude, LOOK AT THE POST YOU MADE! I was asking if you were aware that your syntax was incorrect, as you have no space between the -i and the rausb0. If this isn't the problem, then it could be something else, but you need to be aware that 1 little mistake can be costly.
    Yeah, that would def. eff it up.
    I felt like bending the bars back, and ripping out the window frames and eating them. yes, eating them! Leaping, leaping, leaping! Colonics for everyone! All right! You dumb*sses. I'm a mental patient. I'm *supposed* to act out!

  10. #10
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    2

    Default

    That hawking card uses the rt73 driver which has wpa support built in. There is a patched version of wpa_supplicant that supports the rt73 driver but it isn't necessary. Try this:

    ifconfig rausb0 up
    iwconfig rausb0 mode managed
    iwconfig rausb0 essid <Your SSID>
    iwpriv rausb0 set AuthMode=WPAPSK (or WPA2PSK if you are using WPA2)
    iwpriv rausb0 set WPAPSK=<Your Key>
    iwpriv rausb0 set EncrypType=TKIP (or AES)
    dhcpcd rausb0

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •