1
edit
Changes
no edit summary
= Procedure =
* On any Linux machine with Internet connection, run the ssh client to login to matrix.senecac.on.ca using your email account and password:
[studenrchan@fc9 student]$ssh studentraymond@matrix.senecac.on.ca
Password:
Have a lot of fun...
student@matrix:~>
* Type the command
raymond@matrix:~> uname -a
* Use the command "man uname" to display the manual page for the command "uname" and use it to decode the output of the "uname" command. You should record the output of the "uname" command for later use.
* Type the following command to display the host name of the machine you are on:
raymond@matrix:~> hostname
* Type the command /sbin/lspci to display all the PCI devices detected by the Linux kernel. Record the output, especially look for the line that contains the words "Ethernet controller".
raymond@matrix:~> /sbin/lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
...
* Each piece of periphal hardware need a program (device driver) to control it. Most of the hardware device drivers are implemented on Linux as loadable kernel modules. The command /sbin/lsmod can be used to display all currently loaded kernel modules (i.e. hardware device drivers).
raymond@matrix:~> /sbin/lsmod
Module
... Size Used by
depends:
srcversion: 16DCEDEE4B5629C222C352D
* Try the command "/sbin/modinfo" on each of the module listed and determine which one is the device driver for the network interface card. Record the location (filename) of the device driver of the network interface card. If you have to type the command for each module by hand, it may take you quite a while. If you know shell scripting, you can write a small shell script to automate the process and save a lot of typing.