Unable to use USB to Ethernet IOT card


#1

Hi,

I had mangoH red with wp7608 and the board is mounted with ethernet IOT module . The RJ45 connectore of the IOT module is connected to local lan for testing. But I see nothing happens

Is there any applicatoin or usecase / service that I can use to explore this IOT module.

Thanking in advance.

Thanks,
Siva


#2

I think you just need to take the card out of reset. Try this:

echo 2 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio2/direction
echo 1 > /sys/class/gpio/gpio2/value

#3

Hi dfrey,

Thanks for the input. After the reset. I see led blink at RJ45 connector. However i don’t get the ip address assigned to it.

Actually we would like to access the internet from the ethernet of the mangOH board once we have a successful UE attach with the modem . Do we have any sample app to explore this use case ?

For now, I have connected the local lan to the RJ45 But no Ipaddress assigned to any of the below network interfaces. Could you please outline the interfaces below related to

root@swi-mdm9x28:~# ifconfig
bridge0 Link encap:Ethernet HWaddr 72:72:5B:EA:81:E7
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0
inet6 addr: fe80::7072:5bff:fee7:7ee4%1341333244/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:76 (76.0 B)

ecm0 Link encap:Ethernet HWaddr 32:77:2B:AA:17:1B
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::3077:2bff:feaa:171b%1341333244/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5621 errors:0 dropped:0 overruns:0 frame:0
TX packets:4238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:294553 (287.6 KiB) TX bytes:752072 (734.4 KiB)

eth0 Link encap:Ethernet HWaddr 2E:35:F7:AE:A1:E5
inet6 addr: fe80::2c35:f7ff:feae:a1e5%1341333244/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:270 errors:0 dropped:10 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45409 (44.3 KiB) TX bytes:712 (712.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%1341333244/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76 (76.0 B) TX bytes:76 (76.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


#4

Have you checked the wiki entries on this forum?


#5

@asyal: No, It would be great if you can point me to the wiki entries/ useful info on this topic then I would go through it in the first place.

Thanks for your support.


#6

Hi asyal,

I found some interesting use case here . Is this same wiki page are you talking about ?

Could you also please point to more documentation / video tutorials on this topic(Ethernet IOT Card)


#7

Hi
Did you restart the network service after bringing the card out of reset? worked for me.

/etc/init.d/networking restart


#8

Hi,

I had tried to configure the mangOH as cellular gateway following here.

I wanted to create a gateway between the ethernet IoT slot (eth0) and the cellular interface (rmnet_data0).
As I didnot find the eth0 interface. By mistake I have given ecm0 instead of eth0 during ./cfg_gateway.sh

Now I am not able to get the 192.168.2.2 . so I am not able to ssh to the wp7608.

Any help in reverting this changes to get back the interface?
how to get the eth0 interface as outlined here ?