> For the complete documentation index, see [llms.txt](https://gsm-hacking.telco-sec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gsm-hacking.telco-sec.com/2g-in-a-b0x/bts.md).

# BTS

Here we need to configure 2 parts

<figure><img src="/files/4jP0B4xceapnjRWUDhdn" alt=""><figcaption></figcaption></figure>

```
sudo vi /etc/osmocom/osmo-bts.cfg
```

```
phy 0
 instance 0
  osmotrx rx-gain 30 ! Set the receiver gain (configured in the hardware) in dB.
  osmotrx tx-attenuation 30 ! Set the transmitter attenuation (configured in the hardware) in dB.
 osmotrx ip local 127.0.0.1
 osmotrx ip remote 127.0.0.1
 no osmotrx timing-advance-loop

```

```
bts 0
 oml remote-ip 127.0.0.1
 ipa unit-id 6969 0
 gsmtap-sapi pdtch
 gsmtap-sapi ccch
 band 900
 trx 0
  phy 0 instance 0
```

{% embed url="<https://downloads.osmocom.org/docs/osmo-bts/master/osmobts-usermanual.pdf>" %}
