読者です 読者をやめる 読者になる 読者になる

どせいたんさき。

ナスダヨー

DHCP で IP アドレスが取得できなくなるときがある〔未解決〕

問題

大学で eth0 でネットワークに接続している.

ノートパソコンなので dhcp 接続なのだけど,あるとき急にネットワークに接続できなくなった.この症状は今回で 2 回目.前回は resolveconfnetwork-manager を再起動していたらいつの間にかつながるようになった.今回も同様にいろいろと再起動してみたが解決していない.

症状

接続開始から接続失敗までの /var/log/syslog はこんな感じ.DHCPDISCOVER から先に進めず DHCPREQUEST まで到達していない.

Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Auto-activating connection 'Wired'.
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) starting connection 'Wired'
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> dhclient started with pid 2557
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jan  9 16:29:29 berenjena dhclient: Internet Systems Consortium DHCP Client 4.2.4
Jan  9 16:29:29 berenjena dhclient: Copyright 2004-2012 Internet Systems Consortium.
Jan  9 16:29:29 berenjena dhclient: All rights reserved.
Jan  9 16:29:29 berenjena dhclient: For info, please visit https://www.isc.org/software/dhcp/
Jan  9 16:29:29 berenjena dhclient:
Jan  9 16:29:29 berenjena NetworkManager[2464]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Jan  9 16:29:29 berenjena dhclient: Listening on LPF/eth0/XX:XX:XX:XX:XX:XX
Jan  9 16:29:29 berenjena dhclient: Sending on   LPF/eth0/XX:XX:XX:XX:XX:XX
Jan  9 16:29:29 berenjena dhclient: Sending on   Socket/fallback
Jan  9 16:29:29 berenjena dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jan  9 16:29:32 berenjena dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jan  9 16:29:39 berenjena dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
Jan  9 16:29:48 berenjena dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jan  9 16:29:55 berenjena dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
Jan  9 16:30:04 berenjena dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jan  9 16:30:11 berenjena dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Jan  9 16:30:15 berenjena NetworkManager[2464]: <warn> (eth0): DHCPv4 request timed out.
Jan  9 16:30:15 berenjena NetworkManager[2464]: <info> (eth0): canceled DHCP transaction, DHCP client pid 2557
Jan  9 16:30:15 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Jan  9 16:30:15 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Jan  9 16:30:15 berenjena NetworkManager[2464]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jan  9 16:30:15 berenjena NetworkManager[2464]: <warn> Activation (eth0) failed for connection 'Wired'
Jan  9 16:30:15 berenjena NetworkManager[2464]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Jan  9 16:30:15 berenjena NetworkManager[2464]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Jan  9 16:30:15 berenjena NetworkManager[2464]: <info> (eth0): deactivating device (reason 'none') [0]

解決方法

未解決.とりあえず固定 IP の接続設定にしている.