Hello,
I am currently working on several projects for IoT based solutions using the SIMTrace2 board and software.
I have not been able to locate/install the SIMTrrace2-remsim application. Whilst I have SIMTrace2 itself installed and functional there is no reference to the remsim function.
I am using binaries from the Raspbian 11 repo.
The related wiki indicates that remsim would be part of the SIMTrace2 installation (albiet referencing the method of compiling locally). However, I find no reference to it in my standard installation.
Would it be possible to point me in the right direction to install this function? Is there an alternate version of the software required to do this?
Many thanks, Marc Wilson
Marc Wilson Technical Consultant t: +44 1483 802 503 | w: eseye.com LinkedIn | Twitter | YouTube | Blog This email is from Eseye . Address: 20 Nugent Road, Guildford, Surrey, GU2 7AF, United Kingdom. Registered in England and Wales - number 06397669. VAT: GB921298326. ISO 27001: 2013 Certified. If you are not the intended recipient, please notify the sender and delete this email and any attachments. Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks. 2021 Eseye Limited. All rights reserved.
Hi Marc,
On Fri, Mar 11, 2022 at 01:29:38PM +0000, Marc Wilson wrote:
I have not been able to locate/install the SIMTrrace2-remsim application. Whilst I have SIMTrace2 itself installed and functional there is no reference to the remsim function.
I am using binaries from the Raspbian 11 repo.
from which repo? network:osmocom:latest or network:osmocom:nightly?
The related wiki indicates that remsim would be part of the SIMTrace2 installation (albiet referencing the method of compiling locally). However, I find no reference to it in my standard installation.
We need to differentiate two separate programs here:
* osmo-remsim (comprehensive software for managing deployments of many remote sim devices). It doesn't really have any dependency to simtrace2 but can be used with it.
* the very simplistic 'local remsim' example program packaged with simtrace2 host utilities, now called 'simtrace2-cardem-pcsc' to avoid naming conflicts
See the following commit:
commit b1a56e0f77ecdc7bb17357f2dff8dac370576a25 Author: Harald Welte laforge@osmocom.org Date: Tue Oct 27 15:44:54 2020 +0100
rename simtrace2-remsim to simtrace2-cardem-pcsc
This renaming is to avoid any confusion with the osmo-remsim project, living in its separate git repository.
The simtrace2-cardem-pcsc doesn't feature any 'remote' part. Rather, it emulates the SIM card interface towards the device/phone/modem, and forwards it to a local PC/SC card reader.
Change-Id: Ic15f0a89964a72fe3ab7a5145a073720f6207e24
which is part of simtrace2 >= 0.8.0
Hello Harald,
Thank you for your response and apologies for the delay in mine. I am balancing this project amongst other customer facing workloads.
I have now been able to successfully use cardem-pcsc with the ST2 board to access a SIM hosted by a generic card reader.
My US based colleague and I will be continuing our test of the remote/server-based configuration this week.
I have primarily been using the wiki entry https://osmocom.org/projects/simtrace2/wiki/Cardem during this process. We are noticing a few discrepancies between the documented process here and our real-world experience (the re-naming of '-remsim' to 'cardem-pcsc' being one example).
We will happily share our experience and contribute our findings. Would it be appropriate to bring these to yourself in reply to this thread, or is there a preferred method for contributing findings?
________________________________
Marc Wilson Technical Consultant t: +44 1483 802 503 | w: eseye.com LinkedIn | Twitter | YouTube | Blog This email is from Eseye . Address: 20 Nugent Road, Guildford, Surrey, GU2 7AF, United Kingdom. Registered in England and Wales - number 06397669. VAT: GB921298326. ISO 27001: 2013 Certified. If you are not the intended recipient, please notify the sender and delete this email and any attachments. Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks. 2021 Eseye Limited. All rights reserved. From: Harald Welte laforge@osmocom.org Sent: 16 March 2022 16:35 To: Marc Wilson mwilson@eseye.com Cc: simtrace@lists.osmocom.org simtrace@lists.osmocom.org Subject: Re: Simtrace2 Projects
Hi Marc,
On Fri, Mar 11, 2022 at 01:29:38PM +0000, Marc Wilson wrote:
I have not been able to locate/install the SIMTrrace2-remsim application. Whilst I have SIMTrace2 itself installed and functional there is no reference to the remsim function.
I am using binaries from the Raspbian 11 repo.
from which repo? network:osmocom:latest or network:osmocom:nightly?
The related wiki indicates that remsim would be part of the SIMTrace2 installation (albiet referencing the method of compiling locally). However, I find no reference to it in my standard installation.
We need to differentiate two separate programs here:
* osmo-remsim (comprehensive software for managing deployments of many remote sim devices). It doesn't really have any dependency to simtrace2 but can be used with it.
* the very simplistic 'local remsim' example program packaged with simtrace2 host utilities, now called 'simtrace2-cardem-pcsc' to avoid naming conflicts
See the following commit:
commit b1a56e0f77ecdc7bb17357f2dff8dac370576a25 Author: Harald Welte laforge@osmocom.org Date: Tue Oct 27 15:44:54 2020 +0100
rename simtrace2-remsim to simtrace2-cardem-pcsc
This renaming is to avoid any confusion with the osmo-remsim project, living in its separate git repository.
The simtrace2-cardem-pcsc doesn't feature any 'remote' part. Rather, it emulates the SIM card interface towards the device/phone/modem, and forwards it to a local PC/SC card reader.
Change-Id: Ic15f0a89964a72fe3ab7a5145a073720f6207e24
which is part of simtrace2 >= 0.8.0
-- - Harald Welte laforge@osmocom.org http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi Marc,
On Wed, Mar 23, 2022 at 08:44:24AM +0000, Marc Wilson wrote:
I have now been able to successfully use cardem-pcsc with the ST2 board to access a SIM hosted by a generic card reader.
excellent.
I have primarily been using the wiki entry https://osmocom.org/projects/simtrace2/wiki/Cardem during this process. We are noticing a few discrepancies between the documented process here and our real-world experience (the re-naming of '-remsim' to 'cardem-pcsc' being one example).
We will happily share our experience and contribute our findings. Would it be appropriate to bring these to yourself in reply to this thread, or is there a preferred method for contributing findings?
I would appreciate if you can create an account on osmocom.org, let me know the account name (via private e-mail) so I can grant you wiki editing permissions. Thanks in advance for contributing your documentation updates.
Hi Harald,
Following the previous work in coordination with my colleague Paul Nederveen we have a functioning system with ST2.
However, our end use case required significant modification of our corporate VPN. Once I have confirmed this solution, I will contribute the end-to-end solution in full detail to the Wiki.
However, I am having some trouble with the repos. Are you aware of any changes to the 'osmo-remsim-client-st2' binary on the repo?
I have included the output from my APT install command. Appreciate your help as allways.
Get:9 https://download.opensuse.org/repositories/network:/osmocom:/latest/Raspbian... ./ osmo-remsim-client-st2 1.0.0 [18.7 kB] Err:9 https://download.opensuse.org/repositories/network:/osmocom:/latest/Raspbian... ./ osmo-remsim-client-st2 1.0.0 File has unexpected size (17632 != 18744). Mirror sync in progress? [IP: 145.220.21.40 443] Hashes of expected file: - SHA256:03606c81953af0a24f827e84b8ac9f5764e96eeed8fb0c7846c6e5588394ada3 - SHA1:d6627264141aff4f3e0164ea6c6ef79196a9ae73 [weak] - MD5Sum:ccf163fa746cf9a4908844ce09c7159c [weak] - Filesize:18744 [weak] Fetched 586 kB in 26s (22.2 kB/s) E: Failed to fetch https://ftp1.nluug.nl/os/Linux/distr/opensuse/repositories/network:/osmocom:... File has unexpected size (54952 != 54640). Mirror sync in progress? [IP: 145.220.21.40 443] Hashes of expected file: - SHA256:a58713f1af3eea88010a170c801a9e7e53b3692ab988f26e7e05756fdfe3a244 - SHA1:fb3dc5274d0f18b288a9b7f01979e9c7500d9492 [weak] - MD5Sum:f4b5de0da5fd19790db37d8694e9c8e0 [weak] - Filesize:54640 [weak] E: Failed to fetch https://ftp1.nluug.nl/os/Linux/distr/opensuse/repositories/network:/osmocom:... File has unexpected size (10264 != 10716). Mirror sync in progress? [IP: 145.220.21.40 443] Hashes of expected file: - SHA256:be742b2f0798e45a5690969def1e3f5653b31dffd7042e4bc95a13aa2a8af04e - SHA1:7575e62ecaf76362286439a8c21429720ed84fd5 [weak] - MD5Sum:a2d362fb7a612ea99242764c79098803 [weak] - Filesize:10716 [weak] E: Failed to fetch https://ftp1.nluug.nl/os/Linux/distr/opensuse/repositories/network:/osmocom:... File has unexpected size (17632 != 18744). Mirror sync in progress? [IP: 145.220.21.40 443] Hashes of expected file: - SHA256:03606c81953af0a24f827e84b8ac9f5764e96eeed8fb0c7846c6e5588394ada3 - SHA1:d6627264141aff4f3e0164ea6c6ef79196a9ae73 [weak] - MD5Sum:ccf163fa746cf9a4908844ce09c7159c [weak] - Filesize:18744 [weak] ________________________________
Marc Wilson Technical Consultant t: +44 1483 802 503 | w: eseye.com LinkedIn | Twitter | YouTube | Blog This email is from Eseye . Address: 20 Nugent Road, Guildford, Surrey, GU2 7AF, United Kingdom. Registered in England and Wales - number 06397669. VAT: GB921298326. ISO 27001: 2013 Certified. If you are not the intended recipient, please notify the sender and delete this email and any attachments. Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks. 2021 Eseye Limited. All rights reserved. From: Harald Welte laforge@osmocom.org Sent: 16 March 2022 16:35 To: Marc Wilson mwilson@eseye.com Cc: simtrace@lists.osmocom.org simtrace@lists.osmocom.org Subject: Re: Simtrace2 Projects
Hi Marc,
On Fri, Mar 11, 2022 at 01:29:38PM +0000, Marc Wilson wrote:
I have not been able to locate/install the SIMTrrace2-remsim application. Whilst I have SIMTrace2 itself installed and functional there is no reference to the remsim function.
I am using binaries from the Raspbian 11 repo.
from which repo? network:osmocom:latest or network:osmocom:nightly?
The related wiki indicates that remsim would be part of the SIMTrace2 installation (albiet referencing the method of compiling locally). However, I find no reference to it in my standard installation.
We need to differentiate two separate programs here:
* osmo-remsim (comprehensive software for managing deployments of many remote sim devices). It doesn't really have any dependency to simtrace2 but can be used with it.
* the very simplistic 'local remsim' example program packaged with simtrace2 host utilities, now called 'simtrace2-cardem-pcsc' to avoid naming conflicts
See the following commit:
commit b1a56e0f77ecdc7bb17357f2dff8dac370576a25 Author: Harald Welte laforge@osmocom.org Date: Tue Oct 27 15:44:54 2020 +0100
rename simtrace2-remsim to simtrace2-cardem-pcsc
This renaming is to avoid any confusion with the osmo-remsim project, living in its separate git repository.
The simtrace2-cardem-pcsc doesn't feature any 'remote' part. Rather, it emulates the SIM card interface towards the device/phone/modem, and forwards it to a local PC/SC card reader.
Change-Id: Ic15f0a89964a72fe3ab7a5145a073720f6207e24
which is part of simtrace2 >= 0.8.0
-- - Harald Welte laforge@osmocom.org http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi Marc,
On Thu, Aug 04, 2022 at 01:24:39PM +0000, Marc Wilson wrote:
However, I am having some trouble with the repos. Are you aware of any changes to the 'osmo-remsim-client-st2' binary on the repo?
No, none re expected.
I have included the output from my APT install command. Appreciate your help as allways.
Get:9 https://download.opensuse.org/repositories/network:/osmocom:/latest/Raspbian... ./ osmo-remsim-client-st2 1.0.0 [18.7 kB] Err:9 https://download.opensuse.org/repositories/network:/osmocom:/latest/Raspbian... ./ osmo-remsim-client-st2 1.0.0 File has unexpected size (17632 != 18744). Mirror sync in progress? [IP: 145.220.21.40 443] Hashes of expected file:
- SHA256:03606c81953af0a24f827e84b8ac9f5764e96eeed8fb0c7846c6e5588394ada3
- SHA1:d6627264141aff4f3e0164ea6c6ef79196a9ae73 [weak]
- MD5Sum:ccf163fa746cf9a4908844ce09c7159c [weak]
- Filesize:18744 [weak]
Fetched 586 kB in 26s (22.2 kB/s) E: Failed to fetch https://ftp1.nluug.nl/os/Linux/distr/opensuse/repositories/network:/osmocom:... File has unexpected size (54952 != 54640). Mirror sync in progress? [IP: 145.220.21.40 443]
Please note neither download.opensuse.org nor the mirror ftp1.nluug.nl are under our control.
We have also meanwhile started the migration to a new location of the package feeds, see https://osmocom.org/news/191 and https://osmocom.org/projects/cellular-infrastructure/wiki/Latest_Builds
I suggest it's best if you switch to the new (downloads.osmocom.org) feeds, which should be much more stable. The software versions are exactly identical between the old and the new feeds.
Unrelated to the above: It always makes sense to check what's happening in master of osmo-remsim and simtrace2. There have been significant improvements and fixes during past months. You can see he change logs at https://gitea.osmocom.org/sim-card/osmo-remsim/commits/branch/master and https://gitea.osmocom.org/sim-card/simtrace2/commits/branch/master respectively.
If you want to give that a shot (just for testing), you could alwyays test the 'nightly' feed instead of the 'latest'. We're planning to tag new releases in the next few weeks, and we're always happy to hear feedback in case of any regressions before it's too late for the next release.
Regards, Harald
Harald,
Thank you for this. I have migrated my systems to the new domain/feeds. I can install with no issues now. ________________________________
Marc Wilson Technical Consultant t: +44 1483 802 503 | w: eseye.com LinkedIn | Twitter | YouTube | Blog This email is from Eseye . Address: 20 Nugent Road, Guildford, Surrey, GU2 7AF, United Kingdom. Registered in England and Wales - number 06397669. VAT: GB921298326. ISO 27001: 2013 Certified. If you are not the intended recipient, please notify the sender and delete this email and any attachments. Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks. 2021 Eseye Limited. All rights reserved. From: Harald Welte laforge@gnumonks.org Sent: 04 August 2022 14:39 To: Marc Wilson mwilson@eseye.com Cc: simtrace@lists.osmocom.org simtrace@lists.osmocom.org Subject: Re: Simtrace2 Projects
Hi Marc,
On Thu, Aug 04, 2022 at 01:24:39PM +0000, Marc Wilson wrote:
However, I am having some trouble with the repos. Are you aware of any changes to the 'osmo-remsim-client-st2' binary on the repo?
No, none re expected.
I have included the output from my APT install command. Appreciate your help as allways.
Get:9 https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownload.o... ./ osmo-remsim-client-st2 1.0.0 [18.7 kB] Err:9 https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownload.o... ./ osmo-remsim-client-st2 1.0.0 File has unexpected size (17632 != 18744). Mirror sync in progress? [IP: 145.220.21.40 443] Hashes of expected file:
- SHA256:03606c81953af0a24f827e84b8ac9f5764e96eeed8fb0c7846c6e5588394ada3
- SHA1:d6627264141aff4f3e0164ea6c6ef79196a9ae73 [weak]
- MD5Sum:ccf163fa746cf9a4908844ce09c7159c [weak]
- Filesize:18744 [weak]
Fetched 586 kB in 26s (22.2 kB/s) E: Failed to fetch https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp1.nluug... File has unexpected size (54952 != 54640). Mirror sync in progress? [IP: 145.220.21.40 443]
Please note neither download.opensuse.org nor the mirror ftp1.nluug.nl are under our control.
We have also meanwhile started the migration to a new location of the package feeds, see https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fosmocom.or... and https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fosmocom.or...
I suggest it's best if you switch to the new (downloads.osmocom.org) feeds, which should be much more stable. The software versions are exactly identical between the old and the new feeds.
Unrelated to the above: It always makes sense to check what's happening in master of osmo-remsim and simtrace2. There have been significant improvements and fixes during past months. You can see he change logs at https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitea.osmo... and https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitea.osmo... respectively.
If you want to give that a shot (just for testing), you could alwyays test the 'nightly' feed instead of the 'latest'. We're planning to tag new releases in the next few weeks, and we're always happy to hear feedback in case of any regressions before it's too late for the next release.
Regards, Harald
-- - Harald Welte laforge@gnumonks.org https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flaforge.gnu... ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)