I have written an expect script to configure a number of Aironet 1100 access points in bulk. However, I'm having trouble connecting to them. The key is one that's already at use on site..it's a 40 bit key and the hex is 12abcdef34. Here's the relevant part of the script:
send "interface dot11radio 0\r"
send "no shutdown\r"
send "ssid SNT\r"
send guest-mode\r
send "encryption key 1 size 40 12abcdef34 transmit-key\r"
send "encryption mode wep mandatory\r"
send "end\r"
I thought that maybe it thinks this key is already encrypted but using 'encryption-key 0' as suggested in the link below throws an error.
If I use this key configuring through the web interface it works. Just not through telnet. What am I doing wrong?
Thanks,
Peter
send "interface dot11radio 0\r"
send "no shutdown\r"
send "ssid SNT\r"
send guest-mode\r
send "encryption key 1 size 40 12abcdef34 transmit-key\r"
send "encryption mode wep mandatory\r"
send "end\r"
I thought that maybe it thinks this key is already encrypted but using 'encryption-key 0' as suggested in the link below throws an error.
If I use this key configuring through the web interface it works. Just not through telnet. What am I doing wrong?
Thanks,
Peter