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 2700 with 4G ZTE MF823: Difference between revisions

Content deleted Content added
AA-Andrew (talk | contribs)
Aa-jamie (talk | contribs)
force manual apn, add dial string to make the dongle work
Line 4: Line 4:
The ZTE MF823 is 4G dongle that (as of 2017) is widely available at a good price (Below £50).
The ZTE MF823 is 4G dongle that (as of 2017) is widely available at a good price (Below £50).


=Default settings and configs just work=
=Default settings and configs just work if NAT is acceptable=


Out of the box, it will work as an 'ethernet' device, and so the FireBrick or a computer will see it as a USB ethernet adapter. The Dongle runs a DHCP server and will dish out IP addresses to you in the 192.168.0.x range. Then, once its connected to the Internet on the 4G side, it will give you natted internet access.
Out of the box, it will work as an 'ethernet' device, and so the FireBrick or a computer will see it as a USB ethernet adapter. The Dongle runs a DHCP server and will dish out IP addresses to you in the 192.168.0.x range. Then, once its connected to the Internet on the 4G side, it will give you natted internet access.
Line 19: Line 19:


==Changing the ZTE MF823 to 'modem' mode==
==Changing the ZTE MF823 to 'modem' mode==
Warning: This is still in progress and does not work
Warning: This is still in progress and has not been fully tested, and as such may not work.


The ZTE823 works as an Ethernet device by default, it is possible to change the mode so that it works as a modem. The idea here is that rather than the dongle NATing the connection it can be a modem and the FireBrick will be given the public WAN IP address directly.
The ZTE823 works as an Ethernet device by default, it is possible to change the mode so that it works as a modem. The idea here is that rather than the dongle NATing the connection it can be a modem and the FireBrick will be given the public WAN IP address directly.

One caveat of modem mode, is that it does not seem to reliably respond to AT commands, as it appears the dongle is generating its own AT commands internally, presumably part of it's web interface thing. It does appear to respond to the AT+CGDATA command to start a data session, with almost no other interaction required on the behalf of the Firebrick.


==Switching to Modem Mode==
==Switching to Modem Mode==
Line 28: Line 30:
Some of this information came from: [https://wiki.archlinux.org/index.php/ZTE_MF_823_%28Megafon_M100-3%29_4G_Modem archlinux.org]
Some of this information came from: [https://wiki.archlinux.org/index.php/ZTE_MF_823_%28Megafon_M100-3%29_4G_Modem archlinux.org]


#Disable auto-connect:
#Disable auto-connect, and manually set the APN:
#*Go to http://192.168.0.1
#*Go to http://192.168.0.1
#*Click on Home
#*Click on Home
Line 35: Line 37:
#*Click Network settings
#*Click Network settings
#*Click Dial-up settings
#*Click Dial-up settings
#*Click the radio button labeled 'Manual'
#*Click the radio button labeled 'Manual' and click Apply
#*Click APN
#*Click the radio button labeled 'Manual' and click 'Add new'
#*Set PDP type to IPv4, create a Profile Name, enter the APN as 'm2m.aql.net', set Authentication to none, and select Apply.
#*Go to your newly created profile, and click 'Set as default'.
#Put the Dongle into download mode:
#Put the Dongle into download mode:
#*In your browser, go to: <syntaxhighlight inline>http://192.168.0.1/goform/goform_process?goformId=MODE_SWITCH&switchCmd=FACTORY</syntaxhighlight>
#*In your browser, go to: <syntaxhighlight inline>http://192.168.0.1/goform/goform_process?goformId=MODE_SWITCH&switchCmd=FACTORY</syntaxhighlight>
Line 54: Line 60:


==FireBrick config==
==FireBrick config==
<dongle name="ZTE" vendor="19d2" product="0016" modeswitch="noswitch">
<dongle name="ZTE" vendor="19d2" product="0016" modeswitch="noswitch" dial-string="AT+CGDATA=&quot;PPP&quot;,1"/>


and change the <port...> item for USB to use usb="ZTE" rather than the default (which is usually Example-3G)
and change the <port...> item for USB to use usb="ZTE" rather than the default (which is usually Example-3G)