Results 1 to 2 of 2

Thread: simple problem when connectiing to WLAN

  1. #1
    Just burned his ISO sasanet's Avatar
    Join Date
    Jun 2011
    Location
    EU
    Posts
    25

    Default simple problem when connectiing to WLAN

    Hy,

    here's my network spec's:
    essid: "moja mreža"
    encrypt: WPA2-PSK
    chiper: CCMP
    AHCII key: "0123456789abc"
    ......................
    connecting using wicd not working, it says "Bad Password"

    it work when ran these commands:
    Code:
    wpa_passphrase "moja mreža" 0123456789abc > /etc/wpa.conf
    wpa_supplicant -D wext -i wlan1 -d -c /etc/wpa.conf
    dhclient wlan1
    dhclient -r not working as well
    however sometimes it fails (cca 70% is FAIL)...

    here is output msg. of wpa_supplicant command:
    Code:
    root@bt:~#wpa_supplicant -D wext -i wlan2 -d -c /etc/wpa.conf
    Initializing interface 'wlan2' conf '/etc/wpa.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
    Configuration file '/etc/wpa.conf' -> '/etc/wpa.conf'
    Reading configuration file '/etc/wpa.conf'
    ctrl_interface='/var/run/wpa_supplicant'
    Priority group 0
       id=0 ssid='moja mre__a'
    Interface wlan2 set UP - waiting a second for the driver to complete initialization
    SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
      capabilities: key_mgmt 0xf enc 0xf flags 0x0
    WEXT: Operstate: linkmode=1, operstate=5
    Own MAC address: 00:c0:ca:4a:c8:0b
    wpa_driver_wext_set_wpa
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_countermeasures
    wpa_driver_wext_set_drop_unencrypted
    RSN: flushing PMKID list in the driver
    Setting scan request: 0 sec 100000 usec
    WPS: UUID based on MAC address - hexdump(len=16): d8 f3 8d 7b 22 46 5c 6b 87 b9 6e ec aa 41 7b f5
    WPS: Build Beacon and Probe Response IEs
    WPS:  * Version
    WPS:  * Wi-Fi Protected Setup State (0)
    WPS:  * Version
    WPS:  * Wi-Fi Protected Setup State (0)
    WPS:  * Response Type (2)
    WPS:  * UUID-E
    WPS:  * Manufacturer
    WPS:  * Model Name
    WPS:  * Model Number
    WPS:  * Serial Number
    WPS:  * Primary Device Type
    WPS:  * Device Name
    WPS:  * Config Methods (0)
    WPS:  * RF Bands (3)
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: KEY_RX entering state NO_KEY_RECEIVE
    EAPOL: SUPP_BE entering state INITIALIZE
    EAP: EAP entering state DISABLED
    Using existing control interface directory.
    Added interface wlan2
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan2' added
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan2' added
    Wireless event: cmd=0x8b06 len=12
    State: DISCONNECTED -> SCANNING
    Starting AP scan (broadcast SSID)
    Trying to get current scan results first without requesting a new scan to speed up initial association
    Received 0 bytes of scan results (0 BSSes)
    Cached scan results are empty - not posting
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    Try to find non-WPA AP
    No suitable AP found.
    Setting scan request: 0 sec 0 usec
    Starting AP scan (broadcast SSID)
    Scan requested (ret=0) - scan timeout 5 seconds
    EAPOL: disable timer tick
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan2' added
    Wireless event: cmd=0x8b19 len=16
    Received 0 bytes of scan results (0 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    Try to find non-WPA AP
    No suitable AP found.
    Setting scan request: 5 sec 0 usec
    ^CCTRL-EVENT-TERMINATING - signal 2 received
    Removing interface wlan2
    State: SCANNING -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    No keys have been configured - skip key clearing
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    wpa_driver_wext_set_wpa
    wpa_driver_wext_set_drop_unencrypted
    wpa_driver_wext_set_countermeasures
    No keys have been configured - skip key clearing
    Control interface directory not empty - leaving it behind
    Cancelling scan request
    Cancelling authentication timeout
    WEXT: Operstate: linkmode=0, operstate=6
    and here is wpa.conf:
    Code:
    ctrl_interface=/var/run/wpa_supplicant
    network={
    	ssid="moja mreža"
    	#psk="0123456789abc"
    	psk=3c8ac78f380d9df5dbc6549bad7de3f7dba4cd0178e97c0c144a4016eceabf03
    	key_mgmt=WPA-PSK
    	proto=WPA2
    	pairwise=CCMP
    	group=TKIP
    }

    there is no problem when connecting with some other networks WEP/WPA cos they don't contain unknown letters like "č,ž,đ etc.."
    and main does contain "ž" and that's problem IMHO.
    how can I fix that?

  2. #2
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    3

    Default Re: simple problem when connectiing to WLAN

    i have the same problem to,(i also have special chars in my SSID) i posted the problem on the bt5-bugs forum and got no answer, i have tried everything, uninstalling wicd reinstalling wicd trying network manager and many other "fixes". but could not get it to work, i have searched on Google for weeks but no luck.
    the only thing that helped is to change the SSID to something without special chars. i guess BT5 cant handle those chars in the ssid.
    it works in ubuntu osx and windows but not in BT5. to bad there is no fix for this problem yet.

Similar Threads

  1. Wlan problem
    By SM411 in forum BackTrack 5 Beginners Section
    Replies: 1
    Last Post: 08-11-2011, 10:55 PM
  2. Crunch password generator simple problem
    By jobyer in forum OLD Pentesting
    Replies: 7
    Last Post: 01-18-2010, 02:06 PM
  3. Simple Penetest command problem
    By ripon in forum OLD Newbie Area
    Replies: 7
    Last Post: 12-28-2009, 09:29 AM
  4. Replies: 3
    Last Post: 07-09-2009, 12:29 PM
  5. Simple USB problem yet complicated :)
    By joshiley in forum OLD BT4beta Software Related Issues
    Replies: 1
    Last Post: 02-18-2009, 08:37 AM

Posting Permissions

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