You are not logged in.
Hello, I have got problem with static IP.
1) I cant set static IP through router.
2) I can set it up with ip link and everything works, but its useless, because it disappears after reboot.
3)It doesnt work with netctl or systemd, but when I start the service, it hangs and tells me, that some dependency failed.
Offline
can you give more detail, log, etc...
i must buy an english book !
Offline
Okay, when I write netctl start network1, it hangs for about a minute and then it says: A dependency job for netctl@network1.service failed. See journalctl -xn for details.
Network1 config file:
Description='Network1'
Interface=enp1s0
Connection=ethernet
IP=static
Address=('192.168.0.21/24')
Gateway='192.168.0.1'
DNS=('213.46.172.36')
Offline
can you give what journalctl -xn give
i must buy an english book !
Offline
systemd[1]: Dependency failed for Network1.
Defined-By: systemd
Unit netctl@network1.service has failed.
The result is dependency.
Offline
can you give output of this command :
NETCTL_DEBUG=yes netctl start network1
i must buy an english book !
Offline
Job sys-subsystem-net-devices-eth0.device/start timed out.
Timed out waiting for device sys-subsystem-net-devices-eth0.device.
The result is timeout.
Offline
and : $ ip link
i must buy an english book !
Offline
1. I don't know what you mean "Get static IP through router". If you're getting it from the router, it's DHCP, not static.
2 & 3. Try systemd-networkd. It's made for this type of thing.
Last edited by Scimmia (2014-04-10 23:59:51)
Offline