Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:techsupportcli [2017/10/20 12:08]
gray [Techsupport per mail sends]
faq:techsupportcli [2017/11/14 19:38] (current)
juraschek
Line 3: Line 3:
  
  
-===== Loggin ​with ssh or telnet =====+===== Login 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.+Please login with ssh or telnet ​with the username "​root"​ and your admin password.
  
 <​konsole>​ <​konsole>​
Line 39: Line 39:
 ===== Create a Techsupport file ===== ===== 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.+If you want to create the Techsupport ​file from the command line you can do as follows
  
-In the subdirectory „/​usr/​local/​sbin/​www-scripts/​maintenance/​“ you can use the „createTechFile“ command to create a „techsupport.zip“ ​form the router.+In the subdirectory „/​usr/​local/​sbin/​www-scripts/​maintenance/​“ you can use the „createTechFile“ command to create a „techsupport.zip“.
  
-The whole command ​in one:+The whole command:
  
-<​code>​  /​usr/​local/​sbin/​www-scripts/​maintenance/​createTechFile </​code> ​+<​code>/​usr/​local/​sbin/​www-scripts/​maintenance/​createTechFile </​code> ​
  
-If the command has been executed, the „techsupport.zip“ is founf under the subdirectory „/​home/​www-data/​generated/​“.+If the command has been executed, the „techsupport.zip“ is found in the subdirectory „/​home/​www-data/​generated/​“.
  
-With the command you can leave the file ads:+You can check if the file was created with:
  
-<​code>​   ls -lha /​home/​www-data/​generated/​techsupport.zip ​ </​code> ​+<​code>​ls -lha /​home/​www-data/​generated/​techsupport.zip ​ </​code> ​
  
  
 If you want to transfer a file from the router to the computer with scp. You must enter this command. If you want to transfer a file from the router to the computer with scp. You must enter this command.
  
-<​code> ​        ​scp /​home/​www-data/​generated/​techsupport.zip user@remotehost:/​tmp/​ </​code> ​+<​code>​scp /​home/​www-data/​generated/​techsupport.zip user@remotehost:/​tmp/​ </​code> ​
  
  
-===== Techsupport per mail sends ===== 
  
-If you want to send Techsupport via mail, am e-mail client must be set up. This can be done in the webinterface under the tab “SERVICES“ sub-point „E-mail“. 
  
 +===== Techsupport via e-mail ​ =====
 +
 +If you want to send the Techsupportfile via mail, am e-mail client must be set up. This can be done in the webinterface under the tab “SERVICES“ sub-point „E-mail“.
 +
 +{{:​faq:​mail_1.png?​direct&​900|}}
 +
 +In the field „From address“ the email addresse has to be entered.
 +
 +In the field „Server address„ , the address of the email server of the provider.
 +
 +In the field „Server port“, the port can be 25, 587 or 465.
 +
 +Under the Encryption option, select the tls option.
 +
 +Last but not least for the mailbox “username“ and "​password“.
 +
 +The settings can be confirmed with the „Apply“ button.
 +
 +
 +----
 +
 +Send Tech Support by e-mail in the console.
 +
 +
 +<​konsole>​
 +cli send techsupport meine@emailadresse.de
 +</​konsole>​