"attach" or "detach"? I'm afraid your post isn't very clear, so I'm not completely clear what you are trying to achieve (set up Avast or remove it?). But by default Avast does have some WiFi scanning thing, though I don't think it stops you using the WiFi, just posts an annoying message if you don't let it do its scan.