PDA

Bekijk de volledige versie : How to turn wireless radio on/off by command?



denny
25-06-2004, 02:20
I'd like to know how to
turn the WiFi radio on/off by console command,
because I need to do that from a script.
Thanks.

Antiloop
25-06-2004, 12:37
eh


wl down


correct me if i'm wrong

denny
26-06-2004, 14:50
eh


wl down


correct me if i'm wrong

Thank you,
but I also notice the "wl radio off" command
will turn the radio off.
The status will report

"Radio is off (WL_RADIO_SW_DISABLE 1 WL_RADIO_HW_DISABLE 0)"

I am interested in the difference between "software disable" and "hardware disable", and how to achieve
"hardware disable"?
The "wl down" doesn't make WL_RADIO_HW_DISABLE become 1.