| 313 | |
| 314 | |
| 315 | = 6. Case 1: Operation = |
| 316 | |
| 317 | == IDU (base station) Software Configuration == |
| 318 | |
| 319 | Cat the following code to a shell script and execute after sshing into the BTS at the default ip: 192.168.1.10. |
| 320 | If ssh does not work, try with a serial console. |
| 321 | |
| 322 | {{{ |
| 323 | /usr/sbin/wimax/cmd_app 3 authgw_id 0x41534E4757303030 |
| 324 | /usr/sbin/wimax/cmd_app 3 authgw_port 0x08B7 |
| 325 | /usr/sbin/wimax/cmd_app 3 asngw_id 0x41534E4757303030 |
| 326 | /usr/sbin/wimax/cmd_app 3 asngw_dp_port 0x08B7 |
| 327 | /usr/sbin/wimax/cmd_app 3 asngw_ep_port 0x08B7 |
| 328 | /usr/sbin/wimax/cmd_app 3 bs_rx_port 0x08B7 |
| 329 | /usr/sbin/wimax/cmd_app 3 bsid 0x000004000000 |
| 330 | /usr/sbin/wimax/cmd_app 3 frequency 2551500 |
| 331 | /usr/sbin/wimax/cmd_app 3 bs_tx_power 40 |
| 332 | /usr/sbin/wimax/cmd_app 3 bw_mode 0 |
| 333 | /usr/sbin/wimax/cmd_app 3 dlul_ratio 2 |
| 334 | /usr/sbin/wimax/cmd_app 3 ttg 296 |
| 335 | /usr/sbin/wimax/cmd_app 3 rtg 168 |
| 336 | /usr/sbin/wimax/cmd_app 3 framesync_mode 2 |
| 337 | /usr/sbin/wimax/cmd_app 3 antenna_gain 0 |
| 338 | /usr/sbin/wimax/cmd_app 3 authgw_ip 0xC0A80132 |
| 339 | /usr/sbin/wimax/cmd_app 3 asngw_dp_ip 0xC0A80132 |
| 340 | /usr/sbin/wimax/cmd_app 3 asngw_ep_ip 0xC0A80132 |
| 341 | }}} |
| 342 | |
| 343 | |
| 344 | == ASN-GW Controller Configuration Files == |
| 345 | |
| 346 | These are the files which are located in the /etc directory on the asn-gw machine. |
| 347 | |
| 348 | In this section we will describe the changes required to the default configuration files for accommodating custom settings and IPs. |
| 349 | |
| 350 | |
| 351 | |
| 352 | ==== asnctrl ==== |
| 353 | The points that need to be changed in the asnctrl.conf file are: |
| 354 | {{{ |
| 355 | R6_BSID[0] = 00:00:04:00:00:00 // BSID allocated as per GENI |
| 356 | R6_BSAddress[0] = [10.3.0.61]:2231 //IP address of the IDU |
| 357 | TunnelEndpoint = [10.3.0.71]:0 //IP of the ASN - GW |
| 358 | }}} |
| 359 | |
| 360 | ==== asnctrl_ASNGW000 ==== |
| 361 | {{{ |
| 362 | R4_BSID[0][0]=00:00:04:00:00:00 |
| 363 | }}} |
| 364 | |
| 365 | ==== asnctrl_common ==== |
| 366 | No changes are required in this file. |
| 367 | |
| 368 | ==== asnctrl_gre ==== |
| 369 | This is an output file which shows the mapping of the client MAC address to the uplink and downlink GRE tunnel. This file does not need any configuration. |
| 370 | |
| 371 | ==== asnctrl_service_class ==== |
| 372 | This file contains the mapping of the mac address to the service class. Sample entries are as shown below: |
| 373 | {{{ |
| 374 | 00:18:41:85:5e:a3 IP-Config-Mgmt |
| 375 | 00:12:cf:b2:ad:9a IP-Config-Mgmt |
| 376 | 00:12:cf:b2:a4:e8 IP-Config-Mgmt |
| 377 | 00:12:cf:b2:9c:73 IP-Config-Mgmt |
| 378 | 00:1b:8b:54:02:9a IP-Config-Mgmt |
| 379 | 00:1b:8b:54:02:84 IP-Config-Mgmt |
| 380 | 00:1d:e1:0a:5e:87 IP-Config-Mgmt |
| 381 | }}} |
| 382 | |
| 383 | ==== clasify-ctrl ==== |
| 384 | This file is located here: /usr/share/asngw/classify-ctrl.sh |
| 385 | IP addresses need to be updated here based on the settings used: |
| 386 | {{{ |
| 387 | : ${DEV_R3:="eth0"} |
| 388 | : ${DEV_R6R4:="eth1"} |
| 389 | : ${MSADDR:="10.42.0.0/16"} |
| 390 | : ${R3_NETWORK:="10.41.0.0/16"} |
| 391 | : ${R3_ADDR:="10.41.0.3"} |
| 392 | : ${R6R4_NETWORK:="192.168.1.0/24"} |
| 393 | : ${R6R4_ADDR:="192.168.1.50"} |
| 394 | }}} |
| 395 | |
| 396 | |
| 397 | ==== trapctrl ==== |
| 398 | No changes are required in this file. |
| 399 | |
| 400 | ==== epctrl ==== |
| 401 | {{{ |
| 402 | R3LocalDevice = eth0 |
| 403 | R4LocalDevice = eth1 |
| 404 | R6LocalDevice = eth1 |
| 405 | }}} |
| 406 | |
| 407 | == Click Modular Router Configuration == |
| 408 | |
| 409 | == Operating Scripts == |
| 410 | |
| 411 | |
| 412 | To control the WiMAX base station, run the stop and start scripts as follows: |
| 413 | |
| 414 | Start script: |
| 415 | {{{ |
| 416 | /etc/init.d/snmpd start |
| 417 | /etc/rc.d/init.d/trapctrl start |
| 418 | sleep 1 |
| 419 | /etc/rc.d/init.d/asnctrl start |
| 420 | sleep 1 |
| 421 | /etc/rc.d/init.d/epctrl start |
| 422 | #sleep 1 |
| 423 | }}} |
| 424 | |
| 425 | |
| 426 | Stop script: |
| 427 | {{{ |
| 428 | /etc/rc.d/init.d/epctrl stop |
| 429 | /etc/rc.d/init.d/asnctrl stop |
| 430 | /etc/rc.d/init.d/trapctrl stop |
| 431 | /etc/init.d/snmpd stop |
| 432 | pkill -9 asnctrl |
| 433 | pkill -9 epctrl |
| 434 | }}} |
| 435 | |
| 436 | |
| 437 | == Control Path == |
| 438 | |
| 439 | == Data Path == |
| 440 | |