Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tplink model not working with Tplink SX-3008F switch #3182

Open
s55ma opened this issue May 31, 2024 · 0 comments
Open

tplink model not working with Tplink SX-3008F switch #3182

s55ma opened this issue May 31, 2024 · 0 comments
Labels
model_maintainer_needed This issue needs a maintainter for the model. See CONTRIBUTING.md#model-maintainers

Comments

@s55ma
Copy link

s55ma commented May 31, 2024

This is the actual switch prompt when you login:

SX3008F>

Entering enable mode:

SX3008F>en

SX3008F#

Debug file:

oxidized  | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
oxidized  | *** Running /etc/my_init.d/10_syslog-ng.init...
oxidized  | May 31 14:41:18 6efb5d13ad7b syslog-ng[13]: syslog-ng starting up; version='3.35.1'
oxidized  | *** Booting runit daemon...
oxidized  | *** Runit started as PID 23
oxidized  | May 31 14:41:19 6efb5d13ad7b cron[30]: (CRON) INFO (pidfile fd = 3)
oxidized  | May 31 14:41:19 6efb5d13ad7b cron[30]: (CRON) INFO (Skipping @reboot jobs -- not system startup)
oxidized  | I, [2024-05-31T14:41:19.748880 #33]  INFO -- : Oxidized starting, running as pid 33
oxidized  | I, [2024-05-31T14:41:19.749449 #33]  INFO -- : lib/oxidized/nodes.rb: Loading nodes
oxidized  | I, [2024-05-31T14:41:19.898129 #33]  INFO -- : lib/oxidized/nodes.rb: Loaded 11 nodes
oxidized  | D, [2024-05-31T14:41:20.209132 #33] DEBUG -- net.ssh.transport.session[5c8]: establishing connection to 10.254.0.3:22
oxidized  | Puma starting in single mode...
oxidized  | * Version 3.11.4 (ruby 3.0.2-p107), codename: Love Song
oxidized  | * Min threads: 0, max threads: 16
oxidized  | * Environment: development
oxidized  | * Listening on tcp://0.0.0.0:8888
oxidized  | Use Ctrl-C to stop
oxidized  | D, [2024-05-31T14:41:20.343259 #33] DEBUG -- net.ssh.transport.session[5c8]: connection established
oxidized  | I, [2024-05-31T14:41:20.343363 #33]  INFO -- net.ssh.transport.server_version[5dc]: negotiating protocol version
oxidized  | D, [2024-05-31T14:41:20.343383 #33] DEBUG -- net.ssh.transport.server_version[5dc]: local is `SSH-2.0-Ruby/Net::SSH_7.2.3 x86_64-linux-gnu'
oxidized  | D, [2024-05-31T14:41:20.344923 #33] DEBUG -- net.ssh.transport.server_version[5dc]: remote is `SSH-1.99-IPSSH-6.6.0'
oxidized  | I, [2024-05-31T14:41:20.345237 #33]  INFO -- net.ssh.transport.algorithms[5f0]: sending KEXINIT
oxidized  | D, [2024-05-31T14:41:20.345404 #33] DEBUG -- socket[604]: queueing packet nr 0 type 20 len 1436
oxidized  | D, [2024-05-31T14:41:20.345464 #33] DEBUG -- socket[604]: sent 1440 bytes
oxidized  | D, [2024-05-31T14:41:20.345693 #33] DEBUG -- socket[604]: read 704 bytes
oxidized  | D, [2024-05-31T14:41:20.345822 #33] DEBUG -- socket[604]: received packet nr 0 type 20 len 700
oxidized  | I, [2024-05-31T14:41:20.345865 #33]  INFO -- net.ssh.transport.algorithms[5f0]: got KEXINIT from server
oxidized  | I, [2024-05-31T14:41:20.345927 #33]  INFO -- net.ssh.transport.algorithms[5f0]: negotiating algorithms
oxidized  | D, [2024-05-31T14:41:20.346010 #33] DEBUG -- net.ssh.transport.algorithms[5f0]: negotiated:
oxidized  | * kex: diffie-hellman-group14-sha256
oxidized  | * host_key: ssh-rsa
oxidized  | * encryption_server: aes256-ctr
oxidized  | * encryption_client: aes256-ctr
oxidized  | * hmac_client: hmac-sha2-512
oxidized  | * hmac_server: hmac-sha2-512
oxidized  | * compression_client: none
oxidized  | * compression_server: none
oxidized  | * language_client: 
oxidized  | * language_server: 
oxidized  | D, [2024-05-31T14:41:20.346290 #33] DEBUG -- net.ssh.transport.algorithms[5f0]: exchanging keys
oxidized  | D, [2024-05-31T14:41:20.350465 #33] DEBUG -- socket[604]: queueing packet nr 1 type 30 len 268
oxidized  | D, [2024-05-31T14:41:20.350504 #33] DEBUG -- socket[604]: sent 272 bytes
oxidized  | D, [2024-05-31T14:41:20.827189 #33] DEBUG -- socket[604]: read 576 bytes
oxidized  | D, [2024-05-31T14:41:20.827322 #33] DEBUG -- socket[604]: received packet nr 1 type 31 len 572
oxidized  | D, [2024-05-31T14:41:20.834881 #33] DEBUG -- socket[604]: queueing packet nr 2 type 21 len 20
oxidized  | D, [2024-05-31T14:41:20.834944 #33] DEBUG -- socket[604]: sent 24 bytes
oxidized  | D, [2024-05-31T14:41:20.836202 #33] DEBUG -- socket[604]: read 16 bytes
oxidized  | D, [2024-05-31T14:41:20.836404 #33] DEBUG -- socket[604]: received packet nr 2 type 21 len 12
oxidized  | D, [2024-05-31T14:41:20.836723 #33] DEBUG -- net.ssh.authentication.session[618]: beginning authentication of `admin'
oxidized  | D, [2024-05-31T14:41:20.836949 #33] DEBUG -- socket[604]: queueing packet nr 3 type 5 len 28
oxidized  | D, [2024-05-31T14:41:20.836998 #33] DEBUG -- socket[604]: sent 96 bytes
oxidized  | D, [2024-05-31T14:41:20.838099 #33] DEBUG -- socket[604]: read 96 bytes
oxidized  | D, [2024-05-31T14:41:20.838235 #33] DEBUG -- socket[604]: received packet nr 3 type 6 len 28
oxidized  | D, [2024-05-31T14:41:20.838331 #33] DEBUG -- net.ssh.authentication.session[618]: trying none
oxidized  | D, [2024-05-31T14:41:20.838459 #33] DEBUG -- socket[604]: queueing packet nr 4 type 50 len 44
oxidized  | D, [2024-05-31T14:41:20.838510 #33] DEBUG -- socket[604]: sent 112 bytes
oxidized  | D, [2024-05-31T14:41:20.839570 #33] DEBUG -- socket[604]: read 112 bytes
oxidized  | D, [2024-05-31T14:41:20.839682 #33] DEBUG -- socket[604]: received packet nr 4 type 51 len 44
oxidized  | D, [2024-05-31T14:41:20.839753 #33] DEBUG -- net.ssh.authentication.session[618]: allowed methods: publickey,password
oxidized  | D, [2024-05-31T14:41:20.839825 #33] DEBUG -- net.ssh.authentication.methods.none[62c]: none failed
oxidized  | D, [2024-05-31T14:41:20.839884 #33] DEBUG -- net.ssh.authentication.session[618]: trying publickey
oxidized  | D, [2024-05-31T14:41:20.840044 #33] DEBUG -- net.ssh.authentication.agent[640]: connecting to ssh-agent
oxidized  | E, [2024-05-31T14:41:20.840086 #33] ERROR -- net.ssh.authentication.agent[640]: could not connect to ssh-agent: Agent not configured
oxidized  | D, [2024-05-31T14:41:20.840118 #33] DEBUG -- net.ssh.authentication.session[618]: trying password
oxidized  | D, [2024-05-31T14:41:20.840280 #33] DEBUG -- socket[604]: queueing packet nr 5 type 50 len 76
oxidized  | D, [2024-05-31T14:41:20.840326 #33] DEBUG -- socket[604]: sent 144 bytes
oxidized  | D, [2024-05-31T14:41:20.845015 #33] DEBUG -- socket[604]: read 80 bytes
oxidized  | D, [2024-05-31T14:41:20.845156 #33] DEBUG -- socket[604]: received packet nr 5 type 52 len 12
oxidized  | D, [2024-05-31T14:41:20.845218 #33] DEBUG -- net.ssh.authentication.methods.password[654]: password succeeded
oxidized  | D, [2024-05-31T14:41:20.845393 #33] DEBUG -- socket[604]: queueing packet nr 6 type 90 len 44
oxidized  | D, [2024-05-31T14:41:20.845445 #33] DEBUG -- : lib/oxidized/input/ssh.rb: expecting [/^\r?([\w.@()-]+[#>]\s?)$/, /^User ?[nN]ame:/, /^\r?Password:/] at TL-SX3008F
oxidized  | D, [2024-05-31T14:41:21.046007 #33] DEBUG -- socket[604]: sent 112 bytes
oxidized  | D, [2024-05-31T14:41:21.146261 #33] DEBUG -- socket[604]: read 96 bytes
oxidized  | D, [2024-05-31T14:41:21.146453 #33] DEBUG -- socket[604]: received packet nr 6 type 91 len 28
oxidized  | I, [2024-05-31T14:41:21.146536 #33]  INFO -- net.ssh.connection.session[668]: channel_open_confirmation: 0 1 65536 32768
oxidized  | I, [2024-05-31T14:41:21.146634 #33]  INFO -- net.ssh.connection.channel[67c]: sending channel request "env"
oxidized  | D, [2024-05-31T14:41:21.146770 #33] DEBUG -- socket[604]: queueing packet nr 7 type 98 len 44
oxidized  | I, [2024-05-31T14:41:21.146835 #33]  INFO -- net.ssh.connection.channel[67c]: sending channel request "env"
oxidized  | D, [2024-05-31T14:41:21.147018 #33] DEBUG -- socket[604]: queueing packet nr 8 type 98 len 60
oxidized  | I, [2024-05-31T14:41:21.147044 #33]  INFO -- net.ssh.connection.channel[67c]: sending channel request "env"
oxidized  | D, [2024-05-31T14:41:21.147524 #33] DEBUG -- socket[604]: queueing packet nr 9 type 98 len 44
oxidized  | I, [2024-05-31T14:41:21.147591 #33]  INFO -- net.ssh.connection.channel[67c]: sending channel request "pty-req"
oxidized  | D, [2024-05-31T14:41:21.147720 #33] DEBUG -- socket[604]: queueing packet nr 10 type 98 len 60
oxidized  | D, [2024-05-31T14:41:21.202557 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:21.247981 #33] DEBUG -- socket[604]: sent 480 bytes
oxidized  | D, [2024-05-31T14:41:21.348185 #33] DEBUG -- socket[604]: read 80 bytes
oxidized  | D, [2024-05-31T14:41:21.348579 #33] DEBUG -- socket[604]: received packet nr 7 type 99 len 12
oxidized  | I, [2024-05-31T14:41:21.348684 #33]  INFO -- net.ssh.connection.session[668]: channel_success: 0
oxidized  | I, [2024-05-31T14:41:21.348726 #33]  INFO -- net.ssh.connection.channel[67c]: sending channel request "shell"
oxidized  | D, [2024-05-31T14:41:21.348869 #33] DEBUG -- socket[604]: queueing packet nr 11 type 98 len 28
oxidized  | D, [2024-05-31T14:41:21.449161 #33] DEBUG -- socket[604]: sent 96 bytes
oxidized  | D, [2024-05-31T14:41:21.549474 #33] DEBUG -- socket[604]: read 272 bytes
oxidized  | D, [2024-05-31T14:41:21.549696 #33] DEBUG -- socket[604]: received packet nr 8 type 99 len 12
oxidized  | I, [2024-05-31T14:41:21.549760 #33]  INFO -- net.ssh.connection.session[668]: channel_success: 0
oxidized  | D, [2024-05-31T14:41:21.549892 #33] DEBUG -- socket[604]: received packet nr 9 type 94 len 28
oxidized  | I, [2024-05-31T14:41:21.549954 #33]  INFO -- net.ssh.connection.session[668]: channel_data: 0 3b
oxidized  | D, [2024-05-31T14:41:21.550135 #33] DEBUG -- socket[604]: received packet nr 10 type 94 len 28
oxidized  | I, [2024-05-31T14:41:21.550196 #33]  INFO -- net.ssh.connection.session[668]: channel_data: 0 8b
oxidized  | D, [2024-05-31T14:41:21.650528 #33] DEBUG -- : lib/oxidized/input/cli.rb: Running post_login commands at TL-SX3008F
oxidized  | D, [2024-05-31T14:41:21.650603 #33] DEBUG -- : lib/oxidized/input/cli.rb: Running post_login command: nil, block: #<Proc:0x000056c6a9be6178 /var/lib/gems/3.0.0/gems/oxidized-0.30.1/lib/oxidized/model/tplink.rb:57> at TL-SX3008F
oxidized  | D, [2024-05-31T14:41:21.650837 #33] DEBUG -- : lib/oxidized/input/ssh.rb  @ TL-SX3008F with expect: /^\r?([\w.@()-]+[#>]\s?)$/
oxidized  | D, [2024-05-31T14:41:21.651108 #33] DEBUG -- socket[604]: queueing packet nr 12 type 94 len 28
oxidized  | D, [2024-05-31T14:41:21.651184 #33] DEBUG -- : lib/oxidized/input/ssh.rb: expecting [/^\r?([\w.@()-]+[#>]\s?)$/] at TL-SX3008F
oxidized  | D, [2024-05-31T14:41:21.851632 #33] DEBUG -- socket[604]: sent 96 bytes
oxidized  | D, [2024-05-31T14:41:21.951948 #33] DEBUG -- socket[604]: read 96 bytes
oxidized  | D, [2024-05-31T14:41:21.952206 #33] DEBUG -- socket[604]: received packet nr 11 type 93 len 28
oxidized  | I, [2024-05-31T14:41:21.952303 #33]  INFO -- net.ssh.connection.session[668]: channel_window_adjust: 0 +1
oxidized  | I, [2024-05-31T14:41:22.152810 #33]  INFO -- net.ssh.connection.keepalive[690]: sending keepalive 0
oxidized  | I, [2024-05-31T14:41:22.152863 #33]  INFO -- net.ssh.connection.session[668]: sending global request [email protected]
oxidized  | D, [2024-05-31T14:41:22.153064 #33] DEBUG -- socket[604]: queueing packet nr 13 type 80 len 44
oxidized  | D, [2024-05-31T14:41:22.203728 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:22.353522 #33] DEBUG -- socket[604]: sent 112 bytes
oxidized  | D, [2024-05-31T14:41:22.453831 #33] DEBUG -- socket[604]: read 80 bytes
oxidized  | D, [2024-05-31T14:41:22.454010 #33] DEBUG -- socket[604]: received packet nr 12 type 82 len 12
oxidized  | I, [2024-05-31T14:41:22.454053 #33]  INFO -- net.ssh.connection.session[668]: global request failure
oxidized  | D, [2024-05-31T14:41:22.454076 #33] DEBUG -- net.ssh.connection.keepalive[690]: keepalive response successful. Missed 0 keepalives
oxidized  | D, [2024-05-31T14:41:23.204256 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:24.205424 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:25.206617 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:26.207739 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:27.208973 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:28.210153 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:29.211278 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
oxidized  | D, [2024-05-31T14:41:30.212436 #33] DEBUG -- : lib/oxidized/worker.rb: 1 jobs running in parallel
@robertcheramy robertcheramy added the model_maintainer_needed This issue needs a maintainter for the model. See CONTRIBUTING.md#model-maintainers label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model_maintainer_needed This issue needs a maintainter for the model. See CONTRIBUTING.md#model-maintainers
Projects
None yet
Development

No branches or pull requests

2 participants