You are not logged in.
I’ve tried to etablish a static ethernet connection with a netctl profile.
The profile looks like this:
Description='A basic static ethernet connection'
Interface=eno1
Connection=ethernet
IP=static
Address=('192.168.178.20/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.178.1'
DNS=('192.168.178.1')
## For IPv6 autoconfiguration
IP6=stateless
## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
When I boot into Arch, there is no connection. So I try
# netctl start home-static
and get this from `journalctl -xn`:
-- Logs begin at Fr 2014-10-03 14:46:02 CEST, end at Fr 2014-10-03 15:49:32 CEST. --
Okt 03 15:49:32 phobos kernel: e1000e 0000:00:19.0 eno1: 10/100 speed: disabling TSO
Okt 03 15:49:32 phobos kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
Okt 03 15:49:32 phobos network[309]: RTNETLINK answers: File exists
Okt 03 15:49:32 phobos network[309]: Could not add address '192.168.178.20/24' to interface 'eno1'
Okt 03 15:49:32 phobos kernel: e1000e: eno1 NIC Link is Down
Okt 03 15:49:32 phobos network[309]: Failed to bring the network up for profile 'home-static'
Okt 03 15:49:32 phobos systemd[1]: netctl@home\x2dstatic.service: main process exited, code=exited, status=1/FAILURE
Okt 03 15:49:32 phobos systemd[1]: Failed to start A basic static ethernet connection.
-- Subject: Unit netctl@home\x2dstatic.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@home\x2dstatic.service has failed.
--
-- The result is failed.
Okt 03 15:49:32 phobos systemd[1]: Unit netctl@home\x2dstatic.service entered failed state.
Okt 03 15:49:32 phobos sudo[302]: pam_unix(sudo:session): session closed for user root
Offline
If I comment out `IP6=stateless` it works. Why?
Offline
Can you connect manually?
Offline
It’s a wired connection.
Offline
Apologies, wrong link - but the question still applies. Can you connect using this procedure?
Offline
As I wrote in post #2, it does work when I comment out `IP6=stateless`. So a connection over IPv4 works.
Last edited by ynnckhmls (2014-10-03 14:55:51)
Offline
OK... so leave that line out, since you're not using IPv6 anyway.
Offline