PDA

View Full Version : fedora 8, iwl3945 card and WPA2 encrypted network


slade17
2008-03-30, 04:41 PM CDT
I have fedora 8 running on a thinkpad with the intel 3945 card, which has worked fine as is on a number of wireless networks. My college just redid the entire network, though, and now I can't connect to the wireless network anymore. The network is WPA encrypted. The school has a walkthrough for connecting under linux, but its written specifically for ubuntu. it's located here: http://www.imss.caltech.edu/cms.php?op=wiki&wiki_op=view&id=554

i installed wpa supplicant and wpa gui, but fedora doesn't have ca_certificates or anything similar that i could find in the repos.

running wpa_supplicant gives the following error:

[root@dhcp-169-196 ~]# wpa_supplicant -d -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel' (DEPRECATED)
update_config=0
Line 6: failed to parse ssid '”Caltech BeaverNet”'.
Line 6: failed to parse ssid '”Caltech BeaverNet”'.
Line 11: failed to parse identity '””'.
Line 11: failed to parse identity '””'.
Line 12: failed to parse password '[KEY DATA REMOVED]'.
Line 12: failed to parse password '””'.
Line 13: failed to parse ca_cert '”/etc/ssl/certs/ca-certificates.crt” }'.
Line 13: failed to parse ca_cert '”/etc/ssl/certs/ca-certificates.crt” }'.
Line 13: network block was not terminated properly.
Line 13: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
Failed to add interface wlan0
Cancelling scan request
Cancelling authentication timeout

can anyone help me connect to this network?

caltech debian
2008-04-11, 03:19 PM CDT
I actually use Debian linux, but I also had problems getting my wireless working at Caltech. wpa_supplicant only gave me the error:

failed to parse ca_cert '”/etc/ssl/certs/ca-certificates.crt” }'

I circumvented this problem by commenting out the "ca_cert" line in wpa_supplicant.conf, then editing the profile in wpa_gui to point to the ca_certificates file. I also only put my user name and password in the wpa_gui profile.

It looks like you're having some other configuration problems with your wpa_supplicant.conf file, so I'm pasting what I've used successfully:

##-----------------------------------------------##
ctrl_interface=/var/run/wpa_supplicant
update_config=0

network={
ssid="Caltech BeaverNet"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
eap=PEAP
identity=""
password=""
#ca_cert="/etc/ssl/certs/ca-certificates.crt"
}
##-----------------------------------------------##

Then the instructions on the IMSS web page work. Hope this helps.

slade17
2008-05-11, 12:45 AM CDT
thanks for the help. sorry it took me a while to get back to you, but i've been rather busy with coursework. i had my wireless working fine with the registered network, but that just died on me.

the problem is that i don't have a ca-certificates.crt file. It's not installed anywhere that i see, and it's not in the repo's anywhere (searched for ca_certificates, ca_cert, ca-certificates, ca-cert, etc.). this forum doesn't have any threads with anything about those files either. I can't find anything online about it either, for that matter, so i have no idea how to get the certificates for connecting to the network. if it's not OS-specific, could you upload it?

caltech debian
2008-05-13, 11:37 AM CDT
You can download all of the certificates from the Debian web page:

http://packages.debian.org/search?keywords=ca-cert&searchon=names&suite=all&section=all

I use a lenny/sid system, but I doubt there's any difference in the packages. Also, I find it unlikely that the certificates are OS-specific.

The file /etc/ssl/certs/ca-certificates.crt appears to be simply a concatenation of all the ca-certificate package files into a single file.

If concatenating these files doesn't work, let me know and I'll post my ca-certificates.crt file on my web page for you to download.

leigh123@linux
2008-06-02, 08:30 AM CDT
thanks for the help. sorry it took me a while to get back to you, but i've been rather busy with coursework. i had my wireless working fine with the registered network, but that just died on me.

the problem is that i don't have a ca-certificates.crt file. It's not installed anywhere that i see, and it's not in the repo's anywhere (searched for ca_certificates, ca_cert, ca-certificates, ca-cert, etc.). this forum doesn't have any threads with anything about those files either. I can't find anything online about it either, for that matter, so i have no idea how to get the certificates for connecting to the network. if it's not OS-specific, could you upload it?


There is now a fedora ca-certificates package available !

http://koji.fedoraproject.org/koji/buildinfo?buildID=51310

slade17
2008-06-02, 09:21 AM CDT
thanks, Leigh!

although, hmm.

file /etc/pki/tls/certs/ca-bundle.crt from install of ca-certificates-2008-5.noarch conflicts with file from package openssl-0.9.8b-17.fc8.x86_64
file /etc/pki/tls/certs/ca-bundle.crt from install of ca-certificates-2008-5.noarch conflicts with file from package openssl-0.9.8b-17.fc8.i686