|
|
|
![]() |
|
Strumenti |
![]() |
#5001 |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
Hello Alfonso,
it's me again... I'm trying to connect to my DGN2200V4 using WinSCP through SSH connection. I can enter in the device but no repertories and files are displayed, as they are when I connect to other devices (for example my Linksys router or my Logitech Squeezebox Touch)... If I enter the DGN2200 using telnet, I can list the repertories (ls command)... Is there a way to make the repertories and files "readable" when entering the device through SSH ? Thank you for your help... Edit : I must precise that I didn't input any key in dropbear field, I just started it using port 22. May-it be the cause of my problem ? Ultima modifica di Dangze : 08-11-2014 alle 15:16. |
![]() |
![]() |
![]() |
#5002 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
amod ls is not compatible with winscp ls format; if you search on the web winscp ls format you will find information about that
if you really really need this, that's what you have to do: open a telnet session and write (or just copy and paste): mrootrw cd /bin wget http://alfie.altervista.org/_altervista_ht/scpls chmod +x scpls mrootro now, go in WinSCP and edit the 2200V4 site information advance SCP/shell listing command: scpls -la save |
![]() |
![]() |
![]() |
#5003 |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
Well done Alfonso,
I installed the scpls command according your instructions, and I'm now able to list the repertories and files in my DGN2200 v4 using WinSCP. But ![]() Copy of files from remote repertory aborted Impossible to start SCP transfer. Verify that SCP is installed on the server and that its path is specified in the PATH. Return error code 255. I cannot even copy the file (same SCP problem...) ! I'm quite sure that you have also the solution !... Ultima modifica di Dangze : 08-11-2014 alle 21:29. |
![]() |
![]() |
![]() |
#5004 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
dropbear scp was added to amod for the 2200V4 only in the last release
so check if you have the last release 2.1.0 |
![]() |
![]() |
![]() |
#5005 |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
|
![]() |
![]() |
![]() |
#5006 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
I tested it some minutes ago and it works
have you launched dropbear from service / amod /dropbear ? |
![]() |
![]() |
![]() |
#5007 |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
Yes, Dropbear is started. as described.
I can access the device throught WinSCP, and the repertories and files are now listed correctly. But if I try to open, edit or copy a file, I have a SCP error message... As said above, I'm not using any key to connect with Dropbear/SSH, but I don't think this is a problem ? I will try a reboot ! Edit : Nothing, even after a reboot. I forgot to precise that the error message has a title : Copy of files from remote repertory aborted Edit 2 : Regarding this : Verify that SCP is installed on the server and that its path is specified in the PATH. How and where can I specify the path for SCP command ? Ultima modifica di Dangze : 08-11-2014 alle 21:41. |
![]() |
![]() |
![]() |
#5008 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
in telnet
service sshd stop killall -9 dropbear cd /bin mrootrw rm dropbearmulti wget http://alfie.altervista.org/_altervi.../dropbearmulti chmod +x dropbearmulti mrootro service sshd start |
![]() |
![]() |
![]() |
#5009 |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
I did it, but service SSH cannot start now !
When I click the Start button in Dropbear, the SSH service does not start, so I can't connect with WinSCP Ultima modifica di Dangze : 08-11-2014 alle 22:01. |
![]() |
![]() |
![]() |
#5010 | |
Member
Iscritto dal: Mar 2012
Messaggi: 148
|
Quote:
|
|
![]() |
![]() |
![]() |
#5011 |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
Hi Alfonso,
after uninstalling and reinstalling uamod, I was able to start dropbear/SSH. Then, I reload the scpls command and was able to access to the repertories and files through WinSCP tool, but still got the SCP Error message when trying to open a file. After removing dropbearmulti and reinstalling it (different version ?) as per your last instructions, dropbear/SSH cannot be started, neither from Telnet, nor on the uamod web page (when clicking on "Start", nothin happens !). When entering these instructions in Telnet, I get the following message at the end of the process (that is to say after the line "service sshd start") : usr/sbin/dropbear : 2. /usr/sbin/dropbear : syntax error : newline unexpected * dropbear not started So I think there is a syntax problem somewhere... Any idea ? The strange thing is that seems to work for you ! Thanks and regards. Ultima modifica di Dangze : 09-11-2014 alle 10:37. |
![]() |
![]() |
![]() |
#5012 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
There is something that goes wrong during the file transfer
Never flash firmwares without a reason. It is not declared anywhere that amod offers spc functionalities. I have just added spc in the last release and I didn't even announced that. So, because of we are not talking about life or death stuff, I thing you should wait for a new release that fixes spc. |
![]() |
![]() |
![]() |
#5013 |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
OK, sorry for annoying you with my problems that always occured on a week-end !
![]() I will of course wait untill you issue a new release... Have a nice sunday. Thanks and regards. |
![]() |
![]() |
![]() |
#5014 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
You are not annoying me.
I tried to help you, checking for the problem. Checking in the sources of dropbear, I found a problem in scp.c, I recompiled it; also I compiled ls from coreutils and made it available to you. I mean... I did all I could on a saturday night. Now, It was not enough to fix the problem. So you have to wait for a new release. Sorry. If I may, please don't annoy me saying you are annoying me :P |
![]() |
![]() |
![]() |
#5015 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
allora ascolta
io ho sempre il Transmission System forzato a adsl2+ però questa mattina levando il set, mi connetto con ADSL 2+/M questo a volta mi causa che xdslctl.sh non riceva lo upload rate ora, come cappero è che senza forzare il TS mi ritrovi con ADSL2+/M ? non ne ho idea davvero quindi, forza il tuo TS e prova |
![]() |
![]() |
![]() |
#5016 | |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
Quote:
sinceramente penso che avessi qualcosa di strano impostato, cosa non lo so proprio per la wifi basta pochissimo a fare andare a gambe all'aria le cose la mia idea è che se un dispositivo non funziona con un canale più o meno libero forzato e non auto, WPA2 PSK AES, modalità n con 40 mhz, non merita di andare online :P a volte va tolta l'opzione WMM che provoca più problemi che altro, ma che con alcuni dispositivi se non presente fa andare a 150 comunque... sinceramente la differenza tra 150 e 300 non è "il doppio" è 1-2 MByte al secondo siccome un dispositivo wifi lo considero "portatile" non per trasferire file grandi in LAN se non in pochi casi, quei 2 MBs non fanno tutta sta differenza (però lo so che sono di un'altra generazione; ora i ragazzini magari manco sanno cosa è un cavo ethernet :P) |
|
![]() |
![]() |
![]() |
#5017 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
|
![]() |
![]() |
![]() |
#5018 | |
Member
Iscritto dal: Nov 2014
Messaggi: 62
|
Quote:
![]() When I told "I will wait until you issue a new release", I didn't expect nor hope that it would be so quickly !!! And the cherry on the cake is that IT WORKS ! I can access and OPEN the files in WinSCP, as per example create and modify the ddns.user file very easily. You are making a wonderful work and I appreciate your active support even on saturday evening or sunday afternoon. Many many thanks, and best regards from Lyon. |
|
![]() |
![]() |
![]() |
#5019 | |
Member
Iscritto dal: Mar 2012
Messaggi: 148
|
Quote:
Dici che si connette anche a 300 mega? Il massimo a cui arrivo, con i vari pc provati sia familiari che di amici e parenti, è 150. In effetti devo abilitare il wmm altrimenti va solo solo a 54Mbps. |
|
![]() |
![]() |
![]() |
#5020 |
Member
Iscritto dal: Mar 2012
Messaggi: 148
|
A cosa servono tutti quei firmware nella sezione ADSL Advanced?
Cambia qualcosa se uso il 39f al posto del 35d? |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 23:34.