Project

General

Profile

Actions

Support #3473

closed

Issue with registering phones to Network

Added by rukancp over 5 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/19/2018
Due date:
% Done:

0%

Spec Reference:

Description

Hi,

I try to build a 2G GSM Network using OsmoTRX, OsmoBSC, OsmoHLR and other software that are required. But I have a problem I cannot solve. I do this because I wanted to learn how a GSM structure works but I never had experience before. I am using the Ettus USRP B210. So to come to my issue.

In OsmoHLR I can register my subscribers and the 2G activation is done correctly. Bu when I try to register my phones in the Network by selecting the Network I get a message "Network Connection Failed"

So first i will give the commands which software I started

sudo osmo-trx-uhd -C ~/osmocom/osmo-cfg/osmo-trx-usrp_b200.cfg
sudo osmo-hlr -l hlr.db -c ~/osmocom/osmo-cfg/osmo-hlr.cfg
sudo osmo-msc -c ~/osmocom/osmo-cfg/osmo-msc.cfg
sudo osmo-mgw -c ~/osmocom/osmo-cfg/osmo-mgw-for-msc.cfg
sudo osmo-mgw -c ~/osmocom/osmo-cfg/osmo-mgw-for-bsc.cfg
sudo osmo-ggsn -c ~/osmocom/osmo-cfg/osmo-ggsn.cfg
sudo osmo-sgsn -c ~/osmocom/osmo-cfg/osmo-sgsn.cfg
sudo osmo-stp -c ~/osmocom/osmo-cfg/osmo-stp.cfg
sudo osmo-bsc -c ~/osmocom/osmo-cfg/osmo-bsc.cfg

Now I will give the config files

osmo-trx-usrp_b200.cfg
log stderr
logging filter all 1
logging color 1
logging print category 1
logging timestamp 1
logging print file basename
logging level all info
!
line vty
no login
!
trx
bind-ip 127.0.0.1
remote-ip 127.0.0.1
base-port 5700
egprs disable
tx-sps 4
rx-sps 4
clock-ref external
rt-prio 18
chan 0

oso-hlr.cfg
log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1

osmo-msc.cfg
network
network country code 901
mobile network code 70
msc
mgw remote-ip 192.168.1.13
log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1
logging level ref debug

osmo-mgw-for-msc.cfg
mgcp
bind ip 192.168.1.13
line vty
bind 127.0.0.1
log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1

osmo-mgw-for-bsc.cfg
mgcp
bind ip 192.168.1.13 # default port is 2427 (is used for MSC's MGW)
bind port 12427
line vty # default VTY interface is on 127.0.0.1 (used for MSC's MGW)
bind 127.0.0.2
log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1

osmo-ggsn.cfg
log stderr
logging level all debug
logging filter all 1
logging print category 1
ggsn ggsn0
gtp bind-ip 192.168.1.42
apn internet
tun-device apn0
type-support v4
ip dns 0 192.168.1.1
ip dns 1 8.8.8.8
#ip ifconfig 192.168.42.0/24
ip prefix dynamic 192.168.42.1/24
no shutdown
default-apn internet
no shutdown ggsn

log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1

osmo-sgsn.cfg
sgsn
gtp local-ip 192.168.1.13
ggsn 0 remote-ip 192.168.1.42
ggsn 0 gtp-version 1
auth-policy remote
gsup remote-ip 127.0.0.1
ns
encapsulation udp local-ip 192.168.1.13
encapsulation udp local-port 23000
encapsulation framerelay-gre enabled 0
log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1

osmo-stp.cfg
cs7 instance 0
xua rkm routing-key-allocation dynamic-permitted
listen m3ua 2905
accept-asp-connections dynamic-permitted
log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1

osmo-bsc.cfg
network
network country code 901
mobile network code 70
bts 0
type sysmobts
band GSM-900
location_area_code 23
ip.access unit_id 1800 0
gprs mode gprs
gprs nsvc 0 remote ip 192.168.1.13
gprs nsvc 0 remote udp port 23000
gprs nsvc 0 local udp port 23000
gprs nsvc 0 nsvci 1800
gprs nsei 1800
gprs cell bvci 1800
trx 0
rf_locked 0
arfcn 1023
nominal power 23
timeslot 0
phys_chan_config CCCH+SDCCH4
timeslot 1
phys_chan_config SDCCH8
timeslot 2
phys_chan_config TCH/F_TCH/H_PDCH
timeslot 3
phys_chan_config TCH/F_TCH/H_PDCH
timeslot 4
phys_chan_config TCH/F_TCH/H_PDCH
timeslot 5
phys_chan_config TCH/F_TCH/H_PDCH
timeslot 6
phys_chan_config TCH/F_TCH/H_PDCH
timeslot 7
phys_chan_config PDCH
e1_input
e1_line 0 driver ipa
msc 0
mgw remote-ip 192.168.1.13
mgw remote-port 12427
allow-emergency deny
codec-list hr3
log stderr
logging print extended-timestamp 1
logging level all debug
logging filter all 1
logging print category 1

So will also add a screenshot of all programms working together
My problem is when i try to register my phone to the networ it is saying "Network connection failed"

The SIM I am using for are SIMCards from my-sim.com. But I cannot rewrite the ki. I tried to register them in osmo-hlr without the ki code.

The transceiver I am using is the Ettus B210 with osmo-trx

Does anyone have a solution. I was thinking maybe I did some mistakes in the configuration.

If someone has a instruction it would be nice

Kind regards

Actions #1

Updated by laforge almost 5 years ago

  • Project changed from 5 to Cellular Network Infrastructure

this issue was undiscovered as it was in the "testproject" and not related to any actaul osmocom software. I guess nobody watches additions to the "testproject", which is just used to test the redmine issue tracker :/

@rukancp: Is this still an issue?

Actions #2

Updated by fixeria almost 5 years ago

  • Tracker changed from Bug to Support

Please don't attach screenshots, they are useless in 90%. Instead, you could attach your configuration files and logs.

Actions #3

Updated by fixeria almost 5 years ago

  • File deleted (Screenshot_2018-08-19_10-23-11.png)
Actions #4

Updated by laforge over 4 years ago

  • Status changed from New to Rejected

no feedback from original reporter for several months, rejecting

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)