# voxl-modem-start.sh issue

Source: https://forum.modalai.com/topic/1599/voxl-modem-start-sh-issue
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Posted: 2022-12-06 16:41:46 UTC by Philemon Benner
Replies: 2 · Views: 937

## Philemon Benner · 2022-12-06 16:41:46 UTC

Hey, 
i'm currently trying to do something similiar to modallink_relink.py, but i need the return value of voxl-modem-start.sh and it should be blocking, so i wanted to directly run that instead of using: 
```
systemctl restart voxl-modem
```
But when i'm running voxl-modem-start.sh from voxl terminal i get the following error:
![Screenshot from 2022-12-06 17-31-22.png](https://forum.modalai.com/assets/uploads/files/1670344510424-screenshot-from-2022-12-06-17-31-22.png)  

the modem is configured and with the service file it works. I also tried playing around with the if conditions in voxl-modem-start.sh but without success.

System Image: 3.8.0
voxl-modem Version: 0.16.1

## Reply by tom (ModalAI staff) · 2022-12-06 16:49:45 UTC

@Philemon-Benner Hmm it’s reading from /etc/modalai/voxl-modem.conf

I wonder if something funky is going on with the config file formatting.

## Reply by Philemon Benner · 2022-12-07 09:40:02 UTC (in reply to tom)

@tom Now it's working again, but might be worth a look, it's important that it always works. Parsing seems fine:
```
apq8096 detected...
'v2'
len: 2

Initializing v2 modem...

Waiting for ttyUSB2...
ttyUSB2
```
