uploading scripts

I would like to make a script that I could upload to my AP’s that would update some of the AP setting when it is rebooted. Can anyone point to any good documents that could explain the process in detail?

OR

I need a script that will change the current settings to the following settings on a reboot

SSID: WasecaWirelessNetwork
Security Profile: profile2

wlan1 Gateway: 10.3.3.1 “under Route List”

wlan1 Address: 10.3.3.200/24 “under Address List”
wlan1 Network: 10.3.3.0 “under Address List”
wlan1 Broadcast: 10.3.3.255 “under Address List”


Can anyone help?

This should get you started.

This will add a scheduled event to run on startup.
I have only added one command to set the SSID on wlan1 to WasecaWirelessNetwork.

/system scheduler add disabled=no interval=0s name="OnStartup" on-event="/interface wireless set wlan1 ssid=WasecaWirelessNetwork" start-time=startup

If you go to System->Scheduler and edit the OnStartup entry you can customize it as you need.

Thanks Letni

It’s a good start!!

I am trying to setup wep and wpa. I have an AP that services several different kinds of radios, some that can handle wpa and some that can’t. So I am setting up a Virtual Access Point for radios that can use wpa. So I need to be able to remotely change some of the settings and I’m afraid that I will get locked out of them If I don’t have a script that will change everything at once!

It seem that most people that I talk to don’t use encryption on there wireless networks because its not secure enough or that it places an extra load on the their network. But I’m starting to think that I should at least have it in place for data going from one AP to another.

Thank you for the SSID part!!