Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding custom commands in startup of MC32 cards

Signalling Server, Media Cards

Adding custom commands in startup of MC32 cards

by  I2007  Posted    (Edited  )
If you want to add a route or command every time the MC32 card reboots you can do the following.

1. Log into the card and further into vxWorksShell (For those who have appropriate access)
2. Go to the root directory with this command. [color red]cd "/c:"[/color]
3. Create a new directory called etc. mkdir [color red]"etc" [/color]
4. Go into the newly created directory. cd [color red]"etc"[/color]
5. Type in the following command. [color red]copy 0,"startup"[/color]
6. Type in the commands you want executed on startup ie: [color red]routeAdd "192.168.10.0","192.168.254.11"[/color]
7. Press [color red]Ctrl+D[/color] to save the file and exit.
8. Type in [color red]copy "startup"[/color] to read the contents of the file and verify.
9. Reset the card and see the commands are executed on startup. They should appear immediately after the vxWorks banner.

Hope this tip is useful....

i2007
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top