πŸ‡΅πŸ‡Ή Portugal Configuration Guide

YateBTS Optimized for Portugal's GSM Regulations

Complete configuration guide for Portugal's GSM 900 MHz bands and ANACOM compliance

πŸ‡΅πŸ‡Ή Portugal GSM Overview

This guide provides optimized YateBTS configurations specifically designed for Portugal's GSM frequency allocations and regulatory requirements set by ANACOM (Autoridade Nacional de ComunicaΓ§Γ΅es).

βœ… Portugal-Specific Optimizations

Configurations include proper MCC/MNC codes, GSM 900 MHz frequency bands, ARFCN allocations, and power settings compliant with Portuguese regulations.

πŸ“‘ Portugal GSM Frequency Bands

πŸ“Ά GSM 900 MHz

  • Uplink: 890-915 MHz
  • Downlink: 935-960 MHz
  • ARFCN Range: 1-124
  • Channel Spacing: 200 kHz
  • Duplex Spacing: 45 MHz
  • Primary Band: Most common in Portugal

πŸ“Ά GSM 1800 MHz

  • Uplink: 1710-1785 MHz
  • Downlink: 1805-1880 MHz
  • ARFCN Range: 512-885
  • Channel Spacing: 200 kHz
  • Duplex Spacing: 95 MHz
  • Urban Areas: Higher capacity

🏒 Portuguese Operators

  • Vodafone: MNC 01
  • NOS: MNC 03
  • MEO: MNC 06
  • MCC: 268 (Portugal)
  • Test Network: MNC 99
  • ANACOM: Regulatory authority

βš™οΈ Portugal-Specific Configuration

Network Identity Settings

[identity]
# Portugal Mobile Country Code
MCC=268

# Test Network Code (avoid conflicts with real operators)
MNC=99

# Location Area Code (choose unique value)
LAC=1001

# Cell Identity (unique within LAC)
CI=1001

# Network names
ShortName=RFS-PT
Name=RFS-Portugal-BTS

Portugal GSM 900 MHz Configuration

[gsm]
# Portugal GSM 900 MHz settings
arfcn=62             # Portugal GSM 900 channel 62
frequency=935200000  # 935.2 MHz downlink
band=GSM900

# Portugal-specific cell parameters
cell_id=1001
lac=1001
mcc=268              # Portugal MCC
mnc=99               # Test network
cell_name=RFS-PT-BTS

# Radio settings for Portugal
Radio.C0=62          # ARFCN 62 (935.2 MHz)
Radio.Band=900
Radio.PowerManager.MaxAttenDB=10
GSM.Radio.RxGain=47
GSM.Radio.TxAttenOffset=0

Frequency Band Settings

[radio]
# Portugal GSM 900 MHz configuration
Band=900
C0=62
PowerManager.MaxAttenDB=10
PowerManager.MinAttenDB=40

# Portugal frequency band allocations
FrequencyBand=900
UplinkStart=890000000
UplinkEnd=915000000
DownlinkStart=935000000
DownlinkEnd=960000000

πŸ”§ Device-Specific Configurations

BladeRF Micro A4 for Portugal

[transceiver]
# BladeRF Micro A4 optimized for Portugal
type=bladerf
device=bladerf:0

# Portugal GSM 900 MHz frequencies
tx_freq=935200000    # Portugal downlink (CH 62)
rx_freq=890200000    # Portugal uplink (CH 62)

# Power settings compliant with Portugal regulations
power=20
bandwidth=20000000
samplerate=20000000
gain=45
tx_gain=45
rx_gain=45

# Portugal-specific optimizations
dc_correction=yes
iq_correction=yes
calibration=auto

LimeSDR Mini for Portugal

[transceiver]
# LimeSDR Mini optimized for Portugal
radiodevice=soapy
radio_args=driver=lime,soapy=0

# Portugal GSM 900 MHz frequencies
tx_freq=935200000    # Portugal downlink (CH 62)
rx_freq=890200000    # Portugal uplink (CH 62)

# Power settings compliant with Portugal regulations
power=20
tx_attenuation=0
rx_gain=40

[soapy]
# LimeSDR Mini specific settings for Portugal
device_args=driver=lime
sample_rate=13000000
bandwidth=10000000
rx_gain=30
tx_gain=30
channels=1
antenna=LNAW

πŸ“‹ Portugal ARFCN Reference

πŸ“‘ Common Portugal ARFCN Channels

These ARFCN values are commonly used in Portugal and provide good coverage:

πŸ™οΈ Urban Areas

  • ARFCN 62: 935.2 MHz (Recommended)
  • ARFCN 63: 935.4 MHz
  • ARFCN 64: 935.6 MHz
  • ARFCN 65: 935.8 MHz

πŸŒ„ Rural Areas

  • ARFCN 45: 934.0 MHz
  • ARFCN 46: 934.2 MHz
  • ARFCN 47: 934.4 MHz
  • ARFCN 48: 934.6 MHz

πŸ”§ Test Channels

  • ARFCN 25: 930.0 MHz
  • ARFCN 26: 930.2 MHz
  • ARFCN 27: 930.4 MHz
  • ARFCN 28: 930.6 MHz

βš–οΈ Portugal Regulatory Compliance

⚠️ Important Legal Notice

ANACOM Compliance Required: Operating GSM base stations in Portugal requires compliance with ANACOM regulations. This configuration is for authorized testing and research purposes only.

πŸ“‹ Key Requirements

  • Power limits compliance
  • Frequency allocation respect
  • No interference with licensed services
  • Proper authorization for testing
  • Documentation of activities
  • Emergency shutdown capability

πŸ”’ Security Considerations

  • Authorized testing only
  • No unauthorized interception
  • Proper data protection
  • Ethical hacking principles
  • Responsible disclosure
  • Professional standards

πŸ“ž ANACOM Contact

  • Website: anacom.pt
  • Email: [email protected]
  • Phone: +351 21 721 10 00
  • Address: Lisbon, Portugal
  • Regulations: Available online
  • Licensing: Contact for requirements

πŸš€ Quick Setup for Portugal

Step 1: Use Portugal-Optimized Configuration

# For BladeRF Micro A4
sudo cp config/bladerf-micro-a4-portugal.conf /etc/yate/ybts.conf

# For LimeSDR Mini
sudo cp config/limesdr-mini-portugal.conf /etc/yate/ybts.conf

# Set proper permissions
sudo chown yate:yate /etc/yate/ybts.conf
sudo chmod 644 /etc/yate/ybts.conf

Step 2: Verify Configuration

# Test configuration
sudo yatebts -c /etc/yate/ybts.conf --validate

# Check Portugal-specific settings
grep -E "(MCC|MNC|arfcn|frequency)" /etc/yate/ybts.conf

Step 3: Start YateBTS

# Start the service
sudo systemctl start yatebts

# Check status
sudo systemctl status yatebts

# Monitor logs
sudo journalctl -u yatebts -f

πŸ” Troubleshooting Portugal Configuration

❌ Common Issues

  • Wrong MCC/MNC codes
  • Invalid ARFCN values
  • Power level conflicts
  • Frequency interference
  • Permission errors
  • Service startup failures

πŸ”§ Solutions

  • Verify MCC=268, MNC=99
  • Use ARFCN 62-65 range
  • Check power settings
  • Monitor frequency usage
  • Fix file permissions
  • Check service logs

πŸ“Š Validation

  • Configuration syntax check
  • Frequency range validation
  • Power level verification
  • Network parameter check
  • Service status monitoring
  • Signal quality assessment

πŸ‡΅πŸ‡Ή Configure for Portugal Now

Use our Portugal-optimized configurations for compliant GSM BTS operation

πŸ“– Getting Started πŸ”§ Troubleshooting πŸ’¬ Community Support