Re: NM fc5 prism wpa_supp setup?

2006-05-13 Thread Morgan Read
Thanks for following up folks:)

Dan Williams wrote:
 On Thu, 2006-05-11 at 16:27 +0100, Jon Escombe wrote:
 Hi Morgan,

 I can maybe help you with a couple of your points (I don't have your 
 card, but am using NM under FC5)..

   _Issues_
   - When I attempt to authenticate with the uoa wireless network through
   NM all I'm offered the wep options (as per my home wep network)

 This list is populated using the capabilities reported by your driver. 
 Is the hostap driver any better in this respect?
While I'd like to use the orinoco_cs because of the better reception,
I'm *actually* using hostap_cs because it seems to be the only one of
the two to do wpa (see orinoco cf. hostap here:
http://live.gnome.org/NetworkManagerHardware - contrary to the notes on
the hostap, I don't seem to need to blacklist orinoco in
/etc/modprobe.d/blacklist any more for hostap, i.e. hostap seems to be
the default now - but, in the recent past I've had them fight)

...
   - I found /etc/sysconfig/wpa_supplicant, which seems to list only
   configuration for hostap driver (wlan0) or ndiswrapper?
   -- Is this the config for wpa_supp working with NM?  If so, can it be
   configured for use with other drivers, i.e. orinoco?

 NM doesn't use the static configuration file, but will start a new 
 instance of wpa_supplicant and pass it the correct parameters - so 
 wpa_supplicant shouldn't be running already. I believe the standard 
 package configures wpa_supp to use wext in all cases (but might be wrong 
 - there have been some patches around to override this).

 NM 0.6.2 is in the FC5 updates-testing repository, and might be worth a 
 try. However, you'll still be stuck at the first point above without the 
 driver telling NM that the card is capable of WPA...
I assume as I'm on hostap this'll be happening anyway - my next comment
confirms this?  Or, not?

Since I first posted I've noticed a little more strangeness:
- On the UoA network (wpa) the network shows up under the nm-applet menu
under Wireless Networks, but if I click on that network to connect I'm
offered only the wep configuration options (like at home), but
-- If I select the Connect to Other Wireless Network... option I get
the whole smorgasbord of options from wep - wpa2, but
-- If I select the Create New Wireless Network... I get only the
options from wep - wpa (no wpa2)

Is this correct behaviour - shouldn't I get all wpa options by selecting
the UoA network?  Or is one _supposed_ to set up wpa networks prior to
finding them?

 FYI, it and the newer wpa_supplicant got moved to -updates yesterday.
Yes, I saw that and should probably update and check things again before
going much further.  Thanks.

Regards,
M.
-- 
Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

get a life; GET FIREFOX!
www.getfirefox.com
WHY ME?  Read on:
http://www.theregister.co.uk/2004/06/28/cert_ditch_explorer/
http://www.theregister.co.uk/2004/09/13/german_ie_jitters/





signature.asc
Description: OpenPGP digital signature
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


NM fc5 prism wpa_supp setup?

2006-05-06 Thread Morgan Read
Hello

Is there a recommended NetworkManager setup is for prism II cards with a
wpa setup (the gnome archive search doesn't reveal anything)?

_Setup_
- Card: Allied Telesyn (see below for ident)
- Network: University of Auckland (uoa), wpa_supplicant (config as below).
- uname -r: 2.6.15-1.2054_FC5
- rpm -q NetworkManager: NetworkManager-0.6.0-3

_Issues_
- When I attempt to authenticate with the uoa wireless network through
NM all I'm offered the wep options (as per my home wep network)
- I initially had some problems setting up the card for my home wep
network due to conflicts between orinoco and hostap drivers
-- Now it seems to have settled down, and I can use either by
blacklisting hostap drivers in /etc/modprobe.d/blacklist or not
-- I prefer to use the orinoco driver because it seems to give a better link
-- Is there a more elegant remedy to this conflict, which is recommended?
- Does wpa_supplicant work with orinoco?
-- It's not a listed driver for wpa_supp and using the wext extensions
with it gave me a hole lot of errors
- I read somewhere that using wpa_supplicant with NM, wpa_supp is not
meant to be started by init?
- I found /etc/sysconfig/wpa_supplicant, which seems to list only
configuration for hostap driver (wlan0) or ndiswrapper?
-- Is this the config for wpa_supp working with NM?  If so, can it be
configured for use with other drivers, i.e. orinoco?
- I've got the connection working to the UoA network via the config
below by not blacklisting either orinoco or hostap, running wpa_supp
from the command line wpa_supplicant -iwlan0 c/etc/wpa_supplicant.conf
and then running dhclient wlan0
-- Like this, NM shows no connection but it still offers uoa as a
wireless connection

_More info_
[EMAIL PROTECTED] ~]# pccardctl ident
Socket 0:
  product info: Allied Telesyn, AT-WCL452 Wireless PCMCIA Radio,
Ver. 1.00, 
  manfid: 0xc00f, 0x
  function: 6 (network)
[EMAIL PROTECTED] ~]#

[EMAIL PROTECTED] ~]# iwconfig
lono wireless extensions.

eth0  no wireless extensions.

eth1  IEEE 802.11b  ESSID:uoa  Nickname:Prism  I
  Mode:Managed  Frequency:2.437 GHz  Access Point: 00:11:92:DA:CF:40
  Bit Rate:11 Mb/s   Sensitivity:1/3
  Retry min limit:8   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off
  Link Quality=70/92  Signal level=-23 dBm  Noise level=-143 dBm
  Rx invalid nwid:0  Rx invalid crypt:3295  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0  no wireless extensions.

[EMAIL PROTECTED] ~]#

[EMAIL PROTECTED] ~]# more etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
ssid=any
key_mgmt=NONE
}

### Added 3-5 MR.
network={
ssid=uoa
scan_ssid=1
key_mgmt=IEEE8021X
eap=PEAP
identity=EC\mrea005
password=password
ca_cert=/etc/cert/verisign_2028.pem
ca_cert2=/etc/cert/verisign_2028.pem
phase2=auth=MSCHAPV2
}
[EMAIL PROTECTED] ~]#

Regards,
Morgan.


-- 
Morgan Read
NEW ZEALAND
mailto:mstuffATreadDOTorgDOTnz

get a life; GET FIREFOX!
www.getfirefox.com
WHY ME?  Read on:
http://www.theregister.co.uk/2004/06/28/cert_ditch_explorer/
http://www.theregister.co.uk/2004/09/13/german_ie_jitters/







signature.asc
Description: OpenPGP digital signature
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list