Project

General

Profile

Support #4223

Simtrace2-sniff fails to run

Added by josh2751 14 days ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
host software
Target version:
-
Start date:
10/09/2019
Due date:
% Done:

100%


Description

When running simtrace2-sniff I get back

simtrace2-sniff - Phone-SIM card communication sniffer
(C) 2010-2017 by Harald Welte <>
(C) 2018 by Kevin Redon <>

Using USB device 1d50:60e3 Addr=3, Path=2-2, Cfg=1, Intf=0, Alt=0: 255/1/0 (SIMtrace Sniffer)
Entering main loop
preventing USB buffer overflow: Resource temporarily unavailable

The device is recognized properly by simtrace2-list, I’m running it on ubuntu 18.04 installed from the lastest build package of simtrace2-utils on opensuse.

Just looking for troubleshooting ideas.

History

#1 Updated by roh 13 days ago

are you running in some kind of virtual machine? (e.g. forwarding the usb device)

also it would be interesting to know which exact kernelversion you did try this on.

did you add the udev rule to allow access as regular user?

https://osmocom.org/projects/simtrace2/wiki#Accessing-it

kind regards

#2 Updated by josh2751 13 days ago

roh wrote:

are you running in some kind of virtual machine? (e.g. forwarding the usb device)

also it would be interesting to know which exact kernelversion you did try this on.

did you add the udev rule to allow access as regular user?

https://osmocom.org/projects/simtrace2/wiki#Accessing-it

kind regards

Thanks for the reply! Answers below:

Yes, I'm running it under virtual box.

kernel version is 4.18.0-25

Yes, udev rules were installed.

Is there a known issue with running in a vm?

#3 Updated by josh2751 13 days ago

roh wrote:

are you running in some kind of virtual machine? (e.g. forwarding the usb device)

also it would be interesting to know which exact kernelversion you did try this on.

did you add the udev rule to allow access as regular user?

https://osmocom.org/projects/simtrace2/wiki#Accessing-it

kind regards

I switched over to a Raspberry Pi, since I don't have another linux machine to test in front of me, installed it using apt there, and it does not crash running on that machine. However, it simply hangs when it's opened, it seems as though it's not taking control of the device. Simtrace2-list shows that the device is attached, but simtrace2-sniff outputs:

pi@raspberrypi:~ $ simtrace2-sniff
simtrace2-sniff - Phone-SIM card communication sniffer
(C) 2010-2017 by Harald Welte <>
(C) 2018 by Kevin Redon <>

and hangs at that point.

I should also note that it appears the Simtrace is working as the device I am attaching it to can communicate with the sim installed in it.

#4 Updated by josh2751 13 days ago

Ok we can close this issue.

I pulled the source on the Rpi, commented out the while(1) argument loop in the main function and rebuilt it, and it does what I need it to now.

thanks!

#5 Updated by roh 12 days ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)