summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-23 17:14:28 +0200
committersmos <seth.mos@dds.nl>2012-05-23 17:14:28 +0200
commitd23e157a06374c958a7e782e6dd55cd59ecf5c48 (patch)
tree47333d340048c168880e7f401d1c56f002ac5bf7 /usr/local/www/status_interfaces.php
parent7e631290b26172a9ca19d58c415f713761aa074b (diff)
downloadpfsense-d23e157a06374c958a7e782e6dd55cd59ecf5c48.zip
pfsense-d23e157a06374c958a7e782e6dd55cd59ecf5c48.tar.gz
Add more functions and expand the 3G status interfaces screen.
List the SIM state, service, speeds and mode
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php34
1 files changed, 31 insertions, 3 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index c23140e..e880316 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -195,7 +195,7 @@ include("head.inc");
<tr>
<td width="22%" class="vncellt"><?=gettext("Cell Signal (RSSI)");?></td>
<td width="78%" class="listr">
- <?=htmlspecialchars($ifinfo['cell_rssi']);?> (0-31)
+ <?=htmlspecialchars($ifinfo['cell_rssi']);?>
</td>
</tr>
<?php endif; if ($ifinfo['cell_mode']): ?>
@@ -205,16 +205,44 @@ include("head.inc");
<?=htmlspecialchars($ifinfo['cell_mode']);?>
</td>
</tr>
- <?php endif; if ($ifinfo['cell_upstream']): ?>
+ <?php endif; if ($ifinfo['cell_simstate']): ?>
+ <tr>
+ <td width="22%" class="vncellt"><?=gettext("Cell SIM State");?></td>
+ <td width="78%" class="listr">
+ <?=htmlspecialchars($ifinfo['cell_simstate']);?>
+ </td>
+ </tr>
+ <?php endif; if ($ifinfo['cell_service']): ?>
+ <tr>
+ <td width="22%" class="vncellt"><?=gettext("Cell Service");?></td>
+ <td width="78%" class="listr">
+ <?=htmlspecialchars($ifinfo['cell_service']);?>
+ </td>
+ </tr>
+ <?php endif; if ($ifinfo['cell_bwupstream']): ?>
<tr>
<td width="22%" class="vncellt"><?=gettext("Cell Upstream");?></td>
<td width="78%" class="listr">
+ <?=htmlspecialchars($ifinfo['cell_bwupstream']);?> kbit/s
+ </td>
+ </tr>
+ <?php endif; if ($ifinfo['cell_bwdownstream']): ?>
+ <tr>
+ <td width="22%" class="vncellt"><?=gettext("Cell Downstream");?></td>
+ <td width="78%" class="listr">
+ <?=htmlspecialchars($ifinfo['cell_bwdownstream']);?> kbit/s
+ </td>
+ </tr>
+ <?php endif; if ($ifinfo['cell_upstream']): ?>
+ <tr>
+ <td width="22%" class="vncellt"><?=gettext("Cell Current Up");?></td>
+ <td width="78%" class="listr">
<?=htmlspecialchars($ifinfo['cell_upstream']);?> kbit/s
</td>
</tr>
<?php endif; if ($ifinfo['cell_downstream']): ?>
<tr>
- <td width="22%" class="vncellt"><?=gettext("Cell Downstream");?></td>
+ <td width="22%" class="vncellt"><?=gettext("Cell Current Down");?></td>
<td width="78%" class="listr">
<?=htmlspecialchars($ifinfo['cell_downstream']);?> kbit/s
</td>
OpenPOWER on IntegriCloud