PDA

View Full Version : IRQ's how do i view them?


touser
11-27-01, 10:47 PM
hi all i am installing a hardwrae firewall program called smoothwall, it runs on a stipped down version of linux, i think there is an irq problem..does anyone know what command to type at the command prompt to view the status of my NIC cards? like which irq's they are on? it is a non-graphical interface..thanks in advance :)

chaim79
11-27-01, 10:59 PM
Hopefully your system supports the "/proc" system, if it doesn't just disregard this message.

if it does cd to /proc and type in this command "cat interrupts" Hopefully it should give you the info you need.

If you feel like it check out some of the other files there, the /proc system keeps info on your linux box, ioports, memusage, uptime, etc

touser
11-27-01, 11:30 PM
thank you for the info chaim79! welp that told me that it is only seeing 1 nic card! hmmm anyone have any ideas to make it see the nic card because in the setup part of the operating system it shows it on eth1 but it isnt working and it didnt show up from what i saw when i typed in /proc cat interrupts..it only showedeth0 but not eth1!

XWRed1
11-28-01, 12:11 AM
look at the output from 'dmesg' and see how many nics it detects.

touser
11-28-01, 11:43 AM
thank you XWRed1 would i type in "dmesg" under the /proc driectory?

gaccm
11-29-01, 07:41 PM
heres a simplier way.

as root type in "ifconfig"

if you have 2 NICs, then you should see eth0 and below it eth1. If you don't see both, try ifconfig -a. If ifconfig -a showed the one that wasn't seeable before, the problem is that the card is not "up." this is what i do for my 2nd NIC: ifconfig eth1 192.168.1.1 netmask 255.255.0.0
you will need to change the IPs to what your network uses.

XWRed1
11-29-01, 10:40 PM
You can run dmesg anywhere, you'll probably need to be root, though.

ifconfig shows configured network adapters, and ifconfig -a shows all detected network adapters.