Gentoo Archives: gentoo-user

From: wraeth <wraeth@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I check for haveing an ethernet "device"
Date: Mon, 20 Jul 2015 03:29:15
Message-Id: 20150720032858.GA3707@cerberus.civica.com.au
In Reply to: [gentoo-user] How can I check for haveing an ethernet "device" by Meino.Cramer@gmx.de
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

Replies

Subject Author
[gentoo-user] Re: How can I check for haveing an ethernet "device" James <wireless@×××××××××××.com>