This is an old revision of the document!


Create a Techsupport file via telnet/ssh shell

Loggin with ssh or telnet

If one with the programm ssh in the router wants to log. Can you do with this command. After entering the password you are in the console of the router.

USER
@:~$ ssh root@192.168.1.1 Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts. root@192.168.1.1's password:

BusyBox v1.23.2 (2017-08-01 12:14:02 CEST) built-in shell (ash)

~ $

With the program telnet is also possible to gain acccess to the router. After entering the user and password you are also in the console of the router.

USER
@:~$ telnet telnet> open (to) 192.168.1.1 Trying 192.168.1.1… Connected to 192.168.1.1. Escape character is '^]'.

NB2710 login: root Password:

BusyBox v1.23.2 (2017-08-01 12:14:02 CEST) built-in shell (ash)

~ $

Create a Techsupport file

If you can not create the Techsupport over the surface more or no surface is allowed on the router. Can be accessed via a serial or ssh access to the router to create a Techsupport manually.

In the subdirectory „/usr/local/sbin/www-scripts/maintenance/“ you can use the „createTechFile“ command to create a „techsupport.zip“ form the router.

The whole command in one:

		 /usr/local/sbin/www-scripts/maintenance/createTechFile 

If the command has been executed, the „techsupport.zip“ is founf under the subdirectory „/home/www-data/generated/“.

With the command you can leave the file ads:

	 	ls -lha /home/www-data/generated/techsupport.zip  

If you want to transfer a file from the router to the computer with scp. You must enter this command.

         scp /home/www-data/generated/techsupport.zip/ user@remotehost:/tmp/