[prev in list] [next in list] [prev in thread] [next in thread]
List: open1x-xsupplicant
Subject: Re: [Open1x-xsupplicant] Error while running xsupplicant for wired
From: Chris Hessing <chris () open1x ! org>
Date: 2007-11-29 23:02:59
Message-ID: 474F4523.7070608 () open1x ! org
[Download RAW message or body]
Hi Meenakshi -
One of the problems you are running in to is the assertion that you
see. I noticed this issue last night when I was working on something
unrelated. I am not sure that it will impact your authentication, but
it will fill up your log file in a hurry. ;) I am going to see if I
can get a fix for it this weekend.
However, the main problem is this :
Invalid MAC address at line 29. Ignoring!
Which is probably this line (I didn't count the lines exactly) :
<MAC>00-oc-f1-82-30-51</MAC>
I am guessing you meant "0c" not "oc". ;)
Meenakshi Kaushik wrote:
>
> Hello,
> I am trying to run xsupplicant for a wired NIC for a basic md5
> configuration The config file is attached below. However, it appears
> that the xsupplicant performs wireless scan and generates the following
> error -
>
>
> ./xsupplicant -i eth0 -f -s -d A -c ./md5-example.conf
> Found 0 other supplicants and wireless managers.
> [INIT ] Thu Nov 29 12:27:51 2007 - Init devices structure.
> Thu Nov 29 12:27:51 2007 - Unknown configuration file tag 'Logpath' at
> line 4.
> Invalid MAC address at line 29. Ignoring!
> No log path setting is defined in the configuration file. We won't roll
> logs!
> Error rolling log files!
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Interface 1 named lo.
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Interface 3 named eth0.
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Looking for MAC address for
> eth0!
> Interface : eth0
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Interface eth0 is NOT wireless!
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Interface 3 named eth0.
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Looking
> for MAC address for eth0!
> Interface : eth0
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Interface eth0 is NOT wireless!
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Clearing control socket
> /tmp/xsupplicant.sock.
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Opened socket descriptor #3 for
> IPC listener.
> [EVENT_CORE ] Thu Nov 29 12:27:51 2007 - Registered event handler 'IPC
> master socket' in slot 19, with socket 3.
> [INIT ] Thu Nov 29 12:27:51 2007 - Initing interface passed on the
> command line.
> [INIT ] Thu Nov 29 12:27:51 2007 - Init timer!
> [INIT ] Thu Nov 29 12:27:51 2007 - Init EAP state machine.
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Initializing socket for
> interface eth0..
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Allmulti mode is already
> enabled on this device!
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Turning on ALLMULTI mode.
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Interface eth0 is NOT wireless!
> [EVENT_CORE ] Thu Nov 29 12:27:51 2007 - Registered event handler
> 'rtnetlink handler' in slot 0, with socket 5.
> [INTERFACE ] Thu Nov 29 12:27:51 2007 - Setting Linkmode to 1.
> [EVENT_CORE ] Thu Nov 29 12:27:51 2007 - Registered event handler 'frame
> handler' in slot 18, with socket 4.
> [CONTEXT ] Thu Nov 29 12:27:51 2007 - Interface initialized!
> [CONF_PARSE ] Thu Nov 29 12:27:51 2007 - Network name passed in is NULL!
> [INTERFACE ] Wed Nov 28 15:38:09 2007 - No default connection defined
> for interface '(null)'.
> No devices found in the configuration!
> [EVENT_CORE ] Wed Nov 28 15:38:09 2007 - Socket 5 (rtnetlink handler)
> had an event! (Event index 0)
> Wed Nov 28 15:38:09 2007 - Assertion 'idata->intTypeData != NULL' failed
> in file linux/cardif_linux_rtnetlink.c, function
> cardif_linux_rtnetlink_check_nets(), at line 241.
> [1X_BE_STATE] Thu Nov 29 12:27:51 2007 - Backend State : UNKNOWN
> [1X_BE_STATE] Thu Nov 29 12:27:51 2007 - (global) -> INITIALIZE
> [1X_BE_STATE] Thu Nov 29 12:27:51 2007 - [backend_sm] UNKNOWN ->
> INITIALIZE
> [1X_BE_STATE] Thu Nov 29 12:27:51 2007 - [backend_sm] INITIALIZE -> IDLE
> [DOT1X_STATE] Thu Nov 29 12:27:51 2007 - eth0 - Changing from
> DISCONNECTED to CONNECTING.
> [1X_BE_STATE] Thu Nov 29 12:27:51 2007 - Backend State : IDLE
> [DOT1X_STATE] Thu Nov 29 12:27:52 2007 - Clock tick! authWhile=29
> heldWhile=59 startWhen=29 curState=CONNECTING
> [1X_BE_STATE] Thu Nov 29 12:27:52 2007 - Backend State : IDLE
> [1X_BE_STATE] Thu Nov 29 12:27:52 2007 - Backend State : IDLE
> [DOT1X_STATE] Thu Nov 29 12:27:53 2007 - Clock tick! authWhile=28
> heldWhile=58 startWhen=28 curState=CONNECTING
> [DOT1X_STATE] Thu Nov 29 12:27:53 2007 - Clock tick! authWhile=28
> heldWhile=58 startWhen=28 curState=CONNECTING
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Cert handler clean up.
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Clean up IPC.
> [IPC ] Thu Nov 29 12:27:53 2007 - Shutting down IPC socket!
> [INTERFACE ] Thu Nov 29 12:27:53 2007 - Closing socket descriptor #3
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Clean up event core
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Clearing handler 'rtnetlink
> handler'.
> [EVENT_CORE ] Thu Nov 29 12:27:53 2007 - Deregistering event handler
> 'rtnetlink handler' in slot 0, with socket 5.
> [INTERFACE ] Thu Nov 29 12:27:53 2007 - Sending Logoff!
> [DEINIT ] Thu Nov 29 12:27:53 2007 - No network information
> available. Assuming we don't need to send a logoff.
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Cleaing up EAPoL state.
> [DOT1X_STATE] Thu Nov 29 12:27:53 2007 - Doing statemachine cleanup!
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Deinit EAP State machine.
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Clean up timers
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Deinit wireless SM
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Cleaning up interface eth0...
> [INTERFACE ] Thu Nov 29 12:27:53 2007 - Called
> cardif_linux_rtnetlink_cleanup()!
> [INTERFACE ] Thu Nov 29 12:27:53 2007 - Setting operstate to 6
> [INTERFACE ] Thu Nov 29 12:27:53 2007 - Setting Linkmode to 0.
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Clearing handler 'frame
> handler'.
> [EVENT_CORE ] Thu Nov 29 12:27:53 2007 - Deregistering event handler
> 'frame handler' in slot 18, with socket 4.
> [INTERFACE ] Thu Nov 29 12:27:53 2007 - Sending Logoff!
> Thu Nov 29 12:27:53 2007 - Assertion 'ctx->sendframe != NULL' failed in
> file statemachine.c, function txLogoff(), at line 1297.
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Cleaing up EAPoL state.
> [DOT1X_STATE] Thu Nov 29 12:27:53 2007 - Doing statemachine cleanup!
> [DEINIT ] Thu Nov 29 12:27:53 2007 - Deinit EAP State machine.
> Thu Nov 29 12:27:53 2007 - Assertion '(*sm) != NULL' failed in file
> eap_sm.c, function eap_sm_deinit(), at line 1927.
> Thu Nov 29 12:27:53 2007 - Nothing to clean up!
> [FATAL] SIGSEGV (Segmentation Fault)!!!
> [IPC ] Thu Nov 29 12:27:53 2007 - Shutting down IPC socket!
> [INTERFACE ] Thu Nov 29 12:27:53 2007 - Closing socket descriptor #3
> Thu Nov 29 12:27:53 2007 - Error closing socket! (Error : Bad file
> descriptor)
>
>
>
> Xsupplicant config file
> <?xml version="1.0"?>
> <XsupplicantConfig version="1.0" generated_data="1/20/07">
> <Globals>
> <Logpath>/var/log/</Logpath>
> </Globals>
>
> <Profiles>
> <Profile>
> <Name>Test EAP-MD5 profile</Name>
> <Identity>eapmd5-test</Identity>
> <EAP>
> <Type>md5</Type>
> <Password>eapmd5pwd</Password>
> </EAP>
> </Profile>
> </Profiles>
>
> <Connections>
> <Connection>
> <Name>EAP-MD5 Connection</Name>
> <Profile>Test EAP-MD5 profile</Profile>
> <Interface>My Network Card</Interface>
> </Connection>
> </Connections>
>
> <Devices>
> <Interface>
> <Description>My Network Card</Description>
> <MAC>00-oc-f1-82-30-51</MAC>
> </Interface>
> </Devices>
> </XsupplicantConfig>
>
> Any pointers/help appreciated.
>
> Thanks,
> Meenakshi
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Open1x-xsupplicant mailing list
> Open1x-xsupplicant@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/open1x-xsupplicant
>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Open1x-xsupplicant mailing list
Open1x-xsupplicant@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open1x-xsupplicant
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic