In this challenge, we are going to resolve the authentication issue that was encountered in the previous challenge while initiating the UE activation process.
Upon inspecting the network traffic, you’ll notice that the authentication failure occurred due to a synchronization issue. The problem arose because of a parameter mismatch between the User Equipment (UE) on the machine and the UE provisioned in the 5G core network.
cat ~/files/free5gc-ue.yaml
To address the problem, it is essential to compare various parameters in the file with the corresponding configurations set in the web console of the 5G core network.
webconsole
Username: admin Password: free5gc
Upon comparing the values with those in the previous file, you will discover that the key value “K” does not match.
vim ~/files/free5gc-ue.yaml
deactivate-ue
deactivate-gnb
deactivate-5gc
activate-5gc
sudo tcpdump -i any -w ~/captures/device_registration.pcap
activate-gnb
activate-ue
This time the UE is registered successfully.
In the next challenge, we’ll delve further into the call flow and stages involved in the 5G registration process.