<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>Thank you. I am facing issue installing libosmocore dependencies. <br></div><div><br></div><div>when I run command: debuild -uc -us</div><div><br></div><div>dpkg-buildpackage -rfakeroot -us -uc -ui<br>dpkg-buildpackage: warning: using a gain-root-command while being root<br>dpkg-buildpackage: info: source package libosmocore<br>dpkg-buildpackage: info: source version 1.1.0<br>dpkg-buildpackage: info: source distribution unstable<br>dpkg-buildpackage: info: source changed by Pau Espin Pedrol <<a href="mailto:pespin@sysmocom.de">pespin@sysmocom.de</a>><br>dpkg-source --before-build libosmocore<br>dpkg-buildpackage: info: host architecture amd64<br>dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9) dh-autoreconf libpcsclite-dev python (>= 2.7.6)<br>dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting<br>dpkg-buildpackage: warning: (Use -d flag to override.)<br>debuild: fatal error at line 1152:<br>dpkg-buildpackage -rfakeroot -us -uc -ui failed</div><div><br></div><div>Could you please guide me on the same. and also could you please explain what is meant by *be in command:   dpkg -i *deb. <br></div><div><br></div><div>Thanks<br></div><div></div><div><br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span>Best regards,<br><div>M.Sc. Sunil Hebbur Srikantamurthy</div><div>Chair of Communication Networks<br></div><div>Electrical Engineering and Information Technology</div><div>
                           Chemnitz University of Technology </div></span></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 2, 2019 at 11:02 AM J. Félix Ontañón <<a href="mailto:felix.ontanon@podgroup.com">felix.ontanon@podgroup.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Sunil, <div><br></div><div>I recently wrote a quick few internal notes for my colleagues to use Simtrace2+Wireshark on Ubuntu 18.04</div><div>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.</div><div><br></div><div>------</div><div><br></div><div><div>h1. Simtrace and Wireshark</div><div><br></div><div>h2. Simtrace2<br></div><div><br></div><div>The official installation steps are here: <a href="https://osmocom.org/projects/simtrace2/wiki" target="_blank">https://osmocom.org/projects/simtrace2/wiki</a></div><div><br></div><div>But !! Follow this installation steps for a full-debian-packaged installation (tested on Ubuntu 18.04 LTS).</div><div><br></div><div>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):</div><div><br></div><div>$ sudo apt install build-essential libtool libtalloc-dev shtool autoconf automake git-core pkg-config make gcc<br></div><div>$ sudo apt install devscripts</div><div><br></div><div>First, install libosmocore dependencies, download libosmocore itself and build the debian packages and install<br></div><div><br></div><div>$ sudo apt install libgnutls28-dev doxygen libtalloc-dev<br></div><div>$ git clone git://<a href="http://git.osmocom.org/libosmocore.git" target="_blank">git.osmocom.org/libosmocore.git</a></div><div>$ cd libosmocore</div><div>$ debuild -uc -us</div><div>$ cd ..</div><div>$ sudo dpkg -i *deb</div><div><br></div><div>Next, install simtrace2 dependencies, download simtrace2 itself and build the debian packages and install</div><div><br></div><div>$ sudo apt install libusb-1.0-0-dev libpcsclite-dev<br></div><div>$ git clone git://<a href="http://git.osmocom.org/simtrace2.git" target="_blank">git.osmocom.org/simtrace2.git</a></div><div>$ cd simtrace2</div><div>$ debuild -uc -us</div><div>$ cd ..</div><div>$ sudo dpkg -i *deb</div><div><br></div><div>Finally, let's configure perms to launch simtrace2 in user space</div><div><br></div><div>$ sudo adduser $USERNAME plugdev</div><div>$ sudo wget -O /etc/udev/rules.d/99-simtrace2.rules <a href="https://git.osmocom.org/simtrace2/plain/host/99-simtrace2.rules" target="_blank">https://git.osmocom.org/simtrace2/plain/host/99-simtrace2.rules</a></div><div>$ sudo service udev reload</div><div>$ sudo udevadm control --reload-rules</div><div>$ sudo udevadm trigger</div><div><br></div><div>Plug simtrace2 and test !!! </div><div><br></div><div>$ simtrace2-sniff <br></div><div>simtrace2-sniff - Phone-SIM card communication sniffer </div><div>(C) 2010-2017 by Harald Welte <<a href="mailto:laforge@gnumonks.org" target="_blank">laforge@gnumonks.org</a>></div><div>(C) 2018 by Kevin Redon <<a href="mailto:kredon@sysmocom.de" target="_blank">kredon@sysmocom.de</a>></div><div><br></div><div>Using USB device 1d50:60e3 Addr=15, Path=1-3, Cfg=1, Intf=0, Alt=0: 255/1/0 (SIMtrace Sniffer)</div><div>Entering main loop</div><div>Card state change: reset asserted</div><div>ATR: 3b 9f 96 80 1f 87 80 31 e0 73 fe 21 19 67 4a 55 73 30 31 07 46 be </div><div>PPS: ff 10 96 79 </div><div>PPS: ff 10 96 79 </div><div>Fi/Di switched to 512/32</div><div>TPDU: 00 a4 00 04 02 3f 00 61 2c </div><div>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 </div><div>TPDU: 00 a4 08 04 02 2f e2 61 21 </div><div>..</div><div>..</div><div><br></div><div>h2. Wireshark</div><div><br></div><div>Install wireshark, run as root, capture localhost. Apply the following wireshark filter: </div><div><br></div><div>udp port 4729</div></div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_5649649771176822856gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><table width="550" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="vertical-align:top;padding-right:15px" width="200"> <br><img src="https://d1go84iv677sxv.cloudfront.net/podgroup/files/extres/podgroup_logo_small.png" width="200" height="71"><br></td><td style="border-left:1px solid rgb(21,48,130)" width="16"></td><td style="font-family:Futura,"Century Gothic",CenturyGothic,sans-serif;vertical-align:top;color:rgb(0,51,57);font-size:14px"><b><span style="color:rgb(21,48,130);font-size:18px">J. Félix Ontañón</span></b><br><span style="font-size:12px">Director of Research and Innovation<br>Pod Group</span> <br><br><span style="font-stretch:normal;line-height:normal"><a href="mailto:felix.ontanon@podgroup.com" style="color:rgb(21,48,130)" target="_blank">felix.ontanon@podgroup.com</a></span><br><br><span style="font-stretch:normal;line-height:normal"><a href="https://podgroup.com/" style="color:rgb(21,48,130)" target="_blank">www.podgroup.com</a><br><span style="font-stretch:normal;line-height:normal"><a href="https://podm2m.com/" style="color:rgb(21,48,130)" target="_blank">www.podm2m.com</a> <br><span style="font-stretch:normal;line-height:normal"><a href="https://pod.solutions/" style="color:rgb(21,48,130)" target="_blank">www.pod.solutions</a> <br><br><span style="font-stretch:normal;font-size:12px;line-height:normal">UK: <a href="tel:+44%201223%20850900" style="color:rgb(21,48,130)" target="_blank">+44 (0)1223 850 900</a></span><br><span style="font-stretch:normal;font-size:12px;line-height:normal">USA: +1 415 7070 500</span><br><span style="font-stretch:normal;font-size:12px;line-height:normal">Spain: <span style="color:rgb(21,48,130)"><a href="tel:+34%20954%2005%2002%2000" value="+34954050200" style="color:rgb(17,85,204)" target="_blank">+34 954 050 200</a></span></span><br><br><table cellpadding="0" border="0"><tbody><tr><td style="padding-right:5px"><a href="https://www.facebook.com/PodM2M/" style="color:rgb(17,85,204);display:inline-block" target="_blank"><img src="https://d1go84iv677sxv.cloudfront.net/podgroup/files/extres/facebook.png" alt="Facebook" style="border: medium none;" width="40" height="40"></a> <a href="https://twitter.com/podm2m" style="color:rgb(17,85,204);display:inline-block" target="_blank"><img src="https://d1go84iv677sxv.cloudfront.net/podgroup/files/extres/twitter.png" alt="Twitter" style="border: medium none;" width="40" height="40"></a> <a href="https://linkedin.com/company-beta/236154/" style="color:rgb(17,85,204);display:inline-block" target="_blank"><img src="https://d1go84iv677sxv.cloudfront.net/podgroup/files/extres/linkedin.png" alt="LinkedIn" style="border: medium none;" width="40" height="40"></a> <a href="https://www.instagram.com/podm2m/" style="color:rgb(17,85,204);display:inline-block" target="_blank"><img src="https://d1go84iv677sxv.cloudfront.net/podgroup/files/extres/instagram.png" alt="Instagram" style="border: medium none;" width="40" height="40"></a><br></td><td style="padding-right:5px"></td><td style="padding-right:5px"></td><td style="padding-right:5px"></td></tr></tbody></table></span></span></span></td></tr></tbody></table></div><div dir="ltr"><table style="margin-top:25px" width="550" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="font-family:Futura,"Century Gothic",CenturyGothic,sans-serif;color:rgb(170,170,170)"><p><strong style="font-size:12px">Sales</strong><span style="font-size:12px">: </span><a href="mailto:sales@podgroup.com" style="color:rgb(21,48,130);font-size:12px" target="_blank">sales@podgroup.com</a><br></p><p style="font-size:12px"><strong>Support</strong>: <a href="mailto:support@podgroup.com" style="color:rgb(21,48,130)" target="_blank">support@podgroup.com</a></p></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>