Good morning mailing list users, <br><br>I am configuring my network to test different security approach and I&#39;m currently testing a dell switch with port based authentication ( 802.1x ) against a radius server. I have one question and one issue I would like suggestions on.<br>
<br>First, the issue :<br><br>At the moment, I start wpa_supplicant and it correctly authenticate the my box to the network. I restart the networking and I can access my network. However, if I reboot the machine and start wpa_supplicant once I&#39;m logged, I cant authenticate unless I manually unplug and replug the network cable. Now, I would like to know if it&#39;s a switch issue or an OS issue or a wpa_supplicant issue.  (See the wpa_supplicant -dd log after.) Mainly  I see <br>
EAPOL: SUPP_PAE entering state CONNECTING<br>
EAPOL: SUPP_PAE entering state AUTHENTICATING<br>
EAPOL: SUPP_BE entering state FAIL<br>
EAPOL: SUPP_PAE entering state HELD<br>
EAPOL: SUPP_BE entering state IDLE<br><br><br>Finnaly, the question :<br><br>Now, i&#39;ve setup wpa_supplicant, it mostly works, but i&#39;m doing everything manually, ie : start wpa_supplicant, get authenticated, restart the network, get my ip. Do you have a suggestion on how to automate the process ? Can wpa_supplicant restart the network and ask an IP ?<br clear="all">
<br>I hope someone can help me figure it out !<br><br>Thank you in advance.<br><br>############## Start of wpa_supplicant log ##################<br>[root@localhost phil]# wpa_supplicant -dd -w -Dwired -i eth0 -c /etc/wpa_supplicant.conf <br>
Initializing interface &#39;eth0&#39; conf &#39;/etc/wpa_supplicant.conf&#39; driver &#39;wired&#39; ctrl_interface &#39;N/A&#39; bridge &#39;N/A&#39;<br>Configuration file &#39;/etc/wpa_supplicant.conf&#39; -&gt; &#39;/etc/wpa_supplicant.conf&#39;<br>
Reading configuration file &#39;/etc/wpa_supplicant.conf&#39;<br>ctrl_interface=&#39;/var/run/wpa_supplicant&#39;<br>eapol_version=1<br>ap_scan=0<br>fast_reauth=1<br>Line: 763 - start of a new network block<br>key_mgmt: 0x8<br>
eap methods - hexdump(len=16): 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00<br>identity - hexdump_ascii(len=3):<br>     62 6f 62                                          bob             <br>password - hexdump_ascii(len=5): [REMOVED]<br>
eapol_flags=0 (0x0)<br>Priority group 0<br>   id=0 ssid=&#39;&#39;<br>Initializing interface (2) &#39;eth0&#39;<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>EAPOL: SUPP_BE entering state INITIALIZE<br>
EAP: EAP entering state DISABLED<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<br>wpa_driver_wired_init: Added multicast membership with packet socket<br>Own MAC address: 00:04:5f:87:c5:ba<br>
RSN: flushing PMKID list in the driver<br>Setting scan request: 0 sec 100000 usec<br>Added interface eth0<br>EAPOL: External notification - portControl=Auto<br>Already associated with a configured network - generating associated event<br>
Association info event<br>State: DISCONNECTED -&gt; ASSOCIATED<br>Associated to a new BSS: BSSID=01:80:c2:00:00:03<br>No keys have been configured - skip key clearing<br>Network configuration found for the current AP<br>WPA: clearing AP WPA IE<br>
WPA: clearing AP RSN IE<br>WPA: clearing own WPA/RSN IE<br>EAPOL: External notification - portControl=Auto<br>Associated with 01:80:c2:00:00:03<br>WPA: Association event - clear replay counter<br>EAPOL: External notification - portEnabled=0<br>
EAPOL: External notification - portValid=0<br>EAPOL: External notification - portEnabled=1<br>EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: SUPP_BE entering state IDLE<br>EAP: EAP entering state INITIALIZE<br>EAP: EAP entering state IDLE<br>
Cancelling scan request<br>EAPOL: startWhen --&gt; 0<br>EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: txStart<br>TX EAPOL: dst=01:80:c2:00:00:03<br>TX EAPOL - hexdump(len=4): 01 01 00 00<br>EAPOL: startWhen --&gt; 0<br>
EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: txStart<br>TX EAPOL: dst=01:80:c2:00:00:03<br>TX EAPOL - hexdump(len=4): 01 01 00 00<br>EAPOL: idleWhile --&gt; 0<br>EAP: EAP entering state FAILURE<br>CTRL-EVENT-EAP-FAILURE EAP authentication failed<br>
EAPOL: SUPP_PAE entering state AUTHENTICATING<br>EAPOL: SUPP_BE entering state FAIL<br>EAPOL: SUPP_PAE entering state HELD<br>EAPOL: SUPP_BE entering state IDLE<br>EAPOL: startWhen --&gt; 0<br>EAPOL: heldWhile --&gt; 0<br>
EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: SUPP_PAE entering state AUTHENTICATING<br>EAPOL: SUPP_BE entering state FAIL<br>EAPOL: SUPP_PAE entering state HELD<br>EAPOL: SUPP_BE entering state IDLE<br>EAPOL: startWhen --&gt; 0<br>
EAPOL: heldWhile --&gt; 0<br>EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: SUPP_PAE entering state AUTHENTICATING<br>EAPOL: SUPP_BE entering state FAIL<br>EAPOL: SUPP_PAE entering state HELD<br>EAPOL: SUPP_BE entering state IDLE<br>
EAPOL: startWhen --&gt; 0<br><br><br><br>--<br>Phil<br>