I'm doing a clean install of 32-bit Arch Linux from a CD on a very old Panasonic CF-29 Toughbook. Trying to connect to the Internet from the terminal on the installation ISO is not working. I'm using an Ethernet cable. My interface is called enp2s2
:
# ip link
1: lo: ...
2: enp2s: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq-codel state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 00:0b:97:2b:e7:2e brd ff:ff:ff:ff:ff:ff
When trying to ping Google:
# ping -c 3 www.google.com
ping: www.google.com: Name or service not known
And my gateway:
# ping 192.168.1.1
connect: Network is unreachable
The same happens with 8.8.8.8.
I tried to add a gateway:
# route add default gw 192.168.1.1
SIOCADDRT: Network is unreachable
And dhcpcd gets as far as:
# dhcpcd enp2s2
DUID 00:01:00:01:1f:8a:90:98:00:0b:97:2b:e7:2e
enp2s2: IAID 97:2b:e7:2e
enp2s2: soliciting an IPv6 router
enp2s2: soliciting a DHCP lease
enp2s2: no IPv6 routers available
timed out
dhcpcd exited
I have tried these two:
# ip link set enp2s2 up
# systemctl enable dhcpcd@enp2s2.service
Neither have any effect.
Before reading Enabling wired internet connection with dhcp during Arch Linux Installation? I hadn't considered it being a router problem but how likely is this?
My netconfig
file is as follows:
udp tpi_clts v inet udp - -
tcp tpi_cots_ord v inet tcp - -
udp6 tpi_clts v inet6 udp - -
tcp6 tpi_cots_ord v inet6 tcp - -
rawip tpi_raw - inet - - -
local tpi_cots_ord - loopback - - -
unix tpi_cots_ord - loopback - - -
ip addr
andip route
commands ...