Comments on: How to find a wireless device ? https://blog.michaelfmcnamara.com/2008/03/how-to-find-a-wireless-device/ technology, networking, virtualization and IP telephony Sat, 30 Oct 2021 14:30:40 +0000 hourly 1 https://wordpress.org/?v=6.7.4 By: Michael McNamara https://blog.michaelfmcnamara.com/2008/03/how-to-find-a-wireless-device/comment-page-1/#comment-863 Thu, 07 May 2009 18:25:01 +0000 http://maddog.mlhs.org/blog/2008/03/how-to-find-a-wireless-device/#comment-863 Hi Dotty,

Thanks for the clarification…

I would guess that unless you are managing a lot of WS5100s that you’re going to spend a lot more time trying to develop a solution over just manually copying the configuration files. In your case (depending on the version of software on the WS5100) you could just place the configuration commands in a single text file on a TFTP server and then copy those commands to each server with the following command;

copy tftp://10.1.1.1/commands.txt running-config
write mem

In any event I don’t believe that batch files alone will provide you the solution. I really don’t code in Visual Basic so I can’t really help. I have written some extensive Expect scripts for the WS5000/WS5100/RFS7000 switches. Here’ a quick snipet of the Expect code that I used to login;

set timeout 60
spawn $TELNET $SWITCH
match_max 100000
expect "user name:"
send -- "cli\r"
expect -exact "cli\r"
expect "userid: "
send -- "admin\r"
expect -exact "admin\r
 password: "
send "$PASSWRD\r"
expect "> "

Good Luck!

]]>
By: Dotty https://blog.michaelfmcnamara.com/2008/03/how-to-find-a-wireless-device/comment-page-1/#comment-847 Mon, 04 May 2009 11:22:48 +0000 http://maddog.mlhs.org/blog/2008/03/how-to-find-a-wireless-device/#comment-847 Thanks for your reply. Let me explain what exactly I need to do. I need to add an additional wlan to all of our WS5100 wireless controllers. I can easily do this through the gui as you suggested, but webbing to each controller consumes a lot of time. I can also telnet to each controller and paste in the config starting with the enable command, but that also takes time. I would like to create a batch file or visual basic script that would telnet to each wireless controller sign in and then make the necessary config changes. I cannot get the sign in to work because of the cli prompt. I think I need some sort of a pause after I enter the cli command.. Please let me know if you can help or point me in the right direction.

]]>
By: Michael McNamara https://blog.michaelfmcnamara.com/2008/03/how-to-find-a-wireless-device/comment-page-1/#comment-845 Sat, 02 May 2009 20:43:55 +0000 http://maddog.mlhs.org/blog/2008/03/how-to-find-a-wireless-device/#comment-845 Hi Dotty,

I’m not exactly sure what you’re trying to say… if your looking for examples of how to write an Expect script you can have a look at this post describing a script I wrote to dump debug information from a Nortel ERS 8600 switch.

You realize that the Motorola WS5100 has a web based management GUI right? You only need to connect to the switch IP address over SSL (HTTPS). If the IP address of your Motorola WS5100 was 192.168.1.10 you would enter the following in your web browser; https://192.168.1.10. You need to acknowledge the unsigned SSL certificate error that will popup in both Internet Explorer and Firefox (or any other browser for that matter).

Good Luck!

]]>
By: Dotty https://blog.michaelfmcnamara.com/2008/03/how-to-find-a-wireless-device/comment-page-1/#comment-839 Thu, 30 Apr 2009 12:21:33 +0000 http://maddog.mlhs.org/blog/2008/03/how-to-find-a-wireless-device/#comment-839 I am looking for a script fot the WS5100 wireless controllers version 3.2 that will allow me to make configuration changes to the controllers. I am having problems with the sign in since there needs to be a pause after the cli is entered.

I you provide some information on how write a script that will change the config?

Thanks,
Dotty

]]>