Hello,
im trying to open the mobile application but it tells me that it failed to parse the configuration file.
~/osmocom/osmocom-bb/src/host/layer23/src/mobile# sudo ./mobile Copyright (C) 2010-2015 Andreas Eversberg, Sylvain Munaut, Holger Freyther, Harald Welte Contributions by Alex Badea, Pablo Neira, Steve Markgraf and others
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
<0011> app_mobile.c:451 Failed to parse the configuration file '/root/.osmocom/bb/mobile.cfg' <0011> app_mobile.c:454 Please make sure the file '/root/.osmocom/bb/mobile.cfg' exists, or use an example from 'doc/examples/mobile/'
i was searching for the directory /root/.osmocom/bb/ to build the missing file but i cannot find it.
Am i blind or where is this folder? it is not in my Home or root directory.
Thanks for your help
best regards
msfu
On 4/8/22 16:16, msfu wrote:
<0011> app_mobile.c:451 Failed to parse the configuration file '/root/.osmocom/bb/mobile.cfg' <0011> app_mobile.c:454 Please make sure the file '/root/.osmocom/bb/mobile.cfg' exists, or use an example from 'doc/examples/mobile/'
i was searching for the directory /root/.osmocom/bb/ to build the missing file but i cannot find it.
Am i blind or where is this folder? it is not in my Home or root directory.
You have two options here: a) explicitly specify the config file using the '-c' option; b) create the missing directory and put an example configuration there.
If you go for a), then try doing the following:
$ ./mobile -c ~/osmocom/osmocom-bb/src/doc/examples/mobile/default.cfg
If you prefer b), then do the following:
$ mkdir -p /root/.osmocom/bb/ $ cp ~/osmocom/osmocom-bb/src/doc/examples/mobile/default.cfg \ /root/.osmocom/bb/mobile.cfg $ ./mobile
Best regards, Vadim.
baseband-devel@lists.osmocom.org