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

Add OpenWrt 22.03.xx support to the Omega2LTE #70

Closed
EpicLPer opened this issue Sep 26, 2023 · 10 comments
Closed

Add OpenWrt 22.03.xx support to the Omega2LTE #70

EpicLPer opened this issue Sep 26, 2023 · 10 comments
Assignees

Comments

@EpicLPer
Copy link

Context

openwrt-22.03

Motivation

It would be nice to have an up-to-date version of OpenWrt on the LTE model to use things like OpenVPN "out-of-the-box" without having to search for specific old versions, as example the OpenVPN SSL package would require some tinkering to get working.

Description

OpenWrt 22.03 would be a nice addition to have specifically for the LTE model.

Alternatives Considered

Flashing stock OpenWrt directly on the Omega2S+, however there is no image available for it yet.

Additional Resources

Reference to existing IPK package file?

@greenbreakfast
Copy link
Contributor

@jempatel please pick this up next
To start, please just port the omega2-lte package to openwrt 22.03 and confirm it can run.

We'll discuss making an Omega2 LTE-specific firmware image after we get the package working

@greenbreakfast
Copy link
Contributor

@EpicLPer ok, an package for the Omega2 LTE is now available for the OpenWRT 22.03-based firmware. I don't have an Omega2 LTE on hand to try it out - could you try it out? It is beta firmware, but it's stable for everyday use and you'll be able to go back to the v0.3.4 firmware anytime. Steps below:

Let us know how it goes!

@EpicLPer
Copy link
Author

Awesome! Will test this tomorrow and report back then :)

@EpicLPer
Copy link
Author

EpicLPer commented Oct 11, 2023

@EpicLPer ok, an package for the Omega2 LTE is now available for the OpenWRT 22.03-based firmware. I don't have an Omega2 LTE on hand to try it out - could you try it out? It is beta firmware, but it's stable for everyday use and you'll be able to go back to the v0.3.4 firmware anytime. Steps below:

Let us know how it goes!

Heya,

I don't see a specific firmware for the Omega2LTE, the very latest one I can find from yesterday is in this folder for either the Omega2 or Omega2P: http://repo.onioniot.com/omega2/images/openwrt-22.03/

Which one do I have to choose?

EDIT: Seems like I need to choose the Omega2P version, was confused cause before there was a separate firmware for each of them. Gonna try this one then :)

@EpicLPer
Copy link
Author

Gave this a try now, I did notice an error message when setting up my APN:

root@Omega-XXXX:/etc/opkg# o2lte apn a1.net
> Setting APN to a1.net
> Configuring network settings
[  774.495883] apcli0: deauthenticating from XX:XX:XX:XX:XX:XX by local choice (Reason: 3=DEAUTH_LEAVING)
> Configuring GPS settings
uci: Entry not found
uci: Entry not found
/usr/bin/o2lte: line 134: /etc/init.d/ugps: not found
> Done
root@Omega-XXXX:/etc/opkg# o2lte data enable
> Enabling LTE data connection
> Done

Notice the /usr/bin/o2lte: line 134: /etc/init.d/ugps: not found line. I guess this is a package for the GPS component of the Omega2LTE which isn't yet installed, so it shouldn't matter too much. Tho for a stable release definitely important :)

@greenbreakfast
Copy link
Contributor

@EpicLPer yep, for now Omega2 LTE support is in the form of a package and not a separate firmware. Sorry, should have highlighted that.
Yes, we have yet to port the ugps package. We may consider finding an alternative utility - less to maintain.

Were you able to confirm that you're connected to the cellular network and the wwan0 interface gets an IP address?

@EpicLPer
Copy link
Author

@greenbreakfast Yeah so far everything seemed to work fine, updated/downloaded the packages and all :) Even the ugps package installed and I was able to enable it, however I couldn't test it as I don't have a GPS antenna at hand I could plug in.

@greenbreakfast
Copy link
Contributor

@EpicLPer how did you end up installing the ugps package?

@EpicLPer
Copy link
Author

@EpicLPer how did you end up installing the ugps package?

I simply used "opkg install ugps" and it worked, then used the GPS enable command and it didn't complain about missing binaries anymore.

@greenbreakfast
Copy link
Contributor

@EpicLPer Great to hear! Added brief documentation about this here: https://documentation.onioniot.com/hardware-interfaces/omega2-lte

I'm going to go ahead and close this issue as the Omega2 LTE is now compatible with the OpenWRT 22.03.5 firmware.
If there's more development/features that would be helpful to you for the Omega2 LTE, let us know by creating new issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants