Apparently the command for that is
redistribute connected. Where do I input it? I tried it in the telnet interface, but it's not recognised.
Connect to ripd daemon
If still not working or doesn't recognize ripd try
Then go in configuration mode
Then go into rip configuration
and run command
Now press Ctrl+Z and save configuration