Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick 3G Dongle: Difference between revisions

m
mNo edit summary
Tags: Mobile edit Mobile web edit
(11 intermediate revisions by 2 users not shown)
#REDIRECT [[:Category:FireBrick_USB_Dongles]]
 
[[File:2700-small.png|link=:Category:FireBrick]]
[[File:Zoom_Dongle_Small.png]]
 
[[File:Zoom4598.jpg|right]]
=3G Fallback=
The 2700 model has a USB port that can be used with a 3G dongle for connectivity and/or fallback. The FireBrick 2500 does not have a USB port. By using a 3G dongle with 1 or more FTTC/ADSL lines from AAISP you'll be able to fall back to using 3G in the case of the FTTC/ADSL going down - this includes routing of your public IPv4 blocks and IPv6 blocks (IPv6 via a tunnel).
 
==Supported Dongles==
 
==A Note on Bonding 3G SIMs==
Multiple USB Donglesdongles can used via a USB hub - however the benefits of bonding multiple 3G are small, as you'll typically be contending with yourself and so there will be little or no added bandwidth.
Using multiple dongles with SIMs from different providers may provide extra resilience in the case of one having a problem.
 
=Basic 3G Config=
 
=Basic 3G Config=
If you have an AAISP data SIM, the FireBrick can be configured to use this as a backup connection, by using a 3G dongle plugged into the USB port. Any routed legacy IPv4 blocks will continue to work across this link, but so far IPv6 isn't supported (without using a tunnel).
ProvidedThe youexample usebelow your AAISP username and password, then that'sis all you need to get the dongle configured. If your main broadband connection goes down, the FireBrick will automatically switch to use the 3G connection, then back again once your main connection is back.
 
<syntaxhighlight>
<usb>
<dongle username="me@a.32" password="secret"/>
</usb>
</syntaxhighlight>
 
Provided you use your AAISP username and password, then that's all you need to get the dongle configured. If your main broadband connection goes down, the FireBrick will automatically switch to use the 3G connection, then back again once your main connection is back.
 
 
=Config with Tunneled IPv6 Fallback=
If using AAISP, then the options for IPv6 routing on the [[:Category:Control Pages|Control Pages]] allow an IPv6 block to be routed to a tunnel endpoint if the main routing (i.e. ADSL/FTTC) goes down. This means IPv6 can be routed to the 3G dongle if the main broadband(s) go down. The MTU will be limited though. For more configuration options see [[FireBrick 2700 Configuration]].
 
For more configuration options see [[FireBrick 2700 Configuration]].
==Example Config==
LAN Interface for IPv6 tunnel over 3G dongle (with MTU 1500):
<syntaxhighlight>
<interface name="LAN" port="LAN" ra-client="false">
<subnet ip="2001:8b0::1/64 10.0.0.1/24 2001:8b0::1/64" ra="true" ra-mtu="1480" ra-dns="2001:8b0::2020 2001:8b0::2021"/>
</interface>
</syntaxhighlight>
<syntaxhighlight>
<interface name="LAN" port="LAN" ra-client="false">
<subnet ip="2001:8b0::1/64 10.0.0.1/24 2001:8b0::1/64" ra="true" ra-mtu="1472" ra-dns="2001:8b0::2020 2001:8b0::2021"/>
</interface>
</syntaxhighlight>
 
 
=3G profiles - turningTurning the dongle off outside of office hours=
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.
 
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.
 
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.
 
Disabling <usb> will physically turn off the USB port and therefore also the dongle. Cold starts take a lot longer!
 
<syntaxhighlight>
 
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 AAISP-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.
 
</pre>
 
You can tell when the swap over happened as the latency increases and then decreases again when the DSL came back online.
 
 
=Telnet Commands=
 
Will resetReset the USB controller and re-detect everything from scratch:
<pre>clear usb</pre>
 
Show dongle information:
To show info:
<pre>show dongle</pre>
 
[[Category:3GData RouterSIM Devices]]
You can turn on debug logging to get more info, there will be lots of info coming out:
<pre>set command log level debug</pre>
 
[[Category:FireBrick]]
[[Category:Mobile]]
[[Category:3G]]
[[Category:3G Router]]
252

edits