#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh cgi_begin 'Setup' cat << EOF

$(lang de:"Das Passwort für die DS-MOD Weboberfläche ist nicht gesetzt. Folgende Änderungen sollten nur über vertrauenswürdige Netze geschehen (z.B. eigenes LAN), da die Passwörter unverschlüsselt übertragen werden." en:"There is no password set for the the DS-MOD webinterface. The following instructions should be performed in a trustful network environment only (e.g. your own LAN), because passwords will be send unencrypted.")

  1. EOF if [ -z "$(pidof telnetd)" ]; then echo '
    ' echo '' echo '$(lang de:"Starte telnetd" en:"Start telnetd"): ' echo '
    ' else echo '$(lang de:"telnetd ist gestartet." en:"telnetd is running.")' fi cat << EOF
  2. $(lang de:"Logge dich auf der Box ein" en:"Login to your device"):
    > telnet fritz.box 23
    Trying 192.168.178.1...
    Connected to fritz.box.
    Escape character is '^]'.
    Fritz!Box web password:
    
    
    BusyBox v1.00 (2005.09.23-21:10+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    ermittle die aktuelle TTY
    tty is "/dev/pts/0"
    Console Ausgaben auf dieses Terminal umgelenkt
    ~ #
    
  3. $(lang de:"Mit dem Kommando
    modpasswd
    lässt sich nun das 'root' Passwort und das Passwort für die Weboberfläche setzen. Falls das 'root' Passwort unverändert bleiben soll (z.B. dropbear braucht ein 'root' Passwort, genügt:
    modpasswd dsmod
    " en:"You can change the 'root' password and the password for the webinterface by using the command:
    modpasswd
    If you don't want to change the 'root' password (e.g. dropbear needs a 'root' password)
    modpasswd dsmod
    is sufficient.") $(lang de:"Folgende Passwörter sind zu unterscheiden:" en:"It is important to distinguish the following passwords:")
  4. Reboot:
EOF cgi_end