GithubHelp home page GithubHelp logo

balena-io-experimental / cellular-test Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 0.0 1.33 MB

A sample app to debug and validate cellular modems on balena devices

License: Apache License 2.0

Shell 0.82% Python 99.18%
cellular modem modemmanager networkmanager balena

cellular-test's Introduction

Cellular Test App for balena

This is a simple test application to validate if a cellular modem is working correctly with a balena device.

With this app one should be able to validate the stability of the modem on balena without the application container causing adverse side affects.

The app includes the the mmcli binary to interact with the modems via dbus.

The src folder found in /usr/src/app in the container also include a python script to run a speedtest on the device to .

cellular-test's People

Contributors

chrisys avatar shaunmulligan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cellular-test's Issues

Can't deploy

Can't deploy the test container. The error is:

[main]     Step 3/12 : RUN apt-get update && apt-get install -yq     python &&     apt-get clean && rm -rf /var/lib/apt/lists/*
[main]      ---> Running in 602ddf39e3f9
[main]     Get:1 http://archive.raspbian.org jessie InRelease [15.0 kB]
[main]     Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
[main]     Ign http://deb.debian.org jessie InRelease
[main]     Get:3 http://deb.debian.org jessie-updates InRelease [7340 B]
[main]     Get:4 http://deb.debian.org jessie Release.gpg [2420 B]
[main]     Get:5 http://deb.debian.org jessie Release [148 kB]
[main]     Get:6 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
[main]     Get:7 http://security.debian.org jessie/updates InRelease [44.9 kB]
[main]     Get:8 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
[main]     Get:9 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
[main]     Get:10 http://archive.raspbian.org jessie/non-free armhf Packages [106 kB]
[main]     Get:11 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
[main]     Get:12 http://archive.raspbian.org jessie/firmware armhf Packages [1208 B]
[main]     Get:13 http://deb.debian.org jessie/main armhf Packages [8898 kB]
[main]     Get:14 http://security.debian.org jessie/updates/main armhf Packages [816 kB]
[main]     Fetched 23.6 MB in 12s (1853 kB/s)
[main]     W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
[main]     E: Some index files failed to download. They have been ignored, or old ones used instead.
[main]
[main]     Removing intermediate container 602ddf39e3f9

To deploy, just touch the FROM line:

FROM balenalib/%%RESIN_MACHINE_NAME%%-debian:jessie

ERROR: HTTP Error 403: Forbidden

Hi,

I'm using this python file in my app to retrieve the network speed from the device in the background services. But while I'm testing this script today, it is giving me the error saying forbidden.

I'm pasting the exact error message below for a better understanding.

Retrieving speedtest.net configuration...
Cannot retrieve speed test configuration
ERROR: HTTP Error 403: Forbidden

If any updates are there please commit and comment below.

Error start.sh script: invalid path or index string specified

After start i get the error:
My HW/SW: RaspberryPi3 (overWLAN) / Huawei E303 / balenaOS 2.32.0+rev1

14.06.19 10:38:30 (+0200) main error: invalid path or index string specified: '--command=ATI'
14.06.19 10:38:30 (+0200) main
14.06.19 10:38:30 (+0200) main error: invalid path or index string specified: '--command=AT+CSQ'
14.06.19 10:38:30 (+0200) main

What is going wrong?
I think my celluar modem (Huawei E303) is not available. How can i check if the cellular modem is available?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.