Re: where is the /dev/eth0?
Tom Pollerman <[email protected]>
| Newsgroups | gmane.linux.redhat.release.guinness |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 11 Oct 2002 10:07:47 +0800 Tom Si <[email protected]> wrote: > [email protected] wrote: > > >Hello > > > >Seek and yee shall find...... > > > >eth0 or eth1 are located under /etc/sysconfig/network-scripts > > > >There you shall find what you are looking for. > > > > > > > Hi, > Fristly Thanks for Syed.Imam's reply. > But refer the network-scripts, there is a file named ifcfg-eth0. In > the file, they tell me: device=eth0?? > But I still don't know where is the eth0! > Need your more help. > > " In many Unix operating systems the network devices have appearances in the /dev directory. This is not so in Linux. In Linux the network devices are created dynamically in software and do not require device files to be present. In the majority of cases the network device is automatically created by the device driver while it is initializing and has located your hardware. For example, the ethernet device driver creates eth[0..n] interfaces sequentially as it locates your ethernet hardware. The first ethernet card found becomes eth0, the second eth1 etc." This was quoted from NET-3-HOWTO in the /doc/HOWTO directory of my RH 6.0 Install cdrom. You can see the settings for configured ethernet devices in the /proc/net/dev 'pseudo file.' Or, do: ifconfig <enter> Read 'man ifconfig' for more info. Regards, Tom