21 | | == Setting up the NEC IDU on ORBIT == |
| 21 | |
| 22 | == Base Station Server Installation == |
| 23 | |
| 24 | |
| 25 | === Prerequisites === |
| 26 | |
| 27 | * Expected OS: Ubuntu 9.04 |
| 28 | {{{ |
| 29 | lsb_release -a |
| 30 | No LSB modules are available. |
| 31 | Distributor ID: Ubuntu |
| 32 | Description: Ubuntu 9.04 |
| 33 | Release: 9.04 |
| 34 | Codename: jaunty |
| 35 | }}} |
| 36 | * It is expected that there be 3 wired Ethernet interfaces named: eth0, eth1, eth2. You may need to edit '''/etc/udev/rules.d/70-persistent-net.rules''' to make the names |
| 37 | reflect the correct physical ports. The '''/etc/network/interfaces''' file should look similar to this: |
| 38 | {{{ |
| 39 | # This file describes the network interfaces available on your system |
| 40 | # and how to activate them. For more information, see interfaces(5). |
| 41 | |
| 42 | # The loopback network interface |
| 43 | auto lo |
| 44 | iface lo inet loopback |
| 45 | |
| 46 | # This interface connect to the Base Station |
| 47 | |
| 48 | auto eth1 |
| 49 | iface eth1 inet static |
| 50 | address 192.168.1.50 |
| 51 | network 192.168.1.0 |
| 52 | netmask 255.255.255.0 |
| 53 | broadcast 192.168.1.255 |
| 54 | |
| 55 | #This is the gateway interface, it should get a routeable address from DHCP |
| 56 | |
| 57 | auto eth2 |
| 58 | iface eth2 inet dhcp |
| 59 | |
| 60 | #Reserved for future USE |
| 61 | |
| 62 | auto eth0 |
| 63 | iface eth0 inet static |
| 64 | address 10.41.0.3 |
| 65 | network 10.41.0.0 |
| 66 | netmask 255.255.0.0 |
| 67 | broadcast 10.41.255.255 |
| 68 | }}} |
| 69 | |
| 70 | === Install Required Packages === |
| 71 | |
| 72 | 1. Configure apt/sources to include mytestbed.net and orbit-lab.org. Edit the '''/etc/apt/sources.list''' and add the following lines: |
| 73 | {{{ |
| 74 | deb http://pkg.mytestbed.net/ubuntu karmic/ |
| 75 | deb http://packages.orbit-lab.org/ubuntu jaunty main |
| 76 | }}} |
| 77 | 1. Update information based on the changed sources.list. |
| 78 | {{{ |
| 79 | sudo apt-get update |
| 80 | }}} |
| 81 | 1. Now install the ASN-GW software |
| 82 | {{{ |
| 83 | sudo apt-get install asn-gw0.9.0 click1.6.0 omf-wimaxrf-aggmgr-5.2 |
| 84 | }}} |
| 85 | This will install 333MB or so worth of packages. You will need to confirm some of the packages from our repository. |
| 86 | |
| 87 | |
| 88 | == Setting up the NEC BTS == |
128 | | == Base Station Server Installation == |
129 | | |
130 | | |
131 | | === Prerequisites === |
132 | | |
133 | | * Expected OS: Ubuntu 9.04 |
134 | | {{{ |
135 | | lsb_release -a |
136 | | No LSB modules are available. |
137 | | Distributor ID: Ubuntu |
138 | | Description: Ubuntu 9.04 |
139 | | Release: 9.04 |
140 | | Codename: jaunty |
141 | | }}} |
142 | | * It is expected that there be 3 wired Ethernet interfaces named: eth0, eth1, eth2. You may need to edit '''/etc/udev/rules.d/70-persistent-net.rules''' to make the names |
143 | | reflect the correct physical ports. The '''/etc/network/interfaces''' file should look similar to this: |
144 | | {{{ |
145 | | # This file describes the network interfaces available on your system |
146 | | # and how to activate them. For more information, see interfaces(5). |
147 | | |
148 | | # The loopback network interface |
149 | | auto lo |
150 | | iface lo inet loopback |
151 | | |
152 | | # This interface connect to the Base Station |
153 | | |
154 | | auto eth1 |
155 | | iface eth1 inet static |
156 | | address 192.168.1.50 |
157 | | network 192.168.1.0 |
158 | | netmask 255.255.255.0 |
159 | | broadcast 192.168.1.255 |
160 | | |
161 | | #This is the gateway interface, it should get a routeable address from DHCP |
162 | | |
163 | | auto eth2 |
164 | | iface eth2 inet dhcp |
165 | | |
166 | | #Reserved for future USE |
167 | | |
168 | | auto eth0 |
169 | | iface eth0 inet static |
170 | | address 10.41.0.3 |
171 | | network 10.41.0.0 |
172 | | netmask 255.255.0.0 |
173 | | broadcast 10.41.255.255 |
174 | | }}} |
175 | | |
176 | | === Install Required Packages === |
177 | | |
178 | | 1. Configure apt/sources to include mytestbed.net and orbit-lab.org. Edit the '''/etc/apt/sources.list''' and add the following lines: |
179 | | {{{ |
180 | | deb http://pkg.mytestbed.net/ubuntu karmic/ |
181 | | deb http://packages.orbit-lab.org/ubuntu jaunty main |
182 | | }}} |
183 | | 1. Update information based on the changed sources.list. |
184 | | {{{ |
185 | | sudo apt-get update |
186 | | }}} |
187 | | 1. Now install the ASN-GW software |
188 | | {{{ |
189 | | sudo apt-get install asn-gw0.9.0 click1.6.0 omf-wimaxrf-aggmgr-5.2 |
190 | | }}} |
191 | | This will install 333MB or so worth of packages. You will need to confirm some of the packages from our repository. |
| 194 | |
| 195 | |
| 196 | |
| 197 | == Manual Configuration Of SAMrb == |
| 198 | |
| 199 | Note these instructions need to be followed if you are using just the SAMrb instead of the full omf-wimaxrf-aggmgr-5.2 webservice. |
| 200 | |
| 201 | Once you untar and enter in the SAMrb directory you can edit the file SimpleAuthManager.rb. |
| 202 | |
| 203 | In this file please change the following to reflect your network settings: |
| 204 | 1. The $ips hash table should be updated to include your client mac to IP mapping. |
| 205 | 2. The $def_gw = "10.41.0.1" and $net_mask = "255.255.0.0" settings should be used to reflect the CSN side settings. |
229 | | Making changes in this file should propagate changes to the ASN software and the BS (IDU) software. |
230 | | |
231 | | == [Optional] Manual Configuration Of SAMrb == |
232 | | |
233 | | Note these instructions need to be followed if you are using just the SAMrb instead of the full omf-wimaxrf-aggmgr-5.2 webservice. |
234 | | |
235 | | Once you untar and enter in the SAMrb directory you can edit the file SimpleAuthManager.rb. |
236 | | |
237 | | In this file please change the following to reflect your network settings: |
238 | | 1. The $ips hash table should be updated to include your client mac to IP mapping. |
239 | | 2. The $def_gw = "10.41.0.1" and $net_mask = "255.255.0.0" settings should be used to reflect the CSN side settings. |
| 243 | Making changes in this file should propagate changes to the ASN software and the BTS (IDU) software. |
| 244 | |