Hi, I am a newbie to openwrt/whiterussian release  and would like to make some changes to the script which handles new wireless connections and initializes it. Can anybody plz let me know which all files are executed when a remote machine connects wirelessly to the router Linksys 54gl with openwrt installed. Basically i need to set some nvram variables when a machine is connected to the router wirelessly and unset them when it is released.

Thanks a lot in advance for the help.