FireBrick 3G Dongle: Difference between revisions
Appearance
Content deleted Content added
CrazyTeeka (talk | contribs) |
CrazyTeeka (talk | contribs) |
||
| Line 59: | Line 59: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
= 3G |
= 3G profiles - turning the dongle off outside of office hours= |
||
Sometimes we don't want the dongle to be online 24x7 |
Sometimes we don't want the dongle to be online 24x7 and want it turned off outside of office hours. |
||
This example brings the dongle online for quick fallback during office hours, and leaves it powered up but disconnected. Fallback still works |
This example brings the dongle online for quick fallback during office hours, and leaves it powered up but disconnected. Fallback still works outside of office hours but takes a few seconds longer to set up. |
||
Note that both <usb> and <dongle> elements can be based on profiles. Leaving <usb> active but disabling <dongle> will leave the dongle powered up but disconnected. Disabling <usb> will physically turn off the USB port and therefore also the dongle. Cold starts take a lot longer! |
Note that both <usb> and <dongle> elements can be based on profiles. Leaving <usb> active but disabling <dongle> will leave the dongle powered up but disconnected. Disabling <usb> will physically turn off the USB port and therefore also the dongle. Cold starts take a lot longer! |
||
<syntaxhighlight> |
<syntaxhighlight> |
||
<usb> |
|||
<dongle name="3G" username="me@a.3" password="secret" nat="false" graph="3G" profile="3G"/> |
|||
</usb> |
|||
<profile name="Office_Hours" comment="Office hours"> |
|||
<time days="Mon Tue Wed Thu Fri" start="08:00:00" stop="18:00:00"/> |
|||
</profile> |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
</syntaxhighlight> |
</syntaxhighlight> |
||
This example is taken from a site which has 2 ADSL lines - hence the |
This example is taken from a site which has 2 ADSL lines - hence the No_DSL profile being based on ADSL1 and ADSL2 being up. |
||
The 3G profile is then active during |
The 3G profile is then active during office hours, but it will become active if both of the ADSL lines are down outside of office hours. |
||
= Ping test example of falling back = |
= Ping test example of falling back = |
||