Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I like to know where I can find network devices (eth0, wlan0, etc) as I could not find them under /dev even when ifconfig reported both eth0 & wlan0

Related but different question is how i can find information that MS windows devices manager provides, and what is the process of installing devices that are not installed correctly?

thank you

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

Try:

ls -l /dev/.udev/db/net*

Commands that provide device information include:

  • lsusb
  • lshw
  • lspci
  • lscpu
  • lshal

Installing and configuring devices depends on what the device is.

share|improve this answer
    
dmidecode is another utility for info on motherboard, BIOS, and various other components including RAM and CPU. –  mctylr Apr 11 '10 at 16:37
add comment

To list all configured networks, use ifconfig -a

Next, you'll need to know which devices were found during boot. You can use dmesg or look into /var/log/boot.msg (this is a dump of the dmesg output early after the hardware detection ran).

If the device isn't there, check what lcpci tells you. That command lists all PCI devices connected to the BUS. If the device isn't there, there is a problem with the connection. If it is there, then use the device name to Google for the driver. Most often, the kernel will select the correct driver but sometimes, the driver is wrong. In this case, you need lsmod (list active drivers), rmmod (unload drivers at runtime) and modprobe (load a driver at runtime).

If you found the driver, load it manually with modprobe. If it works, add the line to /etc/init.d/boot.local. If you have a driver conflict, add the name of the driver which you don't want to the /etc/modprobe.d/00-blacklist like so:

blacklist drivername
share|improve this answer
add comment

You'll find devices under /sys/devices.

As for device installation, dmesg is the command you're after. That provides an output of what's happening on the system, though not in the simple way that Windows does.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.