JetPack을 사용하여 CUDA 설치에 실패한 후 이더넷 연결이 없습니다.

JetPack을 사용하여 CUDA 설치에 실패한 후 이더넷 연결이 없습니다.

Jetpack 3을 다운로드한 후 Jetson을 새로 고치고 CUDA 8을 설치해 보았습니다. 두 대의 다른 컴퓨터(WiFi 꺼짐)를 사용하여 설치를 시도했습니다. CUDA를 설치할 수 없습니다. 오류가 발생합니다. 두 컴퓨터 모두 설치 중 결함이 발생한 후 이더넷 연결이 더 이상 작동하지 않았습니다. 다른 컴퓨터에서 /etc/network/interfaces파일을 확인하고 비교했습니다 /etc/NetworkManager/NetworkManager.conf.

내 구성은 Ubuntu 16.04LTS, Jetson TX2, Jetpack 3입니다. 컴퓨터와 Jetson은 인터넷에 연결되는 허브에 연결됩니다.

현재 내 컴퓨터의 이더넷 연결을 복원하려고 합니다. 이제 내 컴퓨터가 DHCP 서버에 연결된 허브에 연결되었습니다. (Jetson TX2가 분리되어 있고 JetPack이 실행되고 있지 않습니다.)

문제를 찾기 위해 다음 명령을 시도했습니다.

$ ifconfig eth0(eth0에 연결하려고 할 때)

eth0      Link encap:Ethernet  HWaddr 28:f1:0e:48:52:d2  
      inet6 addr: 2607:f810:c20:16:2af1:eff:fe48:52d2/64 Scope:Global
      inet6 addr: fe80::2af1:eff:fe48:52d2/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:17525 errors:0 dropped:104 overruns:0 frame:0
      TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
      collisions:84 txqueuelen:1000 
      RX bytes:1709238 (1.7 MB)  TX bytes:70530 (70.5 KB)
      Interrupt:16 Memory:dd400000-dd420000  

IPV4 주소가 없으므로 DHCP가 요청을 받지 못했거나 보낼 수 없었다는 뜻인 것 같습니다.

$ 고양이 /etc/네트워크/인터페이스

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

좋아 보이네요. 저도 추가해 봤습니다

auto eth0
iface eth0 inet dhcp

나는 같은 결과를 얻었습니다.

$ 고양이 /etc/NetworkManager/NetworkManager.conf

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

Managed=true로 설정하면 설정할 수 없는 ifupdown 연결이 발생합니다.

$journalctl -f

Jul 07 18:35:05 toromachine dhclient[22025]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 (xid=0x6a052979)
Jul 07 18:35:09 toromachine dhclient[22025]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x6a052979)
Jul 07 18:35:19 toromachine dhclient[22025]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18 (xid=0x6a052979)
Jul 07 18:35:37 toromachine dhclient[22025]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 (xid=0x6a052979)
Jul 07 18:35:47 toromachine NetworkManager[19050]: <warn> [1499477747.7752] dhcp4 (eth0): request timed out
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.7753] dhcp4 (eth0): state changed unknown -> timeout
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8079] dhcp4 (eth0): canceled DHCP transaction, DHCP client pid 22025
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8079] dhcp4 (eth0): state changed timeout -> done
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8086] device (eth0): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8091] manager: NetworkManager state is now DISCONNECTED
Jul 07 18:35:47 toromachine NetworkManager[19050]: <warn> [1499477747.8098] device (eth0): Activation: failed for connection 'eth0'
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8113] device (eth0): state change: failed -> disconnected (reason 'none') [120 30 0]
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8151] policy: auto-activating connection 'eth0'
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8166] device (eth0): Activation: starting connection 'eth0' (e7361020-1796-4583-aab9-9d479aac94fe)
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8167] device (eth0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8168] manager: NetworkManager state is now CONNECTING
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8170] device (eth0): state change: prepare -> config (reason 'none') [40 50 0]
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8180] device (eth0): state change: config -> ip-config (reason 'none') [50 70 0]
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8182] dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds)
Jul 07 18:35:47 toromachine NetworkManager[19050]: <info> [1499477747.8206] dhcp4 (eth0): dhclient started with pid 22043
Jul 07 18:35:47 toromachine dhclient[22043]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x15238503)
Jul 07 18:35:50 toromachine dhclient[22043]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0x15238503)
Jul 07 18:35:55 toromachine dhclient[22043]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 (xid=0x15238503)
Jul 07 18:36:04 toromachine dhclient[22043]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x15238503)
Jul 07 18:36:15 toromachine dhclient[22043]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 (xid=0x15238503)
Jul 07 18:36:32 toromachine NetworkManager[19050]: <warn> [1499477792.7707] dhcp4 (eth0): request timed out
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7708] dhcp4 (eth0): state changed unknown -> timeout
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7874] dhcp4 (eth0): canceled DHCP transaction, DHCP client pid 22043
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7875] dhcp4 (eth0): state changed timeout -> done
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7881] device (eth0): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7885] manager: NetworkManager state is now DISCONNECTED
Jul 07 18:36:32 toromachine NetworkManager[19050]: <warn> [1499477792.7891] device (eth0): Activation: failed for connection 'eth0'
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7902] device (eth0): state change: failed -> disconnected (reason 'none') [120 30 0]
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7937] policy: auto-activating connection 'eth0'
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7945] device (eth0): Activation: starting connection 'eth0' (e7361020-1796-4583-aab9-9d479aac94fe)
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7954] device (eth0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7955] manager: NetworkManager state is now CONNECTING
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7958] device (eth0): state change: prepare -> config (reason 'none') [40 50 0]
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7969] device (eth0): state change: config -> ip-config (reason 'none') [50 70 0]
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7971] dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds)
Jul 07 18:36:32 toromachine NetworkManager[19050]: <info> [1499477792.7984] dhcp4 (eth0): dhclient started with pid 22057

나에게는 DHCP 서버에 요청을 보내는 데 실패했습니다. 그런데 일부 DHCP가 발견된 것 같습니다.

$ 고양이 /var/lib/NetworkManager/NetworkManager.state

[main]
NetworkingEnabled=true
WirelessEnabled=false
WWANEnabled=true
WimaxEnabled=true

좋아 보인다. 수동으로 무선을 비활성화했습니다.

$ sudo dhcpdump -i eth0

TIME: 2017-07-12 17:24:55.942
    IP: 0.0.0.0 (c:51:1:e2:30:2b) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 14ac6666
  SECS: 3
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 0c:51:01:e2:30:2b:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         1 (DHCPDISCOVER)
OPTION:  51 (  4) IP address leasetime      86400 (24h)
OPTION:  12 ( 33) Host name                 dcs-airporttimecapsule-3042bainer
OPTION:  55 (  7) Parameter Request List      1 (Subnet mask)
                          2 (Time offset)
                          3 (Routers)
                         15 (Domainname)
                          6 (DNS server)
                         12 (Host name)
                         44 (NetBIOS name server)

OPTION:  57 (  2) Maximum DHCP message size 1500
OPTION:  61 (  7) Client-identifier         01:0c:51:01:e2:30:2b
---------------------------------------------------------------------------

누군가가 나를 도울 수 있는 몇 가지 아이디어가 있기를 바랍니다.

관련 정보