LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-17-2009, 04:18 PM   #1
rssn6
Member
 
Registered: Jun 2008
Location: Canada
Distribution: Slackware,Ubuntu, m0n0wall,Freenas
Posts: 66

Rep: Reputation: 16
Question wicd wpa


I have an issue regarding wicd (using 1.6.2.2).
At school they use wpa.
the configuration is
Code:
eapol_version=2
    ap_scan=1
    fast_reauth=1
    network={
          ssid="University"
          key_mgmt= WPA-EAP IEEE8021X
          eap=TTLS
          identity="yourNetname"
          password="yourPassword"
          phase2="auth=PAP"
    }
Therefore I created a template for wicd like this
Code:
    name = CONU
        author = rssn6
        version = 2

        require identity *Identity password *Password
        -----
        ctrl_interface=/var/run/wpa_supplicant
        eapol_version=2
        ap_scan=1
        fast_reauth=1
        network={
        ssid="$_ESSID"
        key_mgmt= WPA-EAP IEEE8021X
        eap=TTLS
        identity=$_IDENTITY
        password=$_PASSWORD
        phase2="auth=PAP"
        }
with some help from the wicd's forum.
But the problem is it doesn't work.
At wicd's forum there was no replies for while...

Please help me out.
 
Old 09-17-2009, 08:43 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Yea I'll believe that, there were bugs even with nm-applet with IEEE8201X until just recently. I personally found that wicd sucked, and so my solution was to use nm-applet. It sucks a little bit too, but so long as you don't need VPN or anything like that, recent versions seem to have been sufficient.
 
Old 09-17-2009, 09:46 PM   #3
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Look at /etc/wicd/encryption/templates, create a file named rssn6 (it will be 'your' template, name it at your pleasure), put your wpa_supplicant information directly on 'your' template, add 'your' template name to '/etc/wicd/encryption/templates/active'.

Try something like:

Quote:
author = rssn6
version = 2

require identity *Identity password *Password
-----
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1
network={
ssid="University"
key_mgmt= WPA-EAP IEEE8021X
eap=TTLS
identity=yourname
password=yourgeneratedpassword
phase2="auth=PAP"
}
Don't remember if you'll need to restart the daemon. You should have 'your' template listed. Try connecting. If it fails, enable verbose debug log (prefs/advsettings/enabledebuglog) and adjust 'your' template if needed, like adding quotes to name and password, etc.
 
Old 09-18-2009, 10:23 PM   #4
rssn6
Member
 
Registered: Jun 2008
Location: Canada
Distribution: Slackware,Ubuntu, m0n0wall,Freenas
Posts: 66

Original Poster
Rep: Reputation: 16
I will try this Monday and will post the result.
 
Old 09-22-2009, 01:58 PM   #5
rssn6
Member
 
Registered: Jun 2008
Location: Canada
Distribution: Slackware,Ubuntu, m0n0wall,Freenas
Posts: 66

Original Poster
Rep: Reputation: 16
I had the chance to test it and the error was present because the quotation marks should be applied in the user/password.


Code:
identity="$_IDENTITY"
password="$_PASSWORD"
the rest is good.
Thank you all for replying.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
Wicd cannot obtain an IP automatically in a wireless network with WPA enabled. kemsiro Slackware 30 10-14-2009 10:17 PM
Slackware 13 - Wicd WPA PEAP TKIP MSCHAPV2 - Not Authenticating Do7AN Slackware 16 09-30-2009 10:15 AM
Wicd on Fedora 10 will not connect to WPA/WPA2 network after install Mikazo Linux - Wireless Networking 2 04-11-2009 12:38 PM
usb network adapter with ndiswrapper can't connect to wpa with wpa-supplicant AceofSpades19 Linux - Wireless Networking 8 03-30-2008 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration