Dan Ritter <[email protected]> writes: > Richmond wrote: >> When I resume from suspend there is no networking. I cannot find a way >> to restart it. I tried these various commands. >> >> systemctl restart network >> /etc/init.d/networking restart >> systemctl reset-failed >> systemctl restart networking.service >> systemctl restart network-online.target >> systemctl restart network-manager.service >> systemctl start network-manager.service >> systemctl stop network-manager.service >> >> lshw says: >> >> description: Ethernet interface >> product: 88E8071 PCI-E Gigabit Ethernet Controller >> vendor: Marvell Technology Group Ltd. > > Let's try from the bottom up? > > ip link show > will show you the interfaces recognized by the kernel. If this > works, it might show you an eth0, an en0, or something like a > enp22s0 device. Let's call it "SAM".
Thanks for your reply. enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 I omited the second line which contained what looks like a mac address. > > If any part of SAM reads "down", do this: > > sudo ip link set up SAM ip link set up enp2s0 No output here but the link is still down. > > and make sure the cable is plugged in. :) > > Now let's set an address. > > ip addr show SAM > that might show you an IPv4 address. If not, or if you don't > think it looks right for your network, you can set one by > hand: No address here, it repeats that the link is down. > > sudo ip addr set 192.168.0.43/24 dev SAM > > or you can ask DHCP for one: > > sudo dhclient SAM > This paused for a long time but didn't set an address. So I will try to set one manually as above... It didn't like 'set', so I used 'add' The address it is supposed to be is 192.168.1.43, you came close to guessing it! ip addr add 192.168.1.43/24 dev enp2s0 This produced a message in the GUI saying a connection was established to enp2s0 but the link is still down. > Finally, try pinging your gateway router. > > Let us know how far you get with this, and exactly what the > error messages are. > ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. >From 192.168.1.43 icmp_seq=1 Destination Host Unreachable ... etc I tried this before the other commands too, and got this: ping 192.168.1.1 connect: Network is unreachable

