”/etc/modules.conf”に alias を 記載しているのにも かかわらず 希望し たように 立ちあがらなかった 場合の lsmod の例
lx:/etc# cat modules.conf .... alias eth0 e100 alias eth1 8139too
其場合の lsmod の例 と ifconfig の 操作例
lx:~# lsmod Module Size Used by Not tainted autofs4 8052 0 (unused) nfsd 66448 1 (autoclean) lockd 45008 1 (autoclean) [nfsd] sunrpc 64608 1 (autoclean) [nfsd lockd] e100 46388 0 (unused) 8139too 13832 1 mii 2208 0 [8139too] crc32 2880 0 [8139too] keybdev 1796 0 (unused) mousedev 3860 0 (unused) input 3328 0 [keybdev mousedev] usb-uhci 21456 0 (unused) usbcore 58060 1 [usb-uhci] lx:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:90:FE:23:46:32 inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:42 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:2520 (2.4 Kb) Interrupt:11 Base address:0x6000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:152 errors:0 dropped:0 overruns:0 frame:0 TX packets:152 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:10882 (10.6 Kb) TX bytes:10882 (10.6 Kb) lx:~# ifconfig eth0 down lx:~# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:246 errors:0 dropped:0 overruns:0 frame:0 TX packets:246 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:60166 (58.7 Kb) TX bytes:60166 (58.7 Kb) lx:~# lsmod Module Size Used by Not tainted autofs4 8052 0 (unused) nfsd 66448 1 (autoclean) lockd 45008 1 (autoclean) [nfsd] sunrpc 64608 1 (autoclean) [nfsd lockd] e100 46388 0 (unused) 8139too 13832 0 mii 2208 0 [8139too] crc32 2880 0 [8139too] keybdev 1796 0 (unused) mousedev 3860 0 (unused) input 3328 0 [keybdev mousedev] usb-uhci 21456 0 (unused) usbcore 58060 1 [usb-uhci]
この場合が 予定した通りの状態です
lx:~# lsmod Module Size Used by Not tainted autofs4 8052 0 (unused) nfsd 66448 1 (autoclean) lockd 45008 1 (autoclean) [nfsd] sunrpc 64608 1 (autoclean) [nfsd lockd] 8139too 13832 0 (unused) mii 2208 0 [8139too] crc32 2880 0 [8139too] e100 46388 1 keybdev 1796 0 (unused) mousedev 3860 0 (unused) input 3328 0 [keybdev mousedev] usb-uhci 21456 0 (unused) usbcore 58060 1 [usb-uhci] lx:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:D0:B7:29:65:7F inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:19 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2171 (2.1 Kb) TX bytes:1847 (1.8 Kb) Interrupt:11 Base address:0x2800 Memory:41200000-41200038 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:115 errors:0 dropped:0 overruns:0 frame:0 TX packets:115 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7943 (7.7 Kb) TX bytes:7943 (7.7 Kb)
/etc/modules.conf の alias に 記載しても 其通りに ならなかった 場合が 発生したということです。 個猫 に とっては 初の 体験でした。
にゃんたろう 拝!
2007年11月19日 (月) 21:12:44 JST 作成