I moved to Berlin recently and I got wireless internet through an access point. I’m supposed to use the laptop’s built-in wireless netcard to access the internet. This usually works in windows (connection falls out from time to time), but I have yet to make it work in linux. I’m using OpenSuse 11.3 64-bit and the Knetwork manager. Most of the settings in the network manager are correct, but it keeps wanting to use system certificates for the server. By that I mean it keeps checking ‘Use CA System certificates’.
So I can’t choose the CA-certificate supplied by my internet provider. I keep removing the check-mark and pointing it to the ‘hotzoneCA.der’ certificate. I also got a ‘personal’ certificate, in lack of a better word. Its called ‘jacob_collstrup.p12’. The Knetwork manager seems to accept the ‘jacob_collstrup.p12’ certificate, but not the other one.
I just put the certificates in a folder like this /jacob/home/hotzone/zertifikate/
I can see the network fine using the Knetwork manager, and the signal strength seems ok. Not too good, but it shouldn’t be a problem.
I might have messed up the system, since I first tried this guide, prior to experimenting with Knetwork Manager:
It looks like you’re using ndiswrapper. That should really be a last resort.
Did you put the correct certificates in wpa_supplicant.conf? If you put them in a custom folder you need to change the config file to point to those certs.
The config file you posted isn’t pointing to your files.
I’ve never needed a cert to connect to wireless, so I don’t know a lot about your issue. But if that’s what it needs, once you get the CA, KEY and PASSWORD entered in the file it should be able to connect.
Knetworkmanager might not work to do that. Doing it from the command line is a better bet.
I don’t think I’m using ndiswrapper, but I’m not sure. I don’t know how to put the command together without the ndiswrapper-part.
The wpa_supplicant.conf lies in a write-protected part of my system. I have so far not been able to edit it. I’ve tried creating it in a non-write-protected part of my system, saved it, then ran dolphin as su to copy it, but this doesn’t work either.
Assuming I get conf-file set up right and copied to the right destination, what then? Will the computer automaticly connect then?
I have been successful with creating the wpa_supplicant.conf file, but I don’t know what to do now…I tried experimenting a bit with the cli:
linux-c18f:/home/jacob # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ENGINE: ctrl cmd_string failed: LOAD (null) [error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library]
SSL: Failed to initialize TLS context.
Failed to initialize EAPOL state machines.
linux-c18f:/home/jacob # exit
exit
jacob@linux-c18f:~> su
Password:
linux-c18f:/home/jacob # wpa_supplicant -w -i wlan0 -c /etc/wpa_supplicant.conf -Dwext -dd -t
wpa_supplicant: invalid option -- 'w'
wpa_supplicant v0.7.1
Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi> and contributors
This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
usage:
wpa_supplicant -BddhKLqqstuvW] -P<pid file>] -g<global ctrl>] \
-i<ifname> -c<config file> -C<ctrl>] -D<driver>] -p<driver_param>] \
-b<br_ifname>] -f<debug file>] \
-o<override driver>] -O<override ctrl>] \
-N -i<ifname> -c<conf> -C<ctrl>] -D<driver>] \
-p<driver_param>] -b<br_ifname>] ...]
drivers:
wext = Linux wireless extensions (generic)
nl80211 = Linux nl80211/cfg80211
hostap = Host AP driver (Intersil Prism2/2.5/3)
atmel = ATMEL AT76C5XXx (USB, PCMCIA)
ndiswrapper = Linux ndiswrapper (deprecated; use wext)
wired = Wired Ethernet driver
ralink = Ralink Wireless Client driver
options:
-b = optional bridge interface name
-B = run daemon in the background
-c = Configuration file
-C = ctrl_interface parameter (only used if -c is not)
-i = interface name
-d = increase debugging verbosity (-dd even more)
-D = driver name (can be multiple drivers: nl80211,wext)
-f = log output to debug file instead of stdout
-g = global ctrl_interface
-K = include keys (passwords, etc.) in debug output
-t = include timestamp in debug messages
-h = show this help text
-L = show license (GPL and BSD)
-o = override driver parameter for new interfaces
-O = override ctrl_interface parameter for new interfaces
-p = driver parameters
-P = PID file
-q = decrease debugging verbosity (-qq even less)
-u = enable DBus control interface
-v = show version
-W = wait for a control interface monitor before starting
-N = start describing new interface
example:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
linux-c18f:/home/jacob # dhclient
linux-c18f:/home/jacob # dhcclient
If 'dhcclient' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf dhcclient
linux-c18f:/home/jacob #
I really don’t know if I’m doing it right or wrong…
What is the status of your wireless? Did the wpa_supplicant error go away? Have you tried to configure your network with network manager?
error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library
Looks like this error is cause by missing packages.
sudo zypper in opensc
That should install libopenct1 libopensc2 opensc pcsc-lite and you should be able to run the wpa_supplicant commnand at that point.
Please update with detailed status.
OK, I’m not particularly smart ! The ‘NIC’ configuration in ‘network manager’ would that be the ‘Wireless’-tab, the ‘Wireless Security’-tab or the ‘IP address’-tab? And can the following be assumed: ‘Knetwork manager’ = ‘network manager’ ?