3 * Shows router UMTS status
8 * @package linksys-wrt3g-tools
9 * @author Christian Weiske <cweiske@cweiske.de>
11 * @link http://cweiske.de/linksys-wrt3g-tools.htm
13 require_once dirname(__FILE__) . '/config.php';
14 require_once 'Wrt3g.php';
17 $arStatus = $w->getStatus();
18 foreach ($arStatus as $key => $value) {
19 echo $key . ': ' . $value . "\n";
21 } catch (Exception $e) {
22 echo 'Error: ' . $e->getMessage() . "\n";