You are not logged in.
I have a wired network connection using dhcp.
On first boot there is no connection and I have to reboot to get it.
Ip link says the link is "up". I tried setting it "down" and then "up" again but no connection.
So two questions:
1. Any way to start the connection manually without reboot?
2. Any way to make it connect first time?
Offline
Are you using netctl ?
1.
With ethernet cable plugged of course.
assuming eth0 is your interface name
If you are using netctl :
sudo ip link set eth0 down
sudo netctl start eth0_connexion_nameif not :
sudo ip link set eth0 up
sudo dhcpcd eth02. I don't understand your question. What do you mean by first boot? first boot after installation ?
Offline
I mean first boot of the day, after the laptop has been closed down overnight.
Yes, I've got netctl.
When I installed I ended up with enp2s0 instead of eth0.
Previously I tried
sudo ip link set dev enp2s0 down
sudo ip linkl set dev enp2s0 up
Which didn't work.
Thanks for the suggestions; I'll try those commands next time it happens.
Offline