Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with xsupplicant and leap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
awesomescot
n00b
n00b


Joined: 02 Oct 2005
Posts: 15

PostPosted: Wed Nov 02, 2005 8:51 pm    Post subject: problems with xsupplicant and leap Reply with quote

I am trying to get my laptop to work at school where they have a wireless network with LEAP on it. I heard that xsupplicant is the best program to do this with. I have emerged xsupplicant and have it running for the most part. it runs but still doesnt connect. here's my xsupplicant.conf.

Code:

startup_command = <BEGIN_COMMAND>/root/xsup.sh<END_COMMAND>
network_list=all
default_netname=default
first_auth_command = <BEGIN_COMMAND>dhcpcd %i<END_COMMAND>
logfile= /root/xsupplicant.log

default
{
   ssid = <BEGIN_SSID>CPP<END_SSID>
   allow_types = all
   identity= <BEGIN_ID>username<END_ID>
   

   eap-leap {
   username = <BEGIN_UNAME>username<END_UNAME>
   password = <BEGIN_PASS>***********<END_PASS>
   }
}


I start xsupplicant with this command.
Code:
xsupplicant -c /etc/xsupplicant.conf -i atml0 -d 7


this gives me lots of debuggin info. so here is my logfile.
Code:
[INT] Called event_core_setup()!
[INT] Called cardif_linux_rtnetlink_init()!
[INT] ADDING INTERFACE : atml0
[INT] Flags are : 06
[INT] Initializing socket for interface atml0..
[INT] Index : 3
[INT] Allmulti mode is already enabled on this device!
Interface initalized!
[INT] Interface atml0 is wireless!
[INT] The card reported that the destination MAC address is now 00 0C 85 DB BF ED
[INT] Userdata is NULL!
[INT] Working with ESSID : CPP
[CONFIG] Working from config file /etc/xsupplicant.conf.
[CONFIG] Opened socket descriptor #7
[ALL] Processing command : /root/xsup.sh
[ALL] Returning command : /root/xsup.sh
[ALL] Actual command being called is /root/xsup.sh
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Working with an interface with index of 3.
[INT]    -- Got a new interface request.
[INT] Found interface atml0, with index of 3! (Ignored)
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
[ALL] Unknown error (-1)
There are no frames to process.
[ALL] Clock tick! authWhile=29 heldWhile=59 startWhen=0 curState=LOGOFF
[STATE] (global) -> DISCONNECTED
[INT] Encryption appears to be disabled.  We will not reset keys on interface atml0!
[STATE] Processing DISCONNECTED state.
[STATE] DISCONNECTED -> CONNECTING
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Working with an interface with index of 3.
[INT]    -- Got a new interface request.
[INT] Found interface atml0, with index of 3! (Ignored)
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[STATE] Processing CONNECTING state.
[STATE] Sending EAPOL-Start Frame.
[ALL] Frame to be sent :
00 0C 85 DB BF ED 00 30 - BD D2 77 6B 88 8E 01 01 .......0..wk....
00 00                                             ..
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Wireless event: cmd=0x8b06 len=8
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=28 heldWhile=58 startWhen=29 curState=CONNECTING
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Wireless event: cmd=0x8b1a len=16
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Wireless event: cmd=0x8b2a len=12
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Working with an interface with index of 3.
[INT]    -- Got a new interface request.
[INT] Found interface atml0, with index of 3! (Ignored)
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=27 heldWhile=57 startWhen=28 curState=CONNECTING
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Working with an interface with index of 3.
[INT]    -- Got a new interface request.
[INT] Found interface atml0, with index of 3! (Ignored)
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
Checking event interface.
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
Checking event interface.
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=26 heldWhile=56 startWhen=27 curState=CONNECTING
Checking event interface.
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
Checking event interface.
[ALL] Processing interface atml0... (Flags : 0D)
Couldn't get frame.  (Maybe there weren't any!)
Socket would block!
There are no frames to process.
Checking event interface.


I didnt post all of it but you get the idea. so i think the problem has something to do with it not sending an encription key or something. If any body has a clue whats going wrong please post.

Thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum