Project

General

Profile

BS11Getting Started » History » Version 6

laforge, 02/19/2016 10:47 PM
add notes on how to fix wrong TS / TEI

1 1 laforge
If you have just purchased a new BS-11, this guide will give you some basic instructions on how to proceed.
2 1 laforge
3 1 laforge
== Check Package contents ==
4 1 laforge
5 1 laforge
Please check the [wiki:BS11_Package_List Packing List] and see if you can find all the items in your two boxes.
6 1 laforge
If there is any doubt, please contact the openbsc mailing list and ask for help.
7 1 laforge
8 1 laforge
== Build a power cable ==
9 1 laforge
10 1 laforge
Please follow the instructions at [wiki:BS11_Configuration] to manufacture the power cable
11 1 laforge
12 1 laforge
== Build E1 cable ==
13 1 laforge
14 1 laforge
Please follow the instructions at [wiki:BS11_Configuration] to manufacture the E1 cable
15 1 laforge
from RJ45 to the strange RADIALL twinax connectors
16 1 laforge
17 1 laforge
== Configure the BS-11 Jumpers ==
18 1 laforge
19 1 laforge
If you remove the connector cover (loosen three Philips screws), you will uncover the four E1 connectors,
20 1 laforge
as well as the RS232 ports.  There are also four green jumpers at the side of the connector panel.  The
21 1 laforge
factory default of those connectors is 75Ohms.  You need to remove all of the four jumpers to switch to
22 1 laforge
120Ohms termination.
23 1 laforge
24 1 laforge
== Mount and connect the BS-11 Antenna ==
25 1 laforge
26 1 laforge
The Antenna needs to be attached to the BS11 main unit by the means of four screws.  Screws are included in
27 1 laforge
a small plastic bag.
28 1 laforge
29 1 laforge
Connect the four RF antenna cables to the connectors of the BS-11.  Their order is 1:1, i.e. leftmost plug into leftmost socket, etc.
30 1 laforge
31 4 dimitri
Be aware of the fact that the panel antenna adds some gain to the transmission path. So even if you configure the BTS to transmit with the lowest power possible, the effective radiated power (ERP) may exceed permitted limits.
32 4 dimitri
33 1 laforge
== Test the BS-11 status and configuration ==
34 1 laforge
35 1 laforge
 * connect the power plug to the BS-11
36 1 laforge
 * connect the RS232 cable to J2 of the BS-11 (see photograph)
37 1 laforge
 * connect the RS232 cable to your PC
38 1 laforge
 * switch on the power switch of the BS-11 (the LED should light up green in 2-3 seconds)
39 1 laforge
 * start the bs11_config program to observe the boot process (see [wiki:bs11_config] for details)
40 1 laforge
  * you should observe the boot process like it is indicated at the [wiki:bs11_config] page
41 1 laforge
  * at the end of the process (10 minutes or so), you should have ''Phase 3 Normal'' and ''MBCCU0 Load'' and ''Abis-Link Restoring''
42 1 laforge
  * MBCCU1 might be ''Load'' or ''No Load'', depending on whether TRX1 is activated or not
43 2 laforge
{{{
44 2 laforge
PHASE: 3 Normal               MBCCU0: Load        MBCCU1: No Load     Abis-link: Restoring
45 2 laforge
}}}
46 1 laforge
 * Once you are in "Phase 3 Normal", use ''bs11_config query'' to query the configuration
47 1 laforge
  * OML TEI must be 25
48 2 laforge
  * OML E1 Timeslot must be 1 and the full 64kbps timeslot (Full Slot)
49 2 laforge
{{{
50 2 laforge
SITE MANAGER  ATTRIBUTES:
51 2 laforge
        E1 Channel: Port=0 Timeslot=1 (Full Slot)
52 2 laforge
        TEI: 25
53 2 laforge
}}}
54 1 laforge
55 6 laforge
If your TEI or E1 Timeslot is configured to a wrong value, you can use the following sequence of commands to fix it:
56 6 laforge
{{{
57 6 laforge
$ ./bs11_config disconnect # you should now be in ''State 2 Maintenance''
58 6 laforge
$ ./bs11_config oml-tei    # you will see a SET ATTRIBUTE ACK and can then terminate the program
59 6 laforge
$ ./bs11_config reconnect  # brings you back to ''State 3 Normal''.
60 6 laforge
$ ./bs11_config query      # to verify that the setting of E1 Timeslot and TEI is now correct
61 6 laforge
}}}
62 6 laforge
63 6 laforge
If you see any other difference (i.e. not reaching ''Phase 3 Normal'' or no ''MBCCU0 Load'') please
64 1 laforge
contact the openbsc@lists.gnumonks.org mailinglist with the full details.
65 1 laforge
66 1 laforge
If everything is correct, you can proceed as follows:
67 1 laforge
68 1 laforge
== Preparing the E1 card ==
69 1 laforge
70 1 laforge
=== HFC-E1 Evaluation Board ===
71 1 laforge
72 1 laforge
 * make sure you configure the jumpers for NT Mode and Termination to 120 Ohms, reference [wiki:HFC-E1]
73 1 laforge
74 1 laforge
== Preparing your PC ==
75 1 laforge
76 1 laforge
 * Install a current (>= 2.6.27) Linux kernel source
77 1 laforge
 * Apply the patch from svn trunk/linux-kernel to your kernel
78 1 laforge
 * Configure the kernel as usual, make sure you enable the mISDN core and driver for HFC-E1 (hfcmulti)
79 1 laforge
 * Install and boot the kernel, load hfcmulti '''with dslot=1 module load parameter'''
80 1 laforge
 * Check out the latest SVN version of OpenBSC
81 1 laforge
 * Compile it
82 1 laforge
  * You need the following build dependencies: autoconf, automake, gcc, libc6-dev, libdbi-dev, libdbd-sqlite3, yacc
83 3 dimitri
{{{
84 3 dimitri
svn checkout http://bs11-abis.gnumonks.org/svn/trunk/openbsc
85 3 dimitri
cd openbsc
86 3 dimitri
aclocal
87 3 dimitri
autoconf
88 3 dimitri
automake --add-missing
89 3 dimitri
./configure
90 3 dimitri
make
91 3 dimitri
}}}
92 3 dimitri
  * You may experience compilation problems when you use the latest and greatest trunk version. This is a normal behavior, since OpenBSC is under heavy development. Please contact the mailing list and ask for help in that case.
93 1 laforge
94 1 laforge
== Testing the E1 Link ==
95 1 laforge
96 1 laforge
 * connect the RJ45 plug of the E1 cable with your E1 card in the PC
97 1 laforge
 * connect the two twinax connectors of your E1 cable (correctly!) to the BS-11 connector board, use the two leftmost connectors
98 1 laforge
 * keep the LMT / RS232 cable connected
99 1 laforge
 * power-on the BS-11 if it is not already powered-up
100 1 laforge
 * Start bs11_config and wait until you enter ''Phase 3 Normal, Abis-Link: Restoring''
101 5 holger
 * run the "bsc_hack" program, pass it the '-f ' paramenter for the [http://www.telecomabc.com/a/arfcn.html ARFCN] you want to use.  '''Make sure you use a frequency that you have permission to use''', and/or limit your output power to a level that you are allowed to transmit.  The default ARFCN is 123.
102 1 laforge
 * Verify that bs11_config now prints ''Phase 3 Normal, Abis-Link: Up''
103 1 laforge
 * bsc_hack should print you a lot of yellow lines about setting channel attributes and event state changes
104 1 laforge
 * at some point you should see 'Bootstrapping RSL'
105 1 laforge
 * congratulations, your BS-11 should be running and you should see the BCCH (network ID 01-001) from a GSM phone.
Add picture from clipboard (Maximum size: 48.8 MB)