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!

Router - TG582N - 3G: Difference between revisions

clean up, typos fixed: umts → unts (3)
(We'd better allow users to check the routing and dns metrics for the ADSL link)
(clean up, typos fixed: umts → unts (3))
 
(12 intermediate revisions by 2 users not shown)
[[Image:T582-small.png|link=:Category:Router_TG582NRouter TG582N|Got to Main TG582N Page]]
 
=== Dongles ===
 
The router supports the use of some USB mobile dongles. The router contains a list of USB mobile dongles which are supported, and it is possible for the technically minded to [[Router - TG582N - Adding support for a 3G dongle|add extra dongles to the list]].
 
The list of supported dongles may be viewed with the command:
 
{Administrator}=>:mobile device list
 
If one plugs a USB mobile dongle in, waits a few minutes, and issues the above command, then the sign of a supported dongle is for text similar to this to appear after the list:
 
Detected device: ZTE_MF110
# interfaces : 3
AT interface : 1
Data interface: 2
 
rather than:
 
No device detected
 
=== 3G setup ===
=== Enabling 3G fallback ===
 
The most common usage of 3G with the [[TG582N|TG582n]] will probably be to use 3G as a fallback link in the event of the ADSL link going down. There are several ways of achieving this, depending on the degree of automation required and the network/tariff used for 3G. The following notes are intended to provide guidance, but are unlikely to result in resilianceresilience on a par with the Office::1 product.
 
To configure the 3G link to be permanently up, but traffic only routed when the ADSL link is down, follow the instructions above but then do:
{Administrator}=>ppp rtadd intf=mobilebroadband dst=0.0.0.0 metric=20
{Administrator}=>ppp ifconfig intf=mobilebroadband dnsmetric=20
 
and, to bring the 3G link up when the router is power-cycled:
 
{Administrator}=>:ppp ifattach intf=mobilebroadband
 
This assumes that the routing metric and dns metric for the ADSL link are both set to 10. Larger numbers represent a higher "cost", so interfaces with lower costs will be preferred. These can be checked with:
{Administrator}=>:ip rtlist proto=ipv4
 
Assuming the 3G link has higher routing and dns metrics than the ADSL link, no traffic should flow over the 3G link while the ADSL link is up. It's probably worth keeping an eye on this periodically with
{Administrator}=>:ip iflist
because a 3G fallback link where one has accidently run out of PAYG credit or exceeded a monthly usage limit will be of no use at all.
 
When 3G fallback is in place machines on the LAN may need to have their resolvers configured differently (probably to specify the router's address as the DNS server), as some 3G networks don't allow access to "foreign" DNS servers.
 
 
==== "Dial" on Demand ====
One may not want the 3G link to be permanently up, in which case it is possible to configure the 3G link to be "dial" on demand - i.e. the link will be brought up and torn down as needed when the ADSL link fails and is restored.
 
This may cause problems for users if the 3G network issues a different IP address each time the link is brought up (note that a A&A Mobile Data SIM provides a fixed IPv4 address).
 
The configuration involves setting the interface to be "dial" on demand; setting a time delay before the link is brought up when needed; setting a time that the link can be idle for before the link is torn down; and deciding how the link is considered idle. The commands needed (one will need to do a '':ppp detach'' before entering these and a '':ppp attach'' afterwards) are:
 
{Administrator}=>ppp ifconfig intf=mobilebroadband demanddial=enabled
where doddelay (in seconds) sets the time delay before packets will bring up the link, idletime (in seconds) sets the time that link can be idle for before being torn down, and idletrigger defines whether link idleness is determined by Rx, Tx, or RxTx packets.
 
==Other pages regarding this router:==
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1 showfirst=1>Category:Router [[TG582N]]</ncl>
 
 
[[Category:Router TG582N|3G]]
[[Category:Router]]
editor
698

edits