On Mon, Jul 20, 2015 at 04:38:52AM +0200, meino.cra...@gmx.de wrote: > on an embedded system I want to check, whether I have an eth0 "device" > (ok, I know, it is not an device in the usual way...), when I attach > an USB2Ethernet gadget via OTG-cable to it and whether all needed > drivers are already there... > > How can I do that with at least impact at possible ? >
You could try looking in /sys/class/net and seeing what devices are listed there. Obvious alternatives would be grepping the output of ifconfig or lspci, also. -- wraeth <wra...@wraeth.id.au> GnuPG Key: B2D9F759
pgpDvMDBqrV3Y.pgp
Description: PGP signature