Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 8DE92222377 for <~alpine/users@lists.alpinelinux.org>; Wed, 31 Dec 2025 10:52:18 +0000 (UTC) Received: from fews04-sea.riseup.net (fews04-sea-pn.riseup.net [10.0.1.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4dh6Gm2qRwz9wCt for <~alpine/users@lists.alpinelinux.org>; Wed, 31 Dec 2025 10:52:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riseup.net; s=squak; t=1767178336; bh=ie6KVTXhwG4xd8NXVT/dM4RedN+RGxsLCHAUYpHbPaM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Bya0RiD0qgpYnJgpCNa/6BkX9tVfsUVzm80DFBPkX0U2MBlUlpsbAo1CLYU2h23GL oBmZrMwPxytPz4CaA9/Zdy/EcxRTVufeRLI1VgNMUeIkg8oI/KplGiHaVbnCbk048C E7IZ2s/Mk/tuVD49tPUXmRj5l51Hb5vyYwpobL+8= X-Riseup-User-ID: 570057266701DAD7C85BDED1D8B2D0A218DE9A2F32F6700D0739121F999FED2F Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews04-sea.riseup.net (Postfix) with ESMTPSA id 4dh6Gl3QFRz5yh8 for <~alpine/users@lists.alpinelinux.org>; Wed, 31 Dec 2025 10:52:15 +0000 (UTC) Message-ID: Date: Wed, 31 Dec 2025 14:22:04 +0330 MIME-Version: 1.0 Subject: Re: Setting up D Link DWM-156 on Alpine for Data To: ~alpine/users@lists.alpinelinux.org References: <1bafd974-eeea-48cf-8291-8a131de6fbde@riseup.net> <2b4b528f-8ea9-4263-ae4e-3b45e35e8ee9@riseup.net> <00da0379-4841-4ea3-9ea1-ce6b8a9f1a40@hafenthal.de> Content-Language: en-US From: Farooq Karimi Zadeh In-Reply-To: <00da0379-4841-4ea3-9ea1-ce6b8a9f1a40@hafenthal.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 12/31/25 13:24, Stefan Hartmann SH wrote: > I run an old DMM-222 connected via USB, on an Alpine RPI, diskless > setup, headless, via qmi. > Perhaps this ca be helpfull for you. > > Nb: sorry for formatting > > # cat /etc/network/interfaces > > #auto wwan0    # delay start with /etc/local.d/50-ifup-wwan0.start > iface wwan0 >     use dhcp >     udhcpc_opts -S >     pre-up usb_modeswitch -v 0x2001 -p 0xab00 -K || >         echo "$$: pre-up ERROR: usb_modeswitch" >     pre-up i=0; until test -c /dev/cdc-wdm0; do sleep 1; i=$(( i + 1 > )); if test $i -ge 16; then echo "$$: pre-up ERROR: timeout > /dev/cdc-wdm0 not existent"; exit 1; fi; done >     pre-up j=0; until qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode > | grep -Eq "^\s+Mode: 'online'$"; do sleep 4; j=$(( j + 1 )); if > test $j -ge 16; then echo "$$: pre-up ERROR: timeout qmicli > dms-get-operating-mode not online"; exit 1; fi; done > >     pre-up k=0; until qmicli -d /dev/cdc-wdm0 --nas-get-home-network > >/dev/null 2>&1; do sleep 4; k=$(( k + 1 )); if test $k -ge 16; then > echo "$$: pre-up ERROR: timeout qmicli nas-get-home-network not > success"; exit 1; fi; done; sleep 10 > >     pre-up qmi-network /dev/cdc-wdm0 start >     up ip link set dev $IFACE up >     post-up sysctl net.ipv6.conf.$IFACE.disable_ipv6=1 >     #post-up if qmicli -d /dev/cdc-wdm0 --wds-get-autoconnect-settings > | grep -Eq "^\s+Status: 'disabled'$"; then qmicli -d /dev/cdc-wdm0 > --wds-set-autoconnect-settings=enabled,home-only || echo "post-up > WARN: wds-set-autoconnect-settings"; fi >     post-down qmi-network /dev/cdc-wdm0 stop > Thanks. Unfortunately for me, these QMI stuff give "[/dev/cdc-wdm0] MBIM error: NoDeviceSupport" error. Regrading the formatting, it's okay IMO. Better than have them in a pastebin and then see the pastebin vanish next 5 years ;)