
Ubuntu日本語フォーラム

ログインしていません。
ご質問させていただきます。
まず状況のご説明です。今朝パソコンを起動したところ、通常であれば自動でネットワークに
接続するはずのところがつながりませんでした。ライブCD(ubuntu10.04)で起動してもダメでした。
右上のアイコンにカーソルを載せると、「ネットワーク接続がありません」と表示されます。
昨日までは起動と同時にネットに接続できていました。
今日一日中、できる範囲のことを調べていじってみたのですが、未だ解決できません。
ubutnu日本語フォーラムの過去のトピックも可能な限り調べましたが、同様の状況のものは見当たりませんでした。
固定IPアドレスを割り当てると良いと言った解決もありましたが、できれば固定せずに解決できたら嬉しいです。
そこで、皆様のお力をお貸しいただければと思います。
下記に、PCのスペックと必要かと思われる情報を載せます。もし足りない情報があればお申し付けください。
最後に、素人ながらやってみたことを載せます。ちなみに、現在はノートPCからアクセスしており、
問題となっているPCと同じ Aterm に接続しています。
PCのスペック
マシン : mouse computer の BTO
OS : ubuntu 10.04
CPU : i7
メモリ : 4GB
回線 : KDDIの光接続(一戸建て向け)
必要と思われる情報
1 : ifconfig の実行結果
eth0 Link encap:イーサネット ハードウェアアドレス 40:61:86:4d:77:3d
UP BROADCAST MULTICAST MTU:1500 メトリック:1
RXパケット:0 エラー:0 損失:0 オーバラン:0 フレーム:0
TXパケット:0 エラー:0 損失:0 オーバラン:0 キャリア:0
衝突(Collisions):0 TXキュー長:1000
RXバイト:0 (0.0 B) TXバイト:0 (0.0 B)
割り込み:31 ベースアドレス:0x4000
eth0:avahi Link encap:イーサネット ハードウェアアドレス 40:61:86:4d:77:3d
inetアドレス:169.254.6.98 ブロードキャスト:169.254.255.255 マスク:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 メトリック:1
割り込み:31 ベースアドレス:0x4000
lo Link encap:ローカルループバック
inetアドレス:127.0.0.1 マスク:255.0.0.0
inet6アドレス: ::1/128 範囲:ホスト
UP LOOPBACK RUNNING MTU:16436 メトリック:1
RXパケット:4 エラー:0 損失:0 オーバラン:0 フレーム:0
TXパケット:4 エラー:0 損失:0 オーバラン:0 キャリア:0
衝突(Collisions):0 TXキュー長:0
RXバイト:240 (240.0 B) TXバイト:240 (240.0 B)
2 : sudo dhclient eth0 の実行結果
There is already a pid file /var/run/dhclient.pid with pid 1999
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/40:61:86:4d:77:3d
Sending on LPF/eth0/40:61:86:4d:77:3d
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
3 : cat /etc/network/interfaces の実行結果
auto lo
iface lo inet loopback
4 : find /sys -name mtu の実行結果
/sys/devices/virtual/net/lo/mtu
/sys/devices/virtual/net/vboxnet0/mtu
/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/eth0/mtu
5 : sudo lshw -C network の実行結果
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 03
serial: 40:61:86:4d:77:3d
size: 10MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10MB/s
resources: irq:31 ioport:e800(size=256) memory:f6fff000-f6ffffff(prefetchable) memory:f6ff8000-f6ffbfff(prefetchable) memory:fbfe0000-fbffffff(prefetchable)
*-network DISABLED
description: Ethernet interface
physical id: 2
logical name: vboxnet0
serial: 0a:00:27:00:00:00
capabilities: ethernet physical
configuration: broadcast=yes multicast=yes
6 : /var/log/dpkg.log の中身の昨日の分(昨日のシャットダウン直前)
2011-09-16 21:01:22 startup archives unpack
2011-09-16 21:01:25 upgrade libcups2 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:25 status half-configured libcups2 1.4.3-1ubuntu1.3
2011-09-16 21:01:26 status unpacked libcups2 1.4.3-1ubuntu1.3
2011-09-16 21:01:26 status half-installed libcups2 1.4.3-1ubuntu1.3
2011-09-16 21:01:27 status half-installed libcups2 1.4.3-1ubuntu1.3
2011-09-16 21:01:27 status unpacked libcups2 1.4.3-1ubuntu1.5
2011-09-16 21:01:27 status unpacked libcups2 1.4.3-1ubuntu1.5
2011-09-16 21:01:27 upgrade libcupscgi1 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:27 status half-configured libcupscgi1 1.4.3-1ubuntu1.3
2011-09-16 21:01:27 status unpacked libcupscgi1 1.4.3-1ubuntu1.3
2011-09-16 21:01:27 status half-installed libcupscgi1 1.4.3-1ubuntu1.3
2011-09-16 21:01:28 status half-installed libcupscgi1 1.4.3-1ubuntu1.3
2011-09-16 21:01:28 status unpacked libcupscgi1 1.4.3-1ubuntu1.5
2011-09-16 21:01:28 status unpacked libcupscgi1 1.4.3-1ubuntu1.5
2011-09-16 21:01:28 upgrade libcupsdriver1 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:28 status half-configured libcupsdriver1 1.4.3-1ubuntu1.3
2011-09-16 21:01:28 status unpacked libcupsdriver1 1.4.3-1ubuntu1.3
2011-09-16 21:01:28 status half-installed libcupsdriver1 1.4.3-1ubuntu1.3
2011-09-16 21:01:29 status half-installed libcupsdriver1 1.4.3-1ubuntu1.3
2011-09-16 21:01:29 status unpacked libcupsdriver1 1.4.3-1ubuntu1.5
2011-09-16 21:01:29 status unpacked libcupsdriver1 1.4.3-1ubuntu1.5
2011-09-16 21:01:29 upgrade libcupsimage2 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:29 status half-configured libcupsimage2 1.4.3-1ubuntu1.3
2011-09-16 21:01:29 status unpacked libcupsimage2 1.4.3-1ubuntu1.3
2011-09-16 21:01:29 status half-installed libcupsimage2 1.4.3-1ubuntu1.3
2011-09-16 21:01:29 status half-installed libcupsimage2 1.4.3-1ubuntu1.3
2011-09-16 21:01:30 status unpacked libcupsimage2 1.4.3-1ubuntu1.5
2011-09-16 21:01:30 status unpacked libcupsimage2 1.4.3-1ubuntu1.5
2011-09-16 21:01:30 upgrade libcupsmime1 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:30 status half-configured libcupsmime1 1.4.3-1ubuntu1.3
2011-09-16 21:01:30 status unpacked libcupsmime1 1.4.3-1ubuntu1.3
2011-09-16 21:01:30 status half-installed libcupsmime1 1.4.3-1ubuntu1.3
2011-09-16 21:01:30 status half-installed libcupsmime1 1.4.3-1ubuntu1.3
2011-09-16 21:01:31 status unpacked libcupsmime1 1.4.3-1ubuntu1.5
2011-09-16 21:01:31 status unpacked libcupsmime1 1.4.3-1ubuntu1.5
2011-09-16 21:01:31 upgrade libcupsppdc1 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:31 status half-configured libcupsppdc1 1.4.3-1ubuntu1.3
2011-09-16 21:01:31 status unpacked libcupsppdc1 1.4.3-1ubuntu1.3
2011-09-16 21:01:31 status half-installed libcupsppdc1 1.4.3-1ubuntu1.3
2011-09-16 21:01:31 status half-installed libcupsppdc1 1.4.3-1ubuntu1.3
2011-09-16 21:01:31 status unpacked libcupsppdc1 1.4.3-1ubuntu1.5
2011-09-16 21:01:31 status unpacked libcupsppdc1 1.4.3-1ubuntu1.5
2011-09-16 21:01:32 upgrade cups-common 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:32 status half-configured cups-common 1.4.3-1ubuntu1.3
2011-09-16 21:01:32 status unpacked cups-common 1.4.3-1ubuntu1.3
2011-09-16 21:01:32 status half-installed cups-common 1.4.3-1ubuntu1.3
2011-09-16 21:01:32 status half-installed cups-common 1.4.3-1ubuntu1.3
2011-09-16 21:01:32 status unpacked cups-common 1.4.3-1ubuntu1.5
2011-09-16 21:01:32 status unpacked cups-common 1.4.3-1ubuntu1.5
2011-09-16 21:01:33 upgrade cups-bsd 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:33 status half-configured cups-bsd 1.4.3-1ubuntu1.3
2011-09-16 21:01:33 status unpacked cups-bsd 1.4.3-1ubuntu1.3
2011-09-16 21:01:33 status half-installed cups-bsd 1.4.3-1ubuntu1.3
2011-09-16 21:01:33 status triggers-pending man-db 2.5.7-2ubuntu1
2011-09-16 21:01:33 status half-installed cups-bsd 1.4.3-1ubuntu1.3
2011-09-16 21:01:34 status half-installed cups-bsd 1.4.3-1ubuntu1.3
2011-09-16 21:01:34 status unpacked cups-bsd 1.4.3-1ubuntu1.5
2011-09-16 21:01:34 status unpacked cups-bsd 1.4.3-1ubuntu1.5
2011-09-16 21:01:34 upgrade cups-client 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:34 status half-configured cups-client 1.4.3-1ubuntu1.3
2011-09-16 21:01:34 status unpacked cups-client 1.4.3-1ubuntu1.3
2011-09-16 21:01:34 status half-installed cups-client 1.4.3-1ubuntu1.3
2011-09-16 21:01:34 status half-installed cups-client 1.4.3-1ubuntu1.3
2011-09-16 21:01:35 status half-installed cups-client 1.4.3-1ubuntu1.3
2011-09-16 21:01:35 status unpacked cups-client 1.4.3-1ubuntu1.5
2011-09-16 21:01:35 status unpacked cups-client 1.4.3-1ubuntu1.5
2011-09-16 21:01:35 upgrade cups 1.4.3-1ubuntu1.3 1.4.3-1ubuntu1.5
2011-09-16 21:01:35 status half-configured cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:36 status unpacked cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:36 status half-installed cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:36 status triggers-pending doc-base 0.9.5
2011-09-16 21:01:36 status half-installed cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:36 status half-installed cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:36 status triggers-pending ureadahead 0.100.0-4.1.3
2011-09-16 21:01:36 status half-installed cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:36 status triggers-pending ufw 0.30pre1-0ubuntu2
2011-09-16 21:01:36 status half-installed cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:38 status half-installed cups 1.4.3-1ubuntu1.3
2011-09-16 21:01:38 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:38 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:38 upgrade librsvg2-common 2.26.3-0ubuntu1 2.26.3-0ubuntu1.1
2011-09-16 21:01:38 status half-configured librsvg2-common 2.26.3-0ubuntu1
2011-09-16 21:01:38 status unpacked librsvg2-common 2.26.3-0ubuntu1
2011-09-16 21:01:39 status half-installed librsvg2-common 2.26.3-0ubuntu1
2011-09-16 21:01:39 status half-installed librsvg2-common 2.26.3-0ubuntu1
2011-09-16 21:01:40 status unpacked librsvg2-common 2.26.3-0ubuntu1.1
2011-09-16 21:01:40 status unpacked librsvg2-common 2.26.3-0ubuntu1.1
2011-09-16 21:01:41 upgrade librsvg2-2 2.26.3-0ubuntu1 2.26.3-0ubuntu1.1
2011-09-16 21:01:41 status half-configured librsvg2-2 2.26.3-0ubuntu1
2011-09-16 21:01:41 status unpacked librsvg2-2 2.26.3-0ubuntu1
2011-09-16 21:01:41 status half-installed librsvg2-2 2.26.3-0ubuntu1
2011-09-16 21:01:42 status half-installed librsvg2-2 2.26.3-0ubuntu1
2011-09-16 21:01:42 status unpacked librsvg2-2 2.26.3-0ubuntu1.1
2011-09-16 21:01:42 status unpacked librsvg2-2 2.26.3-0ubuntu1.1
2011-09-16 21:01:42 trigproc man-db 2.5.7-2ubuntu1 2.5.7-2ubuntu1
2011-09-16 21:01:42 status half-configured man-db 2.5.7-2ubuntu1
2011-09-16 21:01:44 status installed man-db 2.5.7-2ubuntu1
2011-09-16 21:01:44 trigproc doc-base 0.9.5 0.9.5
2011-09-16 21:01:44 status half-configured doc-base 0.9.5
2011-09-16 21:01:44 status installed doc-base 0.9.5
2011-09-16 21:01:45 trigproc ureadahead 0.100.0-4.1.3 0.100.0-4.1.3
2011-09-16 21:01:45 status half-configured ureadahead 0.100.0-4.1.3
2011-09-16 21:01:45 status installed ureadahead 0.100.0-4.1.3
2011-09-16 21:01:45 trigproc ufw 0.30pre1-0ubuntu2 0.30pre1-0ubuntu2
2011-09-16 21:01:45 status half-configured ufw 0.30pre1-0ubuntu2
2011-09-16 21:01:45 status installed ufw 0.30pre1-0ubuntu2
2011-09-16 21:01:46 startup packages configure
2011-09-16 21:01:46 configure libcups2 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:46 status unpacked libcups2 1.4.3-1ubuntu1.5
2011-09-16 21:01:46 status half-configured libcups2 1.4.3-1ubuntu1.5
2011-09-16 21:01:46 status installed libcups2 1.4.3-1ubuntu1.5
2011-09-16 21:01:46 status triggers-pending libc-bin 2.11.1-0ubuntu7.8
2011-09-16 21:01:46 configure libcupscgi1 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:46 status unpacked libcupscgi1 1.4.3-1ubuntu1.5
2011-09-16 21:01:46 status half-configured libcupscgi1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status installed libcupscgi1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 configure libcupsdriver1 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status unpacked libcupsdriver1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status half-configured libcupsdriver1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status installed libcupsdriver1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 configure libcupsimage2 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status unpacked libcupsimage2 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status half-configured libcupsimage2 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status installed libcupsimage2 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 configure libcupsmime1 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status unpacked libcupsmime1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status half-configured libcupsmime1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status installed libcupsmime1 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 configure libcupsppdc1 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:47 status unpacked libcupsppdc1 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status half-configured libcupsppdc1 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status installed libcupsppdc1 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 configure cups-common 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status unpacked cups-common 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status half-configured cups-common 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status installed cups-common 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 configure cups-client 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status unpacked cups-client 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status half-configured cups-client 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status installed cups-client 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 configure cups-bsd 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status unpacked cups-bsd 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status half-configured cups-bsd 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status installed cups-bsd 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 configure cups 1.4.3-1ubuntu1.5 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:48 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status unpacked cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:49 status half-configured cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:54 status installed cups 1.4.3-1ubuntu1.5
2011-09-16 21:01:54 configure librsvg2-2 2.26.3-0ubuntu1.1 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 status unpacked librsvg2-2 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 status half-configured librsvg2-2 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 status installed librsvg2-2 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 configure librsvg2-common 2.26.3-0ubuntu1.1 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 status unpacked librsvg2-common 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 status half-configured librsvg2-common 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 status installed librsvg2-common 2.26.3-0ubuntu1.1
2011-09-16 21:01:54 trigproc libc-bin 2.11.1-0ubuntu7.8 2.11.1-0ubuntu7.8
2011-09-16 21:01:54 status half-configured libc-bin 2.11.1-0ubuntu7.8
2011-09-16 21:01:55 status installed libc-bin 2.11.1-0ubuntu7.8
最後に、やってみたことを載せます。
/etc/network/interfaces の中身が、
auto lo
iface lo inet loopback
であったので、http://ziddy.japan.zdnet.com/qa6135545.html の回答5にあるように,
同ファイルの中身を
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
と書き換え、sudo ifup eth0 を実行してました。結果はダメでしたので、その状態で再起動してみましたが、
それでもダメでした。また、http://askubuntu.com/questions/3159/delete-eth0-avahi-from-the-ifconfig-list
には、 sudo /etc/init.d/networking restart を実行せよと書いてあったので、それも実行してみましたがダメでした。
私自身は素人で、今日一日かけてここまでがやっとでした。なので是非皆様のお力をお借りできればと思います。
よろしくお願いいたします。
オフライン
投稿者です。
再度落ち着いて過去のトピックを調べてみたら、次のトピック
ubuntu10.04 でネットワーク接続(有線)ができなくなりました (by kakan6941)
<https://forums.ubuntulinux.jp/viewtopic.php?id=10582>
とほぼ同様の状況でした。調査不足ですみませんでした。こちらの方は1日待ったら自然と
接続が回復していたようですが、私も待っていれば繋がるのでしょうか。。
私ももう少し自分で調べてみますが、何かお気づきの点などありましたら、返信いただけるとありがたいです。
よろしくお願いいたします。
オフライン
hiraki による投稿:
ちなみに、現在はノートPCからアクセスしており、
問題となっているPCと同じ Aterm に接続しています。
別PCの方もDHCPでのアドレス取得でしょうか。
ルータ(Aterm???)側のログを見ると、UbuntuマシンからDHCPの要求があった形跡など読み取れますでしょうか。
別PCが有線接続である場合は、Ubuntuマシンとケーブルや接続ポートを入れ替えてみるとどうなりますでしょうか。
hiraki による投稿:
eth0 Link encap:イーサネット ハードウェアアドレス 40:61:86:4d:77:3d
UP BROADCAST MULTICAST MTU:1500 メトリック:1
RXパケット:0 エラー:0 損失:0 オーバラン:0 フレーム:0
TXパケット:0 エラー:0 損失:0 オーバラン:0 キャリア:0
衝突(Collisions):0 TXキュー長:1000
RXバイト:0 (0.0 B) TXバイト:0 (0.0 B)
割り込み:31 ベースアドレス:0x4000
lshwの結果もそうですが、デバイス自体は認識されてはいるようです。
hiraki による投稿:
2 : sudo dhclient eth0 の実行結果
There is already a pid file /var/run/dhclient.pid with pid 1999
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/40:61:86:4d:77:3d
Sending on LPF/eth0/40:61:86:4d:77:3d
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
この結果を見るとDHCPサーバ(ルータ)までの経路に問題があるか、DHCPサーバが応答しなくなっているのかだと思われます。例えばLANケーブルの断線であれば、別のケーブルに変えてみて変化を確認することで切り分けられるかと思います。ルータが異常動作をしているかも知れないのでルータの電源を一度落として、10秒ほどおいてから再度電源投入ということを試してみるのもよいかと思います。
hiraki による投稿:
3 : cat /etc/network/interfaces の実行結果
auto lo
iface lo inet loopback
これは正常な状態です。
上記のifconfigを実行したのは、この設定状態ではなく、下記の変更後では無いかと思いますが、その理解でよろしいでしょうか。
hiraki による投稿:
/etc/network/interfaces の中身が、
auto lo
iface lo inet loopback
であったので、http://ziddy.japan.zdnet.com/qa6135545.html の回答5にあるように,
同ファイルの中身を
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
と書き換え、sudo ifup eth0 を実行してました。結果はダメでしたので、その状態で再起動してみましたが、
それでもダメでした。
最後になってしまいましたが、真っ先に上記の変更を元に戻しておいて下さい。
オフライン
>> hmatsue 様
ご教授ありがとうございます。LANケーブルを抜き差ししたり、PC筐体を空けて少し埃を取ったりしましたら、繋がりました。
おっしゃるように、物理的な接続の問題だったようです。本当にありがとうございました。
あと、今後このトピックを参照される方がいるかもしれないので、hmatsue 様のご質問にお答えしておきたいと思います
hmatsue による投稿:
別PCの方もDHCPでのアドレス取得でしょうか。
はい。そうです。Aterm の LAN2 の所にLANケーブルをつないでネットにアクセスしておりました。
hmatsue による投稿:
上記のifconfigを実行したのは、この設定状態ではなく、下記の変更後では無いかと思いますが、その理解でよろしいでしょうか。
そうでした。説明不足で申し訳ありませんでした。
最後に、もう一つのご質問、
hmatsue による投稿:
ルータ(Aterm???)側のログを見ると、UbuntuマシンからDHCPの要求があった形跡など読み取れますでしょうか。
についてですが、私には確認の方法が分かりません。なので、もしまだご覧になっておられましたら、後学の為にお教え頂けるとありがたいのですが、
いかがでしょうか。よろしくお願い致します。
オフライン
hirakiさん による投稿:
hmatsue による投稿:
ルータ(Aterm???)側のログを見ると、UbuntuマシンからDHCPの要求があった形跡など読み取れますでしょうか。
についてですが、私には確認の方法が分かりません。なので、もしまだご覧になっておられましたら、後学の為にお教え頂けるとありがたいのですが、
いかがでしょうか。よろしくお願い致します。
これはルータのログなので、ルータの取説に書かれてませんか?
例えばWR4100Nという機種であれば、機能詳細ガイドの「通信情報ログ(アクセスログ機能)」と言う項目を見れば分かるようです。
オフライン
hiraki による投稿:
hmatsue による投稿:
別PCの方もDHCPでのアドレス取得でしょうか。
はい。そうです。Aterm の LAN2 の所にLANケーブルをつないでネットにアクセスしておりました。
最初考えていたのは、別PCが有線でDHCPでアドレスを取れているのであれば、ルータのDHCPサーバ機能の疑いはかなり低くなるかな、ということでした。
hiraki による投稿:
hmatsue による投稿:
ルータ(Aterm???)側のログを見ると、UbuntuマシンからDHCPの要求があった形跡など読み取れますでしょうか。
についてですが、私には確認の方法が分かりません。
こちらはzaganさんのコメント参照下さい。
どうやら接続に異常(ケーブルが断線しかかっているとか、コネクタが弱くなっているとか)が一番あやしそうなので、ルータ側のログには何も残っていない(ルータまでDHCPの要求が届いていなかった)可能性が高いですが、今後似たような現象にあったときのため、ログの確認の仕方はマニュアルで確認して参照しておかれると良いかと思います。
オフライン
>> zagan殿(殿ならO.K.でしょうか(笑))、 hmatsue様
素早いご返事ありがとうございます。今 Aterm について少し調べました。
うちでは au one net の光回線を契約しており、私が使っている Aterm は、「BL170HV」という型でした。
これについて少し google で検索してみると、どうやらこの型の Aterm はログが残らないそうです。
http://www.losttechnology.jp/report/2004/kddiopt.html
の頁の半ばに、他の型であれば http://web.setup/log_main.html でログが見れると書いてあったので試して見たところ、
薄いえんじ色の背景に
404 Not Found
File not found.
と表示されて、見れませんでした。http://web.setup/system.log でも同様でした。また違うルーターを使う機会があったら、ログを探して
見てみようと思います。
皆様ありがとうございました。問題も解決し、色々と勉強にもなりました。
また何かありましたらよろしくお願いいたします。
オフライン