Page 1 of 7 123 ... LastLast
Results 1 to 10 of 63

Thread: no WPA2 with ndiswrapper and bcmwl5 driver

  1. #1
    Join Date
    Apr 2009
    Location
    Illinois
    Beans
    42
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    no WPA2 with ndiswrapper and bcmwl5 driver

    Hey all,

    First of all... thanks you to all who contribute here. I finally got my wireless card to work with ndiswrapper. I don't know how I did it, but IT WORKS!

    However; I can not get it to work on an encrypted network... namely WPA2. This DID work with the native b43Legacy driver, but it was very slow.

    I have tried some suggestions from other posts, but no avail.

    Network manager does not have an option for WPA2 only WEP and LEAP.

    PLease help!!


    THanks!


    Matt

    P.S. Using 9.04 Jaunty

  2. #2
    Join Date
    Sep 2006
    Beans
    279
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    Post the output of

    Code:
    pgrep wpa_supplicant
    ----------------------------------------------------------------------------------

    You can try the following steps and try to get online using a secured network.

    Code:
    sudo vi /etc/wpa_supplicant.conf
    Make sure your wpa_supplicant.conf looks exactly like the following.

    Code:
    ctrl_interface=/var/run/wpa_supplicant
    ap_scan=2
    
    network={
        ssid="your SSID here in quotes if ASCII"
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        group=TKIP
        pairwise=TKIP
        psk="your password here in quotes if ASCII"
    }
    Try to associate with the router

    Code:
    sudo wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant.conf -B
    Above, replace wlan0 with your own wireless interface.

    Code:
    sudo dhclient <wireless_interface> like (wlan0, eth1)
    Last edited by ittiam; April 27th, 2009 at 02:30 AM.

  3. #3
    Join Date
    Apr 2009
    Location
    Illinois
    Beans
    42
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    Code:
    matt@matt-laptop:~$ pgrep wpa_supplicant
    2638
    matt@matt-laptop:~$

  4. #4
    Join Date
    Sep 2006
    Beans
    279
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    okay try this

    Code:
    pkill wpa_supplicant
    now execute

    Code:
    pgrep wpa_supplicant
    If the above pgrep command still throws a process id as output

    post the output of the following

    Code:
    ps aux | grep NetworkManager

  5. #5
    Join Date
    Apr 2009
    Location
    Illinois
    Beans
    42
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    Code:
    matt@matt-laptop:~$ pgrep wpa_supplicant
    7686
    matt@matt-laptop:~$ ps aux | grep NetworkManager
    root      2634  0.0  0.5  16548  2544 ?        Ssl  17:44   0:01 /usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid
    root      2642  0.0  0.5   7048  2564 ?        S    17:44   0:00 /usr/sbin/nm-system-settings --config /etc/NetworkManager/nm-system-settings.conf
    root      7699  0.0  0.2   2276   980 ?        S    20:44   0:00 /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-wlan0.pid -lf /var/lib/dhcp3/dhclient-wlan0.lease -cf /var/run/nm-dhclient-wlan0.conf wlan0
    matt      7817  0.0  0.1   3340   808 pts/0    S+   20:45   0:00 grep NetworkManager
    matt@matt-laptop:~$

  6. #6
    Join Date
    Apr 2009
    Location
    Illinois
    Beans
    42
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    I turned the encryption off right now. Does it make a difference for these tests?

  7. #7
    Join Date
    Sep 2006
    Beans
    279
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    You need to kill the NetworkManager

    Code:
    sudo kill -9 2634
    2634 is the process id of NetworkManager I found from your previous post, if you had not restarted or something, get the correct process id of it (/usr/sbin/NetworkManager).

    after this execute

    Code:
    pgrep wpa_supplicant
    Now you should not see any process id being given as output for the above command.

    After this execute the commands I had given in my first post in this thread starting with editing of /etc/wpa_supplicant.conf

    After this your wireless should work.
    Last edited by ittiam; April 27th, 2009 at 02:58 AM.

  8. #8
    Join Date
    Apr 2009
    Location
    Illinois
    Beans
    42
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    ~
    Code:
                                                                                   
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    "/etc/wpa_supplicant.conf" [New File]


    This is what my .conf file looks like. Do I type all of what you posted here?

  9. #9
    Join Date
    Apr 2009
    Location
    Illinois
    Beans
    42
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    Code:
    matt@matt-laptop:~$ pgrep wpa_supplicant
    7686
    matt@matt-laptop:~$

    This is the output after the wpa kill command.

    Is this also from the newwork manager?

    Code:
    matt@matt-laptop:~$ sudo kill -9 2634
    matt@matt-laptop:~$ pgrep wpa_supplicant
    7686
    matt@matt-laptop:~$
    Last edited by Guitarmaster316; April 27th, 2009 at 03:18 AM.

  10. #10
    Join Date
    Sep 2006
    Beans
    279
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: no WPA2 with ndiswrapper and bcmwl5 driver

    Yes you can copy the entire content into the file and just put in your ssid and your passphrase

    if you do not want to put in your ascii passphrase, to generate a hex passphrase execute the following

    Code:
    wpa_passphrase <ssid> <wpa_password>
    then just put the generated hex passphrase in wpa_supplicant.conf against psk= without the quotes. remember if you are using ascii passphrase you need to have the quotes.

Page 1 of 7 123 ... LastLast

Bookmarks

Posting Permissions

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