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

Target-client option seems to be ignored #1

Open
kantmn opened this issue Feb 27, 2024 · 6 comments
Open

Target-client option seems to be ignored #1

kantmn opened this issue Feb 27, 2024 · 6 comments

Comments

@kantmn
Copy link

kantmn commented Feb 27, 2024

hi there,

i am testing your cool project using a draytek device.
while using

--target-client draytek_telnet
also tried variants like
--target-client=draytek_telnet
--target-client "draytek_telnet"
--target-client="draytek_telnet"

the first and only output is "generate dsl config: read ssh key: open : no such file or directory"
there should not be a ssh key required to use telnet
also when using a random ssh key it trys to connect via port 22 which is ssh and not 23

go run . --target-client draytek_telnet --target-host 10.1.1.1 --target-password xxxx

shouldn't this work?

best regards and many thanks

@MichB2
Copy link

MichB2 commented Feb 29, 2024

Hi

I have exactly the same issue. I tried also to put the port 23 but i get always ssh handshake failure.
best regards,

@kantmn
Copy link
Author

kantmn commented Feb 29, 2024

@MichB2
i have worked arround this by using
https://github.com/flokli/vigor-exporter
this is working, just installed a little console, installed go language and run the script. had to build / update an own grafana dashboard, but most values exists.

i still would prefer to use the solution from dentrax, as it is more flexible and provies also the current line usage up/down which flokli scripts does not.

@MichB2
Copy link

MichB2 commented Feb 29, 2024

@kantmn thank you very much i will try and also waiting if dentrax has a solution-

@PhilmacFLy
Copy link

I created a fork here: https://github.com/Nerdbergev/xdsl-exporter that tries to fix those problems.
As I dont have a telnet modem myself I cant really test it but if you wanna give it a try and report back id be more than happy

@kantmn kantmn closed this as completed Sep 23, 2024
@kantmn kantmn reopened this Sep 23, 2024
@kantmn kantmn closed this as completed Sep 23, 2024
@Dentrax
Copy link
Owner

Dentrax commented Sep 24, 2024

Nice work @PhilmacFLy. Do you want to submit a PR here? Happy to get merged in.

@Dentrax Dentrax reopened this Sep 24, 2024
@PhilmacFLy
Copy link

Yeah sure Ill do :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants