I have a Dell Precision M4600 with Ultimate-N 6300 (rev 35), and have
had this sort of problem for quite some time.  It generally happens with
networks where there are many access points, and many people connecting
to the network (at work, at hotels, etc.)

A workaround which has been reliable in getting me connected to the
wireless network at work is to run this script in a terminal window
while NM is trying to associate with the network.  For whatever reason,
running "iwconfig wlan0 essid WhateverSSID" at the right moment during
association makes it succeed for me.  (On the other hand, it sometimes
causes a kernel NULL pointer derefernce in  __cfg80211_mlme_deauth,
which means I have to hard-shutdown the machine.)  I would be interested
in knowing if this script helps anybody else.

#! /bin/bash

connection_id="The SSID of your network"
interface="wlan0"
polls=90
interval=1

change_status() {
        tput dl1
        tput cr
        echo "$1"
}

check_connection() {
        if nmcli con status id $1 | grep -q '^GENERAL.STATE:.*activated'
        then
                change_status Activated
                exit 0
        fi
}

check_connection "$connection_id"
for (( i = 1; i <= $polls; i++ ))
do
        echo -n .
        sudo iwconfig "$interface" essid "$connection_id"
        sleep "$interval"
        check_connection "$connection_id"
done

change_status '???'
exit 1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924082

Title:
  NM fails to connect to campus Wi-Fi network; wicd succeeds -- Centrino
  Ultimate-N 6300 iwlwifi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/924082/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to