Sie sind auf Seite 1von 15

Steps in configuring a new shelf :

1. Setting IP address on the boot Code

- Prepare a LAT cable


- Run hyperterminal ( 57600-8-N-1)
- Hit Enter

- login: root
- password: asmaxroot
- verify the build on the base station

o type: cat /asmax/release.txt ( will display code on current bank)


o type: cat /asmaxother/release.txt (will display code on other bank)

- type: hardreboot (will reboot the BS)


- keep the LAT and hit any key once you notice the booting sequence
o ASMAX> (prompt will appear)
o type in :ASMAX> printenv
- Please note that the default ip add is: 192.168.0.100

To set-up ip address:
o Type: ASMAX> setenv ipaddr xxx.xxx.xxx.xxx
o Type : ASMAX> setenv netmask xxx.xxx.xxx.xxx
o Type:ASMAX> saveenv
o Type: ASMAX> reset (will reboot again)

2. Set IP address on the rcS file in the init.d folder of the BS

- login: root
- password: asmaxroot
- root@macromax: cd /etc/init.d (will move to init.d folder)
- type : nano rcS (will open a file called rcS)
- edit the rcS file, look for a line that reads /sbin ifconfig eth0 …..
- make the line to /sbin ifconfig eth0 xxx.xxx.xxx.xxx. netmask 255.yyy.yyy.yyy up
- hit enter
- add a new line with : route add default gw zzz.zzz.zzz.zzz
(xxx.xxx.xxx.xxx is the desired ip add and yyy.yyy is the desired netmask
zzz.zzz.zzz.zzz is the desired gateway)
- Do a: Control O (just like a save command)
- Hit enter so as to keep the same filename : rcS
- Do a: Control X (will exit)
Do another hardreboot (will reset the shelf) –at this stage, no more need for the
LAT cable since the IP address is already set to the BS.
3. Steps in setting up a MacroMax Base Station from Build 19 -26

Preparing shelves for SNMP community on Netspan :

 Start a putty session to the shelf:

- login: root
- password: asmaxroot
- Go to: asmaxdata directory..
- Type :cd /asmaxdata/
- Type : nano snmpd.conf

find the line that reads..com2sec readwrite…


under that line add the following….

“rocommunity public” (public can be changed at your own choice) hit enter
“rwcommunity private” (private can be changed at your own choice) hit enter
“trapsink (ip address of netspan server) public 9023” hit enter
“trap2sink (ip address of netspan server) public 9023” hit enter
“agent address 8005” hit enter
- And then, find the line that reads…view system, append a “#” symbol
before that line..

- Type Control O

- Hit Enter…(to have the same file name)


- Type Control X (will exit)
- Then do a reboot..

4. Putting a base station ID for the Shelf, creating a minimum config file..

Go to asmaxdata subdirectory and do a nano (anyfilename)


-What you will basically do is you will create a new file with a command line on it.

New file..this is what you will see..

Enter the following command…

“set em 2021[4]=8:00-00-00-AF-01-03” hit enter


“ set em 4004[4]=9:1” hit enter (for build 28 or earlier), if going to use later
build, use “set em 4004[4]=9:0”

the Hex digits after” 8: “ is your base station ID..this is arbitrary hex numbers..so
feel free to have anything that you want your base station id..for example..00-00-
00-AF-01-03…or AA-BB-CC-DD-EE-FF
Add also the following line…(new instruction as of 31-Oct-05 by Andy L)

set em 4017[4]=31:-2600 hit enter


set em 4017[4]=44:46000 hit enter , note: if you will be upgrading the
build to higher than B28, no need for this line, on netspan and on BS custom
config file, type on uplink burst size the value 32000

Control O and enter


Enter again
Control X

Run the file that you just created using tnet


Ensure that you will see a new file on the asmaxdata diretory..called initmib.xml
Do an ls on asmaxdata..you should see a new initmib.xml

Do a reboot..
To download a software:

1. Prepare a TFTP server..and load the files with extension . PAK to the TFTP
server directory.

2. Start the TFTP server. Ensure that the TFTP server will have an IP
connectivity to the shelf that you are working on.
3. Always download the application code first
4. It is suggested to copy the command on a notepad or wordpad and for ease
of pasting it when running tnet.

Command for downloading the application code.. for build 19 to 26 (important)

The hex digits after “5:” refers to ip address of the tftp server in hex.
Command for downloading the application code.. for build 27
onwards(important)

5. run another putty session to the shelf


6. go to tnet session…cd /asmax ./tnet
7. paste the command
8. You will be seeing this messages on your putty session..
9. Have a look on your TFTP server..and you will see if the files have been
downloaded..

10. If the files has been downloaded, go back to your putty session and hit
enter..
11. You will notice that the shelf will go into a reboot by itself.
12. Restart your putty session..
13.Check if you now have the application code..the command that you have
just entered automatically switch it also to the latest code.
14. Now that you are running the new application code build…copy again this
command on a notepad so that you can just paste it on your tnet
session..this is to download the kernel..
15. To go again to tnet session,type cd /asmax ./tnet

This command is valid when you are already running B27 or later..

Paste the above on the tnet..


And you should see messages like these..

Have a look on your TFTP server and see if the files have been successfully
downloaded.
Go back to your putty session..and look for a line that reads “8:Installed..” as
shown below..

It is suggested to wait for at least 2 minutes after seeing the line above and
Hit Enter..and type this command..
Stop the tnet..after only you have confirmed that files are successfully
downloaded.
Do this by Ctrl –Z

Do a hardreboot..afterwards..
Now ..reconnect with putty and verify the releases that you have on your
shelves…

Das könnte Ihnen auch gefallen