Hi Scott,
Its been a while since there has been activity in this project and forgive its very old ugly code. ;)
It is quite easy to add more speed options . Im assuming you are using the database version?
You need to change the "layouts/tcss_device_edit.php" file and add the supported speeds to that.
You need to add: physical_speed, physical_rate, speed and rate options to meet your requirements to that file, then edit and save your interface with the new settings.
Remember that physical speed and speed are the Full Mbit, and the physical_rate and rate are 1/10th of that for smoothening out the BW.
Here is a diff patch to add 1GBIT support below. Physical_speed and physical_rate are normally the interface speed ( link speed )
the speed and rate values would be what you want to limit the traffic to on that, so in your case 200Mbit ~ 500Mbit.
--- /home/marzubus/tcss-5.1.66/webinterface/layouts/tcss_device_edit.php 2008-03-05 12:19:29.000000000 +0100
+++ layouts/tcss_device_edit.php 2013-05-03 13:41:32.918725891 +0200
@@ -62,6 +62,7 @@
</TD>
<TD align="left">
</FONT>
+ <input type="radio" name="physical_speed" value="1000Mbit" <? if ( $arrRecs['physical_speed'] == "1000Mbit" ) { echo '"checked"'; } ?> >1000Mbit
<input type="radio" name="physical_speed" value="100Mbit" <? if ( $arrRecs['physical_speed'] == "100Mbit" ) { echo '"checked"'; } ?> >100Mbit
<input type="radio" name="physical_speed" value="10Mbit" <? if ( $arrRecs['physical_speed'] == "10Mbit" ) { echo '"checked"'; } ?> >10Mbit
</TD>
@@ -74,6 +75,7 @@
</TD>
<TD align="left">
</FONT>
+ <input type="radio" name="physical_rate" value="100Mbit" <? if ( $arrRecs['physical_rate'] == "100Mbit" ) { echo '"checked"'; } ?> >100Mbit
<input type="radio" name="physical_rate" value="10Mbit" <? if ( $arrRecs['physical_rate'] == "10Mbit" ) { echo '"checked"'; } ?> >10Mbit
<input type="radio" name="physical_rate" value="1Mbit" <? if ( $arrRecs['physical_rate'] == "1Mbit" ) { echo '"checked"'; } ?> >1Mbit
</TD>
@@ -86,6 +88,7 @@
</TD>
<TD align="left">
</FONT>
+ <input type="radio" name="speed" value="500Mbit" <? if ( $arrRecs['speed'] == "500Mbit" ) { echo '"checked"'; } ?> >500Mbit
<input type="radio" name="speed" value="10Mbit" <? if ( $arrRecs['speed'] == "10Mbit" ) { echo '"checked"'; } ?> >10Mbit
<input type="radio" name="speed" value="4Mbit" <? if ( $arrRecs['speed'] == "4Mbit" ) { echo '"checked"'; } ?> >4Mbit
<input type="radio" name="speed" value="2Mbit" <? if ( $arrRecs['speed'] == "2Mbit" ) { echo '"checked"'; } ?> >2Mbit
@@ -101,6 +104,7 @@
</TD>
<TD align="left">
</FONT>
+ <input type="radio" name="rate" value="50Mbit" <? if ( $arrRecs['rate'] == "50Mbit" ) { echo '"checked"'; } ?> >50Mbit
<input type="radio" name="rate" value="1Mbit" <? if ( $arrRecs['rate'] == "1Mbit" ) { echo '"checked"'; } ?> >1Mbit
<input type="radio" name="rate" value="512Kbit" <? if ( $arrRecs['rate'] == "512Kbit" ) { echo '"checked"'; } ?>>512Kbit
<input type="radio" name="rate" value="256Kbit" <? if ( $arrRecs['rate'] == "256Kbit" ) { echo '"checked"'; } ?>>256Kbit
You might need to tweak some other settings, like avpkt and so on. Let me know if it still works after all these years. ;)
Kegan