On Thu, Mar 22, 2007 at 09:48:12AM -0500, Tom spot Callaway wrote: > On Thu, 2007-03-22 at 07:22 -0700, Tom London wrote: > > I haven't been able to get the 'new and cool' iwlwifi driver included > > in the latest kernels working with my ipw3945 NIC. > > > > 'iwlist eth0 scan' appears to work properly, but NetworkManager > > refuses to associate. > > > > I recall in a previous thread that NM needed some patches to make this > > work. Has that happened? > > > > Fails to associate with open (thanks Google!), WEP or WPA networks. > > > > Get these messages during boot: > > > > wmaster0: Error for wireless request "Set Encode" (8B2A) ; SET failed > > on device wmaster0 : Operation not supported > > SIOCSIFFLAGS: operation not supported > > > > I've killed NM and tried to associate manually, but haven't been successful. > > > > Any hints? > > I got it to work once when I: > > - found an open network (no key) > - set the ap manually > - set the freq manually > - set the essid manually > - ran dhclient > > This only worked once. The rest of the times, it didn't work. Hm. Someone please remind me why we're shipping non-functional software, again? And why a patch to make plain old ifup/ifdown scripts to work with wpa_supplicant has been ignored for months[1] or even years[2]? Attaching a cleaned-up patch from [1] (without cosmetics). Still (!) applies cleanly against FC6's initscripts. Regards, R. [1] http://www.redhat.com/archives/fedora-devel-list/2006-March/msg00503.html [2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154348 -- Dominik 'Rathann' Mierzejewski <rathann*at*icm.edu.pl> Interdisciplinary Centre for Mathematical and Computational Modelling Warsaw University | http://www.icm.edu.pl | tel. +48 (22) 5540810
--- ifup-wireless.orig 2005-09-30 20:51:15.000000000 +0200 +++ ifup-wireless 2006-04-07 16:09:01.000000000 +0200 @@ -30,6 +30,35 @@ # Only meant to be called from ifup. +if wpa_cli -i $DEVICE status >/dev/null 2>&1; then + eval $(wpa_cli -i${DEVICE} status | grep wpa_state 2>/dev/null) + if [ "$wpa_state" != "COMPLETED" ]; then + /sbin/ip link set $DEVICE down + /sbin/ip link set $DEVICE up + wpa_cli scan >/dev/null 2>&1 + fi + old_state="" + cnt=0 + while true; do + eval $(wpa_cli -i${DEVICE} status | grep wpa_state 2>/dev/null) + if [ "$wpa_state" = "COMPLETED" ]; then + echo $"Connected to $ssid" + break + fi + if [ "$old_state" != "$wpa_state" ]; then + echo -n "$wpa_state " + old_state=$wpa_state + fi + + sleep 1 + cnt=$[$cnt + 1] + if [ $cnt -gt 60 ]; then + echo -n $"Timeout " + exit 10 + fi + done +else + # Mode need to be first : some settings apply only in a specific mode ! if [ -n "$MODE" ] ; then iwconfig $DEVICE mode $MODE @@ -97,3 +126,5 @@ # use any essid iwconfig $DEVICE essid any >/dev/null 2>&1 fi + +fi
-- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list