Diagnostics: NTop ntop 3.0 yes Change NTop Settings Set NTop settings such as password and port.
Diagnostics
/pkg_edit.php?xml=ntop.xml&id=0
NTop Access ntop http://$myurl:3000
Diagnostics
NTop Settings /pkg_edit.php?xml=ntop.xml&id=0 NTop http://$myurl:3000 NTOP Admin Password password Enter the password for the NTOP Web GUI. Minimum 5 characters. password NTOP Admin Password AGAIN passwordagain password Interface iface 3 true lan interfaces_selection function sync_package_ntop() { conf_mount_rw(); config_lock(); if($_POST == "") $_POST = $config['installedpackages']['ntop']['config']; $if_final = ""; if($_POST['password'] == $_POST['passwordagain']) { $ifaces=$_POST['iface']; $isfirst = 0; $lan = $config['interfaces']['lan']['if']; /* $ifaces = split(" ", $ifaces); */ foreach($ifaces as $if) { if($isfirst == 1) $if_final .= ","; $if_final .= convert_friendly_interface_to_real_interface_name($if); $isfirst = 1; } if($if_final == "") { $if_final = $lan; } echo "Using interface(s): " . $if_final . "\n"; exec("/usr/local/bin/ntop --set-admin-password=" . $_POST['password']); mwexec("killall ntop 2>/dev/null"); $fout = fopen("/usr/local/etc/rc.d/ntop.sh","w"); fwrite($fout, "#!/bin/sh\n\n"); fwrite($fout, "/usr/local/bin/ntop -i " . $if_final . " -u root -d --ipv4 -M\n\n"); fclose($fout); conf_mount_ro(); config_unlock(); chmod("/usr/local/etc/rc.d/ntop.sh", 0555); mwexec("killall ntop"); exec("/usr/local/etc/rc.d/ntop.sh"); } else { echo "Passwords do not match!"; exit; } } sync_package_ntop(); sync_package_ntop(); mwexec("/usr/bin/killall ntop"); $fout = fopen("/usr/local/etc/rc.d/ntop.sh","w"); fwrite($fout, "#!/bin/sh\n\n"); fwrite($fout, "/usr/local/bin/ntop -u root -d --ipv4 -M\n\n"); fclose($fout); chmod("/usr/local/etc/rc.d/ntop.sh", 0555);