balena-io-experimental / cellular-test

A sample app to debug and validate cellular modems on balena devices
Apache License 2.0
13 stars 0 forks source link

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

Open ThoEngel opened 5 years ago

ThoEngel commented 5 years ago

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?

ThoEngel commented 5 years ago

I found one error: The Huawei E303 stick was in mass storage mode! I changed it to modem mode: sudo usb_modeswitch -v 12d1 -p 1c0b -M '55534243123456780000000000000011062000000100000000000000000000'

A few seconds later the raspi goes offline in the balena dashboard. What happens? (does the raspi switch from wlan to cellular?) How can i configure the E303 stick (apn, pin, ...)?