I have USRP X300 and I connected a 3-5 volts GPS antenna has been bought online (not manufactured by ettus). I ran a GNRADIO flowgraph, and it gave an error, even I used clock source as O/B GPS DO. Also, I ran the uhd_usrp_probe and it showed no GPS found. Any ideas how to solve this issue?
hi, have you tried using that to osmo-trx-uhd? im receiving an error when selecting gpsdo as clock-ref. it says "gpsdo selected, but no gpsdo detected!" even if i can see that it was found in uhd_usrp_probe.
Hi Henry, I just tried and it pains me to say that it worked right out of the box for me: kosmos% osmo-trx-uhd -C /usr/share/doc/osmo-trx/examples/osmo-trx.cfg Info: SSE3 support compiled in and supported by CPU Info: SSE4.1 support compiled in and supported by CPU Failed to open config file: '/usr/share/doc/osmo-trx/examples/osmo-trx.cfg' kosmos% osmo-trx-uhd -C /usr/share/doc/osmo-trx/examples/osmo-trx-uhd.cfg Info: SSE3 support compiled in and supported by CPU Info: SSE4.1 support compiled in and supported by CPU telnet_interface.c:104 telnet at 127.0.0.1 4237 control_if.c:887 CTRL at 127.0.0.1 4236 Config Settings Log Level............... 0 Device args............. TRX Base Port........... 5700 TRX Address............. 127.0.0.1 GSM BTS Address......... 127.0.0.1 Channels................ 1 Tx Samples-per-Symbol... 4 Rx Samples-per-Symbol... 4 EDGE support............ 0 Reference............... 0 C0 Filler Table......... 1 Multi-Carrier........... 0 Tuning offset........... 0 RSSI to dBm offset...... 0 Swap channels........... 0 Tx Antennas............. 'TX/RX' Rx Antennas............. 'RX2' [INFO] [UHD] linux; GNU C++ version 10.2.0; Boost_107100; UHD_3.15.0.0-3build2 [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Detecting internal GPSDO.... [INFO] [GPS] Found a generic NMEA GPS device [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Setting master clock rate selection to 'automatic'. [INFO] [B200] Asking for clock rate 16.000000 MHz... [INFO] [B200] Actually got clock rate 16.000000 MHz. [INFO] [MULTI_USRP] Setting master clock rate selection to 'manual'. [INFO] [B200] Asking for clock rate 26.000000 MHz... [INFO] [B200] Actually got clock rate 26.000000 MHz. -- Transceiver active with 1 channel(s) Good luck and happy hacking!
I have no idea what this is about. I am a total noob... it is a GPS oscillator? Why do you need that? What does it have to do with being able to run a 4g/5g network?
I'm running a GSM network with Ettus usrp B210. But it isnt running when i start 'osmo-bts-trx'. You can share all .cfg file for me? (osmo-hlr, osmo-bsc, osmo-msc, osmo-trx_uhd, osmo-bts-trx) I check to see where the error is. Thanks!
/////////osmo-bts-trx socket.c:912 unable to bind socket:127.0.0.1:4238: Address already in use socket.c:923 no suitable addr found for: 127.0.0.1:4238 socket.c:912 unable to bind socket:127.0.0.1:4241: Address already in use socket.c:923 no suitable addr found for: 127.0.0.1:4241 telnet_interface.c:100 Cannot bind telnet at 127.0.0.1 4241 Error initializing telnet
@@TinhNguyen-vq7dg looks like you haven't correctly configured the local IP addresses between the services. Maybe you can try a prepackaged environment such a this open5GS docker environment: github.com/herlesupreeth/docker_open5gs
This is NOT a GPSDO, therefore, in this video there is no point in attaching a GPS antenna. I purchased what was advertised as a GPSDO from aliexpress but instead they sent me the exact same one shown in this video. The store's response was ”this is just an isothermal crystal oscillator. It's not a GPS-DO, it doesn't have a GPS module, which is why it's cheap. It just uses clever design to make UHD think it's a GPS-DO, but it's not really a GPS-DO. OCXO can provide high-precision 10MHz reference for B210, improving its frequency accuracy and phase noise” As an alternative, external standalone GPSDO devices are generally much cheaper (almost half the price).
I used the LEA-M8F-0-00 unit but it did not work for me. I get the error NO FOUND GPSDO. What should I do? Can you advise me? Thank you very much.
I USE UBUNTO 18.04.6 AND 22.04
Hi, thank you for video. Is it matter to buy chinese USRP or original if we taking into account price difference?
I have USRP X300 and I connected a 3-5 volts GPS antenna has been bought online (not manufactured by ettus). I ran a GNRADIO flowgraph, and it gave an error, even I used clock source as O/B GPS DO.
Also, I ran the uhd_usrp_probe and it showed no GPS found. Any ideas how to solve this issue?
Hi Dr. Niels, what's the GPS antenna reference? Some book or course recommendations to learn about this kind of USRPs, for beginners?
This is not GPSDO. This is just OCXO. And it is does not work, judging on "GPS lock" LED. Your SDR still use internal clock, not this OCXO.
So, how to fix this?
hi, have you tried using that to osmo-trx-uhd? im receiving an error when selecting gpsdo as clock-ref. it says "gpsdo selected, but no gpsdo detected!" even if i can see that it was found in uhd_usrp_probe.
Hi Henry, I just tried and it pains me to say that it worked right out of the box for me:
kosmos% osmo-trx-uhd -C /usr/share/doc/osmo-trx/examples/osmo-trx.cfg
Info: SSE3 support compiled in and supported by CPU
Info: SSE4.1 support compiled in and supported by CPU
Failed to open config file: '/usr/share/doc/osmo-trx/examples/osmo-trx.cfg'
kosmos% osmo-trx-uhd -C /usr/share/doc/osmo-trx/examples/osmo-trx-uhd.cfg
Info: SSE3 support compiled in and supported by CPU
Info: SSE4.1 support compiled in and supported by CPU
telnet_interface.c:104 telnet at 127.0.0.1 4237
control_if.c:887 CTRL at 127.0.0.1 4236
Config Settings
Log Level............... 0
Device args.............
TRX Base Port........... 5700
TRX Address............. 127.0.0.1
GSM BTS Address......... 127.0.0.1
Channels................ 1
Tx Samples-per-Symbol... 4
Rx Samples-per-Symbol... 4
EDGE support............ 0
Reference............... 0
C0 Filler Table......... 1
Multi-Carrier........... 0
Tuning offset........... 0
RSSI to dBm offset...... 0
Swap channels........... 0
Tx Antennas............. 'TX/RX'
Rx Antennas............. 'RX2'
[INFO] [UHD] linux; GNU C++ version 10.2.0; Boost_107100; UHD_3.15.0.0-3build2
[INFO] [B200] Detected Device: B210
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Detecting internal GPSDO....
[INFO] [GPS] Found a generic NMEA GPS device
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [MULTI_USRP] Setting master clock rate selection to 'manual'.
[INFO] [B200] Asking for clock rate 26.000000 MHz...
[INFO] [B200] Actually got clock rate 26.000000 MHz.
-- Transceiver active with 1 channel(s)
Good luck and happy hacking!
I have no idea what this is about. I am a total noob... it is a GPS oscillator? Why do you need that? What does it have to do with being able to run a 4g/5g network?
It's all about timing and syncing! www.ion.org/publications/abstract.cfm?articleID=3083
I'm running a GSM network with Ettus usrp B210. But it isnt running when i start 'osmo-bts-trx'.
You can share all .cfg file for me? (osmo-hlr, osmo-bsc, osmo-msc, osmo-trx_uhd, osmo-bts-trx)
I check to see where the error is. Thanks!
/////////osmo-bts-trx
socket.c:912 unable to bind socket:127.0.0.1:4238: Address already in use
socket.c:923 no suitable addr found for: 127.0.0.1:4238
socket.c:912 unable to bind socket:127.0.0.1:4241: Address already in use
socket.c:923 no suitable addr found for: 127.0.0.1:4241
telnet_interface.c:100 Cannot bind telnet at 127.0.0.1 4241
Error initializing telnet
@@TinhNguyen-vq7dg looks like you haven't correctly configured the local IP addresses between the services. Maybe you can try a prepackaged environment such a this open5GS docker environment: github.com/herlesupreeth/docker_open5gs
Else perhaps try the Osmocom openbsc mailinglist? They are rly quite responsive.
@@mediactionfoundation you can share all configure files.
I send you my .cfg files. Do you see anything wrong with these configuration files? Thanks!
////////// * osmo-hlr files:
!
! OsmoHLR example configuration
!
log stderr
logging filter all 1
logging color 1
logging print category 1
logging print category-hex 0
logging print level 1
logging print file basename last
logging print extended-timestamp 1
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level linp error
!
line vty
bind 127.0.0.1
ctrl
bind 127.0.0.1
hlr
gsup
bind ip 127.0.0.1
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
subscriber-create-on-demand 5 cs+ps
store-imei
////////////////////* osmo-bsc files:
! osmo-bsc default configuration
! (assumes STP to run on 127.0.0.1 and uses default point codes)
!
e1_input
e1_line 0 driver ipa
network
network country code 452
mobile network code 02
encryption a5 0
neci 1
paging any use tch 0
handover 0
handover algorithm 1
handover1 window rxlev averaging 10
handover1 window rxqual averaging 1
handover1 window rxlev neighbor averaging 10
handover1 power budget interval 6
handover1 power budget hysteresis 3
handover1 maximum distance 9999
periodic location update 30
bts 0
type sysmobts
band GSM900
cell_identity 123
location_area_code 456
base_station_id_code 63
ms max power 15
cell reselection hysteresis 4
rxlev access min 0
radio-link-timeout 32
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-description attach 1
channel-description bs-pa-mfrms 5
channel-description bs-ag-blks-res 1
early-classmark-sending forbidden
ipa unit-id 6969 0
oml ipa stream-id 255 line 0
codec-support fr
gprs mode none
trx 0
rf_locked 0
arfcn 6
nominal power 23
! to use full TRX power, set max_power_red 0
max_power_red 20
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH+SDCCH4
hopping enabled 0
timeslot 1
phys_chan_config TCH/F
hopping enabled 0
timeslot 2
phys_chan_config TCH/F
hopping enabled 0
timeslot 3
phys_chan_config TCH/F
hopping enabled 0
timeslot 4
phys_chan_config TCH/F
hopping enabled 0
timeslot 5
phys_chan_config TCH/F
hopping enabled 0
timeslot 6
phys_chan_config TCH/F
hopping enabled 0
timeslot 7
phys_chan_config TCH/F
hopping enabled 0
cs7 instance 0
point-code 1.23.3
asp asp-clnt-msc-0 2905 0 m3ua
remote-ip 127.0.0.1
sctp-role client
sccp-address remote-pc1
point-code 0.23.1
msc 0
msc-addr remote-pc1
allow-emergency allow
amr-config 12_2k forbidden
amr-config 10_2k forbidden
amr-config 7_95k forbidden
amr-config 7_40k forbidden
amr-config 6_70k forbidden
amr-config 5_90k allowed
amr-config 5_15k forbidden
amr-config 4_75k forbidden
mgw remote-ip 127.0.0.1
mgw remote-port 2427
mgw local-port 2727
mgw endpoint-range 1 31
bsc
mid-call-timeout 0
//////////////* osmo-msc files:
!
! OsmoMSC configuration saved from vty
!
line vty
no login
!
network
network country code 452
mobile network code 02
short name OsmoMSC
long name OsmoMSC
encryption a5 0
rrlp mode none
mm info 1
msc
mgw remote-ip 127.0.0.1
mgw remote-port 2427
mgw local-port 2728
assign-tmsi
auth-tuple-max-reuse-count 3
auth-tuple-reuse-on-error 1
cs7 instance 0
point-code 0.23.1
sccp-address remote-pc1
point-code 0.23.1
asp my-asp 2905 0 m3ua
local-ip 127.0.0.1
remote-ip 127.0.0.1
*//////////////////osmo-trx-uhd
log stderr
logging filter all 1
logging color 1
logging print category 1
logging timestamp 1
logging print file basename
logging level set-all notice
!
line vty
no login
!
cpu-sched
policy rr 18
trx
bind-ip 127.0.0.1
remote-ip 127.0.0.1
rx-sps 4
multi-arfcn disable
swap-channels disable
egprs disable
chan 0
rx-path RX2
tx-path TX/RX
//////////////** osmo-bts-trx files:
!
! OsmoBTS () configuration saved from vty
!!
!
log stderr
logging filter all 1
logging color 1
logging timestamp 0
logging level rsl notice
logging level oml notice
logging level rll notice
logging level rr notice
logging level meas error
logging level pag error
logging level l1c error
logging level l1p error
logging level dsp error
logging level abis error
!
line vty
no login
!
phy 0
instance 0
osmotrx rx-gain 1
osmotrx ip local 127.0.0.1
osmotrx ip remote 127.0.0.1
bts 0
band GSM900
ipa unit-id 6969 0
oml remote-ip 127.0.0.1
pcu-socket ${path-in-rundir}
trx 0
phy 0 instance 0
how much for this ?
The OCXO GPS-DO from eBay was roughly ~100 USD. Please find the links in the comments.
@@mediactionfoundation www.aliexpress.com/item/32904738426.html?spm=a2g0s.12269583.0.0.5c57451ajN8oBG
This is NOT a GPSDO, therefore, in this video there is no point in attaching a GPS antenna. I purchased what was advertised as a GPSDO from aliexpress but instead they sent me the exact same one shown in this video. The store's response was ”this is just an isothermal crystal oscillator. It's not a GPS-DO, it doesn't have a GPS module, which is why it's cheap. It just uses clever design to make UHD think it's a GPS-DO, but it's not really a GPS-DO. OCXO can provide high-precision 10MHz reference for B210, improving its frequency accuracy and phase noise”
As an alternative, external standalone GPSDO devices are generally much cheaper (almost half the price).
Could you recommend any external standalone GPS-DO devices?
I used the LEA-M8F-0-00 unit but it did not work for me. I get the error NO FOUND GPSDO. What should I do? Can you advise me? Thank you very much.
I USE UBUNTO 18.04.6 AND 22.04