Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-18-2004, 09:43 AM
|
#1
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Rep:
|
802.1x, Radius, MSChapv2, PEAP
I've been doing alot of research and everything I have read says it works but I can't find specific examples and my config fails.
How do I get my Linux Box talking to a Microsoft PEAP, MSChapV2, Radius Server?
I am using the 2.6.x kernel driver for the Cisco Aironet 350 series pcmcia card.
Software on a Gentoo Laptop:
Cisco's utilities (ACU, not the driver)
wpa_supplicant
xsupplicant
linux wireless utilities
My Network uses a Microsoft Radius Server, Microsoft Cert Server, PEAP, MSCHAPv2, a Certificate and what else do I need to know?
using wpa_supplicant, I get - no network detected. We don't broadcast SSID's.
xsupplicant doesn't want to connect.
one of the iwtools - to detect ssid's - find all 4 Access Points but fails to get the SSIDs (I know what they are though)
Any help is appreciated.
Micah
|
|
|
10-18-2004, 09:53 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
You can set the essid with:
Code:
iwconfig wlan0 essid xxxx
xxxx = your essid. If you're using another interface change wlan0 to that as well
|
|
|
10-18-2004, 10:14 AM
|
#3
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
When i set the essid with iwconfig it fails to work...
the /proc/driver/aironet/eth0/SSID file may show it but iwcofig just shows: "" for the essid...
At home on my unencrypted network, I can set it.
|
|
|
10-18-2004, 11:14 AM
|
#4
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
And after trying a couple of times setting the essid. I don't know for modules in the kernel but in my old ndiswrapper it took me a couple of tries as well to set the essid.
|
|
|
10-18-2004, 11:19 AM
|
#5
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
I read something somewhere that the guy set the essid and then waited for the card to stop flashing - to him this meant it became associated.
Do I have to worry about that?
Can I set the SSID's HW Mac Address instead?
iwlist wifi0 scanning
this shows 4 Cells. None have an essid but I get all of their MAC addresses. ( Quality is also 0/10 but everything else on the look ok )
|
|
|
10-18-2004, 11:39 AM
|
#6
|
Senior Member
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880
Rep:
|
Try running XSupplicant in the debug mode, maybe, to see if it gives you some insight into what's failing. Is there anything of value in the RADIUS logs?
Not broadcasting the SSID beacon often results in connection difficulties (and never improves security). Consider turning it back on, at least for testing.
One of the better setup docs around seems to be gone, as in the hosting site is not found, so I'll keep looking.
|
|
|
10-18-2004, 11:53 AM
|
#7
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
I don't have access to the Radius Logs - and its a Microsoft Server (If that helps) - At lunch I will see if I can get anythign from our security people.
xsupplicant -i eth1 -d 6
Code:
Couldn't get information for interface wifi0!
Error , 1: syntax error
Calling do_eapol, with device eth1
Setup on device eth1 complete
(EAPMD5) Initialized
(EAPMS-CHAP) Initialized
Done with init.
You do not appear to be associated to a wireless network!
You do not appear to be associated to a wireless network!
Sending EAPOL-Start #1
You do not appear to be associated to a wireless network!
....
You do not appear to be associated to a wireless network!
Sending EAPOL-Start #2
You do not appear to be associated to a wireless network!
...
No authenticator found! Assuming the port is authorized!
You do not appear to be associated to a wireless network!
...
LOGOFF
(EAPMD5) Cleaning up.
(EAPMS-CHAP) Cleaning up.
I'll also see if I can get security to turn on SSID broadcasting of at least one access point. (Toughy... =)
|
|
|
10-18-2004, 12:13 PM
|
#8
|
Senior Member
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880
Rep:
|
Clearly, from the output, you are not associated with an AP. You can't authenticate until you get past that hurdle.
Which version of XSupplicant? Do you have a config file, perhaps, that's overriding the iwconfig essid youressid eth0 setting?
|
|
|
10-18-2004, 12:23 PM
|
#9
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
xsupplicant 0.8b ... There is a newer out so I will try and install it =)
iwconfig eth0 essid xxxx won't set it...
I've also tried:
Code:
echo "SSID: xxxx" > /proc/driver/aironet/eth0/SSID
Here, it sets it for a minute and then it disappears
Code:
iwconfig eth0 ap 00:xx:xx:xx:xx:xx
Does nothing =(
Again - this works at home on my unencrypted wireless....
|
|
|
10-18-2004, 12:54 PM
|
#10
|
Member
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64
Posts: 195
Original Poster
Rep:
|
New Info
I've installed XSupplicant 1.0pre(something)
in README.wireless_cards...
Cisco 340/350 - No (Auth) - No (dWEP) - "The Cisco driver Hijacks 0x888e which prevents xsupplicant from obtaining the frames. We are evaluating this problem."
It appears my card will fail anyways. Maybe... I don't know if it means Cisco as in Kernel or as in Cisco's implementation (I don't even know if they are different ro the same.)
Looks like I'm going shopping this evening. =)
In the mean time, I think I will try installing Cisco's driver again.
|
|
|
11-05-2004, 02:10 PM
|
#11
|
Member
Registered: May 2003
Location: Vancouver
Distribution: RH9
Posts: 100
Rep:
|
if I ever want to associate on to hidden ssid i just set the id manually
iwconfig eth2 essid "( . Y . )"
then request an ip via dhcp, like sudo dhcpcd eth2, or sudo dhclient eth2, whether there's a dhcp server running or not doesnt matter, the card has to bind to that AP in order to TRY to request an IP. works for me on my orinoco card. it's kind of a hack solution but it works for me.
Last edited by otisthegbs; 11-05-2004 at 02:11 PM.
|
|
|
All times are GMT -5. The time now is 02:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|