Enabling eth0 interface

Hi, I tried to enable ethernet interface on wp7502 module with no luck. This (https://docs.legato.io/16_10/basicTargetConfigIPethEnable.html) guide seems to be bit outdated but I tried to make modifications to the /etc/iptables/rules.v4 and v6 files. rebooted device but eth0 interface does not show up when using ifconfig command. When I try “ifup eth0”, it only says “ifconfig: SIOCGIFFLAGS: No such device”. What can I do to enable ethernet interface?

Did you enable "hsicenable " flag in at! custom?

I’m using mangOH red with microusb-ethernet-adapter so hsicenable may not be the answer for this? But I also tried to enable ethernet interface on the mangOH green. I expected it to be easy to initialize built-in ethernet port but same behaviour there and I can’t find a way to enable hsicenable. How do I do that?

What is at! custom? On mangoh green board?

I’m using the same wp7502 module and it says command not found

i don’t see any problem:
at
OK
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7502
Revision: SWI9X15Y_07.13.07.00 92cfd2c jenkins 2018/08/22 19:18:52
MEID: 35785107000308
ESN: 12806468757, 8062B495
IMEI: 357851070003087
IMEI SV: 47
FSN: P3653300150203
+GCAP: +CGSM

OK
aT!entercnd=“A710”
OK
aT!custom?
!CUSTOM:
ISVOICEN 0x01
GPIOSARENABLE 0x01
GPSENABLE 0x01
WAKEHOSTEN 0x83
NMEAENABLE 0x01
GOBIIMEN 0x01
USBECMRNDISOPTION 0x01
HSICENABLE 0x01
SINGLEAPNSWITCH 0x01
SIMLPM 0x01
BOOTQUIETDISABLE 0x01
FASTBOOTEN 0x01

OK

Ok now I checked with at!custom? that hsicenable flag is enabled. However “aT!entercnd=“A710”” -command returned error, does that matter? Anyway, still ifup eth0 says the same “ifconfig: SIOCGIFFLAGS: No such device” message.

I don’t see any problem on mangoh green board:

root@swi-mdm9x15:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr A6:C2:C1:68:C5:52
inet addr:10.23.58.27 Bcast:10.23.58.255 Mask:255.255.255.0
inet6 addr: fe80::a4c2:c1ff:fe68:c552/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:450 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35849 (35.0 KiB) TX bytes:1412 (1.3 KiB)

root@swi-mdm9x15:~#
root@swi-mdm9x15:~# microcom /dev/ttyAT
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7502
Revision: SWI9X15Y_07.13.07.00 92cfd2c jenkins 2018/08/22 19:18:52
MEID: 35785107000308
ESN: 12806468757, 8062B495
IMEI: 357851070003087
IMEI SV: 47
FSN: P3653300150203
+GCAP: +CGSM,+DS,+ES

OK
at!entercnd=“A710”
OK
AT!custom?
!CUSTOM:
ISVOICEN 0x01
GPIOSARENABLE 0x01
GPSENABLE 0x01
WAKEHOSTEN 0x83
NMEAENABLE 0x01
GOBIIMEN 0x01
USBECMRNDISOPTION 0x01
HSICENABLE 0x01
SINGLEAPNSWITCH 0x01
SIMLPM 0x01
BOOTQUIETDISABLE 0x01
FASTBOOTEN 0x01

OK
ati8
Legato Ver: 18.06.4_a2b118ed13919cebd20f9d71e8810748_modified
Yocto Ver: SWI9X15Y_07.13.05.00 2018-08-04_23:48:52
OS Ver: Linux version 3.14.29ltsi-yocto-standard (jenkins@jenkins) (gcc version 6.2.0 (GCC) ) #2 PREEMPT Sat Aug 4 23:41:40 UTC 2018
LK Ver: SWI9X15Y_07.13.05.00
RootFS Ver: SWI9X15Y_07.13.05.00 2018-08-04_23:48:52
UserFS Ver: unknown
MCU Ver: 002.004

OK