So, I have recently installed Ubuntu 16.04 (Server). I have Etheet plugged in to the PC that Ubuntu is installed on, but it doesn't let me ping stuff or install packages.
ifconfig -a:
Code:
enp8s0 Link encap:Etheet HWaddr **:**:**:**:**:**
inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19
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:196 errors:0 dropped:0 overruns:0 frame:0
TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:15016 (15.0 KB) TX bytes:15016 (15.0 KB)
Code:
PING 198.199.80.11 (198.199.80.11) 56(84) bytes of data. From 192.168.1.7 icmp_seq=1 Destination Host Unreachable
Code:
source /etc/network/interfaces.d/* auto lo enp8s0 iface lo inet loopback auto enp8s0 iface enp8s0 inet static address 192.168.1.7 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1
Code:
Keel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 enp8s0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 enp8s0
Code:
default via 192.168.1.1 dev enp8s0 onlink linkdown 192.168.1.0/24 dev enp8s0 proto keel scope link src 192.168.1.7 linkdown
Code:
networking.service - Raise network interfaces Active: active (exited) since Mon 2016-05-02 21:00:58 EDT; 10min ago
Code:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: inteal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: no
Code:
driver: tg3 version: 3.137 firmware-version: sb expansion-rom-version: bus-info: 0000:08:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: no
Code:
192.168.1.1 dev enp8s0 INCOMPLETE
برچسب:
نویسنده: استخدام کار