... | ... | @@ -669,7 +669,6 @@ shell > mysql -u root -p |
|
|
mysql > use oai_db;
|
|
|
mysql > INSERT INTO users (`imsi`, `msisdn`, `imei`, `imei_sv`, `ms_ps_status`, `rau_tau_timer`, `ue_ambr_ul`, `ue_ambr_dl`, `access_restriction`, `mme_cap`, `mmeidentity_idmmeidentity`, `key`, `RFSP-Index`, `urrp_mme`, `sqn`, `rand`, `OPc`) VALUES ('208930000000001', '33638060010', NULL, NULL, 'PURGED', '120', '50000000', '100000000', '47', '0000000000', '3', 0x8BAF473F2F8FD09487CCCBD7097C6862, '1', '0', '', 0x00000000000000000000000000000000, '');
|
|
|
|
|
|
mysql > INSERT INTO pdn (`id`, `apn`, `pdn_type`, `pdn_ipv4`, `pdn_ipv6`, `aggregate_ambr_ul`, `aggregate_ambr_dl`, `pgw_id`, `users_imsi`, `qci`, `priority_level`,`pre_emp_cap`,`pre_emp_vul`, `LIPA-Permissions`) VALUES ('60', 'oai.ipv4','IPV4', '0.0.0.0', '0:0:0:0:0:0:0:0', '50000000', '100000000', '3', '208930000000001', '9', '15', 'DISABLED', 'ENABLED', 'LIPA-ONLY');
|
|
|
```
|
|
|
|
|
|
There are a couple of things to note:
|
... | ... | @@ -681,10 +680,18 @@ There are a couple of things to note: |
|
|
|
|
|
#### Step 3: Update Tables oai_db.mmeidentity and oai_db.pdn
|
|
|
|
|
|
You can directly insert a record to oai_db.mmeidentity via phpmyadmin. In this case,
|
|
|
"idmmeidentity" is 3, "mmehost" is "nano.openair4G.eur" and "mmerealm" is "openair4G.eur".
|
|
|
"idmmeidentity" is 4, "mmehost" is "calisson.openair4G.eur" and "mmerealm" is "openair4G.eur".
|
|
|
```
|
|
|
shell > mysql -u root -p
|
|
|
# The password is "linux"
|
|
|
mysql > use oai_db;
|
|
|
|
|
|
mysql > INSERT INTO pdn (`id`, `apn`, `pdn_type`, `pdn_ipv4`, `pdn_ipv6`, `aggregate_ambr_ul`, `aggregate_ambr_dl`, `pgw_id`, `users_imsi`, `qci`, `priority_level`,`pre_emp_cap`,`pre_emp_vul`, `LIPA-Permissions`) VALUES ('60', 'oai.ipv4','IPV4', '0.0.0.0', '0:0:0:0:0:0:0:0', '50000000', '100000000', '3', '208930000000001', '9', '15', 'DISABLED', 'ENABLED', 'LIPA-ONLY');
|
|
|
|
|
|
mysql > INSERT INTO mmeidentity (`idmmeidentity`,`mmehost`,`mmerealm`,`UE_reachability`) VALUES ('6','nano.openair4G.eur','openair4G.eur','0');
|
|
|
|
|
|
mysql > INSERT INTO mmeidentity (`idmmeidentity`,`mmehost`,`mmerealm`,`UE_reachability`) VALUES ('7','calisson.openair4G.eur','openair4G.eur','0');
|
|
|
|
|
|
```
|
|
|
|
|
|
### 2.4 Connect UE to eNB
|
|
|
|
... | ... | @@ -726,8 +733,6 @@ If you see an error like this, insert `~/trunk/targets/bin/xt_GTPUSP.ko`: |
|
|
sudo insmod ~/trunk/targets/bin/xt_GTPUSP.ko
|
|
|
```
|
|
|
|
|
|
## 3. Networking Configuration for UE and eNB
|
|
|
|
|
|
## References:
|
|
|
|
|
|
\[1\] https://gitlab.eurecom.fr/oai/openair-cn/blob/master/DOCS/EPC_User_Guide.pdf
|
... | ... | |