# BTS

Here we need to configure 2 parts

<figure><img src="https://2613192458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn3oHn1ZSKeuSvMzHHmON%2Fuploads%2F29t1sLi5urDzhJjB1x07%2Fimage.png?alt=media&#x26;token=e4323443-f9fc-4e82-92d4-70b23f4b2423" 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>" %}
