| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| docs:guide-user:network:wan:wwan:ltedongle [2024/11/10 16:17] – [Manual validation] andrewz | docs:guide-user:network:wan:wwan:ltedongle [2024/11/27 18:05] – [LTE or 5G Modem Preparation] andrewz |
|---|
| |
| Replace ''IP'' with ''IPV4V6'' or ''IPV6'' if necessary and use your APN instead of ''internet''. | Replace ''IP'' with ''IPV4V6'' or ''IPV6'' if necessary and use your APN instead of ''internet''. |
| | |
| | For an alternative method, see [[:docs:guide-user:network:wan:wwan:ltedongle]] section below. |
| |
| \\ | \\ |
| A //terminal// program like ''picocom'' will be needed to actually send AT commands. | A //terminal// program like ''picocom'' will be needed to actually send AT commands. |
| |
| 3. Install [[:packages:pkgdata:usb-modeswitch]] package only __if__ that is needed for switching the modem into a "working" state. More about: [[docs:guide-user:network:wan:wwan:usb-modeswitching|USB mode switch]] | 3. Install [[:packages:pkgdata:usb-modeswitch]] package __only if__ that is needed for switching the modem into a "working" state. More about: [[docs:guide-user:network:wan:wwan:usb-modeswitching|USB mode switch]] |
| |
| 4. Add support for the //storage// of your modem - refer to: [[docs:guide-user:storage:usb-drives|USB Storage]] | 4. Add support for the //storage// of your modem - refer to: [[docs:guide-user:storage:usb-drives|USB Storage]] |
| |
| Enter your ''APN'' and select the ''IP type'' as instructed by the carrier, __don't set ''IP type'' to ''IPV4V6'' until you're 100% sure that provider supports IPv6__, that is critical in QMI mode. | Enter your ''APN'' and select the ''IP type'' as instructed by the carrier, __don't set ''IP type'' to ''IPV4V6'' until you're 100% sure that provider supports IPv6__, that is critical in QMI mode. |
| | |
| | Note: in IPv6-only mode it is recommended to enable ''dhcpv6'' option on in order to automatically start the 464XLAT interface (that requires [[:packages:pkgdata:464xlat]] package). |
| |
| Assign the firewall zone (wan) on 'Firewall Settings' tab. | Assign the firewall zone (wan) on 'Firewall Settings' tab. |
| | **allow_partner** | boolean | no | 0 | Allow connection if the modem is registered to a partner network | | | **allow_partner** | boolean | no | 0 | Allow connection if the modem is registered to a partner network | |
| | **mtu** | number | no | (none) | Interface MTU size | | | **mtu** | number | no | (none) | Interface MTU size | |
| |
| Note: in IPv6-only mode it is recommended setting ''dhcpv6'' option on in order to automatically start the 464XLAT interface (that requires [[:packages:pkgdata:464xlat]] package). | |
| |
| Here is a brief help about ''umbim'' command line: | Here is a brief help about ''umbim'' command line: |
| <code> | <code> |
| root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-profile-settings 3gpp,1 | root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-profile-settings 3gpp,1 |
| | { |
| | "apn": "internet", |
| | "pdp-type": "ipv4v6", |
| | "username": "", |
| | "password": "", |
| | "auth": "none", |
| | "no-roaming": false, |
| | "apn-disabled": false |
| | } |
| </code> | </code> |
| |