> For the complete documentation index, see [llms.txt](https://xm2labs.gitbook.io/slg20-retractable-landing-gear-altax-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xm2labs.gitbook.io/slg20-retractable-landing-gear-altax-manual/console-interface/accessing-the-conole-interface-on-mac.md).

# Accessing the Console Interface on Mac

Accessing the SLG-20 Console Interface on macOS

## Required Software

To access the console interface we will be using the built in Terminal Application, and a terminal program called "Screen". Both these programs are preinstalled with MacOS so there is nothing to download or setup.

## Instructions for Accessing the Console Interface

### 1. Setup

* Power up the SLG-20 via the XT30 input and connect the USB to the computer
* Set the switch on the SLG-20 Control Board must be set to “D” or “DBG”
* Open the Terminal Application

### 2. Finding the correct serial port

* Type the following command into the terminal:

```
ls /dev/tty.usb*
```

![Finding the correct serial port on MacOS](https://4224189012-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MdzCWJq9AFh3jiVztWm%2F-MdzPtLsk0G93bdjn_Mg%2F-MdzQw1c3XB-KNeFTLMT%2Fimage.png?alt=media\&token=17fc7f16-d291-409f-a9cb-bd4308361158)

* You will see a list of serial ports. If you are unsure which one corresponds to the SLG-20 Control Board, try unplugging the SLG-20 Control board and running the command again. This should allow you to workout which serial port is correct.

### 3. Connecting to the Console Interface using Screen

* Execute the following command, but replace the serial port name with the one you found above.

```
screen /dev/tty.usbserial-AN00NI5I 115200
```

* After executing this command, you should see a blank screen
* Hit enter again and you should see the SLG shell prompt (If you see nothing after hitting enter, check that the switch on the board is in the "D" position)
* Refer to page Using the Console Interface for further information

![The SLG-20 Console Interface on MacOS](https://4224189012-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MdzCWJq9AFh3jiVztWm%2F-MdzPtLsk0G93bdjn_Mg%2F-MdzRnBOtO7gSSuATnoK%2Fimage.png?alt=media\&token=80489dfc-be28-4dd3-b527-04e44dfdc94a)
