Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
faq:techsupportcli [2017/10/20 13:01] – [Techsupport per mail sends] grayfaq:techsupportcli [2017/11/14 19:38] 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|}} {{:faq:mail_1.png?direct&900|}}
Line 73: Line 75:
 Under the Encryption option, select the tls option. Under the Encryption option, select the tls option.
  
-Last but not least for the mailbox“username“ and password“.+Last but not least for the mailbox “username“ and "password“.
  
 The settings can be confirmed with the „Apply“ button. The settings can be confirmed with the „Apply“ button.
  
  
 +----
  
 Send Tech Support by e-mail in the console. Send Tech Support by e-mail in the console.
Line 84: Line 86:
  
 <konsole> <konsole>
- ~ $ uuencode /home/www-data/generated/techsupport.zip | sendmail -s "Log-File" address@provider+cli send techsupport meine@emailadresse.de
 </konsole> </konsole>