|
Firmware recovery
If your Opengear console server is functioning well, you can update to the latest firmware using the Management Console or the command line as described in faq253.
However if your unit has bad firmware that precludes updating, but still has a working bootloader you can upload a new boot image locally over the network as described in steps 1-4 below. The raw uboot bootloader in each gateway supports loading a runtime image into RAM using the tftp protocol, so you'll need to download a tftp server into a PC on the local network. Also the raw uboot bootloader needs to be assigned an IP address so you need to download a DHCP server. We suggest you use the tftpd32.exe tool as it offers both these servers:
- Get the files you need onto your PC:
- Download tftpd32.exe from http://tftpd32.jounin.net/ and save it in a directory on your PC
- Ensure you have a known good Opengear firmware .flash file copied into the same directory as tftpd32.exe. The latest firmware .flash file can be downloaded from ftp://ftp.opengear.com.
- For IMG4004-5, IM4216-2, IMG4216-25 and IM4148-2 download im42xx.flash
- For CM4116 or CM4148 download cm41xx.flash
- For CM4008 download cm4008.flash
- For CM4001 download cm4002.flash
- For SD4002 download sd4002.flash
- For SD4008 download sd4008.flash
- Setup your PC for the recovery process:
- Disable all network connections except for one wired Ethernet connection you'll be using to connect to the console server you are recovering
- Set up the connection with the static IP address 192.168.0.100 subnet mask 255.255.255.0, gateway and DNS don't matter
- Connect the unit's first Ethernet port directly to your Ethernet port with an Ethernet cable
- Ensure all firewall and antivirus software is configured to allow TFTP and DHCP services to run on this interface. If unsure, disable all firewall and antivirus software
- Ensure the Windows DHCP service isn't running i.e. Click Start -> Programs -> Administrative Tools -> Services and if the DHCP Server (not DHCP Client) is running, right click and stop it
- Setup tftp32.exe:
- Launch tftpd32.exe and select 192.168.0.100 next to Server interfaces.
- Ensure the Current Directory is the directory that contains the known good .flash file
- Click the DHCP server tab. Enter 192.168.0.200 as the IP pool starting address. Enter 10 as the Size of pool. Enter the filename of the .flash file as the Boot File. Enter 255.255.255.0 as the Mask. Click Save
- Recover the unit:
- Power the Opengear unit on with the Erase button pressed in. Hold it in for a few seconds before releasing.
- The Opengear unit will load the known good .flash file into RAM and run it. This may take up to a minute or two.
- Check down the bottom under the tftp32.exe DHCP server tab for the allocated address. It will be between 192.168.0.200-209.

- Browse to this address to access the Opengear Management Console and perform a regular firmware upgrade:
- go to the System: Firmware menu and specify the address and name for the saved .flash file (or Browse the local subnet and locate the .flash file
- specify -i under Firmware Options
- Click Apply and the console server will undertake a soft reboot and commence upgrading the firmware.
- If you can't browse to the address to start the Management Console, the unit may be uncontactable due to bad configuration. If you suspect this is the case, perform a factory erase by pressing the unit's Erase button twice within two seconds, then return to the start of this step.
|