Erasing TINI's IP Configuration

This file has been revised 2003 May 01


Disclaimer:
This tutorial is here as a service to our customers. These tutorials deal with complex issues and products which change frequently. There are almost certainly typographical or other errors here, as in any published text. These pages and the data therein are provided as a free service with no warranty that they are error-free or will be suitable for your needs. We will do our best to be accurate and correct but in no case is Systronix responsible for incidental or consequential damages which may result from any inadvertent errors, or your use of these tutorials. Please report suspected errors or typos to us via email.


TINI's IP configuration is saved in NVRAM and optionally also in flash.
Here's how to erase the existing flash-saved settings so that you can assign different ones.

Log into TINI on serial0 using JavaKit, start the command shell (the "E" command at a boot loader prompt) and enter "ipconfig" to see the current settings. For example you will see something like:

TINI /> ipconfig
Hostname : TINI.
Current IP : 166.70.144.45
Default Gateway : 166.70.144.33
Subnet Mask : 255.255.255.224
Ethernet Address : 00:60:35:00:08:be
Primary DNS : 198.60.22.2
Secondary DNS :
DNS Timeout : 0 (ms)
DHCP Server :
DHCP Enabled :
falseMailhost :
Restore From Flash: Enabled
Restored last boot: false
TINI />

In the above case, IP settings are saved to flash as well as the default save to NVRAM. So to erase them, they must be erased both from NVRAM and flash. Here's how to do that:

  1. Save any important files in TINI's NVRAM file system, since flushing the NVRAM heap also erases the NVRAM file system.
  2. Using JavaKit, connect to TINI on serial0 at a boot loader prompt (not in the slush command shell)
  3. Erase the IP settings in NVRAM by flushing the heap and file system with the commands:
    B18
    F0
  4. (Do not reboot TINI after this, or the settings in flash will be re-copied into NVRAM, un-doing the effect of your "B18 F0" commands). Note that erasing the heap also erases the NVRAM file system and any data files you may have had saved on TINI. The TINI firmware in flash is not affected by flushing the heap.
  5. Erase the IP settings stored in flash by reloading slush.tbin
  6. Now both the NVRAM and flash IP settings have been erased.
  7. Now reboot TINI and the IP settings will be erased

(If the IP configuration is *not* saved to flash then you don't need to reload slush, so skip that step and just flush the heap with "B18 F0". But since the IP settings are not saved to flash you can just overwrite them at a slush command prompt without first erasing them, and you really don't need to use any of this procedure.)

Now you can enter your new IP config settings at a slush command prompt, and optionally save them to flash with the "ipconfig -C" command. For help on ipconfig, type "help ipconfig" at a slush command prompt:

TINI /> help ipconfig
ipconfig [options]

Configure or display the network settings.
[-a xx.xx.xx.xx] Set IP address. Must be used with the -m option.
[-n domainname] Set domain name
[-m xx.xx.xx.xx] Set subnet mask. Must be used with -a option.
[-g xx.xx.xx.xx] Set gateway address
[-p xx.xx.xx.xx] Set primary DNS address
[-s xx.xx.xx.xx] Set secondary DNS address
[-t dnstimeout ] Set DNS timeout (set to 0 for backoff/retry)
[-d] Use DHCP to lease an IP address
[-r] Release currently held DHCP IP address
[-x] Show all Interface data
[-h xx.xx.xx.xx] Set mailhost
[-C] Commit current network configuration to flash
[-D] Disable restoration of configuration from flash
[-f] Don't prompt for confirmation

TINI />

 

End of Section