Find the IP Address of your computer running BOSS GNU/Linux

December 22, 2010
ifconfig as regular user Screenshot

running ifconfig as a regular(non-root) user


On windows most people are used to finding their IP Addresses via Network Properties or by the ipconfig command. The command to find the IP Address of your computer running BOSS GNU/Linux ifconfig . Note that this command will only run as root, which means that if you are not logged in as root, you will have to first type in the su command and then give the root user’s password before running ifconfig.

screenshot of ifconfig being run when logged in as root

ifconfig being run when logged in as root



Identifying PCI devices – lspci

May 25, 2008

Most PC Cards such as Network Interface Cards ( NIC ), Sound Cards are PCI devices. To get a list of PCI devices on your computer use lspci. lspci has a list of options, the most frequently used option being -v(verbose), you can also use -vv or -vvv to increase the extent of verbosity. For a complete list of options view the man pages(man lspci).

For instance if you are trying to identify your sound card use:

lspci | grep audio

on the terminal(Applications>Accessories>Terminal)

this will print the list of Sound Card/s. something like:

01:01.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)

Similarly lspci can also be used to identify other devices such as NICs

lspci | grep Ethernet

on the terminal lists out the NICs, you will see something like this:

01:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

To view all PCI devices use type lspci on the terminal. lspci is useful if you are trying to install drivers for your PCI devices or just plain exploring your hardware.