You are not logged in.

#1 2014-10-03 14:10:56

ynnckhmls
Member
Registered: 2014-05-01
Posts: 9

Can’t etablish a static connection

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

#2 2014-10-03 14:41:33

ynnckhmls
Member
Registered: 2014-05-01
Posts: 9

Re: Can’t etablish a static connection

If I comment out `IP6=stateless` it works. Why?

Offline

#3 2014-10-03 14:42:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can’t etablish a static connection

Can you connect manually?

Offline

#4 2014-10-03 14:45:54

ynnckhmls
Member
Registered: 2014-05-01
Posts: 9

Re: Can’t etablish a static connection

It’s a wired connection.

Offline

#5 2014-10-03 14:49:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can’t etablish a static connection

Apologies, wrong link - but the question still applies. Can you connect using this procedure?

Offline

#6 2014-10-03 14:55:01

ynnckhmls
Member
Registered: 2014-05-01
Posts: 9

Re: Can’t etablish a static connection

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

#7 2014-10-03 15:08:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can’t etablish a static connection

OK... so leave that line out, since you're not using IPv6 anyway.

Offline

Board footer

Powered by FluxBB