You are not logged in.
Every time I login I am having to turn on the network interface manually with ip link set enp0s3 up, and turn on dhcp with dhcpcd enp0s3. Do I have to modify a file to automate this process? ..
Thanks
Offline
Unlike the installation environment, an installed system has no automatic network setup configured.
Configure the network again for the newly installed environment: see Network configuration and Wireless network configuration.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
"systemctl enable dhcpcd@enp0s3.service" is one simple solution.
Offline
"systemctl enable dhcpcd@enp0s3.service" is one simple solution.
I just enter that into the command line? That's it?
Offline
I was told dhcpcd is not needed anymore (after wasting hours, trying to get it to work properly with my ancient fritzbox sl) and eventually:
systemctl disable dhcpcd.service
systemctl enable systemd-networkd.service
solved all my connectivity problems.
edit: fixed typos
Last edited by Dennis (2014-11-04 21:00:38)
Offline
lucke wrote:"systemctl enable dhcpcd@enp0s3.service" is one simple solution.
I just enter that into the command line? That's it?
Yes.
Offline
systemctl enable systemd-networkd.services
solved all my connectivity problems.
This command didn't work for me
Offline
Dennis wrote:systemctl enable systemd-networkd.services
solved all my connectivity problems.
This command didn't work for me
It should say 'service' or just
systemctl enable systemd-networkd
See https://wiki.archlinux.org/index.php/Systemd-networkd
Last edited by karol (2014-11-04 19:51:10)
Offline
Dennis wrote:systemctl enable systemd-networkd.services
solved all my connectivity problems.
This command didn't work for me
Sorry. Fixed/edited my post and removed the 's', so it's service instead of services.
Offline
Note:
Systemd-networkd requires aditional configuration unlike dhcpcd. On the other hand dhcpcd is slower.
Offline
I use the netctl-auto@wifi-card-here and netctl-ifplugd@ethernet-card-here method on a laptop and I don't have dhcpcd or dhclient installed. I have found this to be a nice setup on any computers I have that use wifi and ethernet on that same system.
Offline
LiquidAurum, what have you tried so far (apart from the one command above that didn't work for you)? What documentation have you followed? Did you read the Network Configuration page that alphaniner linked? Or the systemd-networkd page that karol linked?
Offline
This command didn't work for me
The command doesn't work immediately, just after restart the computer.
If it's needed instantly, you'd enforce
# systemctl start systemd-networkd
But if you show us what the system got to say
# journalctl -b -u systemd-networkd
# systemctl status systemd-networkd
do it good first, it will be faster than do it twice the saint
Offline