puppet/modules/rhizo_base/files/var/SysmoBTS/bts
Keith Whyte ea3e00ee8e Add some scripts to the bts
Also, allocate a tty when ssh to the BTS
2020-05-22 04:00:37 +02:00

32 lines
577 B
Text

#!/usr/bin/expect -f
spawn telnet localhost 4241
expect ">"
send "enable\r"
expect "#"
send "logging enable\r"
expect "#"
send "logging level all everything\r"
expect "#"
send "logging print category 1\r"
expect "#"
send "logging level rr notice\r"
expect "#"
send "logging level oml info\r"
expect "#"
send "logging level pag info\r"
expect "#"
send "logging level rsl info\r"
expect "#"
send "logging level rll notice\r"
expect "#"
send "logging level meas notice\r"
expect "#"
send "logging level pcu info\r"
expect "#"
send "logging filter all 1\r"
expect "#"
interact