Hye everyone,
i'm trying to build a small GSM Network using OpenBSC and nanoBTS. After the start of bsc_hack, when i try to scanned the network with my mobile station, i do find the right network. But when i try to register into this network, i'm not coming through. It's the first time that i'm trying to used OpenBSC and i do not exactly known how it works.
below, a part of the output coming out after the start of bsc_hack:
<0002> gsm_04_08_utils.c:144 (bts 0 trx 0 ts 0 pd 05) Sending 0x18 to MS. DB: Failed to find the Subscriber. '0' '262##########' DB: Failed to find the Subscriber. '0' '262##########' DB: New Subscriber: ID 28, IMSI 262########## DB: Allocated extension 43234 for IMSI 262##########. <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x20 sapi=0 DATA INDICATION <0004> gsm_04_08.c:948 IDENTITY RESPONSE: mi_type=0x02 MI(35#############) DB: New Equipment: ID 124, IMEI 35############# DB: New EquipmentWatch: ID 124, IMSI 262##########, IMEI 35############# DB: Sync Equipment IMEI=35#############, classmark1=30 <0010> abis_rsl.c:1273 Activating ARFCN(514) TS(0) SS(1) lctype SDCCH chan_nr=0x28 r=LOCATION_UPDATE ra=0x10 <0010> abis_rsl.c:1088 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 CHANNEL ACTIVATE ACK <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 sapi=0 ESTABLISH INDICATION <0004> gsm_04_08.c:1402 LOCATION UPDATING REQUEST: mi_type=0x04 MI(23########) type=NORMAL <0002> gsm_04_08.c:293 lchan (bts=0,trx=0,ts=0,ch=1) increases usage to: 1
<0002> gsm_04_08_utils.c:144 (bts 0 trx 0 ts 0 pd 05) Sending 0x18 to MS. DB: Found Subscriber: ID 28, IMSI 262############, NAME '', TMSI 42########, EXTEN '43234', LAC 0, AUTH 0 DBI: The requested variable type does not match what libdbi thinks it should be libdbi: dbi_result_get_int_idx: field `classmark1` is not integer type <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x20 sapi=0 DATA INDICATION <0004> gsm_04_08.c:948 IDENTITY RESPONSE: mi_type=0x02 MI(35#############) DB: Updated EquipmentWatch: ID 124, IMSI 262############, IMEI 35############# DB: Sync Equipment IMEI=35#############, classmark1=30, classmark2=13 25 , classmark3=13 25 <0010> abis_rsl.c:1273 Activating ARFCN(514) TS(0) SS(1) lctype SDCCH chan_nr=0x28 r=LOCATION_UPDATE ra=0x06 <0010> abis_rsl.c:1088 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 CHANNEL ACTIVATE ACK <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 sapi=0 ESTABLISH INDICATION <0004> gsm_04_08.c:1402 LOCATION UPDATING REQUEST: mi_type=0x01 MI(262############) type=NORMAL <0002> gsm_04_08.c:293 lchan (bts=0,trx=0,ts=0,ch=1) increases usage to: 1
can someone please explains me if those outputs (about the Subscriber ID '28') are OK?
Best regards;
Hi,
You need to open registration.
telnet localhost 4242
and then
enable configure terminal network auth policy accept-all
regards tec
Am 09.12.2009 um 14:58 schrieb Fabrice Ismael Poundeu Tchouatieu:
Hye everyone,
i'm trying to build a small GSM Network using OpenBSC and nanoBTS. After the start of bsc_hack, when i try to scanned the network with my mobile station, i do find the right network. But when i try to register into this network, i'm not coming through. It's the first time that i'm trying to used OpenBSC and i do not exactly known how it works.
below, a part of the output coming out after the start of bsc_hack:
<0002> gsm_04_08_utils.c:144 (bts 0 trx 0 ts 0 pd 05) Sending 0x18 to MS. DB: Failed to find the Subscriber. '0' '262##########' DB: Failed to find the Subscriber. '0' '262##########' DB: New Subscriber: ID 28, IMSI 262########## DB: Allocated extension 43234 for IMSI 262##########. <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x20 sapi=0 DATA INDICATION <0004> gsm_04_08.c:948 IDENTITY RESPONSE: mi_type=0x02 MI(35#############) DB: New Equipment: ID 124, IMEI 35############# DB: New EquipmentWatch: ID 124, IMSI 262##########, IMEI 35############# DB: Sync Equipment IMEI=35#############, classmark1=30 <0010> abis_rsl.c:1273 Activating ARFCN(514) TS(0) SS(1) lctype SDCCH chan_nr=0x28 r=LOCATION_UPDATE ra=0x10 <0010> abis_rsl.c:1088 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 CHANNEL ACTIVATE ACK <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 sapi=0 ESTABLISH INDICATION <0004> gsm_04_08.c:1402 LOCATION UPDATING REQUEST: mi_type=0x04 MI(23########) type=NORMAL <0002> gsm_04_08.c:293 lchan (bts=0,trx=0,ts=0,ch=1) increases usage to: 1
<0002> gsm_04_08_utils.c:144 (bts 0 trx 0 ts 0 pd 05) Sending 0x18 to MS. DB: Found Subscriber: ID 28, IMSI 262############, NAME '', TMSI 42########, EXTEN '43234', LAC 0, AUTH 0 DBI: The requested variable type does not match what libdbi thinks it should be libdbi: dbi_result_get_int_idx: field `classmark1` is not integer type <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x20 sapi=0 DATA INDICATION <0004> gsm_04_08.c:948 IDENTITY RESPONSE: mi_type=0x02 MI(35#############) DB: Updated EquipmentWatch: ID 124, IMSI 262############, IMEI 35############# DB: Sync Equipment IMEI=35#############, classmark1=30, classmark2=13 25 , classmark3=13 25 <0010> abis_rsl.c:1273 Activating ARFCN(514) TS(0) SS(1) lctype SDCCH chan_nr=0x28 r=LOCATION_UPDATE ra=0x06 <0010> abis_rsl.c:1088 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 CHANNEL ACTIVATE ACK <0001> abis_rsl.c:1377 channel=(bts=0,trx=0,ts=0) chan_nr=0x28 sapi=0 ESTABLISH INDICATION <0004> gsm_04_08.c:1402 LOCATION UPDATING REQUEST: mi_type=0x01 MI(262############) type=NORMAL <0002> gsm_04_08.c:293 lchan (bts=0,trx=0,ts=0,ch=1) increases usage to: 1
can someone please explains me if those outputs (about the Subscriber ID '28') are OK?
Best regards;
-- Fabrice Ismael Poundeu Tchouatieu
This message was sent using IMP, the Internet Messaging Program.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Björn Heller Jabber: tec@jabber.hellercom.de
On Wed, Dec 09, 2009 at 02:58:22PM +0100, Fabrice Ismael Poundeu Tchouatieu wrote:
i'm trying to build a small GSM Network using OpenBSC and nanoBTS. After the start of bsc_hack, when i try to scanned the network with my mobile station, i do find the right network. But when i try to register into this network, i'm not coming through. It's the first time that i'm trying to used OpenBSC and i do not exactly known how it works.
Everything seems to work fine. You simply did not authorize your subscriber[s] to join the network yet. This is what we do using the 'authorized' field in the 'subscriber' SQL table.
Once a subscriber is authorized, it should get permission to join the network.
Regards, Harald
Quoting Harald Welte laforge@gnumonks.org:
On Wed, Dec 09, 2009 at 02:58:22PM +0100, Fabrice Ismael Poundeu Tchouatieu wrote:
i'm trying to build a small GSM Network using OpenBSC and nanoBTS. After the start of bsc_hack, when i try to scanned the network with my mobile station, i do find the right network. But when i try to register into this network, i'm not coming through. It's the first time that i'm trying to used OpenBSC and i do not exactly known how it works.
Everything seems to work fine. You simply did not authorize your subscriber[s] to join the network yet. This is what we do using the 'authorized' field in the 'subscriber' SQL table.
Once a subscriber is authorized, it should get permission to join the network.
Regards, Harald --
--> Thanks That was exactly the problem.
Fabrice Ismael Poundeu Tchouatieu schreef:
Hye everyone,
i'm trying to build a small GSM Network using OpenBSC and nanoBTS. After the start of bsc_hack, when i try to scanned the network with my mobile station, i do find the right network. But when i try to register into this network, i'm not coming through. It's the first time that i'm trying to used OpenBSC and i do not exactly known how it works.
You need to modify the config-file. Put under network the following: auth policy accept-all
This will accept all MSs that want to register.
On Wed, Dec 09, 2009 at 04:02:03PM +0100, Nordin wrote:
Fabrice Ismael Poundeu Tchouatieu schreef:
Hye everyone,
i'm trying to build a small GSM Network using OpenBSC and nanoBTS. After the start of bsc_hack, when i try to scanned the network with my mobile station, i do find the right network. But when i try to register into this network, i'm not coming through. It's the first time that i'm trying to used OpenBSC and i do not exactly known how it works.
You need to modify the config-file. Put under network the following: auth policy accept-all
This will accept all MSs that want to register.
Which is a very DANGEROUS mode of operation, as chances are high it will accept some phone that has lost signal or is on international roaming! So even if you have legal permission to operate your own gsm network (such as a test license), an accept-all BTS will likely interfere with commercial GSM networks in your vicinity and you will end up selectively denying service to people.
This is punishable under criminal law in probably any country that I've ever heard of!
So pleaes use extreme caution and never run an accept-all network on a non-barred cell outside a faraday cage.
Harald -
I agree with your comments in the strongest terms. DO NOT DO THIS UNLESS YOU ARE ABSOLUTELY SURE OF ITS EFFECT ON THE LOCAL CELLULAR ENVIRONMENT.
Even if you do not directly interfere with the carrier's spectrum, you can still interfere with their service. Remember that you are interacting with the cellular carrier, indirectly, every time you exchange phones with them.
-- David
On Dec 12, 2009, at 4:38 AM, Harald Welte wrote:
On Wed, Dec 09, 2009 at 04:02:03PM +0100, Nordin wrote:
Fabrice Ismael Poundeu Tchouatieu schreef:
Hye everyone,
i'm trying to build a small GSM Network using OpenBSC and nanoBTS. After the start of bsc_hack, when i try to scanned the network with my mobile station, i do find the right network. But when i try to register into this network, i'm not coming through. It's the first time that i'm trying to used OpenBSC and i do not exactly known how it works.
You need to modify the config-file. Put under network the following: auth policy accept-all
This will accept all MSs that want to register.
Which is a very DANGEROUS mode of operation, as chances are high it will accept some phone that has lost signal or is on international roaming! So even if you have legal permission to operate your own gsm network (such as a test license), an accept-all BTS will likely interfere with commercial GSM networks in your vicinity and you will end up selectively denying service to people.
This is punishable under criminal law in probably any country that I've ever heard of!
So pleaes use extreme caution and never run an accept-all network on a non-barred cell outside a faraday cage.
--
- Harald Welte laforge@gnumonks.org http://
laforge.gnumonks.org/
====== "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
David A. Burgess Kestrel Signal Processing, Inc.
David,
On Sat, Dec 12, 2009 at 11:26:08AM -0800, David A. Burgess wrote:
I agree with your comments in the strongest terms. DO NOT DO THIS UNLESS YOU ARE ABSOLUTELY SURE OF ITS EFFECT ON THE LOCAL CELLULAR ENVIRONMENT.
Thinking more about it, I've added a warning message to bsc_hack at startup if you run it in this mode.