1 |
On Mon, Jul 20, 2015 at 04:38:52AM +0200, Meino.Cramer@×××.de wrote: |
2 |
> on an embedded system I want to check, whether I have an eth0 "device" |
3 |
> (ok, I know, it is not an device in the usual way...), when I attach |
4 |
> an USB2Ethernet gadget via OTG-cable to it and whether all needed |
5 |
> drivers are already there... |
6 |
> |
7 |
> How can I do that with at least impact at possible ? |
8 |
> |
9 |
|
10 |
You could try looking in /sys/class/net and seeing what devices are listed |
11 |
there. Obvious alternatives would be grepping the output of ifconfig or lspci, |
12 |
also. |
13 |
|
14 |
-- |
15 |
wraeth <wraeth@×××××××××.au> |
16 |
GnuPG Key: B2D9F759 |