DuetWifi for MAC OS



  • Hi,

    I am trying to configure the DuetWifi using my Mac computer, I wanted to know if you have any suggestion for the Terminal program I can use similar to YAT.

    Thanks,
    Vignesh



  • I use Pronterface from the Prusa releases. Download the Mac Zip file from this page: https://www.prusa3d.com/drivers/



  • No pronterface is not suitable for setting up and to be honest not sure what you could use in the place of eat on a mac



  • OK, I'm confused. Maybe I'm missing something. I was able to get my DuetWifi configured and printing with just Pronterface and a web browser. Are you talking about something different, such as compiling and building the binary?

    Looking at the https://sourceforge.net/projects/y-a-terminal/ web page, I would think all you'd need from a Mac is to use the standard Terminal from a serial port, using the screen command as shown on this site: https://pbxbook.com/other/mac-tty.html if you need something different than Pronterface.

    John



  • David had suggested that we use a Terminal emulator to configure the WiFi module in the Duet board. He suggested we use YAT which is only for windows users. Since I use a Mac computer I was wondering if there is any software similar to YAT that I could use to configure the WiFi module.



  • the problem with pronterface (and rep host AFAICT)m is that they convert everything to upprcase which is ok if you Networkk params are all uppercase if you can however generate a file with the right credentials in it and place that it the macros directory then it should work but you can't use Pronterface to directly input the network details



  • @Dougal1957:

    the problem with pronterface (and rep host AFAICT)m is that they convert everything to upprcase which is ok if you Networkk params are all uppercase if you can however generate a file with the right credentials in it and place that it the macros directory then it should work but you can't use Pronterface to directly input the network details

    OK - Now I understand. In my case I had edited the configuration on my Mac with a text editor, saved it to the SD card, and moved the SD card to DuetWiFi on my initial configuration.

    Thanks for the clarification.



  • @Vignesh:

    Since I use a Mac computer I was wondering if there is any software similar to YAT that I could use to configure the WiFi module.

    Now I understand.

    You could follow the instructions I linked about to use the -screen- command from the built-in Terminal. You might find it easier to download the free CoolTerm and use that. I just confirmed that I can connect to my DuetWifi with it. It is available from this page - be sure to select the Mac version.

    http://freeware.the-meiers.org

    On my Mac, the serial port to choose was: /dev/cu.usbmodem1411

    John



  • Thanks John! I will check it out and let you know.



  • You can use Pronterface, no problem. Even if you have lower case characters you just need to lead them with a single quote (apostrophe) and it will not convert them to uppercase…

    PassWORD would be: P'a's'sWORD



  • The commands went through for me without any reformating in S3D's machine control panel.


  • administrators

    Good to know, if your lower case password letters worked then s3d is passing upper and lower case through correctly.



  • @KeeganB:

    You can use Pronterface, no problem. Even if you have lower case characters you just need to lead them with a single quote (apostrophe) and it will not convert them to uppercase…

    PassWORD would be: P'a's'sWORD

    This really works? I would love that to be added to the wiki if so. But like others said I also did use pronterface and the macro instructions of the wiki to set the password. Was quite painless



  • @Neotko:

    @KeeganB:

    You can use Pronterface, no problem. Even if you have lower case characters you just need to lead them with a single quote (apostrophe) and it will not convert them to uppercase…

    PassWORD would be: P'a's'sWORD

    This really works? I would love that to be added to the wiki if so. But like others said I also did use pronterface and the macro instructions of the wiki to set the password. Was quite painless

    Yep, it does. It gives confusing output:

    M587 S"M'y N'e't'w'o'r'k" P"P'a's's"
    SENDING:M587 S"M'Y 'N'E'T'W'O'R'K" P"P'A'S'S"

    But if you send command M587 only, it reports back a properly cased wifi network name. I assume the password is cased properly as well, but I Can't confirm, because my wifi network is hidden because come on it's 2018.

    Need to install some Beta firmware I guess to be able to connect to a hidden network. Yikes.


  • administrators

    You can connect to a hidden network using the P parameter in the M552 command to specify the network SSID. See the gcode wiki page.



  • I also use OSX as the main OS for all my machines. As I also do some embedded stuff, I use FTDI USB/Serial interfaces and recently picked up Serial (terminal emulator) for OSX. It's actually a very nice terminal program and flexible. Their website is:

    https://www.decisivetactics.com/products/serial/

    The only thing I have noticed is that when interfacing to the Duet board (via Serial), the data coming from the board is oddly formatted and exhibits endless wrapping in the terminal window (line length too long?). Also, it doesn't echo back any characters sent, which is not a problem, just be aware.


  • administrators

    Most terminal emulators have an option for local echo.

    If the output keeps wrapping instead of starting new lines, you probably need to change the end-of-line delimiter configuration in the terminal emulator.



  • Yes, I enabled the checkbox for local echo, no issue. I also went and looked at other options. Appears that the Duet interface sends a linefeed character only, so Serial has an option to interpret a linefeed as a linefeed + carriage return. That option resolves the formatting problem, thanks.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.