@ -0,0 +1 @@ |
||||
Subproject commit 37a0b9060f109052cf6e6d5564c681c6f6ade5f6 |
@ -0,0 +1 @@ |
||||
1,0,0 |
@ -0,0 +1,2 @@ |
||||
2022-05-11 15:16,0000 |
||||
2022-05-11 15:19,0000 |
@ -0,0 +1 @@ |
||||
2022-05-13 14:34,5 |
@ -0,0 +1,7 @@ |
||||
2022-05-13 09:31,0000 |
||||
2022-05-13 10:50,0000 |
||||
2022-05-13 10:51,0000 |
||||
2022-05-13 11:06,0000 |
||||
2022-05-13 11:07,0000 |
||||
2022-05-13 11:10,0000 |
||||
2022-05-13 11:12,0000 |
@ -0,0 +1,2 @@ |
||||
2022-05-14 17:04,0111 |
||||
2022-05-14 17:37,0000 |
@ -0,0 +1 @@ |
||||
2022-05-15 17:45,0000 |
@ -0,0 +1,2 @@ |
||||
2022-05-29 13:30,0111 |
||||
2022-05-29 14:02,0000 |
@ -0,0 +1 @@ |
||||
2022-05-30 18:07,0000 |
@ -0,0 +1 @@ |
||||
2022-06-24 14:39,0011 |
@ -1,74 +1,61 @@ |
||||
2022-05-10 13:27:19,ax0,DL0PBS-5,APMI03 |
||||
2022-05-10 13:36:16,ax0,DB0PDF-10,AP4R10 |
||||
2022-05-10 13:40:10,ax0,DB0PBG-5,APMI03 |
||||
2022-05-10 13:38:13,ax0,DB0WHV,APRX29 |
||||
2022-05-10 11:02:49,ax0,DB0OL-10,AP4R10 |
||||
2022-05-10 09:17:11,ax0,DO6DN-10,APRX28 |
||||
2022-05-09 19:11:27,ax0,DB0ET,U3RTS5 |
||||
2022-05-10 12:30:32,ax0,PE1RXF-1,APRX29 |
||||
2022-05-10 13:02:46,ax0,DB0OHB,APDW16 |
||||
2022-05-10 12:34:30,ax0,DF5WXF-9,APOTC1 |
||||
2022-05-10 08:10:22,ax0,DK7YGL,APX210 |
||||
2022-05-10 13:40:17,ax0,DL0BRF,APDW14 |
||||
2022-05-10 13:39:38,ax0,DB0SAH,APMI06 |
||||
2022-05-10 07:57:26,ax0,DL9OBG-9,UR4VR3 |
||||
2022-05-10 09:16:28,ax0,DB0OX-11,APX204 |
||||
2022-05-10 09:11:46,ax0,DB0OX-10,APDW14 |
||||
2022-05-10 13:37:55,ax0,DB0LER-13,APRX29 |
||||
2022-05-10 13:33:18,ax0,DB0LER-15,APLO02 |
||||
2022-05-10 08:14:39,ax0,PA1CD-10,APMI06 |
||||
2022-05-10 13:31:00,ax0,SM5WXF-9,APOTC1 |
||||
2022-05-10 09:40:41,ax0,DG8OAA-10,URQXR0 |
||||
2022-05-10 08:49:07,ax0,DL8XI,US3XS5-2 |
||||
2022-05-09 21:43:53,ax0,DG4BRT-6,WIDE1-1 |
||||
2022-05-09 21:34:04,ax0,DG4BRT-1,WIDE1-1 |
||||
2022-05-10 08:00:42,ax0,DO6MJ-1,APAGW |
||||
2022-05-10 09:29:17,ax0,DB0WOT,APMI06 |
||||
2022-05-10 09:21:13,ax0,DL9DAK,U3SUY8 |
||||
2022-05-10 09:30:26,ax0,DB0ELB,APMI06 |
||||
2022-05-10 07:58:09,ax0,DB0BI-10,BEACON |
||||
2022-05-10 08:38:24,ax0,DO1AWD,APAT51 |
||||
2022-05-10 13:33:55,ax0,DO1IBS-4,APNU19-3 |
||||
2022-05-10 08:21:16,ax0,DF4DR-11,APU25N |
||||
2022-05-10 08:17:08,ax0,DB6JH-9,PP0PP0 |
||||
2022-05-09 18:07:51,ax0,DG9BFE-9,US3TP8 |
||||
2022-05-10 09:45:38,ax0,DF8FS-9,UR3RV9 |
||||
2022-05-10 08:24:39,ax0,DO8OA-1,APAT51 |
||||
2022-05-09 17:41:22,ax0,DC1KW-11,APLO02 |
||||
2022-05-09 16:44:32,ax0,DM2HB-9,UQTQP5 |
||||
2022-05-10 01:35:09,ax2,DB0FRI-3,APLOX1 |
||||
2022-05-10 05:05:37,ax0,DK8HC-9,U2RPW1 |
||||
2022-05-10 13:25:18,ax0,SP3MKI-9,US1VR7 |
||||
2022-05-10 06:10:28,ax0,DG4KLK-9,UQUWW0 |
||||
2022-05-10 06:41:38,ax0,DB1EF-9,APOTC1 |
||||
2022-05-10 07:45:14,ax0,DL1EJ-9,URRTX7 |
||||
2022-05-10 08:50:02,ax0,DO1OIK-9,UR1RY6 |
||||
2022-05-10 07:55:04,ax0,DG5OAC-9,UR2SU5 |
||||
2022-05-10 11:37:10,ax0,DO9BG-9,APOTC1 |
||||
2022-05-10 07:45:32,ax0,PA1AIS,FD0UX3 |
||||
2022-05-10 13:22:53,ax0,DO1EJK,APU25N |
||||
2022-05-09 14:47:49,ax0,DO2DAN-10,APRS |
||||
2022-05-10 08:05:02,ax0,DD1GO,5S0YX8 |
||||
2022-05-09 13:39:38,ax0,DJ8KL-9,U2RXT3 |
||||
2022-05-09 22:17:00,ax0,DF5KX-9,U3RVR6 |
||||
2022-05-09 14:11:02,ax0,DG5BX-9,USPWW5 |
||||
2022-05-09 15:58:08,ax0,DG5YBA-9,UR2UX4 |
||||
2022-05-09 16:03:09,ax0,DB9IL-9,UR1PS7 |
||||
2022-05-09 22:04:15,ax2,DF2RS-9,APLT00 |
||||
2022-05-10 13:36:36,ax0,DG4BRT-2,APOT21 |
||||
2022-05-09 22:03:17,ax2,DB0LER-15,APLO02 |
||||
2022-05-10 09:24:54,ax0,DL6YCI-15,UR0TS7 |
||||
2022-05-10 08:36:51,ax0,DL2TMJ,UR2SU7 |
||||
2022-05-10 07:23:08,ax0,DM0SZ-1,APDW15 |
||||
2022-05-10 07:25:21,ax0,DK9LX-15,APMI0A |
||||
2022-05-10 07:57:25,ax0,DK9LX-14,UQ4YR4 |
||||
2022-05-10 07:44:28,ax0,DK9LX-9,UQTSX0 |
||||
2022-05-10 09:13:12,ax0,DO9UW-7,APAT78 |
||||
2022-05-10 09:06:25,ax0,DB0FS-10,APMI06 |
||||
2022-05-10 09:32:40,ax0,DG9LZ-9,US4P03 |
||||
2022-05-10 09:14:11,ax0,DB0SH-10,APMI04 |
||||
2022-05-10 09:35:20,ax0,DO1EGG-7,U3TUU1 |
||||
2022-05-10 09:35:12,ax0,DG3BFP-7,US5VU9 |
||||
2022-05-10 13:15:55,ax0,DK9OB-9,APDR16 |
||||
2022-05-10 10:21:31,ax0,DL5KO-9,APT314 |
||||
2022-05-10 13:33:31,ax0,DL3EL-13,US5RU4 |
||||
2022-06-25 15:55:51,ax0,DL0PBS-5,APMI03 |
||||
2022-06-25 15:53:27,ax0,DB0PDF-10,AP4R10 |
||||
2022-06-25 15:59:04,ax0,DB0PBG-5,APMI03 |
||||
2022-06-25 15:43:24,ax0,DB0WHV,APRX29 |
||||
2022-06-25 15:42:29,ax0,DB0OL-10,AP4R10 |
||||
2022-06-25 15:30:29,ax0,PE1RXF-1,APRX29 |
||||
2022-06-25 15:53:02,ax0,DB0OHB,APDW16 |
||||
2022-06-25 15:49:15,ax0,DB0LER-13,APRX29 |
||||
2022-06-25 15:54:41,ax0,DB0LER-15,APLO02 |
||||
2022-06-25 15:44:43,ax0,SM5WXF-9,APOTC1 |
||||
2022-06-25 15:59:13,ax0,DO1IBS-4,APNU19-3 |
||||
2022-06-25 16:00:32,ax0,DB0ET,U3RTS5 |
||||
2022-06-25 16:00:33,ax0,DF5WXF-9,APOTC1 |
||||
2022-06-25 15:59:23,ax0,DO6DN-10,APRX28 |
||||
2022-06-25 07:47:08,ax0,DB5OY-6,APOTC1 |
||||
2022-06-25 12:40:00,ax0,DB0OX-11,APX204 |
||||
2022-06-25 14:06:13,ax0,DB0SAH,APMI06 |
||||
2022-06-25 12:36:53,ax0,DB0OX-10,APDW14 |
||||
2022-06-25 12:55:16,ax0,DD1GO,5S0YX8 |
||||
2022-06-25 02:54:04,ax0,DB0WOT,APMI06 |
||||
2022-06-25 05:10:50,ax0,DO6MJ-1,APAGW |
||||
2022-06-25 06:29:15,ax0,DB0ELB,APMI06 |
||||
2022-06-25 02:21:31,ax0,DB1BMK-9,APAT51 |
||||
2022-06-25 02:39:22,ax0,DB0FS-10,APMI06 |
||||
2022-06-25 04:55:46,ax0,DB0NGU-1,APNU19 |
||||
2022-06-25 02:51:42,ax0,DB0SH-10,APMI04 |
||||
2022-06-25 14:49:54,ax0,DG4BRT-2,APOT21 |
||||
2022-06-25 11:37:26,ax0,DO9BG-9,APOTC1 |
||||
2022-06-25 01:21:01,ax0,DO1BT-8,USQTP7 |
||||
2022-06-25 01:29:16,ax0,DL1BJN-1,USRQX7 |
||||
2022-06-25 14:54:46,ax2,DB0LER-15,APLO02 |
||||
2022-06-25 01:29:36,ax0,DL9DAK,U3SUY8 |
||||
2022-06-25 15:31:34,ax0,DO1EJK,APU25N |
||||
2022-06-25 16:05:44,ax2,PD0KDN-10,APLG01 |
||||
2022-06-25 16:07:03,ax2,PE1RXF-3,APRX29 |
||||
2022-06-25 07:58:55,ax2,DB0FRI-10,APLO20 |
||||
2022-06-25 12:02:15,ax2,DO6HT-1,APLT00 |
||||
2022-06-25 15:59:35,ax0,DK9CL-8,APOTC1 |
||||
2022-06-25 13:58:48,ax2,PE0XJ-12,APLC13 |
||||
2022-06-25 02:56:45,ax0,DB0AFU-10,APMI04 |
||||
2022-06-24 23:55:23,ax0,DC4LE-9,APAT81 |
||||
2022-06-25 01:42:24,ax2,DK7LH-9,APLT00-1 |
||||
2022-06-25 01:17:54,ax2,DB0OL-12,APLG01 |
||||
2022-06-25 02:17:00,ax0,DO1BT-9,APDR16 |
||||
2022-06-25 02:21:55,ax0,DB0OI,APNU19 |
||||
2022-06-25 06:13:35,ax0,DC2EH-6,APT3A2 |
||||
2022-06-25 06:48:41,ax0,DO1DCB-7,APDR81 |
||||
2022-06-25 07:07:53,ax0,DB1EF-9,APOTC1 |
||||
2022-06-25 13:41:51,ax0,DL8XI,US3XS3-2 |
||||
2022-06-25 15:58:54,ax0,PE0XJ-8,U3QXX8 |
||||
2022-06-25 15:23:25,ax0,DL5KK,U2QUR6 |
||||
2022-06-25 12:38:28,ax0,DL1AFZ-7,US0WS0 |
||||
2022-06-25 13:12:42,ax2,PD0KDN-9,APLT00-1 |
||||
2022-06-25 14:01:35,ax0,DC4FS-9,US2US5 |
||||
2022-06-25 15:30:05,ax0,DG9BFE-9,US3TP3 |
||||
2022-06-25 16:12:27,ax2,DL8BCZ-9,APLC13 |
||||
2022-06-25 15:56:22,ax0,DB5RRH-9,US1QP4 |
||||
2022-06-25 15:12:46,ax0,DC1MU-9,APAT81 |
||||
2022-06-25 15:57:37,ax0,DG4BRT-1,WIDE1-1 |
||||
2022-06-25 15:57:29,ax0,DG4BRT-6,WIDE1-1 |
||||
2022-06-25 15:54:05,ax0,PC9F-9,US1PP1 |
||||
|
@ -1,9 +1,10 @@ |
||||
2022-05-10 13:40:00,ax0,DB0PBG-5,APMI03 |
||||
2022-05-10 13:37:50,ax0,DB0LER,APRX29 |
||||
2022-05-10 00:05:24,ax2,PD0KDN-10,APLG01 |
||||
2022-05-10 07:42:14,ax0,DB0OL-10,AP4R10 |
||||
2022-05-10 03:16:42,ax0,DL0PBS-5,APMI03 |
||||
2022-05-09 19:18:37,ax2,DOSCO-11,APZAVR-1 |
||||
2022-05-10 02:33:11,ax2,DB0LER-15,APLO02 |
||||
2022-05-10 08:03:04,ax2,DM0NGU-14,APLG01 |
||||
2022-05-10 10:54:14,ax2,DK8QS-7,APLC12 |
||||
2022-06-25 15:58:43,ax0,DB0PBG-5,APMI03 |
||||
2022-06-25 15:49:00,ax0,DB0LER,APRX29 |
||||
2022-06-25 14:36:56,ax0,DB0ET,U3RTS5 |
||||
2022-06-25 00:25:00,ax0,DL0PBS-5,APMI03 |
||||
2022-06-25 01:43:25,ax0,DB0OL-10,AP4R10 |
||||
2022-06-25 15:59:53,ax2,PA1SDB-9,APLG01 |
||||
2022-06-25 16:08:07,ax2,PE1RXF-5,APZMDM |
||||
2022-06-25 13:14:31,ax2,PD0KDN-9,APLT00-1 |
||||
2022-06-25 14:59:31,ax0,DB5RRH-9,UR5YT4 |
||||
2022-06-25 15:07:43,ax2,DL8BCZ-9,APLC13 |
||||
|
@ -0,0 +1 @@ |
||||
5 |
@ -1 +1 @@ |
||||
0000 |
||||
0011 |
||||
|
@ -1,7 +1,12 @@ |
||||
#!/bin/bash |
||||
|
||||
echo "Switching off remote server." |
||||
/usr/sbin/beacon -d "APRX29" -s ax2 ':PE1RXF-5 :34{34' |
||||
/usr/bin/sleep 30 |
||||
|
||||
echo "Switching off remote router." |
||||
/usr/sbin/beacon -d "APRX29" -s ax2 ':PE1RXF-5 :32{32' |
||||
/usr/bin/sleep 30 |
||||
|
||||
echo "Switching off 5GHz point to point link." |
||||
/usr/sbin/beacon -d "APRX29" -s ax2 ':PE1RXF-5 :30{30' |
||||
|
@ -1,7 +1,10 @@ |
||||
#!/bin/bash |
||||
|
||||
echo "Switching on 5GHz point to point link." |
||||
/usr/sbin/beacon -d "APRX29" -s ax2 ':PE1RXF-5 :31{31' |
||||
/usr/bin/sleep 30 |
||||
echo "Switching on remote router." |
||||
/usr/sbin/beacon -d "APRX29" -s ax2 ':PE1RXF-5 :33{33' |
||||
/usr/bin/sleep 30 |
||||
echo "Switching on remote server." |
||||
/usr/sbin/beacon -d "APRX29" -s ax2 ':PE1RXF-5 :35{35' |
||||
|
@ -0,0 +1,73 @@ |
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<title>PE1RXF APRS server</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<meta http-equiv="refresh" content="600"> |
||||
|
||||
<link rel="stylesheet" href="css/styles.css"> |
||||
<link rel="stylesheet" href="css/popup.css"> |
||||
<link rel="stylesheet" href="css/font-awesome.min.css"> |
||||
</head> |
||||
<body> |
||||
|
||||
<?php |
||||
#Data format: |
||||
#0,1,2,3,4,5,6,7,8,9 |
||||
|
||||
# 0 = acces point off/on (0/1) |
||||
# 1 = station stal off/on (0/1) |
||||
# 2 = station tiny house off/on (0/1) |
||||
$status = array_map('str_getcsv', file("/home/marcel/ham/aprs_utils/5ghz/5ghz-status.dat")); |
||||
?> |
||||
<div class="header"> |
||||
<a href="index.php" > |
||||
<h1><i class="fa fa-home" aria-hidden="true"></i> PE1RXF 5 GHz access point manager</h1> |
||||
</a> |
||||
</div> |
||||
|
||||
<div class="row"> |
||||
<div class="col-3 col-s-3 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
|
||||
<div class="col-6 col-s-9" id="main_page"> |
||||
|
||||
<div class="col-6 col-s-12"> |
||||
<a href="toggle_ap.php"><img src="images/power.svg" /></a> |
||||
<h1>Access Point</h1> |
||||
|
||||
|
||||
<a href="toggle_stal.php"><img src="images/power.svg" /></a> |
||||
<h1>Station Stal</h1> |
||||
|
||||
</div> |
||||
|
||||
<div class="col-6 col-s-12"> |
||||
<a href="power_on_tinyhouse.php"><img src="images/power.svg" /></a> |
||||
<h1>Station Tiny house ON</h1> |
||||
|
||||
<a href="power_off_tinyhouse.php"><img src="images/power.svg" /></a> |
||||
<h1>Station Tiny house OFF</h1> |
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
<div class="col-3 col-s-12 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
</div> |
||||
|
||||
</body> |
||||
</html> |
||||
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,55 @@ |
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<title>PE1RXF APRS server</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<meta http-equiv="refresh" content="600"> |
||||
|
||||
<link rel="stylesheet" href="css/styles.css"> |
||||
<link rel="stylesheet" href="css/popup.css"> |
||||
<link rel="stylesheet" href="css/font-awesome.min.css"> |
||||
|
||||
<meta http-equiv="refresh" content="3; url='./5ghz.php" /> |
||||
</head> |
||||
<body> |
||||
|
||||
<?php |
||||
$execuatable_string = sprintf("/home/marcel/ham/aprs_utils/power-off-hamnet-link.sh > /dev/null 2>&1 &"); |
||||
exec("$execuatable_string"); |
||||
?> |
||||
|
||||
<div class="header"> |
||||
<a href="index.php" > |
||||
<h1><i class="fa fa-home" aria-hidden="true"></i> PE1RXF 5 GHz access point manager</h1> |
||||
</a> |
||||
</div> |
||||
|
||||
<div class="row"> |
||||
<div class="col-3 col-s-3 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
|
||||
<div class="col-6 col-s-9" id="main_page"> |
||||
|
||||
<h1>Powering off station tiny house</h1> |
||||
<h1>This may take a while</h1> |
||||
|
||||
</div> |
||||
|
||||
<div class="col-3 col-s-12 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
</div> |
||||
|
||||
</body> |
||||
</html> |
||||
|
||||
|
@ -0,0 +1,55 @@ |
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<title>PE1RXF APRS server</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<meta http-equiv="refresh" content="600"> |
||||
|
||||
<link rel="stylesheet" href="css/styles.css"> |
||||
<link rel="stylesheet" href="css/popup.css"> |
||||
<link rel="stylesheet" href="css/font-awesome.min.css"> |
||||
|
||||
<meta http-equiv="refresh" content="3; url='./5ghz.php" /> |
||||
</head> |
||||
<body> |
||||
|
||||
<?php |
||||
$execuatable_string = sprintf("/home/marcel/ham/aprs_utils/power-on-hamnet-link.sh > /dev/null 2>&1 &"); |
||||
exec("$execuatable_string"); |
||||
?> |
||||
|
||||
<div class="header"> |
||||
<a href="index.php" > |
||||
<h1><i class="fa fa-home" aria-hidden="true"></i> PE1RXF 5 GHz access point manager</h1> |
||||
</a> |
||||
</div> |
||||
|
||||
<div class="row"> |
||||
<div class="col-3 col-s-3 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
|
||||
<div class="col-6 col-s-9" id="main_page"> |
||||
|
||||
<h1>Powering on station tiny house</h1> |
||||
<h1>This may take a while</h1> |
||||
|
||||
</div> |
||||
|
||||
<div class="col-3 col-s-12 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
</div> |
||||
|
||||
</body> |
||||
</html> |
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 8.1 KiB |
@ -0,0 +1,68 @@ |
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<title>PE1RXF APRS server</title> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<meta http-equiv="refresh" content="600"> |
||||
|
||||
<link rel="stylesheet" href="css/styles.css"> |
||||
<link rel="stylesheet" href="css/popup.css"> |
||||
<link rel="stylesheet" href="css/font-awesome.min.css"> |
||||
|
||||
<meta http-equiv="refresh" content="3; url='./5ghz.php" /> |
||||
</head> |
||||
<body> |
||||
|
||||
<?php |
||||
#Data format: |
||||
#0,1,2,3,4,5,6,7,8,9 |
||||
|
||||
# 0 = acces point off/on (0/1) |
||||
# 1 = station stal off/on (0/1) |
||||
# 2 = station tiny house off/on (0/1) |
||||
$status = array_map('str_getcsv', file("/home/marcel/ham/aprs_utils/5ghz/5ghz-status.dat")); |
||||
|
||||
if ($status[0][0] == 0) |
||||
$execuatable_string = sprintf("/home/marcel/ham/aprs_utils/power-on-hamnet-link.sh > /dev/null 2>&1 &"); |
||||
else |
||||
$execuatable_string = sprintf("/home/marcel/ham/aprs_utils/power-off-hamnet-link.sh > /dev/null 2>&1 &"); |
||||
|
||||
exec("$execuatable_string"); |
||||
|
||||
?> |
||||
|
||||
<div class="header"> |
||||
<a href="index.php" > |
||||
<h1><i class="fa fa-home" aria-hidden="true"></i> PE1RXF 5 GHz access point manager</h1> |
||||
</a> |
||||
</div> |
||||
|
||||
<div class="row"> |
||||
<div class="col-3 col-s-3 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
|
||||
<div class="col-6 col-s-9" id="main_page"> |
||||
|
||||
<h1>Toggle state of Access Point</h1> |
||||
<h1>This may take a while</h1> |
||||
|
||||
</div> |
||||
|
||||
<div class="col-3 col-s-12 menu"> |
||||
<ul> |
||||
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
|
||||
</ul> |
||||
</div> |
||||
</div> |
||||
|
||||
</body> |
||||
</html> |
||||
|
||||
|