I can use a USB0 interface and assigned with connman a static ip.
Everything works good. I mean I can ping and connect throught ssh, until I disconnect ethernet cable.
At this point either ethernet and usb connection drop down and I cannot connect anymore without reboot all system.
Could you please explain me how to avoid this?
Below command and status:
You should use Ethernet Interface for Ethernet communication.
I didn’t write before, so I am going to explain.
If I have a virtual ethernet interface (RNDIS interface) I want to use it for an application which required ethernet interface (like a web server).
On our future board(and not now which I tried an Evaluation board) we have to remove ethernet physical interface.
The point is simple: Why this usb virtualization (which I tested it is connected with the usb cable, disconnected it and checked that also interface lose the connection) looks also connected to my physical ethernet cable?
I cannot reproduce your issue. In my case, if i disconnect the Rndis Interface, then this Interface cannot be pinged, but still the Ethernet interface. And if disconnect if I disconnect the Ethernet Interface, then this Interface cannot be pinged, but still the RNDIS interface.
Ok, simple divide the answer… I didn’t get your point.
if i disconnect the Rndis Interface, then this Interface cannot be pinged, but still the Ethernet interface.
Ok, this is same behavior
And if disconnect if I disconnect the Ethernet Interface, then this Interface cannot be pinged, but still the RNDIS interface1. If you disconnect Ethernet interface this is not pinged, but still the RNDIS interface
You mean that you can still ping and did you try to connect through USB for example with an ssh?
Could you please put all your steps and the message kernel? I already showed mine. I’d like to know since your boot-up, thank you.
Including route command
Thank you for reply.
Ok, there is a first very trivial difference.
As you mentioned you are using the Lxde Image 2.8b6, but
I am using the kernel 2.8b5 following this:
I want have the same starting point to avoid silly mistake. How can I recompile the kernel with version 2.8b6?
Let me know.