Professional Documents
Culture Documents
Wireless Communication Lab - Students PDF
Wireless Communication Lab - Students PDF
Connect and Configure processing machine, eNodeB and IP Address for operation
5. Disable the WiFi and Bluetooth as they cause delay in processing of LTE signals.
7. Connect the LAN port to a switch or router. The PC works in static IP mode with IP address of
192.168.1.36. The router should be configured to provide 192.168.1.36 IP address.
Use the settings in top-right corner.
8. To find out the IP address of machine, first open a terminal. To open terminal use search
function in dash or press ctrl + alt + T key. Note, you need to press the keys simultaneously.
Or click on the Black Terminal Icon on the left bar.
9. In the terminal prompt, type following command: ifconfig
The ethernet details will start with something similar to „eno3‟ or „ens33‟. The ethernet details will
start with „e‟ and wifi details will start with „w‟.
10. The parameter inet addr under the concerned interface: ethernet or wifi will provide the IP
address of machine. The IP address will be like: 192.168.172.50 or 175.28.20.200 or similar
12. This IP address needs to be noted as it will be used for configuration later.
Ex. No.2. Configure eNodeB for Operation
1. Open a new terminal using search function in dash or press ctrl + alt + T key.
The IP address is the IP address set in the earlier experiment. Both the machines need to be on the
same subnet to connect (when asked, type password as: amitec).
3. This step should be done only once at the beginning. Create a backup of default eNodeB
configuration file, use command: cp enb.conf enb.conf.backup
If the file has been copied before, then the previous file will be overwritten.
6. In the enb.conf file, under [enb] configuration, edit the following parameters:
[enb]
enb_id = 0x19B
cell_id = 0x01
phy_cell_id = 1
tac = 0x0007
mcc = 901
mnc = 70
mme_addr = 127.0.1.100
gtp_bind_addr = 127.0.0.1
n_prb = 25
7. Two parameters MCC and MNC, govern the working of complete network. MCC is Mobile
Country Code and MNC is Mobile Network Code, form the building blocks of IMSI number.
9. To identify the frequency bands supported by the mobile phone, refer to the website:
https://www.gsmarena.com/
As an example, the frequency bands supported by Nokia 5 mobile phone are given below.
Click on expand on right corner
10. In the enb.conf file, under [rf] configuration, edit the following parameters:
dl_earfcn = 3400
This parameter sets the frequency of operation. It is dependent on the frequency bands supported by
the mobile phone and the frequency band supported by the antennas. Every LTE frequency band does
not support every bandwidth. Need to carefully arrive at a combination of EARFCN and bandwidth.
11. In the enb.conf file, under [log] configuration, edit the following parameters:
all_level = none
After changing the parameters save and close the configuration file.
Ex. No.3. Configure eNodeB Radio Parameter and bandwidth
1. Open a new terminal. To open terminal use search function in dash or press ctrl+alt+T key.
The IP address is the IP address set in the earlier experiments. Both the machines need to be on the
same subnet to connect to the machine. (when asked, type password as: amitec).
2. Navigate to the ENODEB configuration file folder, use the command: cd ~/Desktop/amitecenb/
4. To configure the radio parameter of eNodeB, identify the frequency band of operation. In the FDD
configuration, there are 32 LTE bands defined. However, not all bands are commercially used and
consequently every mobile phone supports a limited subset of these 32 frequency bands. To arrive
at the frequency band of operation, ensure the following points:
a. The frequency band should not be used by any operator in the area
b. The antenna should cover the desired frequency band.
c. Mobile phone to be used for testing should support the frequency band.
6. After identifying the frequency band of operation, take note of the EARFCN value in middle
column of Downlink section. The EARFCN value to be specified is always the downlink EARFCN
value. For ease of operation, take the value mentioned corresponding to middle frequency.
For eg, EARFCN value for LTE Band 28 will be 9435. Other values can also be chosen.
7. To set the value in configuration file, edit the dl_earfcn value in [rf] section:
[rf]
dl_earfcn = 3400
After changing the parameters save and close the configuration file.
1. Open a new terminal using search function in dash or press ctrl+alt+T key.
4. Configure the bandwidth and resource block allocation, by modifying n_prb parameter under [enb]
n_prb corresponds to # n_prb: Number of Physical Resource Blocks (6,15,25,50,75,100)
5. So in 20 MHz bandwidth there are 100 resource blocks, in 10 MHz bandwidth there are
50 resource blocks and so on. In LTE, bandwidth of 1.4,3,5,10,15,20 MHz is permitted.
Ex. No.4. Configure EPC for Operation and Configure User Database
1. Open a new terminal. To open terminal use search function in dash or press ctrl+alt+T key.
2. Then navigate to the EPC configuration file folder using command: cd ~/Desktop/amitecepc
4. In the next step, we will create backups of default configuration file. This will help to revert to
default setup. To create backup of mme.conf, use command: cp mme.conf mme.conf.backup
Similarly, cp hss.conf hss.conf.backup cp sgw.conf sgw.conf.backup
cp pgw.conf pgw.conf.backup cp pcrf.conf pcrf.conf.backup
6. Now to edit the MME configuration file, type: sudo gedit mme.conf
7. In the mme.conf file, under parameter configuration, the parameters will be similar to the following
(The spacing and indentation in the configuration file is extremely important)
Under gummei:
mcc: 901
mnc: 70
mme_gid: 2
mme_code: 1
Under tai:
mcc: 901
mnc: 70
tac: 7
Under network_name:
full: Amitec
Match the parameters in configuration file with parameters in the above image.
After changing the parameters save and close the configuration file.
8. The EPC starts automatically after computer boots. To load the changes in configuration file,
restart mme by typing following command: sudo systemctl restart nextepc-mmed.service
9. To check the status of mme, use command: sudo systemctl status nextepc-mmed.service
If every setting is correct, then a screen appears and to go back to terminal prompt, press ctrl+c
2. In address bar in browser, type following command to open subscriber database: localhost:3000
The details are as follows: username: admin password: 1423
Now default screen will open with no subscribers.
3. Click on the „+‟ Icon in bottom right corner, a window to create subscriber will open.
5. Set the Subscriber Key (K). This is a 32 digit alpha-numeric value. Use any random
combination of digits and alphabets. Use 00112233445566778899AABBCCDDEEFF
7. Set the Operator Key (OPc/OP). This is a 32 digit alpha-numeric value. Use any
random combination of digits and alphabets. Use 00112233445566778899AABBCCDDEEFF
8. After configuration, the subscriber details will be displayed, save changes and user will be added.
10. Navigate to the EPC configuration file folder, use command: cd ~/Desktop/amitecepc
Configure IMS
1. Open a new terminal. To open terminal use search function in dash or press ctrl+alt+T key.
2. Now we need to set the IP address for IMS. This IP address is the same which was configured in
Experiment 1. Use command to open the configuration file: sudo gedit /etc/kamailio/kamctlrc
4. Restart the IMS, open a new terminal, use command: sudo /etc/init.d/kamailio restart
5. Sometimes, you might need to restart the PC for these settings to take effect. Therefore, it is
preferable to have static IP.
1. Open a new terminal. To open terminal use search function in dash or press ctrl+alt+T key.
2. To view existing user database, use command: sudo kamctl db show subscriber
Observe existing users and their passwords.
3. To add a new user, we have to use the command: kamctl add username password
To add a user with username 10003, password test, use command: kamctl add 10003 test
Check if the username exists or not. Otherwise, this command will overwrite the existing user.
4. Similarly, you can add multiple users. These settings have to be configured in mobile phones.
5. Restart the IMS, open a new terminal, use command: sudo /etc/init.d/kamailio restart
1. Open a new terminal. To open terminal use search function in dash or press ctrl+alt+T key.
4. Open a new terminal, navigate to the ENODEB configuration file folder, use command:
cd ~/Desktop/amitecenb
7. Also, to restart IMS, open a new terminal and type following command:
sudo /etc/init.d/kamailio restart
UE Application Setup
1. Start Zoiper for Android and click "Config", select "Accounts" and then "Add account”.
Select "Yes" when the question "Do you already have an account?" appears.
3. Need to enter a name for the new account in the "Account name" field. Enter any name that
will help you to recognize the account.
5. Click "Save" to see a list with all your accounts, including the one that is just created.
6. In about 30 sec, a green checkbox appears in front of the account name and is ready for calls.