π΅πΉ 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