This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-remsim/+/14667 ) Change subject: add examples to the command line options for remsim-bankd and remsim-client ...................................................................... add examples to the command line options for remsim-bankd and remsim-client Change-Id: Idfa6352ce90dd36dd27306d6c8a2023935ed822d --- M contrib/etc_default/osmo-remsim-client-0 M contrib/etc_default/osmo-remsim-client-1 M contrib/etc_default/osmo-remsim-client-2 M contrib/etc_default/osmo-remsim-client-3 M contrib/systemd/osmo-remsim-client at .service M doc/manuals/chapters/remsim-bankd.adoc M doc/manuals/chapters/remsim-client.adoc 7 files changed, 24 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/contrib/etc_default/osmo-remsim-client-0 b/contrib/etc_default/osmo-remsim-client-0 index 8b70721..11f02ad 100644 --- a/contrib/etc_default/osmo-remsim-client-0 +++ b/contrib/etc_default/osmo-remsim-client-0 @@ -4,3 +4,4 @@ REMSIM_I="0" REMSIM_H="2-1.1" REMSIM_c="0" +REMSIM_n="0" diff --git a/contrib/etc_default/osmo-remsim-client-1 b/contrib/etc_default/osmo-remsim-client-1 index 519dcb4..99d1da8 100644 --- a/contrib/etc_default/osmo-remsim-client-1 +++ b/contrib/etc_default/osmo-remsim-client-1 @@ -4,3 +4,4 @@ REMSIM_I="1" REMSIM_H="2-1.1" REMSIM_c="0" +REMSIM_n="1" diff --git a/contrib/etc_default/osmo-remsim-client-2 b/contrib/etc_default/osmo-remsim-client-2 index 3f66289..c705df0 100644 --- a/contrib/etc_default/osmo-remsim-client-2 +++ b/contrib/etc_default/osmo-remsim-client-2 @@ -4,3 +4,4 @@ REMSIM_I="0" REMSIM_H="2-1.4" REMSIM_c="0" +REMSIM_n="2" diff --git a/contrib/etc_default/osmo-remsim-client-3 b/contrib/etc_default/osmo-remsim-client-3 index 149af2b..da48eaa 100644 --- a/contrib/etc_default/osmo-remsim-client-3 +++ b/contrib/etc_default/osmo-remsim-client-3 @@ -4,3 +4,4 @@ REMSIM_I="1" REMSIM_H="2-1.4" REMSIM_c="0" +REMSIM_n="3" diff --git a/contrib/systemd/osmo-remsim-client at .service b/contrib/systemd/osmo-remsim-client at .service index 738ae4a..130f289 100644 --- a/contrib/systemd/osmo-remsim-client at .service +++ b/contrib/systemd/osmo-remsim-client at .service @@ -6,7 +6,7 @@ Restart=always EnvironmentFile=/etc/default/osmo-remsim-client EnvironmentFile=/etc/default/osmo-remsim-client-%i -ExecStart=/usr/bin/osmo-remsim-client-st2 $GLOBAL_CLIENT_OPTS -I $REMSIM_I -H $REMSIM_H -c $REMSIM_c +ExecStart=/usr/bin/osmo-remsim-client-st2 $GLOBAL_CLIENT_OPTS -I $REMSIM_I -H $REMSIM_H -c $REMSIM_c -n $REMSIM_n RestartSec=2 [Install] diff --git a/doc/manuals/chapters/remsim-bankd.adoc b/doc/manuals/chapters/remsim-bankd.adoc index be9b2c0..d35056b 100644 --- a/doc/manuals/chapters/remsim-bankd.adoc +++ b/doc/manuals/chapters/remsim-bankd.adoc @@ -85,6 +85,16 @@ Specify the local TCP port to whicc the socket for incoming connections from `osmo-remsim-client`s is bound to. +==== Examples +.remsim-server is on 10.2.3.4, cardreader has 5 slots: +---- +osmo-remsim-bankd -i 10.2.3.4 -n 5 +---- +.remsim-server is on 10.2.3.4, cardreader has 4 slots, local ip is 10.5.4.3 +---- +osmo-remsim-bankd -i 10.2.3.4 -n 4 -I 10.5.4.3 +---- + === Logging `osmo-remsim-bankd` currently logs to stdout only, and the logging diff --git a/doc/manuals/chapters/remsim-client.adoc b/doc/manuals/chapters/remsim-client.adoc index 0526dbb..8f90a1a 100644 --- a/doc/manuals/chapters/remsim-client.adoc +++ b/doc/manuals/chapters/remsim-client.adoc @@ -83,6 +83,15 @@ and will later be overridden by the ATR as specified by `osmo-remsim-bankd` once a card has been mapped to this client. +==== Examples +.remsim-server is on 10.2.3.4, sysmoQMOD on usb bus, all 4 modems: +---- +osmo-remsim-client-st2 -s 10.2.3.4 -V 1d50 -P 4004 -C 1 -I 0 -H 2-1.1 -c 0 -n 0 +osmo-remsim-client-st2 -s 10.2.3.4 -V 1d50 -P 4004 -C 1 -I 1 -H 2-1.1 -c 0 -n 1 +osmo-remsim-client-st2 -s 10.2.3.4 -V 1d50 -P 4004 -C 1 -I 0 -H 2-1.4 -c 0 -n 2 +osmo-remsim-client-st2 -s 10.2.3.4 -V 1d50 -P 4004 -C 1 -I 1 -H 2-1.4 -c 0 -n 3 +---- + === Logging `osmo-remsim-client` currently logs to stdout only, and the logging -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/14667 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: Idfa6352ce90dd36dd27306d6c8a2023935ed822d Gerrit-Change-Number: 14667 Gerrit-PatchSet: 2 Gerrit-Owner: roh <jsteiger at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at gnumonks.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190710/f8b9c077/attachment.htm>