I just tried running wpa_supplicant in the foreground and it doesn't output anything when I connect my ethernet cable.
On 1/20/11, Kurt H Maier <karmaf...@gmail.com> wrote: > On Wed, Jan 19, 2011 at 8:15 PM, Jan <k...@unstable.nl> wrote: >> Maybe surveilling /var/log/messages (lines are similar to dmesg output) >> for lines that include "eth0" and "link" might work. > > wpa_supplicant puts all its info (i.e., CTRL_EVENT_DISCONNECTED) out > on stderr. Could just pipe that to a shell script. > > -- > # Kurt H Maier > >