I'm in uncharted territory now folks. I need to edit the "redboot" script to change the default IP address. Can anyone give me a simple 1-2-3 or point me to a step-by-step procedure? I can access the redboot prompt and use "fconfig -l" to show the current configuration, but I can't figure out how to change it. It appears that redboot is too basic to include an editor, so it must be done from the command line. I'm afraid to try it without some guidance, because I'll probably only get one shot at it before I brick it.
I thought there was a way to edit once you get to the redboot prompt, and I can get there through the ethernet port. The redboot manual is not real clear on the procedure though. I have a generic serial cable that I can modify and use if necessary. Thanks for pointing me to the fabrication articles. That will help some.
Boot script timeout (1000ms resolution): 10
Use BOOTP for network configuration: false
Gateway IP address:
Local IP address: 192.168.1.1
Local IP address mask: 255.255.255.0
Default server IP address: <blank>
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Update RedBoot non-volatile configuration - continue (y/n)? y
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot>reset
Local IP address: 192.168.1.1 is the line you are interested in
Thanks ispyisail,
I'm comfortable with other linux editors like "nano" and "vi", but I have no experience with command line editing. To avoid misinterpreting your instructions, could you please elaborate by providing a step-by-step procedure, to change the default IP in a device. I don't understand the sequence of events that must take place such as: How to open the file for edit, make the necessary changes, and save the changes, without corrupting the redboot kernel. I see references to terminating with a blank line, etc. but I don't understand the significance of this. The way I understand it the fconfig command will open the file for edit, but I don't understand specifically how to edit the data and make a clean exit to reboot the device with the changes. Thanks for your patience and assistance.