Feature #2860
open
- Related to Feature #2861: osmo-gsm-tester: Add 3g support for sysmocell-5k added
- Assignee changed from 55360 to pespin
I started looking into this and do some manual tests.
Right now I have nano3g in RnD setup controlled by smart sispmctl 3, and shows up with "abisip-find -i 1 -j -b 10.42.42.1".
{ "MAC_Address": "00:02:95:07:d1:2e", "IP_Address": "10.42.42.121", "Unit_ID": "1/1/1", "Location_1": "Unknown", "Location_2": "3GAP", "Equipment_Version": "237B015_C", "Software_Version": "unknown", "Unit_Name": "Unknown", "Serial_Number": "000295-0000123021" }
I can telnet and ssh into it, following https://projects.osmocom.org/projects/cellular-infrastructure/wiki/Configuring_the_ipaccess_nano3G#SSH-Access
Some stuff which will be needed in osmo-gsm-tester to control it:
- Add nano3g MAC address to the DHCP server in osmo-gsm-tester main unit. DONE https://gerrit.osmocom.org/c/osmo-ci/+/15586 ansible: gsm-tester-rnd: Add nano3g device to static IP DHCP leases
- Add an osmo-hnbgw class
- create a 'femtocell3g' resource type with subtypes (like 'bts' resource type)
- Move abisipfind from bts_nanobts.py to its own file (we can re-use it to wait until nano3g is up after using the smart socket)
- create a femtocell3g_nano3g.py class with the implementation:
- power on with smart socket
- wait until abisipind finds it
- telnet nano3g_ipaddr 8090, or use: ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 -c aes128-cbc root@10.42.42.121 /opt/ipaccess/DMI/ipa-dmi -c '$CMD'
- set mcc="901"
- set mnc="70"
- set rfParamsCandidateList=({9800, 401, 1})
- set lacRacCandidateList=({10422, (99)})
- set hnbCId=1
- set rncIdentity=0
- reboot properly with ssh (required to get changed params applied): ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 -c aes128-cbc root@$nano3g_ipaddr reboot
- sleep a few seconds (to avoid getting abisipind results previous to reboot) and wait until abisipfind finds it
- telnet nano3g_ipaddr 8090
- set hnbGwAddress="$osmo_hnbgw_ipaddr"
- action 2061
- action 1216
- action establishPermanentHnbGwConnection
- set csgAccessMode=CSG_ACCESS_MODE_OPEN_ACCESS
- Target version set to 3G support
- Priority changed from Normal to High
- Priority changed from High to Low
Also available in: Atom
PDF