내 컴퓨터에서 localhost가 꺼져 있습니다.
내 설명에 나와 있습니다 /etc/network/interfaces
.
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
하지만 내가 루트를 달릴 때
route -n" with wireless off
나는 얻다:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
어떻게 켜면 돼?
답변1
ifconfig
네트워크 인터페이스(예: localhost 인터페이스(lo))가 활성화되어 있는지 여부를 확인하는 데 사용할 수 있습니다 .
sudo ifconfig lo up
localhost 인터페이스를 활성화하는 데 사용할 수 있습니다 .