| ## Automatically Start Renode Script |
| To streamline firing-up renode, use the `-e` flag to execute onload: |
| renode "i @sim/config/shodan_hellovector.resc; start" |
| This will start the renode script (resc) automatically. |
| Make sure to follow with `"i @path/to/file.resc; start` where the path starts |
| after `$ROOTDIR` (don't include the `$ROOTDIR` in the path). |
| To utilize without the pop-up renode consoles, utilize two flags: |
| 1. `--disable-xwt` -- to prevent the windows from opening |
| 2. `--port 1234` -- or port of choice for prompt access |
| This can be combined with the `-e` flag: |
| renode --disable-xwt --port 1234 -e "i @sim/config/shodan_hellovector.resc; start" |
| In a separate terminal window (or tmux pane), start a telnet at that port for |
| Using this should create the following prompt: |
| Escape character is '^]'. |
| Renode, version 1.10.1.31213 (773406ba-202011051557) |
| (monitor) i @sim/config/shodan_hellovector.resc |
| ## Quitting Headless Renode Session |
| To quit the session, just type `quit` into the telnet prompt: |
| Connection closed by foreign host. |
| This will quickly exit both telnet and the renode process on this port. |