Which exact module and BSP version do you use?
opkg update opkg install nano
will install nano editor.