Welcome, Guest. Please login or register.

Author Topic: LANCOM 1822n config backup  (Read 2490 times)

mb

  • Guest
LANCOM 1822n config backup
« on: January 26, 2012, 04:35:44 PM »
To get the configuration backup via SSH feature working with LANCOM Routers I had to add these lines to inc/libcli-iopty.pm:

Code: [Select]
# LANCOM
$cmd{'LANCOM'}{'ropr'} = '>\s$';
$cmd{'LANCOM'}{'enpr'} = '>\s$';
$cmd{'LANCOM'}{'conf'} = 'readconfig';                                                  # Backs up main config
$cmd{'LANCOM'}{'strt'} = '.';

Furthermore add an option for LANCOM-Systems to the OS-Box in the Definition Generator. In html/Other-Defgen.php, after

Code: [Select]
<option value="Xware"<?=($os == "Xware")?" selected":""?>>ExtremeWare
add this:

Code: [Select]
<option value="">--------
<option value="LANCOM"<?=($os == "LANCOM")?" selected":""?>>LANCOM

You can find my DEF template file for the LANCOM 1822n here.


rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2552
    • View Profile
    • NeDi
Re: LANCOM 1822n config backup
« Reply #1 on: January 28, 2012, 07:49:28 PM »
Good stuff, tx! Will add accordingly...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo