Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: How can I check for haveing an ethernet "device"
Date: Mon, 20 Jul 2015 16:17:51
Message-Id: loom.20150720T180748-46@post.gmane.org
In Reply to: Re: [gentoo-user] How can I check for haveing an ethernet "device" by wraeth
1 wraeth <wraeth <at> wraeth.id.au> writes:
2
3 >
4 > On Mon, Jul 20, 2015 at 04:38:52AM +0200, Meino.Cramer <at> gmx.de wrote:
5 > > on an embedded system I want to check, whether I have an eth0 "device"
6 > > (ok, I know, it is not an device in the usual way...), when I attach
7 > > an USB2Ethernet gadget via OTG-cable to it and whether all needed
8 > > drivers are already there...
9
10 It's tricky. Being "embedded" usually means you have less on the system; so
11 let's just try a few things to see.
12
13 1. lspci
14
15 2. dmesg | grep eth
16
17 3. netstat -nr
18
19 Others:: ifconfig, lswh, mii-tool, ethtool etc etc depending on what
20 you've installed.
21
22 hth,
23 James