昨夜はコンピュータ作業をしていたのですが、参考にi3を使っているのですが、XFCE4が必要ないと思って削除することにしました。翌朝、コンピュータの電源を入れたが、有線接続がなかった。しかし、Windowsパーティションで起動したところ、そこで動作することがわかりました。オンラインで検索しましたが、答えが見つかりませんでした。
これは sudo ifconfig の出力です。
archie@debian:~$ sudo ifconfig
[sudo] password for archie:
eth0 Link encap:Ethernet HWaddr 40:8d:5c:58:fa:92
inet6 addr: fe80::428d:5cff:fe58:fa92/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2061 errors:0 dropped:54 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:307371 (300.1 KiB) TX bytes:4856 (4.7 KiB)
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:65536 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5306 (5.1 KiB) TX bytes:5306 (5.1 KiB)
これは私の/etc/network/interfacesです。
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface eth0 inet6 auto
助けてくれてありがとう。
ベストアンサー1
以下にauto lo
追加してくださいauto eth0
。次に、以下に追加してください。alow-hotplug eth0
最終的な /etc/network/interface は次のようになります。
auto lo
auto eth0
allow-hotplug eth0
iface eth0 inet6 auto
良い結果を得るには、再起動してください。
man interfaces
詳しくはこちらをご覧ください:)