Hello every:
When I tried to run ./mobile -i 127.0.0.1, the words
Failed to parse the config file: '/root/.osmocom/bb/mobile.cfg' Please check or create config file using:'touch /root/osmocom/bb/mobile.cfg'
came out.
I checked my directory /ect and there is nothing there. It seems that network between my PC and phone is block so that the application ./mobile can not communicate with phone. However the layer1 can load on the phone and work properly.
Can any one tell my how to fix this problem?
Cheers, Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi Li
As the output of mobile indicates, you need to create an empty file located at /root/osmocom/bb/mobile.cfg Then it should work.
Ben
Quoting josephli josephli1029@hotmail.com:
Hello every:
When I tried to run ./mobile -i 127.0.0.1, the words
Failed to parse the config file: '/root/.osmocom/bb/mobile.cfg' Please check or create config file using:'touch /root/osmocom/bb/mobile.cfg'
came out.
I checked my directory /ect and there is nothing there. It seems that network between my PC and phone is block so that the application ./mobile can not communicate with phone. However the layer1 can load on the phone and work properly.
Can any one tell my how to fix this problem?
Cheers, Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi Li
Sorry, the actual config file path for you setup should be /root/.osmocom/bb/mobile.cfg instead of /root/osmocom/bb/mobile.cfg
Ben
Quoting weberbe@ee.ethz.ch:
Hi Li
As the output of mobile indicates, you need to create an empty file located at /root/osmocom/bb/mobile.cfg Then it should work.
Ben
Quoting josephli josephli1029@hotmail.com:
Hello every:
When I tried to run ./mobile -i 127.0.0.1, the words
Failed to parse the config file: '/root/.osmocom/bb/mobile.cfg' Please check or create config file using:'touch /root/osmocom/bb/mobile.cfg'
came out.
I checked my directory /ect and there is nothing there. It seems that network between my PC and phone is block so that the application ./mobile can not communicate with phone. However the layer1 can load on the phone and work properly.
Can any one tell my how to fix this problem?
Cheers, Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi Ben
I read some person's comment from other posts. Some one advised to create an empty file as
sudo mkdir /etc/osmocom sudo touch /etc/osmocom/osmocom.cfg
I followed that but it did not work for me. The same error was still there
Thanks for your reply, I will try your method tomorrow
Cheers
Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
OK, the mobile application (current master branch) does no longer use the /etc directory. It uses .osmocom/bb/mobile.cfg in the users home directory instead. See also commit 4be57b9afd0f7a07361a5ac24a271adfd5e302d1. This was actually discussed here http://baseband-devel.722152.n3.nabble.com/Help-me-I-have-a-difficult-proble...
Hope this helps
Quoting josephli josephli1029@hotmail.com:
Hi Ben
I read some person's comment from other posts. Some one advised to create an empty file as
sudo mkdir /etc/osmocom sudo touch /etc/osmocom/osmocom.cfg
I followed that but it did not work for me. The same error was still there
Thanks for your reply, I will try your method tomorrow
Cheers
Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi Ben,
Many thanks for helping me.
It actually works well by adding the new file in the specific directory. I check the guild on wiki, it told me the wrong information and that is why I stuck there. Now I can see the layer23 searching the cells and layer1 output the information from the command window. But after I start the telnet, it shows that "MS '1' is admin down". Is that mean we need to write a config file to fit the specific network, instead of creating a empty mobile.cfg file?
Cheers,
Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi Li
If you want your phone to be up check this out (quick google search):
http://lists.osmocom.org/pipermail/baseband-devel/2011-January/000929.html
Hope this helps
Ben
Quoting josephli josephli1029@hotmail.com:
Hi Ben,
Many thanks for helping me.
It actually works well by adding the new file in the specific directory. I check the guild on wiki, it told me the wrong information and that is why I stuck there. Now I can see the layer23 searching the cells and layer1 output the information from the command window. But after I start the telnet, it shows that "MS '1' is admin down". Is that mean we need to write a config file to fit the specific network, instead of creating a empty mobile.cfg file?
Cheers,
Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi
I checked the 'ms 1' status. It shown as follow
Status:U2_NOT_UPDATED IMSI detached LAI:invalid
It seems that phone didn't read the sim card information properly.
Can you help me to fix it?
Cheers
Li
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
It does work for the first time after I enable the sim by
''enable'--'conf t'--'ms 1'--'no shutdown'
I really could make a phone call. But after that, when I try to swap another sim card, ms 1 could never wake up again. That's strange, isn't it ?
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/problems-to-run-mobile-app-tp3165... Sent from the baseband-devel mailing list archive at Nabble.com.
baseband-devel@lists.osmocom.org