Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 882
Shaik Ahmad Avatar asked Dec 07 '25 07:12

Shaik Ahmad


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. Here 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.

like image 55
Cutton Eye Avatar answered Dec 09 '25 20:12

Cutton Eye


Later I tried with

sudo minicom -s

It worked

like image 30
Shaik Ahmad Avatar answered Dec 09 '25 21:12

Shaik Ahmad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!