In my previous post on RedPitaya, I showed the web interface of RedPitaya. While the web interface is nice for ad-hoc experiments, the Red Pitaya command line interface (CLI) gives new ways to generate custom signals and measurements.

To use the Unix shell on RedPitaya, you can use ssh.

Finding Red Pitaya

Before you can execute commands from the command-line, you must know the RedPitaya IP address.

If you have setup RedPitaya with a dynamic IP address, you can use the following nmap command to lookup its IP address:

$ nmap -p 80 --open -sV

This port scan will take some seconds, but if everything works, you will see something along these lines:

Starting Nmap 6.46 ( ) at 2014-07-13 14:10 CEST
Strange error from connect (65):No route to host
Nmap scan report for speedport.ip (
Host is up (0.0024s latency).
80/tcp open  http    Router HAD23V WAP http config
Service Info: Device: WAP

Nmap scan report for HAD23V_02 (
Host is up (0.024s latency).
80/tcp open  http    nginx 1.5.3

Service detection performed. Please report any incorrect results at .
Nmap done: 256 IP addresses (3 hosts up) scanned in 8.67 seconds

Now, we can use the IP of

SSH command

Now, let call ssh as follows:

  $ ssh root@

Both, the username and password are “root”.

From here, you can run the commands:

$ generate


$ acquire

You can even write your own commands and cross-compile e.g. a square wave generator.