OpenBSC with configuration file

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Fri Aug 7 18:31:35 UTC 2009


Hi!

I've committed the first working version of OpenBSC with vty-based
configuration file to the 'config_file' branch in git.

Using this version, all parameters such as BTS E1 card / timeslot / sub-slot /
TEI for OML and RSL, MNC, MCC, BSIC, TSC as well as the physical channel
configuration of each Um timeslot can be configured in openbsc.cfg.

As an example, I'm attaching a configuration for two bts with two trx each.

You can change the configuration interactively by using the telnet interface
by a sequence of commands like:
================
enable
configure terminal
network
bts 0
trx 0
arfcn 111
write file
================

At this point you still need to restart OpenBSC, as we don't support changing
configuration at runtime yet.
-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)
-------------- next part --------------
!
! OpenBSC configuration saved from vty
!   !
password foo
!
line vty
 no login
!
network
 network country code 1
 mobile network code 1
 short name OpenBSC
 long name OpenBSC
 bts 0
  type bs11
  band GSM900
  location_area_code 1
  training_sequence_code 7
  base_station_id_code 63
  oml e1 line 0 timeslot 1 sub-slot full
  oml e1 tei 25
  trx 0
   arfcn 121
   max_power_red 0
   rsl e1 line 0 timeslot 1 sub-slot full
   rsl e1 tei 1
    timeslot 0
     phys_chan_config CCCH+SDCCH4
     e1 line 0 timeslot 1 sub-slot full
    timeslot 1
     phys_chan_config SDCCH8
     e1 line 0 timeslot 2 sub-slot 1
    timeslot 2
     phys_chan_config TCH/F
     e1 line 0 timeslot 2 sub-slot 2
    timeslot 3
     phys_chan_config TCH/F
     e1 line 0 timeslot 2 sub-slot 3
    timeslot 4
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 0
    timeslot 5
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 1
    timeslot 6
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 2
    timeslot 7
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 3
  trx 1
   arfcn 123
   max_power_red 0
   rsl e1 line 0 timeslot 1 sub-slot full
   rsl e1 tei 2
    timeslot 0
     phys_chan_config TCH/F
     e1 line 0 timeslot 4 sub-slot 0
    timeslot 1
     phys_chan_config TCH/F
     e1 line 0 timeslot 4 sub-slot 1
    timeslot 2
     phys_chan_config TCH/F
     e1 line 0 timeslot 4 sub-slot 2
    timeslot 3
     phys_chan_config TCH/F
     e1 line 0 timeslot 4 sub-slot 3
    timeslot 4
     phys_chan_config TCH/F
     e1 line 0 timeslot 5 sub-slot 0
    timeslot 5
     phys_chan_config TCH/F
     e1 line 0 timeslot 5 sub-slot 1
    timeslot 6
     phys_chan_config TCH/F
     e1 line 0 timeslot 5 sub-slot 2
    timeslot 7
     phys_chan_config TCH/F
     e1 line 0 timeslot 5 sub-slot 3
 bts 1
  type bs11
  band GSM900
  location_area_code 2
  training_sequence_code 7
  base_station_id_code 63
  oml e1 line 1 timeslot 6 sub-slot full
  oml e1 tei 25
  trx 0
   arfcn 122
   max_power_red 0
   rsl e1 line 1 timeslot 6 sub-slot full
   rsl e1 tei 1
    timeslot 0
     phys_chan_config CCCH+SDCCH4
     e1 line 1 timeslot 7 sub-slot 0
    timeslot 1
     phys_chan_config SDCCH8
     e1 line 1 timeslot 7 sub-slot 1
    timeslot 2
     phys_chan_config TCH/F
     e1 line 1 timeslot 7 sub-slot 2
    timeslot 3
     phys_chan_config TCH/F
     e1 line 1 timeslot 7 sub-slot 3
    timeslot 4
     phys_chan_config TCH/F
     e1 line 1 timeslot 8 sub-slot 0
    timeslot 5
     phys_chan_config TCH/F
     e1 line 1 timeslot 8 sub-slot 1
    timeslot 6
     phys_chan_config TCH/F
     e1 line 1 timeslot 8 sub-slot 2
    timeslot 7
     phys_chan_config TCH/F
     e1 line 1 timeslot 8 sub-slot 3
  trx 1
   arfcn 124
   max_power_red 0
   rsl e1 line 1 timeslot 6 sub-slot full
   rsl e1 tei 2
    timeslot 0
     phys_chan_config TCH/F
     e1 line 1 timeslot 9 sub-slot 0
    timeslot 1
     phys_chan_config TCH/F
     e1 line 1 timeslot 9 sub-slot 1
    timeslot 2
     phys_chan_config TCH/F
     e1 line 1 timeslot 9 sub-slot 2
    timeslot 3
     phys_chan_config TCH/F
     e1 line 1 timeslot 9 sub-slot 3
    timeslot 4
     phys_chan_config TCH/F
     e1 line 1 timeslot 10 sub-slot 0
    timeslot 5
     phys_chan_config TCH/F
     e1 line 1 timeslot 10 sub-slot 1
    timeslot 6
     phys_chan_config TCH/F
     e1 line 1 timeslot 10 sub-slot 2
    timeslot 7
     phys_chan_config TCH/F
     e1 line 1 timeslot 10 sub-slot 3


More information about the OpenBSC mailing list