auto configuration

i need some help with this

I want to right out a small script that i can throw into a CPE, reset the board and it programs up all the basics for me, all the standard stuff. the question is how do i go about doing this, how should it be written out and then where in the routerOS must i stick it so that i’ll auto configure

write your script, then with netinstall reinstall RouterOS and provide your script. Now each time after reset configuration, your script will be executed.

netinstall will be tricky as some CPE’s I work with do not as a serial port, I guess this means I will not be able to use a script.

Is it then possible to say jot down all the commands onto a text doc and then just copy/paste them into the terminal from within winbox or even through putty.
Will that work, will the routerOS take that commands in that fashion

You don’t need serial to run netinstall.

Copy/paste to terminal will work, uploading script file to the router and then importing it will also work.

hmm…okay, right all i need now is to learn how to write the script. could you link me to where i can learn this. or just tell me what i’m looking for and I’ll find it myself

Ps. Thanks for all the help

http://wiki.mikrotik.com/wiki/Manual:Scripting
http://wiki.mikrotik.com/wiki/Manual:Scripting-examples