Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTE interface, APNs #464

Closed
OJFord opened this issue May 26, 2024 · 7 comments
Closed

LTE interface, APNs #464

OJFord opened this issue May 26, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request released

Comments

@OJFord
Copy link
Contributor

OJFord commented May 26, 2024

I'd like to be able to configure an LTE interface and APN(s).

Probably means new resources:

  • routeros_interface_lte
  • routeros_interface_lte_apn

but I haven't really looked into the API yet.

I assume it doesn't exist due to a lack of hardware, I'm adding the issue partly just for the record; I'd be happy to have a look and see about implementing this myself soon hopefully.

@OJFord OJFord added the enhancement New feature or request label May 26, 2024
vaerh added a commit that referenced this issue Jun 4, 2024
@vaerh vaerh self-assigned this Jun 4, 2024
@vaerh
Copy link
Collaborator

vaerh commented Jul 30, 2024

@OJFord @suda
Hi!
Can you post the output of the commands from the router that has LTE on it?

curl -k -u <admin user> https://<mikrotik>/rest/interface/lte
curl -k -u <admin user> https://<mikrotik>/rest/interface/lte/apn

@OJFord
Copy link
Contributor Author

OJFord commented Jul 30, 2024

LTE interfaces:

[
  {
    ".id": "*4",
    "allow-roaming": "true",
    "apn-profiles": "default",
    "band": "",
    "comment": "wan",
    "default-name": "lte1",
    "disabled": "false",
    "inactive": "false",
    "mtu": "1500",
    "name": "lte1",
    "network-mode": "3g,lte",
    "running": "true",
    "sms-read": "false"
  }
]

(interesting, could've sworn 3G was off!)

APNs:

[
  {
    ".id": "*1",
    "add-default-route": "true",
    "apn": "internet",
    "authentication": "none",
    "comment": "wan",
    "default": "true",
    "default-route-distance": "2",
    "ip-type": "auto",
    "name": "default",
    "passthrough-interface": "ether2",
    "passthrough-mac": "00:00:00:00:00:00",
    "use-network-apn": "true",
    "use-peer-dns": "false"
  }
]

@vaerh
Copy link
Collaborator

vaerh commented Jul 30, 2024

Thanks, just what I need!
Can the LTE interface be removed or can it only be disabled?

@OJFord
Copy link
Contributor Author

OJFord commented Jul 30, 2024

Only disabled afaict, assuming you mean like loopback and etherN have only the 'D' button, no '-' to remove as some resources (such as if I added an interface) do.

@vaerh
Copy link
Collaborator

vaerh commented Jul 30, 2024

Yeah, that's great. I'll try to implement the standard handlers and you should test them after release. I don't have LTE at all.

@OJFord
Copy link
Contributor Author

OJFord commented Jul 30, 2024

Great, thanks, I certainly will 🙂

@vaerh vaerh closed this as completed in fcaf349 Jul 31, 2024
@vaerh
Copy link
Collaborator

vaerh commented Jul 31, 2024

🎉 This issue has been resolved in version 1.58.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vaerh vaerh added the released label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

No branches or pull requests

2 participants