ASUS Router HowTo

Updating the package list and stty utilities

The purpose of this step is to get updated stty utilities onto the ASUS router so that the baud rate of the console port can be set.
opkg update
opkg install coreutils-stty

To start ser2net

To use console port, comment out the serial port in /etc/inittab & reboot. File with commented out serial port should be
::ttyS0::askfirst:/bin/ash --login

The following command sets the port to 115200
# stty -F /dev/ttyS0 115200

Now start ser2net
# cd /roomba
# ./ser2netconf.sh



Reference

# cat sercon.sh
ser2net -c /roomba/ser2netcon.conf


# cat ser2netcon.conf
5001:raw:0:/dev/ttyS0:115200


# cat /etc/inittab
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop
tts/0::askfirst:/bin/ash --login
::ttyS0::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login