Permission Denied /dev/tty.usbmodem1411 115200 in Terminal
-
I am getting my new Duet Wifi up and running. I am stuck at Step 3 of the getting started guide here :https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7?lang=en
When I run ls /dev/tty.* I get back /dev/tty.usbmodem1411 and use that in the next step but I get the response : /dev/tty.usbmodem1411: Permission denied
I have searched but can't find anything similar to this.
-
@bluemonkey I am not a mac user (hopefully one will jump on here soon).
screen /dev/tty.usbmodem1411 115200
This adafruit tutorial looks to be good:
https://learn.adafruit.com/welcome-to-circuitpython/advanced-serial-console-on-mac-and-linuxhowever it only mentions the requirement to have additional permissions on Linux, not on Mac. Maybe you can try sudo in front of screen? another option is that something else is trying to connect to that tty (cant think why). have you tried unconnecting and reconnecting it to the USB port?
-
@t3p3tony Thanks for that, it looks to be a computer problem rather than a Duet problem then ? I should've realised when I didn't see anything on the forum about it! Doh!
I'll try that and report back.
-
@bluemonkey possibly - I don't know enough to be sure yet. It might be an issue with the Mac talking to the Duet, which could be an issue at either end.
-
@t3p3tony I think it was a Mac problem, I tired a different machine and it has all worked, it may also be a TextEdit ( the built in Mac text editor ) as that seems to reformat the code when it is pasted into it, so now back to using BBEdit.
-
@bluemonkey cheers for confirming that.