I am trying to get started with the brand-new mangoOH red board following instructions from
http://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Discover/Getting%20Started/41110481_mangOH_Red_GettingStarted_LinCLI_r3.pdf
:
-
Legato Virtual Machine from http://mangoh.io/mangoh-red-resources-getting-started is running under VirtualBox;
-
the mangOH red board is detected on USB interface. Please look at the log below.
[1013.216061] usb 1-2: New USB device found, idVendor=1199, idProduct=68c0
[ 1013.216070] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1013.216076] usb 1-2: Product: WP7504
[ 1013.216082] usb 1-2: Manufacturer: Sierra Wireless, Incorporated
[ 1013.283238] usbcore: registered new interface driver usbserial
[ 1013.283279] usbcore: registered new interface driver usbserial_generic
[ 1013.283311] usbserial: USB Serial support registered for generic
[ 1013.293888] usbcore: registered new interface driver qcserial
[ 1013.293929] usbserial: USB Serial support registered for Qualcomm USB modem
[ 1013.296960] qcserial 1-2:1.0: Qualcomm USB modem converter detected
[ 1013.303609] usb 1-2: Qualcomm USB modem converter now attached to ttyUSB0
[ 1013.306730] qcserial 1-2:1.2: Qualcomm USB modem converter detected
[ 1013.308236] usb 1-2: Qualcomm USB modem converter now attached to ttyUSB1
[ 1013.310130] qcserial 1-2:1.3: Qualcomm USB modem converter detected
[ 1013.310809] usb 1-2: Qualcomm USB modem converter now attached to ttyUSB2
[ 1013.341438] usbcore: registered new interface driver cdc_wdm
[ 1013.360375] cdc_ether 1-2:1.19 usb0: register ‘cdc_ether’ at usb-0000:00:06.0-2, CDC Ethernet Device, 8e:49:a1:e7:1c:4c
[ 1013.360398] usbcore: registered new interface driver cdc_ether
[ 1013.366434] qmi_wwan 1-2:1.8: cdc-wdm0: USB WDM device
[ 1013.366756] qmi_wwan 1-2:1.8 wwan0: register ‘qmi_wwan’ at usb-0000:00:06.0-2, WWAN/QMI device, ca:d9:26:89:3c:45
[ 1013.366832] usbcore: registered new interface driver qmi_wwan
[ 1013.371279] qmi_wwan 1-2:1.8 wwp0s6u2i8: renamed from wwan0
[ 1013.384507] cdc_ether 1-2:1.19 enp0s6u2i19: renamed from usb0
[ 1013.414989] IPv6: ADDRCONF(NETDEV_UP): enp0s6u2i19: link is not ready
[ 1013.415852] cdc_ether 1-2:1.19 enp0s6u2i19: kevent 12 may have been dropped
-
modemmanager is not installed.
sudo apt-get remove -y modemmanager
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘modemmanager’ is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. -
ping 192.168.2.2 does not work.
Also, I tried on the real Linux machine.The final results are same.
However, when I start “ping 192.168.2.2” and then connect a board to USB port I can see correct pings within approx 10 seconds.
On a virtual machine it is difficult because it is necessary to connect the USB device on the fly when it appears.
Again, the results are identical on both Linux machines ( virtual and real).
It seems the board appears correct. Then, Linux renames the network interfaces.
I have disabled the Predictable Network Interface Names
ln -s /dev/null /etc/systemd/network/99-default.link
Now, both interfaces appear non-renamed
usb0 Link encap:Ethernet HWaddr 8e:49:a1:e7:1c:4c
inet6 addr: fe80::5153:b5ef:9c95:7b21/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:652 dropped:0 overruns:0 frame:0
TX packets:0 errors:12 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wwan0 Link encap:Ethernet HWaddr ca:d9:26:89:3c:45
BROADCAST MULTICAST MTU:1500 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)
But the link does not work
Would you please help me get started ?