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

Unable to put EdgeOS into Configure Mode #26

Open
Gervarez opened this issue Aug 22, 2018 · 1 comment
Open

Unable to put EdgeOS into Configure Mode #26

Gervarez opened this issue Aug 22, 2018 · 1 comment
Labels

Comments

@Gervarez
Copy link

I'm having issues with making configuration changes to Ubiquiti Edge Routers using oxs. I'm able to run commands on the Edge routers, but whenever I try to put it into configuration mode I get the following errors:

/var/lib/gems/2.3.0/gems/oxidized-0.24.0/lib/oxidized/input/ssh.rb:138:in `sleep': execution expired (Timeout::Error)
	from /var/lib/gems/2.3.0/gems/oxidized-0.24.0/lib/oxidized/input/ssh.rb:138:in `block (2 levels) in expect'
	from /var/lib/gems/2.3.0/gems/net-ssh-4.1.0/lib/net/ssh/connection/event_loop.rb:98:in `ev_preprocess'
	from /var/lib/gems/2.3.0/gems/net-ssh-4.1.0/lib/net/ssh/connection/event_loop.rb:27:in `process'
	from /var/lib/gems/2.3.0/gems/net-ssh-4.1.0/lib/net/ssh/connection/session.rb:216:in `process'
	from /var/lib/gems/2.3.0/gems/net-ssh-4.1.0/lib/net/ssh/connection/session.rb:178:in `block in loop'
	from /var/lib/gems/2.3.0/gems/net-ssh-4.1.0/lib/net/ssh/connection/session.rb:178:in `loop'
	from /var/lib/gems/2.3.0/gems/net-ssh-4.1.0/lib/net/ssh/connection/session.rb:178:in `loop'
	from /var/lib/gems/2.3.0/gems/oxidized-0.24.0/lib/oxidized/input/ssh.rb:137:in `block in expect'
	from /usr/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
	from /var/lib/gems/2.3.0/gems/oxidized-0.24.0/lib/oxidized/input/ssh.rb:136:in `expect'
	from /var/lib/gems/2.3.0/gems/oxidized-0.24.0/lib/oxidized/input/ssh.rb:129:in `cmd_shell'
	from /var/lib/gems/2.3.0/gems/oxidized-0.24.0/lib/oxidized/input/ssh.rb:74:in `cmd'
	from /var/lib/gems/2.3.0/gems/oxidized-0.24.0/lib/oxidized/model/model.rb:103:in `cmd'
	from /var/lib/gems/2.3.0/gems/oxidized-script-0.5.1/lib/oxidized/script/script.rb:23:in `cmd'
	from /var/lib/gems/2.3.0/gems/oxidized-script-0.5.1/lib/oxidized/script/cli.rb:41:in `run'
	from /var/lib/gems/2.3.0/gems/oxidized-script-0.5.1/bin/oxs:5:in `<top (required)>'
	from /usr/local/bin/oxs:23:in `load'
	from /usr/local/bin/oxs:23:in `<main>' 

An example of how you get into configure mode on EdgeOS:

admin@hostname:~$ configure
[edit]
admin@hostname#
@laf
Copy link
Contributor

laf commented Sep 16, 2018

You should show what you are sending across.

@laf laf added the question label Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants