Hi,
How would one detect that the wireless adapter device has been
plugged in, programmatically? i.e. no terminal device on ttyAM0
to see system messages.
For example, I can detect when a USB memory stick is in because the
directory structure /dev/scsi/hostx/bus0/... is created upon plug-in.
I looked at /var/log, nothing there. In /proc, there's a lot of
subdirectories seemingly associated with PID's, but the one of
interest seems to be associated with udhcpc, which I run AFTER I know
the device is in place. I couldn't find anything in /dev either that
would tell me if it's in or out.
I examined dmesg, and there could be something there that would help,
but that's a pretty long parse.
Any ideas or suggestions for me?
Thanks,
John
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|