openLTE
Wget http://ufpr.dl.sourceforge.net/project/openlte/openlte_v00-19-04.tgz
cd openlte_v00-19-04/ //存在问题,在Ubuntu16.04上最新的20版本编译失败,19.04成功
mkdir build
cd build
sudo cmake ../
sudo make
sudo make install
openLTE
扫描
/4G/openlte_v00-19-04/build/LTE_fdd_dl_scan
(ue_name),(algo),(imsi),(K),(OP/OPc_type),(OP/OPc_value),(AMF),(SQN),(QCI),(IP_alloc)
ue3,mil,221010123456789,6874736969202073796D4B2079650A76,opc,504F20634F6320504F50206363500A4F,8000,000000001234,7,dynamic
LTE_fdd_enodeb
System Configuration Parameters
Read parameters using read format
Set parameters using write
Commands:
start - Constructs the system information and starts the eNB
stop - Stops the eNB
shutdown - Stops the eNB and exits
construct_si - Constructs the new system information
help - Prints this screen
add_user imsi=
del_user imsi=
print_users - Prints all the users in the HSS
print_registered_users - Prints all the users currently registered
If you want to save everything to a configuration file, use the following commands:
write use_cnfg_file 1
write use_user_file 1
The text based configuration of your eNodeB and user database can be found in the /tmp folder:
LTE_fdd_enodeb.cnfg_db
LTE_fdd_enodeb.user_db
add_user imsi=001010123456789 imei=865441031661804 k=6874736969202073796D4B2079650A76
add_user imsi=001010123456789 imei=865441031661812 k=6874736969202073796D4B2079650A76
add_user imsi=460010123456789 imei=865441031661804 k=6874736969202073796D4B2079650A76
add_user imsi=460010123456789 imei=865441031661812 k=6874736969202073796D4B2079650A76