Hello
I hope someone can help me whit this , that i dont understand, the sap_open() function...
i already make in C115 , c139 and C118 (actually the C118 is not support for latino america) the Hello_world, Layer1 and Rssi, Im using a Latino american Sim card from Claro and Telefonica.. he provider are actually using GSM 850-1900 MHz.band
Actually im trying to log in the Wireshark the GSM calls, sms and other's stuff to look at it... but when i try to run the "Misc apps " all the apps get me the same error-
**** Failed to connect to '/tmp/osmocom_sap'. Failed during sap_open(), no SIM reader **** when i try to find this file is not created.
root@cyttek:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# file /tmp/osmocom_* /tmp/osmocom_l2: socket /tmp/osmocom_loader: socket
I find that is the file for the process of simcard reader (if im not wrong) .. but actually i didnt find the file its not created..
any one knows whats the problem or how i can dump to wireshark the stuff.?
thanks...
================================================================================ root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# *./ccch_scan * Copyright (C) 2010 Harald Welte laforge@gnumonks.org Contributions by Holger Hans Peter Freyther
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.
Failed to connect to '/tmp/osmocom_sap'. Failed during sap_open(), no SIM reader ^CSignal 2 recevied.
================================================================================ root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# *./bcch_scan * Copyright (C) 2010 Harald Welte laforge@gnumonks.org Contributions by Holger Hans Peter Freyther
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.
Failed to connect to '/tmp/osmocom_sap'. Failed during sap_open(), no SIM reader ^CSignal 2 recevied.
================================================================================ root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# *./cbch_sniff * Copyright (C) 2010 Harald Welte laforge@gnumonks.org Contributions by Holger Hans Peter Freyther
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.
Failed to connect to '/tmp/osmocom_sap'. Failed during sap_open(), no SIM reader ^CSignal 2 recevied.
================================================================================
root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc#*./cell_log * Copyright (C) 2010 Andreas Eversberg
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.
Failed to connect to '/tmp/osmocom_sap'. Failed during sap_open(), no SIM reader <000e> cell_log.c:804 Scanner initialized Mobile initialized, please start phone now! ^CSignal 2 recevied. <000e> cell_log.c:811 Scanner exit *
#__________________ Atte. **Rafael R.*
R. Revert wrote:
Failed to connect to '/tmp/osmocom_sap'. Failed during sap_open(), no SIM reader
when i try to find this file is not created.
You can always reverse engineer the source code. I think it will be infinitely faster than waiting for someone to do it for you and tell you what they discovered.
~ $ cd /tmp /tmp $ git clone git://git.osmocom.org/osmocom-bb.git Cloning into 'osmocom-bb'... remote: Counting objects: 19449, done. remote: Compressing objects: 100% (5614/5614), done. remote: Total 19449 (delta 13604), reused 18573 (delta 12910) Receiving objects: 100% (19449/19449), 3.39 MiB | 427 KiB/s, done. Resolving deltas: 100% (13604/13604), done. /tmp $ cd osmocom-bb/ /tmp/osmocom-bb $ git grep osmocom_sap src/host/layer23/src/common/main.c:static char *sap_socket_path = "/tmp/osmocom_sap"; src/host/layer23/src/common/main.c: printf(" -S --sap /tmp/osmocom_sap. Path to the " src/host/layer23/src/mobile/settings.c:static char *sap_socket_path = "/tmp/osmocom_sap"; src/host/layer23/src/mobile/vty_interface.c: "Unix socket, default '/tmp/osmocom_sap'") /tmp/osmocom-bb $
//Peter
Peter wrote:
You can always reverse engineer the source code. I think it will be infinitely faster than waiting for someone to do it for you and tell you what they discovered.
Thank's what im trying to do who to get osmocom cell_log and other misc apps running But i think that i need that file if im not wrong..
1) Reading symbols from /opt/cellphone/osmocom-bb/src/host/layer23/src/misc/cell_log...done. (gdb) list 92,97 92 93 if (options & L23_OPT_SAP) 94 printf(" -S --sap /tmp/osmocom_sap. Path to the " 95 "unix domain socket (BTSAP)\n"); 96 97 if (options & L23_OPT_ARFCN) (gdb)
2) root@raf10x:/opt/cellphone/osmocom-bb/src# git grep L23_OPT_SAP host/layer23/include/osmocom/bb/common/l23_app.h: L23_OPT_SAP = 1, host/layer23/src/common/main.c: if (options & L23_OPT_SAP)
the L23_OPT_SAP is set to 1
and the options is comming from l23_app_info *app = l23_app_info(); that end up to l23_app.h file..
i actually Stock whit this 2 to cuestions :
1) do i actually new to unlock the cellphone to download GSM info to Wireshark .because i got the cell phone lock from colombian providers but im actually using a peruvian SIM whit other peruvian ISP. I supposed that when the Firmware layer1 is upload it sould not take care about the info configurations fron the phones
2) do i need the osmocom_sap socket ? if yes were i can find this to run the "Misc apps"
Thnks
R. Revert
Actually im trying to log in the Wireshark the GSM calls, sms and other's stuff to look at it... but when i try to run the "Misc apps " all the apps get me the same error-
Failed to connect to '/tmp/osmocom_sap'. Failed during sap_open(), no SIM reader
You can safely ignore this. This is not a fata error, merely a warning for a functionality which is not fully implemented.
Cheers,
Sylvain
baseband-devel@lists.osmocom.org