Hello all,
I have newly ordered the Simtracer 2. I have received the same today. I would like to have some guidence from you, how to proceed now. Should I load a firmware on the module?, which software should I use? how to track the message exchanges from the sim to mobile. There are several manuals, could u please tell which one to read?
Could you please guide me on the same.
Best regards, M.Sc. Sunil Hebbur Srikantamurthy Chair of Communication Networks Electrical Engineering and Information Technology Chemnitz University of Technology
Hi Sunil,
I recently wrote a quick few internal notes for my colleagues to use Simtrace2+Wireshark on Ubuntu 18.04 I'll share with you in the case it helps. Using Simtrace2 I had not to flash any firmware, it works out of the box.
------
h1. Simtrace and Wireshark
h2. Simtrace2
The official installation steps are here: https://osmocom.org/projects/simtrace2/wiki
But !! Follow this installation steps for a full-debian-packaged installation (tested on Ubuntu 18.04 LTS).
Let's first prepare your system to compile debian packages, let's install some recurring compiling dependencies and then devscripts (the utilities for building debian packages):
$ sudo apt install build-essential libtool libtalloc-dev shtool autoconf automake git-core pkg-config make gcc $ sudo apt install devscripts
First, install libosmocore dependencies, download libosmocore itself and build the debian packages and install
$ sudo apt install libgnutls28-dev doxygen libtalloc-dev $ git clone git://git.osmocom.org/libosmocore.git $ cd libosmocore $ debuild -uc -us $ cd .. $ sudo dpkg -i *deb
Next, install simtrace2 dependencies, download simtrace2 itself and build the debian packages and install
$ sudo apt install libusb-1.0-0-dev libpcsclite-dev $ git clone git://git.osmocom.org/simtrace2.git $ cd simtrace2 $ debuild -uc -us $ cd .. $ sudo dpkg -i *deb
Finally, let's configure perms to launch simtrace2 in user space
$ sudo adduser $USERNAME plugdev $ sudo wget -O /etc/udev/rules.d/99-simtrace2.rules https://git.osmocom.org/simtrace2/plain/host/99-simtrace2.rules $ sudo service udev reload $ sudo udevadm control --reload-rules $ sudo udevadm trigger
Plug simtrace2 and test !!!
$ simtrace2-sniff simtrace2-sniff - Phone-SIM card communication sniffer (C) 2010-2017 by Harald Welte laforge@gnumonks.org (C) 2018 by Kevin Redon kredon@sysmocom.de
Using USB device 1d50:60e3 Addr=15, Path=1-3, Cfg=1, Intf=0, Alt=0: 255/1/0 (SIMtrace Sniffer) Entering main loop Card state change: reset asserted ATR: 3b 9f 96 80 1f 87 80 31 e0 73 fe 21 19 67 4a 55 73 30 31 07 46 be PPS: ff 10 96 79 PPS: ff 10 96 79 Fi/Di switched to 512/32 TPDU: 00 a4 00 04 02 3f 00 61 2c TPDU: 00 c0 00 00 2c 62 2a 82 02 78 21 83 02 3f 00 a5 09 80 01 71 83 04 00 03 18 9c 8a 01 05 8c 04 26 1a 00 00 c6 0c 90 01 60 83 01 01 83 01 81 83 01 0a 90 00 TPDU: 00 a4 08 04 02 2f e2 61 21 .. ..
h2. Wireshark
Install wireshark, run as root, capture localhost. Apply the following wireshark filter:
udp port 4729
Hello,
Thank you. I am facing issue installing libosmocore dependencies.
when I run command: debuild -uc -us
dpkg-buildpackage -rfakeroot -us -uc -ui dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: info: source package libosmocore dpkg-buildpackage: info: source version 1.1.0 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Pau Espin Pedrol < pespin@sysmocom.de> dpkg-source --before-build libosmocore dpkg-buildpackage: info: host architecture amd64 dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9) dh-autoreconf libpcsclite-dev python (>= 2.7.6) dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) debuild: fatal error at line 1152: dpkg-buildpackage -rfakeroot -us -uc -ui failed
Could you please guide me on the same. and also could you please explain what is meant by *be in command: dpkg -i *deb.
Thanks
Best regards, M.Sc. Sunil Hebbur Srikantamurthy Chair of Communication Networks Electrical Engineering and Information Technology Chemnitz University of Technology
On Thu, May 2, 2019 at 11:02 AM J. Félix Ontañón felix.ontanon@podgroup.com wrote:
Hi Sunil,
I recently wrote a quick few internal notes for my colleagues to use Simtrace2+Wireshark on Ubuntu 18.04 I'll share with you in the case it helps. Using Simtrace2 I had not to flash any firmware, it works out of the box.
h1. Simtrace and Wireshark
h2. Simtrace2
The official installation steps are here: https://osmocom.org/projects/simtrace2/wiki
But !! Follow this installation steps for a full-debian-packaged installation (tested on Ubuntu 18.04 LTS).
Let's first prepare your system to compile debian packages, let's install some recurring compiling dependencies and then devscripts (the utilities for building debian packages):
$ sudo apt install build-essential libtool libtalloc-dev shtool autoconf automake git-core pkg-config make gcc $ sudo apt install devscripts
First, install libosmocore dependencies, download libosmocore itself and build the debian packages and install
$ sudo apt install libgnutls28-dev doxygen libtalloc-dev $ git clone git://git.osmocom.org/libosmocore.git $ cd libosmocore $ debuild -uc -us $ cd .. $ sudo dpkg -i *deb
Next, install simtrace2 dependencies, download simtrace2 itself and build the debian packages and install
$ sudo apt install libusb-1.0-0-dev libpcsclite-dev $ git clone git://git.osmocom.org/simtrace2.git $ cd simtrace2 $ debuild -uc -us $ cd .. $ sudo dpkg -i *deb
Finally, let's configure perms to launch simtrace2 in user space
$ sudo adduser $USERNAME plugdev $ sudo wget -O /etc/udev/rules.d/99-simtrace2.rules https://git.osmocom.org/simtrace2/plain/host/99-simtrace2.rules $ sudo service udev reload $ sudo udevadm control --reload-rules $ sudo udevadm trigger
Plug simtrace2 and test !!!
$ simtrace2-sniff simtrace2-sniff - Phone-SIM card communication sniffer (C) 2010-2017 by Harald Welte laforge@gnumonks.org (C) 2018 by Kevin Redon kredon@sysmocom.de
Using USB device 1d50:60e3 Addr=15, Path=1-3, Cfg=1, Intf=0, Alt=0: 255/1/0 (SIMtrace Sniffer) Entering main loop Card state change: reset asserted ATR: 3b 9f 96 80 1f 87 80 31 e0 73 fe 21 19 67 4a 55 73 30 31 07 46 be PPS: ff 10 96 79 PPS: ff 10 96 79 Fi/Di switched to 512/32 TPDU: 00 a4 00 04 02 3f 00 61 2c TPDU: 00 c0 00 00 2c 62 2a 82 02 78 21 83 02 3f 00 a5 09 80 01 71 83 04 00 03 18 9c 8a 01 05 8c 04 26 1a 00 00 c6 0c 90 01 60 83 01 01 83 01 81 83 01 0a 90 00 TPDU: 00 a4 08 04 02 2f e2 61 21 .. ..
h2. Wireshark
Install wireshark, run as root, capture localhost. Apply the following wireshark filter:
udp port 4729
--
*J. Félix Ontañón* Director of Research and Innovation Pod Group
felix.ontanon@podgroup.com
www.podgroup.com https://podgroup.com/ www.podm2m.com https://podm2m.com/ www.pod.solutions https://pod.solutions/
UK: +44 (0)1223 850 900 <+44%201223%20850900> USA: +1 415 7070 500 Spain: +34 954 050 200 <+34%20954%2005%2002%2000>
[image: Facebook] https://www.facebook.com/PodM2M/ [image: Twitter] https://twitter.com/podm2m [image: LinkedIn] https://linkedin.com/company-beta/236154/ [image: Instagram] https://www.instagram.com/podm2m/
*Sales*: sales@podgroup.com
*Support*: support@podgroup.com
Hi J. Felix and Sunil,
I'm wondering: Are you actually intending to do development on the SIMtrace2 software, or do you just want to use it?
If you just want to use it, why not simply use the osmocom packages provided for Ubuntu 18.04 at http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_... as explained at https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds
Building from source should generally only be done by developers who want to contribute to development/extension of the software. And for those, I would sort-of expect that they know how to do system-level C development on Linux, including auto-tools, pkg-config, etc.
Regards, Harald
Hello,
I would like to just use the simtracer 2. Could you please provide me detailed steps to sniff the traffic. Should I download all the files? Would the command simtrace2-sniff work on the go.
Thank you.
Best regards, M.Sc. Sunil Hebbur Srikantamurthy Chair of Communication Networks Electrical Engineering and Information Technology Chemnitz University of Technology
On Tue, May 14, 2019 at 4:11 PM Harald Welte laforge@gnumonks.org wrote:
Hi J. Felix and Sunil,
I'm wondering: Are you actually intending to do development on the SIMtrace2 software, or do you just want to use it?
If you just want to use it, why not simply use the osmocom packages provided for Ubuntu 18.04 at
http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_... as explained at https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds
Building from source should generally only be done by developers who want to contribute to development/extension of the software. And for those, I would sort-of expect that they know how to do system-level C development on Linux, including auto-tools, pkg-config, etc.
Regards, Harald --
- Harald Welte laforge@gnumonks.org
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Helli,
I also tried the compiling and accessing instructions as described in https://osmocom.org/projects/simtrace2/wiki, but I am facing following issues there too.
1) I am unable to download the packages libosmocore-dev libpcsclite-dev. Err:1 http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_... ./ libosmocore12 1.1.0.12.1850 404 Not Found [IP: 195.135.221.134 80] 2) I am not able to compile. make does'nt run. 3) Un able to detect the simtracer2 with
./simtrace2-list
Could any one please guide and help me to set this up.
Best regards, M.Sc. Sunil Hebbur Srikantamurthy Chair of Communication Networks Electrical Engineering and Information Technology Chemnitz University of Technology
On Tue, May 14, 2019 at 4:47 PM Sunil Hebbur Srikantamurthy < sunil.srikantamurthy1990@gmail.com> wrote:
Hello,
I would like to just use the simtracer 2. Could you please provide me detailed steps to sniff the traffic. Should I download all the files? Would the command simtrace2-sniff work on the go.
Thank you.
Best regards, M.Sc. Sunil Hebbur Srikantamurthy Chair of Communication Networks Electrical Engineering and Information Technology Chemnitz University of Technology
On Tue, May 14, 2019 at 4:11 PM Harald Welte laforge@gnumonks.org wrote:
Hi J. Felix and Sunil,
I'm wondering: Are you actually intending to do development on the SIMtrace2 software, or do you just want to use it?
If you just want to use it, why not simply use the osmocom packages provided for Ubuntu 18.04 at
http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_... as explained at https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds
Building from source should generally only be done by developers who want to contribute to development/extension of the software. And for those, I would sort-of expect that they know how to do system-level C development on Linux, including auto-tools, pkg-config, etc.
Regards, Harald --
- Harald Welte laforge@gnumonks.org
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Dear Sunil,
with all due respect, the questions you are asking here are very basic questions about software installation (and to some extend compilation) on a GNU/Linux operating system. They are not related at all to the SIMtrace project. You would have the exact same issues with installing virtually any other software either from package feeds or from source code on GNU/Linux.
It is rather unlikely that people here will spend their spare time for free in helping you with those issues, sorry. Thanks for your understanding. Having said that, if somebody reading this wants to help you, by all means. I just think it's unlikely.
Best Regards, Harald
On 16. May 2019, at 09:56, Sunil Hebbur Srikantamurthy sunil.srikantamurthy1990@gmail.com wrote:
Helli,
I also tried the compiling and accessing instructions as described in https://osmocom.org/projects/simtrace2/wiki, but I am facing following issues there too.
- I am unable to download the packages libosmocore-dev libpcsclite-dev.
Err:1 http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_... ./ libosmocore12 1.1.0.12.1850 404 Not Found [IP: 195.135.221.134 80]
you seem to have executed one of apt update/apt-get update on one day and now attempt to install on another day. As this is a nightly package.. the version will change all day... and by the time you tried to download it, it failed.
Execute apt update/apt install in closer proximity (or you were unlucky to download it within a possible broken window).