NetworkManager and dual-stack IP (IPv4 and IPv6) with Huawei modem E3276 (12d1:1506).



Hello!


I'm unable to establish an Internet connection (dual-stack IP) without additional actions.


To obtain IPv6 address I need enable IPv6 manually by the following command:

$ sudo sysctl -w net.ipv6.conf.wwp0s20f0u1i1.disable_ipv6=0


Furthermore, in case of reconnection I need reset the modem, otherwise I can not obtain IPv6 address even manually. For this I use the following command:

$ mmcli -m 0 -r


The modem was successfully tested with Windows 10 and worked correctly including reconnection.




First connection.


1. sudo systemctl stop NetworkManager ModemManager

2. sudo LC_ALL=C /usr/sbin/ModemManager --debug 2>&1 | tee ModemManager.log

3. sudo LC_ALL=C NM_PPP_DEBUG=1 /usr/sbin/NetworkManager --no-daemon --debug --log-level=DEBUG 2>&1 | tee NetworkManager.log

4. LC_ALL=C nmcli connection show MTS 2>&1 | tee connection.log

5. nmcli connection up MTS

6. LC_ALL=C nmcli connection show MTS 2>&1 | tee connected.ipv4.log

7. sudo sysctl -w net.ipv6.conf.wwp0s20f0u1i1.disable_ipv6=0

8. LC_ALL=C nmcli connection show MTS 2>&1 | tee connected.ipv4v6.log

9. nmcli connection down MTS

10. sudo pkill NetworkManager

11. sudo pkill ModemManager


Reconnection.


1. sudo LC_ALL=C /usr/sbin/ModemManager --debug 2>&1 | tee ModemManager.reconnection.log

2. sudo LC_ALL=C NM_PPP_DEBUG=1 /usr/sbin/NetworkManager --no-daemon --debug --log-level=DEBUG 2>&1 | tee NetworkManager.reconnection.log

3. LC_ALL=C nmcli connection show MTS 2>&1 | tee reconnection.log

4. nmcli connection up MTS

5. LC_ALL=C nmcli connection show MTS 2>&1 | tee reconnected.ipv4.log

6. sudo sysctl -w net.ipv6.conf.wwp0s20f0u1i1.disable_ipv6=0

7. LC_ALL=C nmcli connection show MTS 2>&1 | tee reconnected.ipv4-2.log

8. nmcli connection down MTS

9. mmcli -m 0 -r

10. nmcli connection up MTS

11. sudo sysctl -w net.ipv6.conf.wwp0s20f0u1i1.disable_ipv6=0

12. LC_ALL=C nmcli connection show MTS 2>&1 | tee reconnected.ipv4v6.log




Additional information in attached file.


Thank you for your attention!

Thank you in advance for any advice and help!

Attachment: details.zip
Description: Zip archive



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]