<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MangoES w&#x2F;USB Ethernet Adapter]]></title><description><![CDATA[<p dir="auto">Looking for help configuring an ES with dual network interfaces.</p>
<p dir="auto">When using a MangoES with two network interfaces (eth0-onboard and eth1-USB) where is the appropriate place to make the changes to the network configuration that will survive a reboot? I am assigning a static IP/Sub/GW to each interface. I have made these changes via the 'old' UI (Mango ES Configuration) as well as editing /etc/network/interfaces, but the changes do not seem to survive reboot. Even looked at options via webmin.</p>
<p dir="auto">The 'old' UI seems to add another interface after reboot as well (eth3)</p>
<p dir="auto">Any help would be greatly appreciated.</p>
]]></description><link>https://forum.mango-os.com/topic/4185/mangoes-w-usb-ethernet-adapter</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 21:28:06 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4185.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Apr 2019 17:20:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MangoES w&#x2F;USB Ethernet Adapter on Tue, 30 Apr 2019 21:43:36 GMT]]></title><description><![CDATA[<p dir="auto">The device identifier at the beginning of the error line was <code>mmcblk0:</code><br />
I wont be able to do any additional testing until tomorrow, but I did test this on another mangoES and received the same results. I believe both tests were using the vertical USB port next to the RJ45 Ethernet port.</p>
]]></description><link>https://forum.mango-os.com/post/22001</link><guid isPermaLink="true">https://forum.mango-os.com/post/22001</guid><dc:creator><![CDATA[Wingnut2.0]]></dc:creator><pubDate>Tue, 30 Apr 2019 21:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to MangoES w&#x2F;USB Ethernet Adapter on Tue, 30 Apr 2019 19:50:09 GMT]]></title><description><![CDATA[<p dir="auto">Huh. New one for me. Was there anything before that output on that line, like a device identifier? Looking at the Odroid forum, it seems mostly that message is coming from eMMCs that are either out of date or have issues.</p>
<p dir="auto">One thing that occurs to me is that one of the USB ports can have it's power switched from the OS level, via the GPIO pins. I wonder if there may be a solution of powering down the USB-ethernet output port during startup. I haven't looked at this in a while, but it's GPIO pin 31 that switches the USB port on / off (default on). You can see the /opt/control/esUsbUtility.sh script has <code>pinon</code> and <code>pinoff</code> methods, which gives a hint as to how to enable / use the GPIO pins. Perhaps this would work to bypass the issue. I believe it is the horizontal USB3 port that is switched by GPIO 31.</p>
]]></description><link>https://forum.mango-os.com/post/22000</link><guid isPermaLink="true">https://forum.mango-os.com/post/22000</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 30 Apr 2019 19:50:09 GMT</pubDate></item><item><title><![CDATA[Reply to MangoES w&#x2F;USB Ethernet Adapter on Tue, 30 Apr 2019 18:36:57 GMT]]></title><description><![CDATA[<p dir="auto">When testing via ssh using <code>./ma.sh stop </code> followed by <code>./ma.sh start</code> nothing seem to prevent the reboot and nothing appears out of ordinary in the log file. However, when power cycling with a connected monitor &amp; keyboard to watch boot, I get the following error <code>response CRC error sending SET_BLOCK_COUNT command, card status 0x900</code> everytime a USB adapter is connected and the boot process just stops there.</p>
]]></description><link>https://forum.mango-os.com/post/21998</link><guid isPermaLink="true">https://forum.mango-os.com/post/21998</guid><dc:creator><![CDATA[Wingnut2.0]]></dc:creator><pubDate>Tue, 30 Apr 2019 18:36:57 GMT</pubDate></item><item><title><![CDATA[Reply to MangoES w&#x2F;USB Ethernet Adapter on Tue, 30 Apr 2019 15:46:36 GMT]]></title><description><![CDATA[<p dir="auto">Ah, okay. Can you try launching Mango on the command line with the USB-ethernet adapter plugged in? Probably something is making it to stderr...</p>
]]></description><link>https://forum.mango-os.com/post/21995</link><guid isPermaLink="true">https://forum.mango-os.com/post/21995</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 30 Apr 2019 15:46:36 GMT</pubDate></item><item><title><![CDATA[Reply to MangoES w&#x2F;USB Ethernet Adapter on Tue, 30 Apr 2019 15:44:04 GMT]]></title><description><![CDATA[<p dir="auto">Thank you both for you responses.</p>
<p dir="auto">I apologize, when I said survive reboot in my original post what I meant is that with a USB Ethernet adapter connected I am unable to reboot mango successfully. I can add a USB adapter <em>after</em> booting without issue and make the changes, but mango will not successfully reboot with USB adapter connected. This is with or without network cable being connected to USB adapter. I have also tried with USB adapter connected and set for DHCP while eth0 is disconnected and I was unable to boot. I have been testing this with multiple USB adapters all with the same results.</p>
<p dir="auto"><strong>Output of 70-persistent-net.rules</strong></p>
<pre><code># This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# USB device 0x:0x (r8712u)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="*", KERNEL=="wlan*", NAME="wlan0", RUN+="/opt/control/ensureHostapd.sh"

# USB device 0x:0x (cdc_ether)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="18:a6:f7:0e:75:49", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# USB device 0x:0x (MOSCHIP usb-ethernet driver)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:16:7c:bf", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
</code></pre>
]]></description><link>https://forum.mango-os.com/post/21994</link><guid isPermaLink="true">https://forum.mango-os.com/post/21994</guid><dc:creator><![CDATA[Wingnut2.0]]></dc:creator><pubDate>Tue, 30 Apr 2019 15:44:04 GMT</pubDate></item><item><title><![CDATA[Reply to MangoES w&#x2F;USB Ethernet Adapter on Tue, 30 Apr 2019 15:20:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi Wingnut2.0,</p>
<p dir="auto">I wonder if the USB ethernet adapter is adding rules for each enumeration to /etc/udev/rules.d/70-persistent-net.rules and that's why you've seen eth3 show up. A little googling suggested you may be able to set up its static properties right there in the .rules file, but then it surely would not work to change it via the MangoES Configuration settings, if it appears. The ES Configuration module is modifying /etc/network/interfaces. Can you share the output of the .rules file?</p>
]]></description><link>https://forum.mango-os.com/post/21993</link><guid isPermaLink="true">https://forum.mango-os.com/post/21993</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 30 Apr 2019 15:20:01 GMT</pubDate></item><item><title><![CDATA[Reply to MangoES w&#x2F;USB Ethernet Adapter on Tue, 30 Apr 2019 12:54:10 GMT]]></title><description><![CDATA[<p dir="auto">@wingnut2-0<br />
I think you must know, although you have 2 network cards, you can only have one default gateway.<br />
You can SSH into MangoBox and use [ip route] to view the settings.</p>
<p dir="auto">If you need is, from which network card (eth0) the network packet comes in, need to go back from that network card(eth0). This is called policy routing.</p>
<p dir="auto">Is this the setting you need?</p>
]]></description><link>https://forum.mango-os.com/post/21991</link><guid isPermaLink="true">https://forum.mango-os.com/post/21991</guid><dc:creator><![CDATA[Vincent Chu]]></dc:creator><pubDate>Tue, 30 Apr 2019 12:54:10 GMT</pubDate></item></channel></rss>