Telco-Sec
HomeFree Courses
  • Welcome!
  • Author
  • GSM Attacks
    • Review
    • Types of GSM
  • 📶GSM Pentest LAB
    • Description
    • Hardware
    • Setup LAB
  • SIM Cards
    • 😻AT Commands
  • 2G In a B0x
    • Description
    • SIM Cards
    • BTS
    • BSC - Base Station Controller
    • MSC - Mobile Switching Center
    • STP - Signal Transfer Point
    • MGW - Media Gateway
    • SGSN - Serving GPRS Support Node
    • OpenGGSN
    • Page 1
  • BTS to Mobile Station
    • Intro
    • Page
    • Passive Sniffing
    • Passive IMSI Catcher
    • Descrypt SMSs
    • Capture Voice
    • Rogue BTS
    • Articles
  • Group 1
    • Docs
Powered by GitBook
On this page

Was this helpful?

  1. 2G In a B0x

BSC - Base Station Controller

sudo vi  /etc/osmocom/osmo-bsc.cfg

Log Configuration

log stderr
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging timestamp 0
 logging print file basename last
 logging print level 1

E1 Configuration

e1_input
 e1_line 0 driver ipa

Network Configuration

network
 network country code 001
 mobile network code 10
 encryption a5 0
 neci 1
 paging any use tch 0
 handover 0
 handover algorithm 1
 handover1 window rxlev averaging 10
 handover1 window rxqual averaging 1
 handover1 window rxlev neighbor averaging 10
 handover1 power budget interval 6
 handover1 power budget hysteresis 3
 handover1 maximum distance 9999
 ! T3212 is in units of 6min, so below we set 5 * 6 = 30min
 timer net T3212 5

Media Gateway Configuration

 mgw 0
  remote-ip 127.0.0.1
  remote-port 2427
  local-port 2727

BTS Configuration

 bts 0
  type osmo-bts
  band GSM900
  cell_identity 777
  location_area_code 0x0001
  base_station_id_code 7
  ms max power 10
  cell reselection hysteresis 4
  rxlev access min 0
  radio-link-timeout 32
  channel allocator mode set-all ascending
  rach tx integer 9
  rach max transmission 7
  channel-description attach 1
  channel-description bs-pa-mfrms 5
  channel-description bs-ag-blks-res 1
  early-classmark-sending forbidden
  ipa unit-id 6969 0
  oml ipa stream-id 255 line 0
  codec-support fr
  gprs mode none
  trx 0
   rf_locked 0
   arfcn 21
   nominal power 23
   ! to use full TRX power, set max_power_red 0
   max_power_red 20
   rsl e1 tei 0
   timeslot 0
    phys_chan_config CCCH+SDCCH4
    hopping enabled 0
   timeslot 1
    phys_chan_config TCH/F
    hopping enabled 0
   timeslot 2
    phys_chan_config TCH/F
    hopping enabled 0
   timeslot 3
    phys_chan_config TCH/F
    hopping enabled 0
   timeslot 4
    phys_chan_config TCH/F
    hopping enabled 0
   timeslot 5
    phys_chan_config TCH/F
    hopping enabled 0
   timeslot 6
    phys_chan_config TCH/F
    hopping enabled 0
   timeslot 7
    phys_chan_config TCH/F
    hopping enabled 0

MSC Configuration

msc 0
 ! Do not allow emergency calls unless you can route
 ! them to the local emergency services
 allow-emergency deny

BSC Configuration

bsc
 mid-call-timeout 0
PreviousBTSNextMSC - Mobile Switching Center

Last updated 7 months ago

Was this helpful?