Open main menu

CDOT Wiki β

Changes

NAD710 Lab 1

1,476 bytes added, 19:33, 1 September 2008
no edit summary
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.
* To display basic networking settings on a Linux system, type the command "/sbin/ifconfig" and record the output for later use: raymond@matrix:~> /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:03:47:E9:89:B5 inet addr:192.168.1.70 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::203:47ff:fee9:89b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:164170 errors:0 dropped:0 overruns:0 frame:0 TX packets:133956 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:16560820 (15.7 Mb) TX bytes:15356431 (14.6 Mb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:24893 errors:0 dropped:0 overruns:0 frame:0 TX packets:24893 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18954652 (18.0 Mb) TX bytes:18954652 (18.0 Mb) * From the output of the /sbin/ifconfig, you should be able to determine the IP address, network broadcast address and network mask of your host's TCP/IP network settings. In the above sample output, "eth0" is the actual network device, and "lo" is the logical loopback network device. There are a few other fields which are import in troubleshooting networking problems. Consult the "man" page for details.  
1
edit