Restoring a "Broken" M1122 Router

If you M1122 has forgotten all its programming and it is missing its boot file this is how to restore it. I have heard Nokia saying this is a pretty rare thing that happens, but I know personally a large number of people this has happened to (Usually due to a power cut or alike)

 

This is Windows focussed. For those of other persuasions,
use any terminal programme that supports Xmodem or Xmodem1K.
If you can't do that, then you'll need to build a small tftp
server. I'll look at that if there's enough demand.

You'll need:
A copy of the software file (file name like Gx1x2220.R08
A CLI adaptor (RJ45 to DB9) and an Ethernet cable
  Note: some Nokia modems came with an RJ45 to DB9 adaptor
        these will do the job in association with a
        crossover cable.
        Otherwise, you'll need to make one up or borrow it
        The pinouts have been posted in several places
A terminal emulator programme that also has support for Xmodem1K.
Examples are Hyperterminal or TeraTerm
It's nice to have a barebones startup.cfg file if that has
also gone for a burton.

Procedure:

1. Get that lot above.
2. Turn off your modem
3. Startup the terminal emulator. Set it to the right COM port
   and 9600, n, 8, 1, no handshaking
4. Connect the COM port to the modem using the CLI cable.
5. Turn on the modem
6. You should see a prompt similar to the below. Type m then o
   quickly....

MON>local MAC=00:40:43:02:c2:11; Using M111/850 eth conf

Type 'm' (fast) followed by 'o' (in 10 sec) to activate Monitor


Nokia Networks (C) 1999
Nokia Boot

B-R0.0.8 built on Apr 26 2000 17:34:46

MON>

7. Type dir. After a short interval you should see a list of files
MON>dir
TFFS v0.01: 30 phy.segments, 128 bl/segment, block size=512 seg sz=65536
?ūp˙˙˙˙CHECK-REPAIR start
CHECK-REPAIR complete
Name                Size   Fno
==============================
image.exe         800768    10
startup.bak          693    54
startup.cfg          693    73
.pwd.cfg             141     6
.pwd.bak             141     7
dhcp.leases          163   136
.default.cfg         462     2
==============================
used = 816578 b (1598 bl)
garb = 395003 b ( 773 bl)
clean= 685251 b (1341 bl)
MON>

Note: This printout is for a Telecom supplied modem.

8. If image.exe is missing, you'll need only the Gx1x2220.R08
   (or similar from above)
  
9. Let's get image.exe back.

10. Issue the commands as follows to the modem.
     speed 115200 (change the terminal emulator's speed to suit)
     xget
    Now get your terminal programme to transfer the Gx1x2220.R08
    file to the Nokia using Xmodem or Xmodem1K. On completion of this,
    issue the command
     wri image.exe
    After a short interval you'll have the image.exe file back.

11. Now some checks.
    Is the startup file there? If startup.bak is there but startup.cfg
    isn't,
     rename startup.bak startup.cfg
     restart

   If none of the startup files are there, I recommend that you start
   with a barebones one as below. This is for a non-Telecom owned M1122.
   Note that you'll need to edit the file to contain your username and
   password.

   Using the same mechanism as in step 10, transfer the startup.cfg file
   to the modem but this time wri startup.cfg is the command, followed
   by restart.

You should now have a usable modem that you'll need to setup.

*****/ start startup.cfg (don't include this line)
system
 hostname M1122
eth
 ip address 192.168.1.254 255.255.255.0
vcc1
 pvc 0 100 ppp-vc
 ppp authentication pap
 ppp username yourusername@yourisp
 ppp password yourpassword
 ip address 0.0.0.0 0.0.0.0
 ip napt
 ip admin-disabled
vcc2
vcc3
vcc4
vcc5
vcc6
vcc7
vcc8
vbridge
mngtvcc
common
 ip route 0.0.0.0 0.0.0.0 0.0.0.0 vcc1
 dhcp mode server

/end startup.cfg (don't include this line)