I have used expect and telnet. Butch Evans has some scripts for doing something similar.
On 11/2/2011 6:14 AM, Paolo Di Francesco wrote: > Hi all > > I need to do update some parameters into the customer CPEs and it would > be boring to do it for hundreds of them. > > Therefore I was wondering what is the best way to write a script to tell > to a linux box to log into the cpe and do the following: > > 1) read some firewall parameters > 2) add some firewall parameters > 3) check the configuration > etc > > I have the IPs and passwords, I jut find it boring to do it by hand. > > About the API, the CPEs are different versions of mikrotik so I don't > know if it's a good idea to start thinking about the API. > > Any example > Thank you in advance > > -- Scott Reed Owner NewWays Networking, LLC Wireless Networking Network Design, Installation and Administration Mikrotik Advanced Certified www.nwwnet.net (765) 855-1060 (765) 439-4253 (855) 231-6239 -------------------------------------------------------------------------------- WISPA Wants You! Join today! http://signup.wispa.org/ -------------------------------------------------------------------------------- WISPA Wireless List: wireless@wispa.org Subscribe/Unsubscribe: http://lists.wispa.org/mailman/listinfo/wireless Archives: http://lists.wispa.org/pipermail/wireless/