Difference between revisions of "5G: srsEPC eNB MCC 510 MNC 33"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| (2 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
  vi user_db.csv  |   vi user_db.csv  | ||
| − |   ue3,mil,510330000012345,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,000000001234,7,dynamic  | + | |
| + | |||
| + |   #                                                                                             | ||
| + |  # .csv to store UE's information in HSS                                                       | ||
| + |  # Kept in the following format: "Name,Auth,IMSI,Key,OP_Type,OP/OPc,AMF,SQN,QCI,IP_alloc"    | ||
| + |  #                                                                                             | ||
| + |  # Name:     Human readable name to help distinguish UE's. Ignored by the HSS                  | ||
| + |  # Auth:     Authentication algorithm used by the UE. Valid algorithms are XOR                 | ||
| + |  #           (xor) and MILENAGE (mil)                                                          | ||
| + |  # IMSI:     UE's IMSI value                                                                   | ||
| + |  # Key:      UE's key, where other keys are derived from. Stored in hexadecimal                | ||
| + |  # OP_Type:  Operator's code type, either OP or OPc                                            | ||
| + |  # OP/OPc:   Operator Code/Cyphered Operator Code, stored in hexadecimal                       | ||
| + |  # AMF:      Authentication management field, stored in hexadecimal                            | ||
| + |  # SQN:      UE's Sequence number for freshness of the authentication                          | ||
| + |  # QCI:      QoS Class Identifier for the UE's default bearer.                                 | ||
| + |  # IP_alloc: IP allocation stratagy for the SPGW.                                              | ||
| + |  #           With 'dynamic' the SPGW will automatically allocate IPs                           | ||
| + |  #           With a valid IPv4 (e.g. '172.16.0.2') the UE will have a statically assigned IP.  | ||
| + |  #                                                                                             | ||
| + |  # Note: Lines starting by '#' are ignored and will be overwritten       | ||
| + | |||
| + | |||
| + | ue4,mil,510330000012341,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,000000001234,7,dynamic  | ||
| + | |||
| + | ue3,mil,510330000012345,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,000000001234,7,dynamic  | ||
==Config eNB==  | ==Config eNB==  | ||
Latest revision as of 10:28, 16 September 2022
Config EPC
cd ~/srsLTE/srsepc
config epc.conf
vi epc.conf
tac = 0x0002 mcc = 510 mnc = 33
config user_db.csv
vi user_db.csv
# # .csv to store UE's information in HSS # Kept in the following format: "Name,Auth,IMSI,Key,OP_Type,OP/OPc,AMF,SQN,QCI,IP_alloc" # # Name: Human readable name to help distinguish UE's. Ignored by the HSS # Auth: Authentication algorithm used by the UE. Valid algorithms are XOR # (xor) and MILENAGE (mil) # IMSI: UE's IMSI value # Key: UE's key, where other keys are derived from. Stored in hexadecimal # OP_Type: Operator's code type, either OP or OPc # OP/OPc: Operator Code/Cyphered Operator Code, stored in hexadecimal # AMF: Authentication management field, stored in hexadecimal # SQN: UE's Sequence number for freshness of the authentication # QCI: QoS Class Identifier for the UE's default bearer. # IP_alloc: IP allocation stratagy for the SPGW. # With 'dynamic' the SPGW will automatically allocate IPs # With a valid IPv4 (e.g. '172.16.0.2') the UE will have a statically assigned IP. # # Note: Lines starting by '#' are ignored and will be overwritten
ue4,mil,510330000012341,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,000000001234,7,dynamic
ue3,mil,510330000012345,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,000000001234,7,dynamic
Config eNB
cd ~/srsLTE/srsenb
edit enb.conf
vi enb.conf
mcc = 510 mnc = 33 [rf] dl_earfcn = 1600 tx_gain = 80 rx_gain = 40 device_name = auto # Kalau tidak pakai GPSDO device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6
edit rr.conf
vi rr.conf
cell_list =
(
  {
    ...
    tac = 0x0002;
    ...
    dl_earfcn = 1600;
    ...
  }
)