Results 1 to 3 of 3

Thread: Connecting to WPA2-PSK Network - Help Please

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Feb 2011
    Posts
    1

    Question Connecting to WPA2-PSK Network - Help Please

    Hi there!

    I am having trouble connecting to my network when I enable WPA2-PSK. My configuration is as follows.

    I have a D-Link DWA-552 Wireless NIC in my computer.

    I have installed BT4 to my hard drive.

    I configured my /etc/network/interfaces as follows:

    auto lo
    iface lo inet loopback

    auto wlan0
    iface wlan0 inet static
    address 192.168.28.115
    netmask 255.255.255.0
    network 192.168.28.0
    broadcast 192.168.28.255
    gateway 192.168.28.1
    wireless-essid *****
    pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    post-down killall -q wpa_supplicant


    I have configured my wpa_supplicant.conf as follows:

    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=root
    network={
    ssid="*****"
    key_mgmt=WPA-PSK
    psk="********"
    }


    When I run /etc/init.d/networking start everything starts without errors and says done.

    When I run iwconfig I get the following:

    lo no wireless extensions.

    eth0 no wireless extensions.

    eth1 no wireless extensions.

    wlan0 IEEE 802.11bgn ESSID:"*****"
    Mode:Managed Access Point: Not-Associated Tx-Power=20dBm
    Retry long limit:7 RTS thr: off Fragment thr: off
    Encryption key: off
    Power Management: off


    The loopback IP works fine but I cannot ping anything including my router.

    I can't wire my computer directly to my router as I do not have access to it.

    I am new to BT but am somewhat familiar with Linux. I would appreciate any and all help.

    Thanks

  2. #2
    Member m0j4h3d's Avatar
    Join Date
    Jan 2010
    Posts
    84

    Default Re: Connecting to WPA2-PSK Network - Help Please

    why don't you try wicd to connect automatically and more easy way
    type in console wicd
    then go to the menu > internet > wicd
    click search and choose your router, also choose properties to configure the security and connect to it
    ---> 3v3RY D4y P4ss3S 1 f0uNd N3W th1NGs <---
    Knowing how 2 use BT dsnt mean that u r hacker

  3. #3
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: Connecting to WPA2-PSK Network - Help Please

    First of all check out ;

    http://linux.die.net/man/5/wpa_supplicant.conf

    Then have a look at an example wpa_supplicant.conf that may be used to
    connect to a network ;

    Code:
     
    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=0
    ap_scan=1
    
    network={
    scan_ssid=1
    ssid="********"
    proto=RSN
    key_mgmt=WPA-PSK
    pairwise=TKIP CCMP
    group=TKIP
    psk="************"
    }

    Let us know what works for you so this post is of value to others.


    When starting the wpa_supplicant, I use the following ;
    Code:
     
    wpa_supplicant -i wlan0 -c /location/of/wpa_supplicant.conf
    You could also include the -B switch to keep the konsole 'free' afterwards ;
    Code:
     
    wpa_supplicant -i wlan0 -c /location/of/wpa_supplicant.conf -B
    And of course then to get an IP, either in a seperate console or in the same one if you use the -B switch before ;
    Code:
    dhclient wlan0
    Last edited by TAPE; 02-10-2011 at 03:10 AM.

Similar Threads

  1. Connecting to WEP, and WPA/WPA2 networks for n00bs.
    By imported_vvpalin in forum OLD BT4beta HowTo's
    Replies: 22
    Last Post: 11-30-2009, 07:49 PM
  2. Connecting to WPA2 for n00bs the easy way.
    By imported_vvpalin in forum OLD Newbie Area
    Replies: 2
    Last Post: 04-25-2009, 05:22 AM
  3. RTL8187 connecting to WPA2.. DHCP problem
    By jpm11 in forum OLD BT4beta HowTo's
    Replies: 6
    Last Post: 03-01-2009, 07:46 AM
  4. Connecting to WPA2 CCMP networks via 4965AGN
    By Lord MuffloN in forum OLD BT3final Support
    Replies: 5
    Last Post: 09-23-2008, 01:18 PM
  5. Problems connecting WPA2 TKIP+AES
    By Synck in forum OLD Newbie Area
    Replies: 9
    Last Post: 09-10-2007, 07:45 PM

Posting Permissions

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