You are not logged in.

#1 2012-09-17 19:36:36

cyang
Member
From: Illinois, USA
Registered: 2009-05-28
Posts: 15

Converting wicd/wpa_supplicant configuration for use with netcfg

I am able to connect to my university's campus wireless network using wicd, but I can't seem to connect using a netcfg profile. Can anyone identify what I'm missing from the netcfg profile? Thanks!

The wicd configuration
From /etc/wicd/wireless-settings.conf:

[essid:IllinoisNet]
afterscript = None
dhcphostname = blueberry
bssid = 00:0C:E6:CE:F8:E7
ip = None
dns_domain = None
gateway = None
use_global_dns = False
encryption = True
postdisconnectscript = None
beforescript = None
hidden = False
predisconnectscript = None
channel = 11
mode = Master
username = my_netid
psk = my_psk_generated_using_wpa_passphrase
ca_cert = /etc/ssl/certs/Thawte_Premium_Server_CA.pem
netmask = None
key = my_password
usedhcphostname = 0
password = my_password
identity = my_netid
enctype = illinoisnet
netid = my_netid
dns3 = None
dns2 = None
search_domain = None
use_settings_globally = True
use_static_dns = False
encryption_method = WPA2
essid = IllinoisNet
automatic = 1
dns1 = None

/etc/wicd/encryption/templates/illinoisnet:

name = IllinoisNet
author = Charlie Meyer
version = 1
require netid *UIUC_Netid password *AD_Password
----
ctrl_interface=/var/run/wpa_supplicant
network={
  ssid="IllinoisNet"
  eap=TTLS
  key_mgmt=WPA-EAP
  pairwise=CCMP TKIP
  group=CCMP TKIP
  identity="$_NETID"
  password="$_PASSWORD"
  #ca_cert="/etc/ssl/certs/Thawte_Premium_Server_CA.pem"
  phase2="auth=MSCHAPV2"
}

The netcfg configuration
/etc/network.d/IllinoisNet:

CONNECTION='wireless'
DESCRIPTION='IllinoisNet campus wireless'
INTERFACE='eth1'
SECURITY='wpa-configsection'
ESSID=IllinoisNet
IP='dhcp'
CONFIGSECTION='
    ssid="IllinoisNet"
    eap=TTLS
    key_mgmt=WPA-EAP
    pairwise=CCMP TKIP
    group=CCMP TKIP
    identity=my_netid
    password=my_password
    phase2="auth=MSCHAPV2"
'

When I try to connect using the netcfg profile, I just get the following error:

% sudo netcfg IllinoisNet
:: IllinoisNet up                               [BUSY] 
 > WPA Authentication/Association Failed
                                                [FAIL] 

Offline

#2 2012-10-11 08:15:19

Raphi111
Member
Registered: 2012-07-28
Posts: 12

Re: Converting wicd/wpa_supplicant configuration for use with netcfg

Hello,

I used a part of your netcfg configuration to connect to my university's network and wasn't able to use it until I noticed something: the quotes were missing in the identity and password part. I think it should be:

identity="my_netid"
password="my_password"

Maybe you could check that.

Offline

#3 2012-10-21 05:21:18

cyang
Member
From: Illinois, USA
Registered: 2009-05-28
Posts: 15

Re: Converting wicd/wpa_supplicant configuration for use with netcfg

Hi, thanks for the suggestion, but unfortunately it didn't work for me sad I also tried adding quotes to the other config options, but that didn't help either.

Recently, I realized there is a NETCFG_DEBUG variable that I can get more debugging information from, I'll see what that tells me next time I'm on campus.

Offline

Board footer

Powered by FluxBB