mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
Initial content
@@ -165,12 +165,13 @@ NAS_UE_AUTOSTART to 0 in nas_ue_task.c
|
||||
So for example you can detach the first UE with these command:
|
||||
|
||||
# first enter pin code on the modem
|
||||
echo -en "AT+CPIN=0000\r" | nc -u -w 1 127.0.0.1 10000
|
||||
echo -en "AT+CPIN=0000\r" | nc -u -w 1 localhost 10000
|
||||
# second send the detach command
|
||||
echo -en "AT+CGATT=0\r" | nc -u -w 1 127.0.0.1 10000
|
||||
echo -en "AT+CGATT=0\r" | nc -u -w 1 localhost 10000
|
||||
|
||||
Then if you wan't to attach again the ue:
|
||||
|
||||
echo -en "AT+CGATT=1\r" | nc -u -w 1 127.0.0.1 10000
|
||||
echo -en "AT+CGATT=1\r" | nc -u -w 1 localhost 10000
|
||||
|
||||
Note: you need a shell that supports the -en option of echo like bash
|
||||
Note2: you need to use localhost instead 127.0.0.1 due to a weird bug
|
||||
Reference in New Issue
Block a user