Results 1 to 2 of 2
Hi,
I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a ...
- 07-12-2010 #1
need help with serial port
Hi,
I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and password. The command should
1. first give username to the device
2. secondly, it should give password
3. finally it should give "shutdown -r now" command to the board.
This script can run on the host PC and need to log the botting and rebooting messages.
Is it possible to write script on host PC to do it. I am trying to send command as data over serial but its simply echoes on the board but does execute. Please help.
- 07-12-2010 #2
You haven't said what OS the 'host PC' is running, (although you hinted that the external board is running linux). If you are running Linux, then C-Kermit can be scripted to do all of what you are trying to do. Even if you don't use it for scripting this, it is still the best terminal emulator and serial interface communicator, so you should want to use it anywhere serial ports are involved.
--- rod.
--- rod.Stuff happens. Then stays happened.


Reply With Quote