ubuntu works out of the box in this pc

PC Specs: HP p6720F , http://h10025.www1.hp.com/ewfrf/wc/d...ot_search#N461

wifi card : Ralink 802.11 Wireless b/g/n PCI-E Mini card

when i go to wincd network manager i can see the wireless networks , i see my home AP ok i go to configure and enter my Key then i hit connect and the pc shuts down
any ideas on this?