IPV6 listener ERROR on binding: Address family not supported by protocol

As said before, this is not legato problem as you also see problem in pc

Hi have to finally write application in Legato. Doesn’t matter to me if the problem is still there on PC.

Would like to see it working on the module side and that is more than enough for me.

You can make it work on nc tool first instead of legato app, that is why you can try in linux pc and compare the setting.

Just found that SSH with IPV6 via USB ECM interface is OK:

owner@ubuntu:~$ ssh -6  root@fe80::383d:82ff:fed0:997c%usb0
root@swi-mdm9x28-wp:~# pwd
/home/root
root@swi-mdm9x28-wp:~# cm info
Device:                        WP7608
IMEI:                          352913090512345
IMEISV:                        E
FSN:                           XG207430712345
Firmware Version:              SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
Bootloader Version:            SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
MCU Version:                   002.015
PRI Part Number (PN):          9908665
PRI Revision:                  001.004 
Carrier PRI Name:              GENERIC
Carrier PRI Revision:          002.095_003
SKU:                           1104194
Last Reset Cause:              Reset, User Requested
Resets Count:                  Expected: 304	Unexpected: 0

You can try SSH connection on port 22 and see if it works.

BTW, I have also tried on USB ECM port for TCP server via IPV6, no problem is found:


//to put module to TCP server:
./nc.netcat-openbsd -6 -l 666

//Ubuntu PC:
owner@ubuntu:~$ nc.openbsd -6v fe80::383d:82ff:fed0:997c%usb0 666
Connection to fe80::383d:82ff:fed0:997c%usb0 666 port [tcp/*] succeeded!
asd
sadf
asdf