Reported an issue upstream: https://github.com/opnsense/core/issues/8671
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: cookiemonster on March 12, 2025, 04:27:58 PMThis is pretty nice work. I have no use for it but thanks for sharing @wrobelda.
echo -e 'AT^NDISDUP=1,1\r' > /dev/cdc-wdm0
sent to the WDM device CDC WDM control interface. Sending this to any of the serial diagnostic or PPP serial ports would *not* work, it has to be sent to WDM interface explicitly.usbconfig -d 8.2 -i 0 do_request 0x21 0 0 2 16 0x41 0x54 0x5e 0x4e 0x44 0x49 0x53 0x44 0x55 0x50 0x3d 0x31 0x2c 0x31 0x0d 0x0a
REQUEST = <OK>
-d 8.2 -i 0 do_request 0x21 0 0 2 16
instructs usbconfig to send a control message of length 0x16 to device at bus 8.2, while the 0x41 0x54 0x5e 0x4e 0x44 0x49 0x53 0x44 0x55 0x50 0x3d 0x31 0x2c 0x31 0x0d 0x0a
is the byte-encoded "AT^NDISDUP=1,1\r\n" message. root@gw:/var/etc # /usr/local/sbin/mpd5 -d /var/etc -f mpd_opt2.conf -p /var/run/ppp_opt2.pid -s ppp pppclient
EVENT: Registering event EVENT_TIMEOUT ChatTimeout() at chat.c:971
EVENT: Registering event EVENT_TIMEOUT ChatTimeout() done at chat.c:971
EVENT: Registering event EVENT_READ ChatRead() at chat.c:584
EVENT: Registering event EVENT_READ ChatRead() done at chat.c:584
EVENT: Processing event EVENT_READ ChatRead() done
EVENT: Processing event EVENT_READ ChatRead()
EVENT: Registering event EVENT_READ ChatRead() at chat.c:480
EVENT: Registering event EVENT_READ ChatRead() done at chat.c:480
EVENT: Processing event EVENT_READ ChatRead() done
EVENT: Processing event EVENT_READ ChatRead()
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 41 54 49 0d 0d ATI..
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a 4d 61 6e 75 66 61 63 74 75 72 65 72 3a 20 68 .Manufacturer: h
[opt2_link0] CHAT: 75 61 77 65 69 0d uawei.
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a 4d 6f 64 65 6c 3a 20 45 33 31 33 31 0d .Model: E3131.
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a 52 65 76 69 73 69 6f 6e 3a 20 32 31 2e 31 35 .Revision: 21.15
[opt2_link0] CHAT: 38 2e 30 30 2e 30 30 2e 31 30 32 30 0d 8.00.00.1020.
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a 49 4d 45 49 3a 20 38 36 33 36 32 35 30 32 34 .IMEI: 863625024
[opt2_link0] CHAT: 31 33 37 31 36 38 0d 137168.
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a 2b 47 43 41 50 3a 20 2b 43 47 53 4d 2c 2b 44 .+GCAP: +CGSM,+D
[opt2_link0] CHAT: 53 2c 2b 45 53 0d S,+ES.
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a 0d ..
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a 4f 4b 0d .OK.
[opt2_link0] CHAT: read
[opt2_link0] CHAT: 0a .
[opt2_link0] CHAT: matched set "", goto label "MomIdentGeneriicc"
EVENT: Unregistering event EVENT_TIMEOUT ChatTimeout() at chat.c:1401
EVENT: Unregistering event EVENT_TIMEOUT ChatTimeout() done at chat.c:1401
Label 'MomIdentGeneriicc' not found
[opt2_link0] CHAT: line 391: label "MomIdentGeneriicc" not found
EVENT: Unregistering event EVENT_READ ChatRead() at chat.c:874
EVENT: Unregistering event EVENT_READ ChatRead() done at chat.c:874
EVENT: Unregistering event (null) at chat.c:875
EVENT: Unregistering event (null) done at chat.c:875
[opt2_link0] MODEM: chat script failed
curl -k -u "user":"pass" "https://opnsense/api/firewall/filter/toggleRule/702cdc85-cf43-437a-9882-4beba77fb35c/0" -X POST -d ""
{"result":"failed"}%
url -k -u key:pass "https:/opnsense/api/firewall/filter/getRule?uuid=702cdc85-cf43-437a-9882-4beba77fb35c"
curl -k -u key:pass "https://opnsense/api/firewall/filter/toggleRule/702cdc85-cf43-437a-9882-4beba77fb35c/1"
Quotewhy should it forward these frames