How do start-wifi/scan-wifi configured?

Taeyoung KIM
mini6410 linux board.

I'd like to set up wireless in Web pages(cgi) .
do not start-wifi/scan-wifi utility to do this.
Of course, the terminal is OK

1. scan-wifi
2. start-wifi wep ssid pass
 
How do start-wifi/scan-wifi configured?

start-wifi source?
script code?



-------------------------
# lsmod

# start-wifi wep ssid pass
# lsmod
zd1211rw 44699 0 - Live 0xbf19b000
rtl8192cu 413497 0 - Live 0xbf129000
rt2800usb 11232 0 - Live 0xbf120000
rt2800lib 38271 1 rt2800usb, Live 0xbf111000
rt73usb 20351 0 - Live 0xbf107000
rt2x00usb 7010 2 rt2800usb,rt73usb, Live 0xbf100000
rt2x00lib 27707 4 rt2800usb,rt2800lib,rt73usb,rt2x00usb, Live 0xbf0f3000
ath9k_htc 46769 0 - Live 0xbf0e0000
ath9k_common 1305 1 ath9k_htc, Live 0xbf0da000
mac80211 182987 5 zd1211rw,rt2800lib,rt2x00usb,rt2x00lib,ath9k_htc, Live
0xbf0a2000
ath9k_hw 293213 2 ath9k_htc,ath9k_common, Live 0xbf052000
ath 12478 2 ath9k_htc,ath9k_hw, Live 0xbf049000
libertas_sdio 7583 0 - Live 0xbf042000
libertas 46854 1 libertas_sdio, Live 0xbf02f000
cfg80211 130228 6 zd1211rw,rt2x00lib,ath9k_htc,mac80211,ath,libertas, Live
0xbf006000
-------------------------

Andre Curvello
You can do shell scripts for the work.