-
Notifications
You must be signed in to change notification settings - Fork 57
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
SSH in linux terminal "no matching key exchange method found" #276
Comments
Create a file in the
Save it and then it should work. |
Then I get
|
A quick Google found this: Either upgrade SSH or try |
Thanks seud0nym that worked a treat I used
saves me jumping on to the offline windows machine |
After swithcing everything off and coming back later I get the error |
Some people have seen this error after immediately acquiring root, and it goes away after a reboot. Otherwise, did you make any changes? From the error, I would suspect that you have disabled password authentication and only enabled public key authentication. If you have already installed tch-gui-unhide and can still access the web GUI, then you can re-configure SSH access to allow both password and certificate. Otherwise, it means having to re-acquire root. If you have already run any hardening tools like de-telstra that have disabled CWMP, then you will need to reset before attempting to regain root access. |
Hi seud0nym, I tried to install tch-gui-unhide (I did sh de-telstra first) but something went wrong because the GUI looks like the attached image even though it said everything went well. I was stumbling through some of the order of things as I want to do all the VoIP Tweaks from the Hacking Technicolor Gateways guide because I will be using 2 voip services and landline phones but wasn't sure if I install tch-gui-unhide frist or after, I chose first. Also I was a little confused as to how to download the extras for tch-gui-unhide I went to the page here but because I am a Noob I couldn't figure out how to download them all and add them to my USB. From what I read I would want to use most of them, if not all. After I messed up the install I tried again to reinstall tch-gui-unhide with the 20.3.c.tar.gz on my USB but got the error |
Not always. First thing to try when things don't look correct is to clear your browser cache and refresh.
First you need to work out what you want to do and then apply only the tweaks that are necessary. I would not recommend applying any of them until you find something that doesn't work. I personally have not applied any of them (except the ones that have been incorporated into de-telstra and/or tch-gui-unhide).
As long as they from the same provider, you won't have any issues, and you don't need to apply any tweaks to make that work. Just set them up through tch-gui-unhide. However, if you are trying to use 2 different providers, then it won't work:
First you run de-telstra, then you run tch-gui-unhide. After that, the majority of your configuration is done through the GUI.
The easiest way to download and install the extras is with the -x option on tch-gui-unhide. For example, to install the adblock GUI extra, you would run:
You can specify the -x option multiple times to install the extras you require. Make sure you have installed any pre-requisites before running tch-gui-unhide, though, otherwise they won't do anything.
This is a bug in de-telstra. The latest version fixes it. You can download the latest version with this command:
and then re-run it with either no options or the options you wish to change. It will then fix the symbolic links issue. |
Well that is a big let down, I have home phone for my ISP and another sip provider for very cheap international calls. Is there no way to do this. :( Since I am in the middle of setting this up I will have to finish it.
This still kept me with the same screen, I also used more than one browser to check. If I want to restart the install process from just before tch-gui-unhide and reinstall I guess I will have to just install vcnt-a_20.3.c.0432-MR21.1-RA.rbi again right? Oh no I cant access USB now. :( |
You can go online if you have run de-telstra (as long s you didn't use the -kc option) without fear of it auto-updating. The too many symbolic links was found and fixed after the latest release, hence the need to update de-telstra individually. You don't need to reflash the firmware. Just run tch-gui-unhide again. |
I did run de-telstra but I also ran tch-gui-unhide so am afraid to plug her in.
Looks like I will have to chance it and go online to run tch-gui-unhide again as I cant get to the USB with out update de-telstra |
The command ./de-telstra -U dosent work for me now |
The only issue with de-telstra is there was 1 character missing in the script in the release tar. It has still hardened your root access so that you can safely connect to the internet. The following command will repair what de-telstra broke:
You will then be able to access the USB stick, update de-telstra, re-run it and then run tch-gui-unhide. Without the fix that de-telstra should have applied (rather than breaking USB access), you may need to run the scripts prefixed with
Never extract the tar on a Windows PC and upload the individual scripts - nothing will work. |
|
Firefox, so open the menu (3 horizontal bars on top right), click on Settings, then "Privacy & Search" on the left, scroll down a bit and click the "Clear Data" button on the right. Untick "Cookies and Site Data" (i.e. just leave "Cached Web Content" ticked) and click on Clear. Close Firefox, re-open and navigate to 192.168.0.1. If that doesn't work, I have no idea. You will have to re-run tch-gui-unhide and post the output. |
I looked back at the Guide I followed from Hacking Technicolor Gateways and I followed steps for Hardening Gained Access and Unlock Web GUI Tiles before I added tch-gui-unhide because this is the order it is in on the guide, maybe this messed thing up as tch-gui-unhide does its own hardening. |
You didn't need to do either of those steps, but they don't mess anything up. de-telstra does all that hardening and much more, but it wouldn't cause a problem - running de-telstra after doing those steps would just apply additional hardening. Same with tch-gui-unhide - it does those changes and much, much more. It will actually undo those changes and redo them, because it needs a stable, known base to apply its changes. It looks that way because you haven't applied a theme. The default theme is the Telstra theme, which is why you are seeing the Telstra branding. The screen shot you posted was my DJA0231, using the monochrome theme. You can change the theme once you have logged in, or you can change it by re-running tch-gui-unhide with the appropriate options. If you didn't add the |
Yes I thought this was the case and did log in to look for themes but could not find it, I guess I did not look long enough after you explained it I went inside Management and there it was hiding. I think seeing all the telstra brand made me think it wasn't working. |
It is a real pity that the second sip provider doesn't work on the device, it means I can't use it for my main router. But I did read that it can be used as a wifi extender so maybe I will look into that or sell it on. Do you think it will ever be fixed? Do you have any recommendations for a good retail modem/router with all the features of this one (vdsl/adsl, wifi, phone line input port) I used to have Tp-link archer vr600v but the firmware was not the best and no OpenWRT. I think the latest version is vr2100v. It seems hard to find a all in one device with phone line input ports. |
No. Telstra won't fix something they are never going to use. It doesn't actually say it won't work, it just says that it might be unpredictable. You could just try it, and see what happens. You could also follow the advice in the warning and use asterisk. You could even install asterisk on the DJA0231, but I don't know how much memory it takes. A DJA0230 has more RAM, and also has 2 phone ports. Using asterisk is outside of my experience, though. No idea about other modems with similar capabilities. Sorry. |
Anyway thanks for all your help, I will do more reading and try to get the second sip on there. I was also looking for call forwarding, but need to roam around in the GUI to find it. |
I looked for call forwarding but I can't see an option in Telephony did I miss it somewhere?
I am assuming that is for incoming calls (which I don't need) |
That page you referenced would mean you can do call forwarding when the service is provided by Telstra, but I have not seen any specific configuration that would allow you to configure it on the modem. Again, you really need a more fully featured PBX like asterisk for that.
Sounds possible. |
I spent some time trying to get the second sip working but it is a no go. The voip part of this device is not good for more than one provider, even when one is just outgoing calls. No call forwarding either. I wanted to try out asterisk but because I am not experienced with this stuff I can't even install it on the DJA0231. I know that using asterisk is outside of your experience but can you help me install it on the DJA0231? then I can play around with using online guides. I was able to put asterisk-20-current.tar.gz onto a USB and SSH into the DJA0231, I extracted it and went to the correct dir but was unable to compile with Do you think that FreePBX, trixbox or any of the other web GUI's would work on the DJA0231? |
You can't use anything the requires compilation, because as you found, there is no compiler. With this and other OpenWrt implementations, you install packages from a repository that is suitable for your device. You can use this repository: https://repository.macoers.com/homeware/18/brcm63xx-tch/VANTW/ There is a README.md that you need to have a look to show you how to configure the package manager. Then you use the |
@seud0nym thank you very much I would not have been able to find this on my own. I did search for "installing asterisk on Technicolor devices" and other similar things but didn't have any luck, I guess you have to know where to look. I will try it out when I get some time. :) |
I followed the instructions in the README.md I did make a mistake in that one of the commands was pasted as a new line, so I redid the commands again. Once finished I ran I am still not sure how to install Asterisk, what the command is. I seen on the website in the repository file list that under the telephony folder there are lots of different Asterisk .ipk files. What would be the command to install the latest Asterisk from the repository then? |
That error indicates that you have some duplicated some lines in your customfeeds.conf file. Did you also run Anyway, I have no idea which asterisk packages you need. I assume there is a base package, then add-ons that allow you to configure the aspects that you require for your needs. You can google for help with asterisk on openwrt, but avoid anything that talks about LuCI - that is not available on these devices. You would best to open a new asterisk question if you can't work it out. |
Great I searched and found this link which looks promising. I will go through the guide later. Can you tell me what version of openwrt this router has or better yet the command to find that information? |
Technicolor forked their own version of OpenWrt. Prior to the 20 version firmwares, it seems to have been based on 15.05. Latest firmware is an unknown OpenWrt snapshot. You can see it here:
Yes, if you want to get rid of those error messages. |
Originally I tried to ssh into my DJA0231 through my linux terminal but had to switch over to a windows machine when I got this issue -
I did research on the issue and tried adding keys to cretin files in lunux and other such things but had no luck. Anyone else know the solution?
The text was updated successfully, but these errors were encountered: