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

DrayTek Vigor 167 No promt detected #10

Open
baba2k opened this issue Jan 25, 2023 · 3 comments
Open

DrayTek Vigor 167 No promt detected #10

baba2k opened this issue Jan 25, 2023 · 3 comments

Comments

@baba2k
Copy link

baba2k commented Jan 25, 2023

Hi,

the Draytek Vigor 167 Fimware 5.2 promt is "Username:" instead of "Account:" so no promt detected error is thrown.

Thanks!

baba

@janh
Copy link
Owner

janh commented Jan 25, 2023

Does the connection work and provide usable data, if you change "Account:" to "Username:" in draytek/telnet.go?

@baba2k
Copy link
Author

baba2k commented Jan 25, 2023

Just tested the binary, but this would solve the issue on my opinion. The telnet commands are the same as before

@janh
Copy link
Owner

janh commented Jan 25, 2023

Changing the expected prompt would probably make the initial connection work, but it may still fail later when loading data.

The output of the adsl command on other DrayTek devices contains some Lantiq-specific quirks, which the client compensates for. So even if the same commands are all available on this device, I'm not confident that the client would fully work and provide correct data without any changes.

If you test it and it actually works, I'm of course happy to add support for this different prompt. Please send me a copy of the raw.txt file then, so I have something to test against myself and can implement any fixes if necessary.

Instructions for building from source are available in the documentation. If you need any further help, please ask!

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

2 participants