After booting up the JP2 console port show a king of login screen, apparently generated by the /bin/setup program. Does anyone know what the correct username/password is? admin/1234 doesn't work. BTW what does the setup program actually do? A 'strings' on it didn't give me any hints...
The setup program is a very strange one and I don't believe it's working properly. I guess it's just a logon prompt which will get you a shell. I've looked into the setup binary and came up with a user: super and password: linux. This one does not work however. Some other info I found in the flash.inc file is: DEF_SUPER_NAME='super' DEF_SUPER_PASSWORD='APR@xuniL'
I basically got rid of the setup program by removing it from the etc/profile file. This way you will directly get a command prompt on the console port.
Yes, getting rid of 'setup' completely is the best solution obviously. I was just curious if there's a way to get into pristine routers as well. An older version of 'setup', included in the firmware for the minitar router used to have password 'lance@admtek.com.tw', but this doesn't work for the 6104k. I tried to reverse engineer the executable as an exercise, but haven't come up with a solution yet. Ah, well...
There is also another daemon running: diagd. It listens on port 31727 and the purpose is some kind of remote access to transfer data using tftp. It seems to accept requests from the LAN interface and also from the WAN interface. Port 31727 is accessable from both interfaces. I also got rid of this program since there are enough ways to get access to the router using the console port.