Destination Host Unreachable - can't get around it
by fredmyra from LinuxQuestions.org on (#6JWFC)
Hi there!
I installed Slackware64-15.0 on a Fujitsu Lifebook (intel-i5) some time last year and did not use it very often. This is one of some multiboot machines and I don't recall much about the installation process.
I am not very good at configuring networks, have too many doubts about meaning of terms and expressions, but have always, often med help av friendly people, finally got it solved.
This instance of problem is happening after I became without internet and my provider finally changed their receiving hardware at my place. The router connecting to my computers is still the same.
The whole process took about a week of tests and exchanges.
I very much suspect knowing myself that my stress caused, as usually, many of the problems I experienced thereafter, including having to reformat and re-install 2 multiboot stations and buy a hard disk.
The Artix installed for boot managemment is connecting to the internet without any problems, which made - I believe - all the testing I did about cables, router and ports superfluous.
Here the only difference is which installation, everything else, AFAIK is constant.
I did also experience a problem initially exactly like that which is the subject of this thread in a Fujitsu Esprimo Q (intel-i5).
I was able to solve it there in a way that did not work in this case.
The initial symptom here (as there) was the message
Code: Destination Host Unreachable]while connected to internet.
From there I spent 3 days searching, googling and trying different ideas collected on the way.
I did keep some examples, but unfortunately I don't know of any away to logging my terminal activity, so the information I am providing is incomplete and may have missed important bits.
But I think (/hope) those with experience may see through my misses.
Here is the last block I saved, this morning (sunday 25), after I upgraded-all, after updating kernel from 5.15.117 to 5.15.145 and making a new initrd:
Code:bash-5.1$ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.181 icmp_seq=1 Destination Host Unreachable
From 192.168.0.181 icmp_seq=2 Destination Host Unreachable
From 192.168.0.181 icmp_seq=3 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2029ms
pipe 3
bash-5.1$ route -n
bash: route: command not found
bash-5.1$ su
Password:
bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
bash-5.1# less /etc/resolv.conf
bash-5.1# # Generated by resolvconf
search dlinkrouter
nameserver 2001:9b0::53:1
nameserver 2001:9b0::53:2
bash: search: command not found
bash: nameserver: command not found
bash: nameserver: command not found
bash-5.1#
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 72:f0:c8:04:81:3d brd ff:ff:ff:ff:ff:ff permaddr 58:94:6b:1c:d2:ac
bash-5.1#And the first block I saved yesterday, having eth0 configured manually in /etc/rc.d/rc.inet1.conf:
Code:bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# runlevel
N 3
bash-5.1# rc-update show
bash: rc-update: command not found
bash-5.1# ls -l /etc/rc.d
total 488
drwxr-xr-x 2 root root 4096 Feb 13 2021 init.d
lrwxrwxrwx 1 root root 4 Nov 14 2022 rc.0 -> rc.6
-rwxr-xr-x 1 root root 1649 Apr 24 2021 rc.4
-rwxr-xr-x 1 root root 10077 Nov 10 2021 rc.6
-rwxr-xr-x 1 root root 3303 Apr 23 2021 rc.K
-rwxr-xr-x 1 root root 13230 Nov 12 2021 rc.M
-rwxr-xr-x 1 root root 18050 Jan 27 2022 rc.S
-rwxr-xr-x 1 root root 552 Sep 20 2021 rc.acpid
-rw-r--r-- 1 root root 2556 Jun 14 2021 rc.alsa
-rw-r--r-- 1 root root 999 Jun 14 2021 rc.alsa-oss
-rw-r--r-- 1 root root 1009 Feb 13 2021 rc.atalk
-rwxr-xr-x 1 root root 669 Jan 30 2022 rc.atd
-rw-r--r-- 1 root root 2825 Oct 20 2021 rc.autofs
-rw-r--r-- 1 root root 4045 Feb 4 03:33 rc.bind
-rw-r--r-- 1 root root 3990 Sep 24 2021 rc.bind.orig
-rwxr-xr-x 1 root root 1456 Jan 26 2022 rc.bluetooth
-rw-r--r-- 1 root root 4917 Aug 2 2021 rc.cgconfig
-rw-r--r-- 1 root root 3347 Aug 2 2021 rc.cgred
-rwxr-xr-x 1 root root 3330 Apr 23 2021 rc.cpufreq
-rwxr-xr-x 1 root root 731 Feb 13 2021 rc.crond
-rw-r--r-- 1 root root 3295 Jun 29 2021 rc.cups
-rw-r--r-- 1 root root 3085 Jan 16 2022 rc.cups-browsed
-rw-r--r-- 1 root root 814 Sep 9 2021 rc.dnsmasq
-rw-r--r-- 1 root root 554 Dec 7 2021 rc.dovecot
-rwxr-xr-x 1 root root 1579 Mar 3 2021 rc.elogind
-rwxr-xr-x 1 root root 139 Nov 14 2022 rc.font
-rwxr-xr-x 1 root root 1893 Feb 13 2021 rc.fuse
-rwxr-xr-x 1 root root 1995 Sep 7 2021 rc.fuse3
-rwxr-xr-x 1 root root 1153 Nov 14 2022 rc.gpm
-rwxr-xr-x 1 root root 762 Jan 9 2022 rc.haveged
-rw-r--r-- 1 root root 1001 Feb 4 03:34 rc.httpd
-rw-r--r-- 1 root root 1083 Dec 20 2021 rc.httpd.orig
-rw-r--r-- 1 root root 964 Sep 21 2018 rc.icecc-scheduler
-rw-r--r-- 1 root root 901 Sep 21 2018 rc.iceccd
-rw-r--r-- 1 root root 1894 Jan 25 2022 rc.icecream.conf
-rwxr-xr-x 1 root root 29251 Jun 26 2023 rc.inet1
-rw-rwx--- 1 root root 10683 Feb 24 19:42 rc.inet1.conf
-rw------- 1 root root 11077 Jun 26 2023 rc.inet1.conf.new
-rw------- 1 root root 10891 Nov 15 2022 rc.inet1.conf.save
-rw-r--r-- 1 root root 29100 Jan 2 2022 rc.inet1.orig
-rw-r--r-- 1 root root 5340 Oct 13 2019 rc.inet2
-rw-r--r-- 1 root root 497 Feb 13 2021 rc.inetd
-rw-r--r-- 1 root root 3781 May 19 2013 rc.ip_forward
-rw-r--r-- 1 root root 797 Dec 12 2019 rc.kadmind
-rw-r--r-- 1 root root 857 Dec 12 2019 rc.kpropd
-rw-r--r-- 1 root root 842 Dec 12 2019 rc.krb5kdc
-rwxr-xr-x 1 root root 274 Apr 23 2021 rc.local
-rwxr-xr-x 1 root root 170 Apr 23 2021 rc.loop
-rw-r--r-- 1 root root 1340 Nov 17 2021 rc.lxc
-rwxr-xr-x 1 root root 1950 Dec 10 2021 rc.mcelog
-rwxr-xr-x 1 root root 1864 Feb 13 2021 rc.messagebus
-rwxr-xr-x 1 root root 780 Apr 23 2021 rc.modules
-rwxr-xr-x 1 root root 691 Apr 23 2021 rc.modules.local
-rw-r--r-- 1 root root 2517 Nov 20 2021 rc.mysqld
-rw-r--r-- 1 root root 2674 Sep 27 2021 rc.networkmanager
-rw-r--r-- 1 root root 2920 Jun 15 2021 rc.nfsd
-rw-r--r-- 1 root root 752 Nov 21 2021 rc.nss-pam-ldapd
-rw-r--r-- 1 root root 805 May 21 2021 rc.ntpd
-rw-r--r-- 1 root root 1526 Jun 6 2021 rc.openldap
-rw-r--r-- 1 root root 3489 Feb 28 2018 rc.openvpn
-rw-r--r-- 1 root root 1722 Mar 16 2007 rc.pcmcia
-rw-r--r-- 1 root root 2373 Dec 16 2021 rc.php-fpm
-rw-r--r-- 1 root root 1616 Jan 16 2022 rc.postfix
-rw-r--r-- 1 root root 1171 Jan 4 2022 rc.pulseaudio
-rw-r--r-- 1 root root 2295 May 12 2021 rc.rpc
-rw-r--r-- 1 root root 940 Jan 31 2022 rc.samba
-rw-r--r-- 1 root root 1167 Feb 13 2021 rc.saslauthd
-rw-r--r-- 1 root root 2895 Jan 24 2022 rc.serial
-rwxr-xr-x 1 root root 483 Jan 8 2019 rc.setterm
-rw-r--r-- 1 root root 977 Mar 1 2021 rc.smartd
-rw-r--r-- 1 root root 981 Dec 21 2021 rc.snmpd
-rwxr-xr-x 1 root root 1814 Sep 29 2021 rc.sshd
-rwxr-xr-x 1 root root 669 Dec 4 2021 rc.syslog
-rw-r--r-- 1 root root 1253 Nov 17 2022 rc.sysstat
-rwxr-xr-x 1 root root 1656 Apr 23 2021 rc.sysvinit
-rwxr-xr-x 1 root root 7064 Apr 23 2017 rc.udev
-rwxr-xr-x 1 root root 437 Feb 13 2021 rc.ulogd
-rw-r--r-- 1 root root 13885 Mar 19 2021 rc.wireless
-rw------- 1 root root 7349 Mar 19 2021 rc.wireless.conf
-rw-r--r-- 1 root root 3837 Jan 4 2022 rc.yp
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc0.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc1.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc2.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc3.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc4.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc5.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc6.d
bash-5.1# nano -w /etc/rc.d/rc.inet1.conf
bash-5.1# nano -w /etc/rc.d/rc.inet1 restart
bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
dhcpcd-9.4.1 starting
DUID 00:04:2f:df:7d:94:06:4c:11:e0:9d:d8:4d:02:1e:0d:f0:c1
eth0: waiting for carrier
eth0: carrier acquired
eth0: IAID 99:ec:48:f9
eth0: adding address fe80::9c19:306b:b9f3:c3c0
eth0: soliciting an IPv6 router
eth0: Router Advertisement from fe80::12e8:78ff:fe02:a401
eth0: no global addresses for default route
eth0: soliciting a DHCPv6 lease
eth0: ADV 2001:9b1:10d:39::4:2b40/128 from fe80::12e8:78ff:fe02:a401
eth0: REPLY6 received from fe80::12e8:78ff:fe02:a401
eth0: adding address 2001:9b1:10d:39::4:2b40/128
eth0: renew in 300, rebind in 400, expire in 600 seconds
eth0: adding default route via fe80::12e8:78ff:fe02:a401
forked to background, child pid 2924
bash-5.1# ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.161 icmp_seq=1 Destination Host Unreachable
From 192.168.0.161 icmp_seq=2 Destination Host Unreachable
From 192.168.0.161 icmp_seq=3 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2069ms
pipe 3When I tried with both Gateways (IPv6 och IPv4)=192.168.0.1 which in retrospect I realize was dumb and DHCP="yes for ipv4 in /etc/rc.d/rc.inet1:
Code:bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
dhcpcd-9.4.1 starting
DUID 00:04:2f:df:7d:94:06:4c:11:e0:9d:d8:4d:02:1e:0d:f0:c1
eth0: waiting for carrier
eth0: carrier acquired
eth0: IAID 99:ec:48:f9
eth0: adding address fe80::9c19:306b:b9f3:c3c0
eth0: soliciting an IPv6 router
eth0: soliciting a DHCP lease
dhcp6_openudp: Address already in use
ps_inet_listenin6: Address already in use
ps_root_recvmsg: Address already in use
eth0: Router Advertisement from fe80::12e8:78ff:fe02:a401
eth0: no global addresses for default route
eth0: confirming prior DHCPv6 lease
eth0: adding default route via fe80::12e8:78ff:fe02:a401
eth0: probing for an IPv4LL address
eth0: using IPv4LL address 169.254.167.136
eth0: adding route to 169.254.0.0/16
eth0: adding default route
forked to background, child pid 3633
ash-5.1# ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 169.254.167.136 icmp_seq=1 Destination Host Unreachable
From 169.254.167.136 icmp_seq=2 Destination Host Unreachable
From 169.254.167.136 icmp_seq=3 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2041ms
pipe 3
bash-5.1#
In a later block from yesterday I had in rc.inet1.conf:
Code:# IPv4 config options for eth0:
IPADDRS[0]=""
USE_DHCP[0]=""
# IPv6 config options for eth0:
IP6ADDRS[0]="yes"
USE_SLAAC[0]=""
USE_DHCP6[0]="yes"
# Generic options for eth0:
DHCP_HOSTNAME[0]=""
# IPv4 default gateway IP address:
GATEWAY=""
# IPv6 default gateway IP address:
GATEWAY6=""and got:
Code:bash-5.1# ps -ef | pg
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 20:16 ? 00:00:00 init [3]
root 2 0 0 20:16 ? 00:00:00 [kthreadd]
root 3 2 0 20:16 ? 00:00:00 [rcu_gp]
root 4 2 0 20:16 ? 00:00:00 [rcu_par_gp]
root 5 2 0 20:16 ? 00:00:00 [slub_flushwq]
root 6 2 0 20:16 ? 00:00:00 [netns]
root 8 2 0 20:16 ? 00:00:00 [kworker/0:0H-events_highpri]
root 10 2 0 20:16 ? 00:00:00 [mm_percpu_wq]
root 11 2 0 20:16 ? 00:00:00 [rcu_tasks_kthre]
root 12 2 0 20:16 ? 00:00:00 [rcu_tasks_rude_]
root 13 2 0 20:16 ? 00:00:00 [rcu_tasks_trace]
root 14 2 0 20:16 ? 00:00:00 [ksoftirqd/0]
root 15 2 0 20:16 ? 00:00:00 [rcu_preempt]
root 16 2 0 20:16 ? 00:00:00 [migration/0]
root 17 2 0 20:16 ? 00:00:00 [cpuhp/0]
root 18 2 0 20:16 ? 00:00:00 [cpuhp/1]
root 19 2 0 20:16 ? 00:00:00 [migration/1]
root 20 2 0 20:16 ? 00:00:00 [ksoftirqd/1]
root 22 2 0 20:16 ? 00:00:00 [kworker/1:0H-kblockd]
root 23 2 0 20:16 ? 00:00:00 [cpuhp/2]
root 24 2 0 20:16 ? 00:00:00 [migration/2]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1#
Next try was as:
Code:# IPv4 config options for eth0:
IPADDRS[0]=""
USE_DHCP[0]=""
# IPv6 config options for eth0:
IP6ADDRS[0]=""
USE_SLAAC[0]=""
USE_DHCP6[0]="yes"
# Generic options for eth0:
DHCP_HOSTNAME[0]=""
# IPv4 default gateway IP address:
GATEWAY=""
# IPv6 default gateway IP address:
GATEWAY6=""Resulting in:
Code:bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
sending commands to dhcpcd process
Error: inet6 prefix is expected rather than "yes/64".
bash-5.1# nano -w /etc/rc.d/rc.inet1.conf
bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
sending commands to dhcpcd process
bash-5.1#This setting:
Code:# IPv4 config options for eth0:
IPADDRS[0]=""
USE_DHCP[0]="yes"
# IPv6 config options for eth0:
IP6ADDRS[0]=""
USE_SLAAC[0]=""
USE_DHCP6[0]=""
# Generic options for eth0:
DHCP_HOSTNAME[0]=""
# IPv4 default gateway IP address:
GATEWAY="192.168.0.1"
# IPv6 default gateway IP address:
GATEWAY6=""was followed by:
Code:bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
sending commands to dhcpcd process
Error: Nexthop has invalid gateway.
bash-5.1#
bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
bash-5.1# route add default gw 192.168.0.1
SIOCADDRT: Network is unreachable
bash-5.1#
bash-5.1# ip route add default via 192.168.0.1 dev eth0
Error: Nexthop has invalid gateway.
bash: dhcp: command not found
bash-5.1# dhcpcd eth0
sending commands to dhcpcd process
bash-5.1# chmod 644 /etc/rc.d/rc.inet1
bash-5.1# /etc/rc.d/rc.inet1 stop
bash: /etc/rc.d/rc.inet1: Permission denied
bash-5.1# chmod 755 /etc/rc.d/rc.inet1
bash-5.1# /etc/rc.d/rc.inet1 stop
Stopping the network interfaces...
bash-5.1# chmod 644 /etc/rc.d/rc.inet1
bash-5.1# nano -w /etc/rc.d/rc.networkmanager start
bash-5.1# /etc/rc.d/rc.networkmanager start
bash: /etc/rc.d/rc.networkmanager: Permission denied
bash-5.1# chmod 644 /etc/rc.d/rc.networkmanager
bash-5.1# /etc/rc.d/rc.networkmanager start
bash: /etc/rc.d/rc.networkmanager: Permission denied
bash-5.1# chmod 755 /etc/rc.d/rc.networkmanager
bash-5.1# /etc/rc.d/rc.networkmanager start
Starting NetworkManager daemon: /usr/sbin/NetworkManager
bash-5.1# ping -c 3 8.8.8.8
ping: connect: Network is unreachablenmapplet said internet was connected (above)
and then by:
Code:bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 1001002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
bash-5.1# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 0.0.0.0 0.0.0.0 U 1001002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
bash-5.1# ip link eth0 down
Command "eth0" is unknown, try "ip link help".
bash-5.1# ip link set eth0 down
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bash-5.1# ip link set eth0 up
bash-5.1# ip link set
Not enough information: "dev" argument is required.
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 1001002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
bash-5.1# ip link set eth0 down
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# man ip link
bash-5.1# man ip address
bash-5.1# /etc/rc.d/rc.inet1 stop
Stopping the network interfaces...
bash-5.1# ip address add 192.168.0.199 dev eth0
bash-5.1# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bash-5.1# route add default gw 192.168.0.1
SIOCADDRT: Network is unreachable
bash-5.1# ip link
1: lo: <LOOPBACK> mtu 65536 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.199 netmask 255.255.255.255 broadcast 0.0.0.0
inet6 fe80::9c19:306b:b9f3:c3c0 prefixlen 64 scopeid 0x20<link>
inet6 2001:9b1:10d:39::4:2b40 prefixlen 128 scopeid 0x0<global>
inet6 fe80::6ab5:99ff:feec:48f9 prefixlen 64 scopeid 0x20<link>
ether 68:b5:99:ec:48:f9 txqueuelen 1000 (Ethernet)
RX packets 178 bytes 16013 (15.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 502 bytes 55484 (54.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xd4700000-d4720000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 40 bytes 4104 (4.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 40 bytes 4104 (4.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
bash-5.1#I have no idea of what is going on, as you probably have already noticed.
I installed Slackware64-15.0 on a Fujitsu Lifebook (intel-i5) some time last year and did not use it very often. This is one of some multiboot machines and I don't recall much about the installation process.
I am not very good at configuring networks, have too many doubts about meaning of terms and expressions, but have always, often med help av friendly people, finally got it solved.
This instance of problem is happening after I became without internet and my provider finally changed their receiving hardware at my place. The router connecting to my computers is still the same.
The whole process took about a week of tests and exchanges.
I very much suspect knowing myself that my stress caused, as usually, many of the problems I experienced thereafter, including having to reformat and re-install 2 multiboot stations and buy a hard disk.
The Artix installed for boot managemment is connecting to the internet without any problems, which made - I believe - all the testing I did about cables, router and ports superfluous.
Here the only difference is which installation, everything else, AFAIK is constant.
I did also experience a problem initially exactly like that which is the subject of this thread in a Fujitsu Esprimo Q (intel-i5).
I was able to solve it there in a way that did not work in this case.
The initial symptom here (as there) was the message
Code: Destination Host Unreachable]while connected to internet.
From there I spent 3 days searching, googling and trying different ideas collected on the way.
I did keep some examples, but unfortunately I don't know of any away to logging my terminal activity, so the information I am providing is incomplete and may have missed important bits.
But I think (/hope) those with experience may see through my misses.
Here is the last block I saved, this morning (sunday 25), after I upgraded-all, after updating kernel from 5.15.117 to 5.15.145 and making a new initrd:
Code:bash-5.1$ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.181 icmp_seq=1 Destination Host Unreachable
From 192.168.0.181 icmp_seq=2 Destination Host Unreachable
From 192.168.0.181 icmp_seq=3 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2029ms
pipe 3
bash-5.1$ route -n
bash: route: command not found
bash-5.1$ su
Password:
bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
bash-5.1# less /etc/resolv.conf
bash-5.1# # Generated by resolvconf
search dlinkrouter
nameserver 2001:9b0::53:1
nameserver 2001:9b0::53:2
bash: search: command not found
bash: nameserver: command not found
bash: nameserver: command not found
bash-5.1#
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 72:f0:c8:04:81:3d brd ff:ff:ff:ff:ff:ff permaddr 58:94:6b:1c:d2:ac
bash-5.1#And the first block I saved yesterday, having eth0 configured manually in /etc/rc.d/rc.inet1.conf:
Code:bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# runlevel
N 3
bash-5.1# rc-update show
bash: rc-update: command not found
bash-5.1# ls -l /etc/rc.d
total 488
drwxr-xr-x 2 root root 4096 Feb 13 2021 init.d
lrwxrwxrwx 1 root root 4 Nov 14 2022 rc.0 -> rc.6
-rwxr-xr-x 1 root root 1649 Apr 24 2021 rc.4
-rwxr-xr-x 1 root root 10077 Nov 10 2021 rc.6
-rwxr-xr-x 1 root root 3303 Apr 23 2021 rc.K
-rwxr-xr-x 1 root root 13230 Nov 12 2021 rc.M
-rwxr-xr-x 1 root root 18050 Jan 27 2022 rc.S
-rwxr-xr-x 1 root root 552 Sep 20 2021 rc.acpid
-rw-r--r-- 1 root root 2556 Jun 14 2021 rc.alsa
-rw-r--r-- 1 root root 999 Jun 14 2021 rc.alsa-oss
-rw-r--r-- 1 root root 1009 Feb 13 2021 rc.atalk
-rwxr-xr-x 1 root root 669 Jan 30 2022 rc.atd
-rw-r--r-- 1 root root 2825 Oct 20 2021 rc.autofs
-rw-r--r-- 1 root root 4045 Feb 4 03:33 rc.bind
-rw-r--r-- 1 root root 3990 Sep 24 2021 rc.bind.orig
-rwxr-xr-x 1 root root 1456 Jan 26 2022 rc.bluetooth
-rw-r--r-- 1 root root 4917 Aug 2 2021 rc.cgconfig
-rw-r--r-- 1 root root 3347 Aug 2 2021 rc.cgred
-rwxr-xr-x 1 root root 3330 Apr 23 2021 rc.cpufreq
-rwxr-xr-x 1 root root 731 Feb 13 2021 rc.crond
-rw-r--r-- 1 root root 3295 Jun 29 2021 rc.cups
-rw-r--r-- 1 root root 3085 Jan 16 2022 rc.cups-browsed
-rw-r--r-- 1 root root 814 Sep 9 2021 rc.dnsmasq
-rw-r--r-- 1 root root 554 Dec 7 2021 rc.dovecot
-rwxr-xr-x 1 root root 1579 Mar 3 2021 rc.elogind
-rwxr-xr-x 1 root root 139 Nov 14 2022 rc.font
-rwxr-xr-x 1 root root 1893 Feb 13 2021 rc.fuse
-rwxr-xr-x 1 root root 1995 Sep 7 2021 rc.fuse3
-rwxr-xr-x 1 root root 1153 Nov 14 2022 rc.gpm
-rwxr-xr-x 1 root root 762 Jan 9 2022 rc.haveged
-rw-r--r-- 1 root root 1001 Feb 4 03:34 rc.httpd
-rw-r--r-- 1 root root 1083 Dec 20 2021 rc.httpd.orig
-rw-r--r-- 1 root root 964 Sep 21 2018 rc.icecc-scheduler
-rw-r--r-- 1 root root 901 Sep 21 2018 rc.iceccd
-rw-r--r-- 1 root root 1894 Jan 25 2022 rc.icecream.conf
-rwxr-xr-x 1 root root 29251 Jun 26 2023 rc.inet1
-rw-rwx--- 1 root root 10683 Feb 24 19:42 rc.inet1.conf
-rw------- 1 root root 11077 Jun 26 2023 rc.inet1.conf.new
-rw------- 1 root root 10891 Nov 15 2022 rc.inet1.conf.save
-rw-r--r-- 1 root root 29100 Jan 2 2022 rc.inet1.orig
-rw-r--r-- 1 root root 5340 Oct 13 2019 rc.inet2
-rw-r--r-- 1 root root 497 Feb 13 2021 rc.inetd
-rw-r--r-- 1 root root 3781 May 19 2013 rc.ip_forward
-rw-r--r-- 1 root root 797 Dec 12 2019 rc.kadmind
-rw-r--r-- 1 root root 857 Dec 12 2019 rc.kpropd
-rw-r--r-- 1 root root 842 Dec 12 2019 rc.krb5kdc
-rwxr-xr-x 1 root root 274 Apr 23 2021 rc.local
-rwxr-xr-x 1 root root 170 Apr 23 2021 rc.loop
-rw-r--r-- 1 root root 1340 Nov 17 2021 rc.lxc
-rwxr-xr-x 1 root root 1950 Dec 10 2021 rc.mcelog
-rwxr-xr-x 1 root root 1864 Feb 13 2021 rc.messagebus
-rwxr-xr-x 1 root root 780 Apr 23 2021 rc.modules
-rwxr-xr-x 1 root root 691 Apr 23 2021 rc.modules.local
-rw-r--r-- 1 root root 2517 Nov 20 2021 rc.mysqld
-rw-r--r-- 1 root root 2674 Sep 27 2021 rc.networkmanager
-rw-r--r-- 1 root root 2920 Jun 15 2021 rc.nfsd
-rw-r--r-- 1 root root 752 Nov 21 2021 rc.nss-pam-ldapd
-rw-r--r-- 1 root root 805 May 21 2021 rc.ntpd
-rw-r--r-- 1 root root 1526 Jun 6 2021 rc.openldap
-rw-r--r-- 1 root root 3489 Feb 28 2018 rc.openvpn
-rw-r--r-- 1 root root 1722 Mar 16 2007 rc.pcmcia
-rw-r--r-- 1 root root 2373 Dec 16 2021 rc.php-fpm
-rw-r--r-- 1 root root 1616 Jan 16 2022 rc.postfix
-rw-r--r-- 1 root root 1171 Jan 4 2022 rc.pulseaudio
-rw-r--r-- 1 root root 2295 May 12 2021 rc.rpc
-rw-r--r-- 1 root root 940 Jan 31 2022 rc.samba
-rw-r--r-- 1 root root 1167 Feb 13 2021 rc.saslauthd
-rw-r--r-- 1 root root 2895 Jan 24 2022 rc.serial
-rwxr-xr-x 1 root root 483 Jan 8 2019 rc.setterm
-rw-r--r-- 1 root root 977 Mar 1 2021 rc.smartd
-rw-r--r-- 1 root root 981 Dec 21 2021 rc.snmpd
-rwxr-xr-x 1 root root 1814 Sep 29 2021 rc.sshd
-rwxr-xr-x 1 root root 669 Dec 4 2021 rc.syslog
-rw-r--r-- 1 root root 1253 Nov 17 2022 rc.sysstat
-rwxr-xr-x 1 root root 1656 Apr 23 2021 rc.sysvinit
-rwxr-xr-x 1 root root 7064 Apr 23 2017 rc.udev
-rwxr-xr-x 1 root root 437 Feb 13 2021 rc.ulogd
-rw-r--r-- 1 root root 13885 Mar 19 2021 rc.wireless
-rw------- 1 root root 7349 Mar 19 2021 rc.wireless.conf
-rw-r--r-- 1 root root 3837 Jan 4 2022 rc.yp
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc0.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc1.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc2.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc3.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc4.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc5.d
drwxr-xr-x 2 root root 4096 Feb 13 2021 rc6.d
bash-5.1# nano -w /etc/rc.d/rc.inet1.conf
bash-5.1# nano -w /etc/rc.d/rc.inet1 restart
bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
dhcpcd-9.4.1 starting
DUID 00:04:2f:df:7d:94:06:4c:11:e0:9d:d8:4d:02:1e:0d:f0:c1
eth0: waiting for carrier
eth0: carrier acquired
eth0: IAID 99:ec:48:f9
eth0: adding address fe80::9c19:306b:b9f3:c3c0
eth0: soliciting an IPv6 router
eth0: Router Advertisement from fe80::12e8:78ff:fe02:a401
eth0: no global addresses for default route
eth0: soliciting a DHCPv6 lease
eth0: ADV 2001:9b1:10d:39::4:2b40/128 from fe80::12e8:78ff:fe02:a401
eth0: REPLY6 received from fe80::12e8:78ff:fe02:a401
eth0: adding address 2001:9b1:10d:39::4:2b40/128
eth0: renew in 300, rebind in 400, expire in 600 seconds
eth0: adding default route via fe80::12e8:78ff:fe02:a401
forked to background, child pid 2924
bash-5.1# ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.0.161 icmp_seq=1 Destination Host Unreachable
From 192.168.0.161 icmp_seq=2 Destination Host Unreachable
From 192.168.0.161 icmp_seq=3 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2069ms
pipe 3When I tried with both Gateways (IPv6 och IPv4)=192.168.0.1 which in retrospect I realize was dumb and DHCP="yes for ipv4 in /etc/rc.d/rc.inet1:
Code:bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
dhcpcd-9.4.1 starting
DUID 00:04:2f:df:7d:94:06:4c:11:e0:9d:d8:4d:02:1e:0d:f0:c1
eth0: waiting for carrier
eth0: carrier acquired
eth0: IAID 99:ec:48:f9
eth0: adding address fe80::9c19:306b:b9f3:c3c0
eth0: soliciting an IPv6 router
eth0: soliciting a DHCP lease
dhcp6_openudp: Address already in use
ps_inet_listenin6: Address already in use
ps_root_recvmsg: Address already in use
eth0: Router Advertisement from fe80::12e8:78ff:fe02:a401
eth0: no global addresses for default route
eth0: confirming prior DHCPv6 lease
eth0: adding default route via fe80::12e8:78ff:fe02:a401
eth0: probing for an IPv4LL address
eth0: using IPv4LL address 169.254.167.136
eth0: adding route to 169.254.0.0/16
eth0: adding default route
forked to background, child pid 3633
ash-5.1# ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 169.254.167.136 icmp_seq=1 Destination Host Unreachable
From 169.254.167.136 icmp_seq=2 Destination Host Unreachable
From 169.254.167.136 icmp_seq=3 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2041ms
pipe 3
bash-5.1#
In a later block from yesterday I had in rc.inet1.conf:
Code:# IPv4 config options for eth0:
IPADDRS[0]=""
USE_DHCP[0]=""
# IPv6 config options for eth0:
IP6ADDRS[0]="yes"
USE_SLAAC[0]=""
USE_DHCP6[0]="yes"
# Generic options for eth0:
DHCP_HOSTNAME[0]=""
# IPv4 default gateway IP address:
GATEWAY=""
# IPv6 default gateway IP address:
GATEWAY6=""and got:
Code:bash-5.1# ps -ef | pg
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 20:16 ? 00:00:00 init [3]
root 2 0 0 20:16 ? 00:00:00 [kthreadd]
root 3 2 0 20:16 ? 00:00:00 [rcu_gp]
root 4 2 0 20:16 ? 00:00:00 [rcu_par_gp]
root 5 2 0 20:16 ? 00:00:00 [slub_flushwq]
root 6 2 0 20:16 ? 00:00:00 [netns]
root 8 2 0 20:16 ? 00:00:00 [kworker/0:0H-events_highpri]
root 10 2 0 20:16 ? 00:00:00 [mm_percpu_wq]
root 11 2 0 20:16 ? 00:00:00 [rcu_tasks_kthre]
root 12 2 0 20:16 ? 00:00:00 [rcu_tasks_rude_]
root 13 2 0 20:16 ? 00:00:00 [rcu_tasks_trace]
root 14 2 0 20:16 ? 00:00:00 [ksoftirqd/0]
root 15 2 0 20:16 ? 00:00:00 [rcu_preempt]
root 16 2 0 20:16 ? 00:00:00 [migration/0]
root 17 2 0 20:16 ? 00:00:00 [cpuhp/0]
root 18 2 0 20:16 ? 00:00:00 [cpuhp/1]
root 19 2 0 20:16 ? 00:00:00 [migration/1]
root 20 2 0 20:16 ? 00:00:00 [ksoftirqd/1]
root 22 2 0 20:16 ? 00:00:00 [kworker/1:0H-kblockd]
root 23 2 0 20:16 ? 00:00:00 [cpuhp/2]
root 24 2 0 20:16 ? 00:00:00 [migration/2]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1#
Next try was as:
Code:# IPv4 config options for eth0:
IPADDRS[0]=""
USE_DHCP[0]=""
# IPv6 config options for eth0:
IP6ADDRS[0]=""
USE_SLAAC[0]=""
USE_DHCP6[0]="yes"
# Generic options for eth0:
DHCP_HOSTNAME[0]=""
# IPv4 default gateway IP address:
GATEWAY=""
# IPv6 default gateway IP address:
GATEWAY6=""Resulting in:
Code:bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
sending commands to dhcpcd process
Error: inet6 prefix is expected rather than "yes/64".
bash-5.1# nano -w /etc/rc.d/rc.inet1.conf
bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
sending commands to dhcpcd process
bash-5.1#This setting:
Code:# IPv4 config options for eth0:
IPADDRS[0]=""
USE_DHCP[0]="yes"
# IPv6 config options for eth0:
IP6ADDRS[0]=""
USE_SLAAC[0]=""
USE_DHCP6[0]=""
# Generic options for eth0:
DHCP_HOSTNAME[0]=""
# IPv4 default gateway IP address:
GATEWAY="192.168.0.1"
# IPv6 default gateway IP address:
GATEWAY6=""was followed by:
Code:bash-5.1# /etc/rc.d/rc.inet1 restart
Stopping the network interfaces...
Starting the network interfaces...
eth0: polling for DHCP server
sending commands to dhcpcd process
Error: Nexthop has invalid gateway.
bash-5.1#
bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
bash-5.1# route add default gw 192.168.0.1
SIOCADDRT: Network is unreachable
bash-5.1#
bash-5.1# ip route add default via 192.168.0.1 dev eth0
Error: Nexthop has invalid gateway.
bash: dhcp: command not found
bash-5.1# dhcpcd eth0
sending commands to dhcpcd process
bash-5.1# chmod 644 /etc/rc.d/rc.inet1
bash-5.1# /etc/rc.d/rc.inet1 stop
bash: /etc/rc.d/rc.inet1: Permission denied
bash-5.1# chmod 755 /etc/rc.d/rc.inet1
bash-5.1# /etc/rc.d/rc.inet1 stop
Stopping the network interfaces...
bash-5.1# chmod 644 /etc/rc.d/rc.inet1
bash-5.1# nano -w /etc/rc.d/rc.networkmanager start
bash-5.1# /etc/rc.d/rc.networkmanager start
bash: /etc/rc.d/rc.networkmanager: Permission denied
bash-5.1# chmod 644 /etc/rc.d/rc.networkmanager
bash-5.1# /etc/rc.d/rc.networkmanager start
bash: /etc/rc.d/rc.networkmanager: Permission denied
bash-5.1# chmod 755 /etc/rc.d/rc.networkmanager
bash-5.1# /etc/rc.d/rc.networkmanager start
Starting NetworkManager daemon: /usr/sbin/NetworkManager
bash-5.1# ping -c 3 8.8.8.8
ping: connect: Network is unreachablenmapplet said internet was connected (above)
and then by:
Code:bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 1001002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
bash-5.1# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 0.0.0.0 0.0.0.0 U 1001002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
bash-5.1# ip link eth0 down
Command "eth0" is unknown, try "ip link help".
bash-5.1# ip link set eth0 down
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bash-5.1# ip link set eth0 up
bash-5.1# ip link set
Not enough information: "dev" argument is required.
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 1001002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
bash-5.1# ip link set eth0 down
bash-5.1# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# man ip link
bash-5.1# man ip address
bash-5.1# /etc/rc.d/rc.inet1 stop
Stopping the network interfaces...
bash-5.1# ip address add 192.168.0.199 dev eth0
bash-5.1# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bash-5.1# route add default gw 192.168.0.1
SIOCADDRT: Network is unreachable
bash-5.1# ip link
1: lo: <LOOPBACK> mtu 65536 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 68:b5:99:ec:48:f9 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 58:94:6b:1c:d2:ac brd ff:ff:ff:ff:ff:ff
bash-5.1# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.199 netmask 255.255.255.255 broadcast 0.0.0.0
inet6 fe80::9c19:306b:b9f3:c3c0 prefixlen 64 scopeid 0x20<link>
inet6 2001:9b1:10d:39::4:2b40 prefixlen 128 scopeid 0x0<global>
inet6 fe80::6ab5:99ff:feec:48f9 prefixlen 64 scopeid 0x20<link>
ether 68:b5:99:ec:48:f9 txqueuelen 1000 (Ethernet)
RX packets 178 bytes 16013 (15.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 502 bytes 55484 (54.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xd4700000-d4720000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 40 bytes 4104 (4.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 40 bytes 4104 (4.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
bash-5.1#I have no idea of what is going on, as you probably have already noticed.