Hello List, Ii'm facing problem when i'l trying to run ./mobil application i'm getting below error. if i need some USB or serial SIM reader, or should insert the sim in my MS itself thanks in advance for help. ========= Failed to connect to '/tmp/osmocom_sap'. <<<<<<<<< Failed during sap_open(), no SIM reader <000e> sim.c:1206 init SIM client <0005> gsm48_cc.c:61 init Call Control <0001> gsm48_rr.c:4944 init Radio Ressource process <0004> gsm48_mm.c:1220 init Mobility Management process <0004> gsm48_mm.c:971 Selecting PLMN SEARCH state, because no SIM. <0002> gsm322.c:3471 init PLMN process <0003> gsm322.c:3472 init Cell Selection process <0003> gsm322.c:3526 No stored BA list Failed to parse the config file: '/etc/osmocom/osmocom.cfg' Please check or create config file using: 'touch /etc/osmocom/osmocom.cfg' <<<<<<<< What Is the solution for this how i can do this ========== Regards, Dev
Hi Dev, On 08.11.2010 21:21, Dev Purohit wrote:
Hello List,
Ii'm facing problem when i'l trying to run ./mobil application i'm getting below error. if i need some USB or serial SIM reader, or should insert the sim in my MS itself thanks in advance for help.
If you want to use a real SIM-card in the phone, you need to use the sylvain/testing branch (git checkout sylvain/testing), and you need to tell mobile it should use a real SIM as well by adding "sim reader" to your osmocom.cfg.
Failed to connect to '/tmp/osmocom_sap'.<<<<<<<<< Failed during sap_open(), no SIM reader
This is normal for now, since we don't have working BTSAP.
Failed to parse the config file: '/etc/osmocom/osmocom.cfg' Please check or create config file using: 'touch /etc/osmocom/osmocom.cfg'<<<<<<<<
Nothing to add. Create this file and then save the config via the vty. (telnet localhost 4247 -> "enable" -> "configure terminal" -> "write") Regards, Steve
Hello Steve, Thank you for your very very quick response, I'm using sylvain/testing branch only
use a real SIM as well by adding "sim reader" to your osmocom.cfg.<<<
pls guide me, how to add "sim reader" to my osmocom.cfg ? Regards, Dev --- On Mon, 11/8/10, Steve Markgraf <steve@steve-m.de> wrote: From: Steve Markgraf <steve@steve-m.de> Subject: Re: application ./mobil To: "Dev Purohit" <devpurohit19@yahoo.com> Cc: baseband-devel@lists.osmocom.org Date: Monday, November 8, 2010, 8:52 PM Hi Dev, On 08.11.2010 21:21, Dev Purohit wrote:
Hello List,
Ii'm facing problem when i'l trying to run ./mobil application i'm getting below error. if i need some USB or serial SIM reader, or should insert the sim in my MS itself thanks in advance for help.
If you want to use a real SIM-card in the phone, you need to use the sylvain/testing branch (git checkout sylvain/testing), and you need to tell mobile it should use a real SIM as well by adding "sim reader" to your osmocom.cfg.
Failed to connect to '/tmp/osmocom_sap'.<<<<<<<<< Failed during sap_open(), no SIM reader
This is normal for now, since we don't have working BTSAP.
Failed to parse the config file: '/etc/osmocom/osmocom.cfg' Please check or create config file using: 'touch /etc/osmocom/osmocom.cfg'<<<<<<<<
Nothing to add. Create this file and then save the config via the vty. (telnet localhost 4247 -> "enable" -> "configure terminal" -> "write") Regards, Steve
Hi, On 08.11.2010 23:25, Dev Purohit wrote:
use a real SIM as well by adding "sim reader" to your osmocom.cfg.<<< pls guide me, how to add "sim reader" to my osmocom.cfg ?
There are 3 possibilities: "no sim", "sim test" for using the test-sim specified in the config file and "sim reader" for using a sim in the phone. See the attached config file. You should replace the IMEI, or use the random IMEI-feature. Put it to /etc/osmocom/ and make sure that the user that runs ./mobile has read/write permissions for this file. Regards, Steve
participants (2)
-
Dev Purohit -
Steve Markgraf