Comment 21 for bug 429370

Revision history for this message
KILinux (kilinux) wrote :

I have tried rebuilding of the source package of wpasupplicant in ubuntu 8.10 interpid according this procedure:

As root (sudo su):

1. Prepare building environment for packages:
apt-get install devscripts
2. Cd into /usr/src
3. obtain source package of wpasupplicant:
apt-get source wpasupplicant
4. obtain building dependecies for wpasupplicant
apt-get build-dep wpasupplicant
5. install development files and libraries for GNU-TLS
apt-get install libgnutls-dev
6. cd cd /usr/src/wpasupplicant-0.6.4/
7. modify config file in ./debian/config/linux in the TLS section, it should be as follows:

# Select TLS implementation
# gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA)
# internal = Internal TLSv1 implementation (experimental)
CONFIG_TLS=gnutls
CONFIG_GNUTLS_EXTRA=y

8. execute command "dch -i" and put some comments into the changelog
9. build the package:
dpkg-buildpackage -rfakeroot -uc -b
10. install packages via:
dpkg -i wpasupplicant_0.6.4-2ubuntu1_i386.deb wpagui_0.6.4-2ubuntu1_i386.deb

After restart of network-manager service, the nm-applet can connect to an eduroam AP and this error from /var/log/wpa_supplicant.log:

OpenSSL: tls_connection_handshake - Failed to read possible Application Data error:00000000:lib(0):func(0):reason(0)

has disappeared and connection was stable for at least 4 h.