12-23-2019, 05:59 PM
(12-20-2019, 11:28 AM)abdel Wrote: Try to setup a static IP
# ip link set up dev eth0
# ip addr add 192.168.0.20/24 dev eth0 (depending on your network)
and then try to ping an another ip/computer on your network
is this working ?
To try simplify I reloaded a minimal image as it uses systemd-networkd (and not NetworkManager as per the xfce & kde images).
It works somewhat better, the log is below. 192.168.1.1 is my router. What is horrific is the packet loss. the second bit is from ip address.
Code:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.289 ms
From 192.168.1.20 icmp_seq=9 Destination Host Unreachable
From 192.168.1.20 icmp_seq=10 Destination Host Unreachable
From 192.168.1.20 icmp_seq=11 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
19 packets transmitted, 1 received, +3 errors, 94.7368% packet loss, time 18744ms
rtt min/avg/max/mdev = 0.289/0.289/0.289/0.000 ms, pipe 3
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 4e:d9:eb:5f:b2:85 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.20/24 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::5666:1550:a509:ca34/64 scope link
valid_lft forever preferred_lft forever
Just rebooting into my Ubuntu setup I get
Code:
$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.652 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.667 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.657 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.672 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.679 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.674 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 0.652/0.666/0.679/0.009 ms
$ ip address
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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 4e:d9:eb:5f:b2:85 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.154/24 brd 192.168.1.255 scope global dynamic eth0
valid_lft 43123sec preferred_lft 43123sec
inet6 fd12:dca2:57f1::923/128 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fd12:dca2:57f1:0:4cd9:ebff:fe5f:b285/64 scope global mngtmpaddr noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::4cd9:ebff:fe5f:b285/64 scope link
valid_lft forever preferred_lft forever
$ ip route
default via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.154 metric 5
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.154
192.168.1.1 dev eth0 proto dhcp scope link src 192.168.1.154 metric 5
(ip route under Manjaro gives null response)
I truly appreciate your patience trying to help this dumbo, thank you
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC