ClearView News.

Trusted, concise news and insight for informed readers.

health

No such file or directory |

By Sebastian Wright

I have tried to connect my Jetson Nano with TTL UART cable using minicom. When I typed

sudo minicom 

It showed an error

minicom throwing an error minicom: cannot open /dev/modem: No such file or directory 

2 Answers

sudo is always a way...

What minicom tells you with this message that it has tried to open a interface called /dev/modem. It is telling you, that it can't be opened due to insufficient permissions.

On my system /dev/modem does not even exist! Anyhow, minicom expects in it's settings the /dev/modem as default. That's why it's trying to connect to that.

So, the solution is minicom -s, where you actually enter the settings of minicom. Her you'll find the the settings to properly configure your board. If you run this with sudo, you are able to also save your settings, if you want to. You might want to change those settings to e.g. /dev/ttyUSB0 or something.

1

Later I tried with

sudo minicom -s 

It worked

1

ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobW1rZGuBc4COpqCnoZOkum7Ax6umsKGenHqiuoyeqaunomK6qrrInKamZZOWu6%2B702amqZ2eYrGmwoympp2dnWK7sHnSrpqhZZaeuaZ5zqtknaGimrA%3D