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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19240 ) Change subject: amarisoft_ltemme_ifup.sh: use ip cmd instead of ifconfig ...................................................................... amarisoft_ltemme_ifup.sh: use ip cmd instead of ifconfig ifconfig is deprecated and not available in newer distros. Change-Id: I93e4b7f3c9bee2563c0e01a1ff7e832e5098cf1f --- M utils/bin/osmo-gsm-tester_amarisoft_ltemme_ifup.sh 1 file changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/40/19240/1 diff --git a/utils/bin/osmo-gsm-tester_amarisoft_ltemme_ifup.sh b/utils/bin/osmo-gsm-tester_amarisoft_ltemme_ifup.sh index d502123..d992002 100755 --- a/utils/bin/osmo-gsm-tester_amarisoft_ltemme_ifup.sh +++ b/utils/bin/osmo-gsm-tester_amarisoft_ltemme_ifup.sh @@ -9,8 +9,10 @@ mask="$8" # Mask echo "*** Configuring $type APN[$index] '$apn' on ${ifname}, $ifaddr/$mask, ${addr1}..${addr2}" if [ "$type" = "ipv4" ] ; then - ifconfig ${ifname} ${ifaddr}/${mask} up + ip addr add ${ifaddr}/${mask} dev ${ifname} + ip link set ${ifname} up else - ifconfig ${ifname} inet6 add ${addr1}/${mask} up + ip -6 addr add ${addr1}/${mask} dev ${ifname} + ip -6 link set ${ifname} up fi echo "*** done configuring interface ${ifname}" -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/19240 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I93e4b7f3c9bee2563c0e01a1ff7e832e5098cf1f Gerrit-Change-Number: 19240 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200713/82df795c/attachment.htm>