Changes

Jump to: navigation, search

FireBrick 3G Dongle

327 bytes added, 17:59, 12 August 2014
m
Basic 3G Config
 
=Basic 3G Config=
If you have an AAAAISP 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 IPIPv4 blocks will continue to work across this link, but so far IPv6 isn't supported (without using a tunnel).
 
The basic config is:
<syntaxhighlight>
</syntaxhighlight>
 
Provided you use your AAAAISP 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.
 
If the dongle is not using aan AAISP SIM, (and therefore your IPv4 blocks won't be re-routed down the dongle, then include NAT="true" on the dongle line.
 
<syntaxhighlight>
== Config with Tunnelled IPv6 Fallback==
<usb>
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 (ie 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.
<dongle name="3G" username="me@a.3" password="secret" nat="false" graph="Backup" comment="AAISP data SIMtrue"/>
</usb>
</syntaxhighlight>
 
== Config with TunnelledTunneled IPv6 Fallback==
Here we have some profiles to manage the 3G, and also add logging.
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 (ie 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.
 
Here we have an example config, with default logging. Please make changes to suit your FireBrick setup. If your MTU is 1492 then use ra-mtu="1472" instead of ra-mtu="1480".
 
<syntaxhighlight>
<interface name="LAN" port="LAN" ra-client="false">
<usb log="true" profile="No_PPPoE">
<subnet ip="2001:8b0::1/64" ra="true" ra-other="dhcpv6" ra-mtu="1480" ra-dns="2001:8b0::2020 2001:8b0::2021"/>
<dongle name="3G" username="me@a.3" password="secret" nat="false" graph="Backup" comment="AAISP data SIM"/>
</usbinterface>
 
<interface name="WAN" port="WAN" ra-client="false"/>
<route name="6in4" profile="No_DSL" graph="6in4" ip="::/0" gateway="81.187.81.6" comment="IPv6 Default route when AAISP DSL is down" />
 
<profileppp name="DSLAAISP" pppport="AAISPWAN" commentusername="Monitoringme@a.1" thepassword="secret" PPPlcp-rate="1" link namedlcp-timeout="5" graph="AAISP" log="default"/>
 
<usb>
<dongle name="AAISP-BACKUP" apn="m2m.aql.net" username="me@a.3" password="secret" nat="false" graph="AAISP-BACKUP" log="default"/>
</usb>
 
<profileroute nameip="No_DSL::/0" timeoutgateway="PT5S81.187.81.6" recover="PT1S" not="DSL"/ comment="JustIPv6 thedefault notroute ofusing theIPv4 previous profiletunnel"/>
</syntaxhighlight>
 

Navigation menu