Page 28 of 28 FirstFirst ... 18262728
Results 271 to 275 of 275

Thread: HOWTO: NetworkManager with WPA 1&2 Support

  1. #271
    Join Date
    Mar 2007
    Beans
    22

    Re: HOWTO: NetworkManager with WPA 1&2 Support

    I thought I'd add my experience:

    I've got a Dell Inspiron 6000 with an Intel Pro Wireless 2200BG. Open wireless networks were fine, but I couldn't get it to connect to my own wireless network, using WPA2 with a hidden SSID.

    I tried installing Intel's drivers, I tried a few guides that supposedly get NetworkManager to work with WPA. The only method I got to work was the one at the beginning of this thread, but even then it would disconnect within a minute.

    I decided to try reducing the security of my router. After changing the configuration to broadcast my SSID, it finally worked, even with WPA2 and CCMP/AES. NetworkManager finally connects without a problem, too.

    I'm not sure if it's the version of the drivers/firmware I'm using for my wireless card, but the script mentioned to restart networking at boot wasn't required. In fact, when I had it enabled, ipw2200/0 would use 100% of my CPU.

    Jeff250, thanks for starting this thread. I ended up clearing out /etc/networking/interfaces and letting NetworkManager handle everything instead of following your instructions to the letter, but this thread helped me troubleshoot what was wrong.

  2. #272
    Join Date
    Jan 2005
    Beans
    Hidden!
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: NetworkManager with WPA 1&2 Support

    With Feisty, at least, NetworkManager is too flaky if you ever put the system to sleep; it constantly reloads the ipw3945 driver before wpa_supplicant has had a chance to associate... and the prior version of ipw3945 is unloaded (due in part to the user-level daemon which is required.. thank you Intel..)

    So, here's my lazy-but-functional workaround:

    /etc/network/interfaces:
    Code:
    auto eth1
    iface eth1 inet dhcp
    pre-up     /etc/init.d/wifi_wpa.sh start
    pre-down     /etc/init.d/wifi_wpa.sh stop
    /etc/init.d/wifi_wpa.sh:
    Code:
    #!/bin/sh
    PATH=/bin:/usr/bin:/sbin:/usr/sbin
    BIN=/sbin/wpa_supplicant
    PIDFILE=/var/run/wpa_supplicant.pid
    
      . /lib/lsb/init-functions
    
    case "$1" in
      start)
    if [ -x /sbin/wpa_supplicant ]; then
      $BIN -ieth1 -c /etc/wpa_supplicant.conf -Dwext -w -P $PIDFILE 2>&1 &
    fi
        ;;
      stop)
        killall wpa_supplicant
        ;;
      *)
        ;;
    esac
    exit 0
    /etc/wpa_supplicant.conf:
    Code:
    network={
      ssid="MYSSID"
      scan_ssid=1
      psk="MYPSK"
    }
    /etc/acpi/suspend.d/95-iface-down.sh:
    Code:
    #!/bin/sh
    PATH=/bin:/sbin:/usr/bin:/usr/sbin
    /sbin/ifdown eth1
    /etc/acpi/resume.d/95-iface-up.sh:
    Code:
    #!/bin/sh
    PATH=/bin:/sbin:/usr/bin:/usr/sbin
    #Just to be sure
    /sbin/ifdown eth1
    sleep 2
    /sbin/ifup eth1
    Yes, it takes an extra 4 seconds to startup, but it works without fail. Anyone who's been dealing with this mess at all, I strongly suggest 'apt-get --purge remove network-manager\*' and be done with it.

    Make sure you chmod 755 every ".sh" shell script, and set your wpa_supplicant.conf 600, all files owned by root - if you want to keep your WPA key safe (but then again, anybody on your machine probably has that, anyhow)

  3. #273
    Join Date
    May 2006
    Location
    Location, Location!
    Beans
    1,571
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: NetworkManager with WPA 1&2 Support

    Gee...I just downloaded wicd, selected wpa1/2, and typed in my password and instantly connected. Huh.
    A computer allows you to make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.

  4. #274
    Join Date
    May 2006
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: NetworkManager with WPA 1&2 Support

    Quote Originally Posted by ripfox View Post
    Gee...I just downloaded wicd, selected wpa1/2, and typed in my password and instantly connected. Huh.

  5. #275
    Join Date
    Aug 2007
    Location
    Poland
    Beans
    8

    Re: HOWTO: NetworkManager with WPA 1&2 Support

    Proper built ubuntu feisty nm-0.6.5 deb packages ready to download form:
    http://helios.et.put.poznan.pl/~mjasin/nm-0.6.5-feisty/

    Best wishes,
    matt1606
    Last edited by matt1606; September 6th, 2007 at 02:33 PM.

Page 28 of 28 FirstFirst ... 18262728

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
  •