You are not logged in.
Hello guys,
I configured the netctl service with the following configuration file :
Description='A basic dhcp ethernet connection'
Interface=enp2s0
Connection=ethernet
IP=dhcp
TimeoutUp=30000000
TimeoutCarrier=30000000
with the idea that if the media isn't plug during the system boot, the dhcp client will still get the a valid IP when the network cable is plug.
Following this point, I use a web server to display local informations of my system, and I realize that if the network negociation isn't done, then the lighttpd server will never be up.
To try to resolve this point, I update the file in /etc/systemd/system/multi-user.target.wants/lighttpd.service as the following
[Unit]
Description=A secure, fast, compliant and very flexible web-server
[Service]
PrivateTmp=true
ExecStart=/usr/bin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
(Remove the entry After).
But after this modification, the lighttpd service still doesn't start until a plug a network cable.
How can I resolve this point ?
Offline