2007-07-05 09:06:59
Paranoia
Member
Registered: 2007-07-05
Posts: 4
Re: Help!!! Can not connect to WPA or WEP network...ipw3945
Hi!
I have a ipw3945 too and it's working fine with my WPA network at home...And I'm also using ipw3945 1.2.1-2
I'm not using networkmanager, I'm just using wpa_supplicant and network-profiles...Something like this:
my wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
#fast_reauth=1
network={
ssid="*******" //replace * for your ssid name
scan_ssid=1
psk="**********" //replace * for your key
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
priority=9
}
and then I set up a new profile, by creating a new file in /etc/network-profiles/
Code:
#
# Network Profile
#
DESCRIPTION="Home Wireless"
# Network Settings
INTERFACE=eth2
HOSTNAME=freestailo
# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOTS="dhcp"
# Wireless Settings (optional)
ESSID=Dragon
IWOPTS="mode managed essid $ESSID"
USEWPA="yes" # start wpa_supplicant with the profile
WPAOPTS="-D wext" # use "" for normal operation or specify additional
Then, I edited rc.conf:
I removed all interfaces EXCEPT lo from INTERFACES:
Code:
INTERFACES=(lo)
and added this:
Code:
NET_PROFILES=(MENU)
Now when I want to connect to some net work, I simply run the following command from a terminal:
Code:
net-cfg --menu
this will present a menu, from which I just need to select the desired profile...in this case "Home Wireless".
Sometimes I need to do a dhcpcd eth2 too...
Hope this helps!
Last edited by Paranoia (2007-07-05 09:10:36)
Offline
requires a rmmod && modprobe + ifplugd+wpa restart