Thanks Vadim and Neels. Vadim, you are right, it is a Russian Megafon SIM. In the context I'm working (GSM community networks), users use "foreign" SIM cards.
Neels, today I'll try with the configuration parameters you pointed out and see the results. Cheers, Rafael Diniz On 02/25/2018 08:17 PM, Neels Hofmeyr wrote: > On Sun, Feb 25, 2018 at 12:50:54AM -0300, Rafael Diniz wrote: >> osmo-sgsn gives me: >> MM(250026920931392/e550701e) Updating authorization (unknown -> >> authenticate) >> 20180225034309988 DMM <0002> sgsn_auth.c:236 >> MM(250026920931392/e550701e) Missing auth tuples, authorization not possible >> 20180225034309988 DMM <0002> sgsn_auth.c:248 >> MM(250026920931392/e550701e) Got authorization update: state unknown -> >> rejected >> 20180225034309988 DMM <0002> gprs_gmm.c:1140 >> MM(250026920931392/e550701e) Not authorized, rejecting ATTACH REQUEST >> with cause 'IMSI unknown in HLR' (2) > > Hi Rafael, > > as Vadim pointed out, you won't be able to do Authentication without the > actual > auth tuples, which you most likely do not know for an arbitrary SIM. > > In 2G however, it is possible to connect without Authentication. I think > that's done by 'auth-policy closed' and using 'ismi-acl add <your-imsi>', in > the osmo-sgsn.cfg under 'sgsn'. Then you're not using the HLR at all. > > In the MSC, we have added a configuration option 'authentication optional' so > that you can use the HLR and allow missing auth data there, but the SGSN > hasn't > seen attention to that detail yet. There it's all or nothing, IIRC. > > Looking forward to hear your results on it... > > ~N > > >
signature.asc
Description: OpenPGP digital signature
