a bit newish user here, reading up but cant find what causing my problems.
Computer is on the internet, and can be accessed form it (ssh etc) but it cant access the internet.
Tried static and dhcp settings, same situation.
interfaces:
Code: Select all
allow-hotplug enp2s0
iface enp2s0 inet dhcp
#address 192.168.0.14
#network 192.168.0.0
#netmask 255.255.255.0
#broadcast 192.168.255.255
#gateway 192.168.0.1
#dns-nameservers 192.168.0.1 8.8.8.8 1.1.1.1
Code: Select all
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0f:b0:87:a7:b0 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.14/24 brd 192.168.0.255 scope global enp2s0
valid_lft forever preferred_lft forever
Code: Select all
nameserver 89.216.1.30
nameserver 89.216.1.50
Code: Select all
ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2049ms
Code: Select all
ping -c3 89.216.1.30
PING 89.216.1.30 (89.216.1.30) 56(84) bytes of data.
--- 89.216.1.30 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2047ms
Any help would be appreciated, thanks!