close
Warning:
Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Feb 14, 2011, 4:27:15 PM (13 years ago)
- Author:
-
agosain
- Comment:
-
—
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
7 | 7 | These are the key parameters, that are gathered and then held in the wimaxrf.yaml configuration file. Please modify the ip address of the asngw and bs sections. |
8 | 8 | |
| 9 | |
| 10 | {{{ |
9 | 11 | # NOTE: use only 'spaces' to indent ! |
10 | 12 | # ('tab' indents are not supported by the ruby yaml parser used to read this file) |
… |
… |
|
32 | 34 | mask: 255.255.255.0 |
33 | 35 | bsid: 44:51:db:00:00:01 |
34 | | frequency: 2590000 |
| 36 | frequency: 2590000 |
| 37 | }}} |
| 38 | |
35 | 39 | |
36 | 40 | 5.3.3 Install Required Packages ¶ |
… |
… |
|
38 | 42 | 1. Configure apt/sources to include mytestbed.net and orbit-lab.org. Edit the /etc/apt/sources.list and add the following lines: |
39 | 43 | |
| 44 | {{{ |
| 45 | |
40 | 46 | deb http://pkg.mytestbed.net/ubuntu karmic/ |
41 | 47 | deb http://packages.orbit-lab.org/ubuntu jaunty main |
| 48 | }}} |
| 49 | |
42 | 50 | |
43 | 51 | 2. Update information based on the changed sources.list. |
44 | 52 | |
45 | | sudo apt-get update |
| 53 | |
| 54 | {{{ |
| 55 | sudo apt-get update |
| 56 | }}} |
| 57 | |
46 | 58 | |
47 | 59 | 3. Now install the ASN-GW software |
48 | 60 | |
49 | | sudo apt-get install asn-gw0.9.0 click1.6.0 omf-wimaxrf-aggmgr-5.2 |
| 61 | |
| 62 | {{{ |
| 63 | sudo apt-get install asn-gw0.9.0 click1.6.0 omf-wimaxrf-aggmgr-5.2 |
| 64 | }}} |
50 | 65 | |
51 | | 5.6 Configuration of ASN-GW Controller ¶ |
| 66 | |
| 67 | 5.6 Configuration of ASN-GW Controller |
52 | 68 | |
53 | 69 | Configuration of software both for the ASN-GW and the WiMAX BTS is done through a single yaml configuration file on the ASN. |
… |
… |
|
57 | 73 | Execute the init-wimax.rb file. The file imports all MIBs into local libraries. This needs to be done only once during initialization. |
58 | 74 | |
| 75 | |
| 76 | {{{ |
59 | 77 | ruby /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs_wimaxrf/init-wimax.rb |
| 78 | |
| 79 | }}} |
60 | 80 | |
61 | 81 | 5.8.4 WimaxRF Grid Service operation ¶ |
… |
… |
|
63 | 83 | 1. Start the omf aggregate manager. This is required for the grid service to be in operation. |
64 | 84 | |
| 85 | |
| 86 | {{{ |
65 | 87 | /etc/init.d/omf-aggmgr-5.2 restart |
| 88 | }}} |
| 89 | |
66 | 90 | |
67 | 91 | 2. Check the service starts by looking at the process table as well as tailing the logs |
68 | 92 | |
| 93 | |
| 94 | {{{ |
69 | 95 | /var/log/omf-aggmgr-5.2.log |
| 96 | /var/log/wimax/measurement.dat |
| 97 | }}} |
70 | 98 | |
| 99 | |
| 100 | |
| 101 | {{{ |
71 | 102 | root 31394 1 0 Jan24 ? 00:08:53 ruby1.8 -I/usr/share/omf-aggmgr-5.2 -I/usr/share/omf-common-5.2 /usr/share/omf-aggmgr-5.2/omf-aggmgr/ogs.rb --port 5052 |
| 103 | |
| 104 | }}} |
72 | 105 | |
73 | 106 | 3. Start a web browser on the asn_gw. Make sure the WimaxRf? grid service is working. |
… |
… |
|
77 | 110 | 4. The web page has all the commands the service supports |
78 | 111 | |
| 112 | |
| 113 | {{{ |
79 | 114 | <service name="get"> |
80 | 115 | <info>Get Basestation Static Parameter</info> |
… |
… |
|
109 | 144 | <service name="uploadr"/> |
110 | 145 | |
| 146 | }}} |
| 147 | |
111 | 148 | 5. Saving and Restoring BTS config |
112 | 149 | |
113 | 150 | Before starting any experiments, save the xml page output for the following web page |
114 | 151 | |
| 152 | |
| 153 | {{{ |
115 | 154 | localhost:5052/wimaxrf/get?all |
| 155 | }}} |
| 156 | |
116 | 157 | |
117 | 158 | To restore the BTS in any event,visit the page |
118 | 159 | |
| 160 | |
| 161 | {{{ |
119 | 162 | localhost:5052/wimaxrf/restore |
| 163 | }}} |
| 164 | |
120 | 165 | |
121 | 166 | Upload the golden xml file you saved earlier and then visit |
122 | 167 | |
| 168 | |
| 169 | {{{ |
123 | 170 | localhost:5052/wimaxrf/restart |
| 171 | }}} |
| 172 | |
124 | 173 | |
125 | 174 | Ping the BTS machine and make sure the changes are reflected by pulling up the BTS config. |