Hi,
I need to authentificate myself over wired LAN with eap-md5 to get access to the internet (internet access routed by the university). The authentification works well with xsupplicant-1.0.1 from my laptop running Gentoo Linux but I want to bring the authetification task over to the WRT54G.
Therefor I installed the xsupplicant-1.0.1 on it and copied my working xsupplicant.conf to the router. But it doesn't work :-( My router has the bridge br0 NOT REMOVED (in case this is of any importants, but shouldn't be) - my WAN is vlan1 (WRT54G 2.2) Here is the output of # xsupplicant -i vlan1 -d A -f:
Using default config!
Logfile: "/var/log/xsupplicant.log"
network_list: all
Default network: "unibi"
Allow Type: MD5
Type: Wired
ID: "my_id" ###
md5 username: "my_username" ### values changed in the log - are set correcty of cause
md5 password: "my_passwort" ###
[INT] Called event_core_setup()!
[INT] Called cardif_linux_rtnetlink_init()!
[INT] Found interface : lo
[CONFIG] List of denied interfaces is empty! All interfaces will be used!
Invalid interface lo
[INT] Found interface : eth0
[CONFIG] List of denied interfaces is empty! All interfaces will be used!
[INT] ADDING INTERFACE : eth0
[INT] Flags are : 06
[INT] Initializing socket for interface eth0..
[INT] Index : 2
[INT] Allmulti is currently disabled on this device!
Interface eth0 initalized!
[INT] Interface eth0 is NOT wireless!
[CONFIG] Working from config file /etc/xsupplicant.conf.
No configuration information for network "(null)" found. Using default.
[INT] Found interface : eth1
[CONFIG] List of denied interfaces is empty! All interfaces will be used!
[INT] ADDING INTERFACE : eth1
[INT] Flags are : 06
[INT] Initializing socket for interface eth1..
[INT] Index : 3
[INT] Allmulti is currently disabled on this device!
Interface eth1 initalized!
[INT] Interface eth1 is NOT wireless!
[CONFIG] Working from config file /etc/xsupplicant.conf.
No configuration information for network "(null)" found. Using default.
[INT] Found interface : br0
[CONFIG] List of denied interfaces is empty! All interfaces will be used!
[INT] ADDING INTERFACE : br0
[INT] Flags are : 06
[INT] Initializing socket for interface br0..
[INT] Index : 4
[INT] Allmulti is currently disabled on this device!
Interface br0 initalized!
[INT] Interface br0 is NOT wireless!
[CONFIG] Working from config file /etc/xsupplicant.conf.
No configuration information for network "(null)" found. Using default.
[INT] Found interface : vlan0
[CONFIG] List of denied interfaces is empty! All interfaces will be used!
[INT] ADDING INTERFACE : vlan0
[INT] Flags are : 06
[INT] Initializing socket for interface vlan0..
[INT] Index : 5
[INT] Allmulti is currently disabled on this device!
Interface vlan0 initalized!
[INT] Interface vlan0 is NOT wireless!
[CONFIG] Working from config file /etc/xsupplicant.conf.
No configuration information for network "(null)" found. Using default.
[INT] Found interface : vlan1
[CONFIG] List of denied interfaces is empty! All interfaces will be used!
[INT] ADDING INTERFACE : vlan1
[INT] Flags are : 06
[INT] Initializing socket for interface vlan1..
[INT] Index : 6
[INT] Allmulti is currently disabled on this device!
Interface vlan1 initalized!
[INT] Interface vlan1 is NOT wireless!
[CONFIG] Working from config file /etc/xsupplicant.conf.
No configuration information for network "(null)" found. Using default.
[INT] No more interfaces to look at!
[CONFIG] Opened socket descriptor #12
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Working with an interface with index of 2.
[INT] -- Got a new interface request.
[INT] Found interface eth0, with index of 2! (Ignored)
[ALL] Processing interface eth0... (Flags : 06)
[INT] Interface eth0 is NOT wireless!
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[STATE] (global) -> DISCONNECTED
[STATE] Processing DISCONNECTED state.
[STATE] DISCONNECTED -> CONNECTING
[ALL] Processing interface eth1... (Flags : 06)
[INT] Interface eth1 is NOT wireless!
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[STATE] (global) -> DISCONNECTED
[STATE] Processing DISCONNECTED state.
[STATE] DISCONNECTED -> CONNECTING
[ALL] Processing interface br0... (Flags : 06)
[INT] Interface br0 is NOT wireless!
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[STATE] (global) -> DISCONNECTED
[STATE] Processing DISCONNECTED state.
[STATE] DISCONNECTED -> CONNECTING
[ALL] Processing interface vlan0... (Flags : 06)
[INT] Interface vlan0 is NOT wireless!
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[STATE] (global) -> DISCONNECTED
[STATE] Processing DISCONNECTED state.
[STATE] DISCONNECTED -> CONNECTING
[ALL] Processing interface vlan1... (Flags : 06)
[INT] Interface vlan1 is NOT wireless!
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[STATE] (global) -> DISCONNECTED
[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 eth1, with index of 3! (Ignored)
[ALL] Processing interface eth0... (Flags : 04)
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 :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 01 .........'......
00 00 ..
[ALL] Processing interface eth1... (Flags : 04)
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 :
01 80 C2 00 00 03 00 13 - 10 27 DE F5 88 8E 01 01 .........'......
00 00 ..
[ALL] Processing interface br0... (Flags : 04)
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 :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 01 .........'......
00 00 ..
[ALL] Processing interface vlan0... (Flags : 04)
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 :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 01 .........'......
00 00 ..
[ALL] Processing interface vlan1... (Flags : 04)
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 :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 01 .........'......
00 00 ..
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Working with an interface with index of 4.
[INT] -- Got a new interface request.
[INT] Found interface br0, with index of 4! (Ignored)
[ALL] Processing interface eth0... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=29 heldWhile=59 startWhen=29 curState=CONNECTING
[ALL] Processing interface eth1... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=29 heldWhile=59 startWhen=29 curState=CONNECTING
[ALL] Processing interface br0... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=29 heldWhile=59 startWhen=29 curState=CONNECTING
[ALL] Processing interface vlan0... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=29 heldWhile=59 startWhen=29 curState=CONNECTING
[ALL] Processing interface vlan1... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Clock tick! authWhile=29 heldWhile=59 startWhen=29 curState=CONNECTING
Checking event interface.
[INT] Got an RTM_NEWLINK!
[INT] Working with an interface with index of 5.
[INT] -- Got a new interface request.
[INT] Found interface vlan0, with index of 5! (Ignored)
[ALL] Processing interface eth0... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Processing interface eth1... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Processing interface br0... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Processing interface vlan0... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
There are no frames to process.
[ALL] Processing interface vlan1... (Flags : 04)
Couldn't get frame. (Maybe there weren't any!)
Socket would block!
AND_SO_ON_AND_SO_ON_TILL_TIMEOUT_FORCES_STATE_AUTHETIFICATED (but isn't!!!)
There are no frames to process.
[ALL] Clock tick! authWhile=0 heldWhile=0 startWhen=0 curState=AUTHENTICATED
[ALL] Shutting down IPC socket!
[CONFIG] Closing socket descriptor #12
[ALL] Doing statemachine cleanup!
There was no active method in eap_cleanup()!
[STATE] Sending EAPOL-Logoff Frame.
[INT] Sending Logoff for int eth0!
[ALL] Frame to be sent :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 02 .........'......
00 00 ..
[ALL] Cleaning up interface eth0...
[INT] Turning off ALLMULTI mode!
[INT] Sending Logoff for int eth1!
[ALL] Frame to be sent :
01 80 C2 00 00 03 00 13 - 10 27 DE F5 88 8E 01 02 .........'......
00 00 ..
[ALL] Cleaning up interface eth1...
[INT] Turning off ALLMULTI mode!
[INT] Sending Logoff for int br0!
[ALL] Frame to be sent :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 02 .........'......
00 00 ..
[ALL] Cleaning up interface br0...
[INT] Turning off ALLMULTI mode!
[INT] Sending Logoff for int vlan0!
[ALL] Frame to be sent :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 02 .........'......
00 00 ..
[ALL] Cleaning up interface vlan0...
[INT] Turning off ALLMULTI mode!
[INT] Sending Logoff for int vlan1!
[ALL] Frame to be sent :
01 80 C2 00 00 03 00 13 - 10 27 DE F3 88 8E 01 02 .........'......
00 00 ..
[ALL] Cleaning up interface vlan1...
[INT] Turning off ALLMULTI mode!
[INT] Called event_core_cleanup()!
[INT] Called cardif_linux_rtnetlink_cleanup()!
[STATE] Deleting PID File...
I have switched the firewall of temporary with no success? Do I have to change something for routing or things like that? I don't think so for plain authentification.
Thanks for yout help! I run the last experimental tarball before white_russian.