Router - TG582N - 3G: Difference between revisions

From AAISP Support Site
(Add section on enabling 3G fallback)
Line 21: Line 21:


(feel free to copy here if you want)
(feel free to copy here if you want)

=== 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 resiliance 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 rtdelete intf=mobilebroadband
{Administrator}=>ppp rtadd intf=mobilebroadband dst=0.0.0.0 metric=20
{Administrator}=>ppp ifconfig intf=mobilebroadband dnsmetric=20

(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).


==Other pages regarding this router:==
==Other pages regarding this router:==
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1 showfirst=1>Category:Router TG582N</ncl>
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1 showfirst=1>Category:Router [[TG582N]]</ncl>





Revision as of 16:40, 26 March 2014

Got to Main TG582N Page

3G setup

(From a customer) I've only worked out some of this, but I found the following got a dongle working:

 {Administrator}=>mobile ifadd intf=umts
 {Administrator}=>mobile ifconfig intf=umts apn=CHANGEME
 {Administrator}=>ppp ifadd intf=mobilebroadband
 {Administrator}=>ppp ifconfig intf=mobilebroadband dest=umts
 {Administrator}=>nat ifconfig translation=enabled intf=mobilebroadband
 {Administrator}=>ppp rtadd intf=mobilebroadband dst=0.0.0.0
 {Administrator}=>exit

I then went to the web interface http://192.168.1.254/_pppom_cfg.lp?be=0&l0=2&l1=2&name=mobilebroadband - replace 192.168.1.254 with the IP address of your router, and entered the username, password, and APN. For my vodafone SIM, the username was web, the password was web, and the APN was pp.internet.

Some further notes and sources on my blog:

(feel free to copy here if you want)

Enabling 3G fallback

The most common usage of 3G with the 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 resiliance 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 rtdelete intf=mobilebroadband
 {Administrator}=>ppp rtadd intf=mobilebroadband dst=0.0.0.0 metric=20
 {Administrator}=>ppp ifconfig intf=mobilebroadband dnsmetric=20

(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).

Other pages regarding this router:

<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1 showfirst=1>Category:Router TG582N</ncl>