Originally posted by D Peart:
Joe,
I only know of two ways to work around that issue.
1. don't ever set a password. It isn't needed.
2. create a non root user then you can ssh into the router as that user.
The way I do it is.
1. flash router
2. telnet into router
3. set the password for root.
4. vi /etc/passwd and do the following
5. duplicate the root password entry
6. change the root user name in the newly created entry, to whatever you want to use. I used dave for obvious reasons
7. ssh into the router and use the newly created user name (dave in my case) with the password you set for root to verify you can ssh in.
You have to do this all within the original telnet session. After you log out, telnet will be disabled, and you will not be able to get back in.
I think this all happens because we bind the wireless interface to the WAN interface in the network setup and OpenWRT does not allow ssh into the WAN interface for security reasons.
dave
....
To see if the serial interface is working:
1. telnet onto the router, you may need to use ssh if you set the password, because telnet will be disabled. You cannot telnet in as root, because by default OpenWRT doesn't allow root access to the WAN. At least that is my theory why ssh doesn't work for root.
2. type 'cat /dev/ttyS1' without the quotes.
You should see something being displayed every few seconds.