"; } else { foreach($routeInfo as $route) { echo ""; echo ""; echo ""; echo ""; $status = $route["access-ip"] ? "fa-check" : "fa-times"; echo ''; $status = $route["access-dns"] ? "fa-check" : "fa-times"; echo ''; echo ""; } } ?>
No route to the internet found
".$route["interface"]."".$route["ip-address"]."".$route["gateway"]."
".$route["gw-name"]."

'.RASPI_ACCESS_CHECK_IP.'

'.RASPI_ACCESS_CHECK_DNS.'


                  

0) { foreach($clients["device"] as $id => $dev) { echo ""; echo "\n"; echo "\n"; $ty="Client"; if(isset($dev["isAP"]) && $dev["isAP"]) $ty="Access Point"; echo "\n"; echo "\n"; if(isset($dev["vid"]) && !empty($dev["vid"])) echo "\n"; else echo "\n"; $udevfile=$_SESSION["udevrules"]["udev_rules_file"]; $isStatic=array(); exec('find /etc/udev/rules.d/ -type f \( -iname "*.rules" ! -iname "'.basename($udevfile).'" \) -exec grep -i '.$dev["mac"].' {} \; ',$isStatic); if(empty($isStatic)) exec('find /etc/udev/rules.d/ -type f \( -iname "*.rules" ! -iname "'.basename($udevfile).'" \) -exec grep -i '.$dev["vid"].' {} \; | grep -i '.$dev["pid"].' ',$isStatic); $isStatic = empty($isStatic) ? false : true; $devname=array(); exec('grep -i '.$dev["vid"].' '.$udevfile.' | grep -i '.$dev["pid"].' | sed -rn \'s/.*name=\"(\w*)\".*/\1/ip\' ',$devname); if(!empty($devname)) $devname=$devname[0]; else { exec('grep -i '.$dev["mac"].' '.$udevfile.' | sed -rn \'s/.*name=\"(\w*)\".*/\1/ip\' ',$devname); if(!empty($devname)) $devname=$devname[0]; } if(empty($devname)) $devname=""; $isStatic = $isStatic || in_array($dev["type"],array("ppp","tun")); $txtdisabled=$isStatic ? "disabled":""; echo '"; echo ''."\n"; echo '\n"; echo "\n"; } } } else echo ""; ?>
".$dev["vendor"]." ".$dev["model"]."".$dev["name"]."".$ty."".$dev["mac"]."".$dev["vid"]."/".$dev["pid"]." - '; if (! $isStatic ) echo ''."\n"; else echo $dev["name"]; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''; if (! $isStatic) echo '' ._("Change").''; echo "
No network devices found


" >

" > " > " >