Yes you can use nano or any other editor you can install via opkg to change configuration files via command line. You can also use UCI (command line) or LUCI (Webinterface) to change configuration.
So you have the Internet and IPTV configure on two different LAN ports?
Generally VLAN tagging you configure on the Interfaces of your router. Depending on the hardware you use you have different capabilities.