You are not logged in.

#1 2013-04-26 09:53:50

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

netctl problems

/etc/netctl/lan0

Description='A basic static ethernet connection'
Interface=lan0
Connection=ethernet
IP=static
Address=('192.168.0.1/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
#Gateway='192.168.1.1'
#DNS=('192.168.1.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'

I have net0 which is used to to dial ppp0 for internet.

lan0 is for letting my second computer connect to this one so a router/gateway/dns are not needed.

I did "netctl enable lan0" and rebooted. it works! woot!

But later I discovered a problem.

if I do "systemctl stop netctl@lan0.service", I cannot do "systemctl start netctl@lan0.service".
journalctl says it failed and hints at a dependency issue so I am forced to restart my computer sad
Any idea how to fix this? anything missing in my profile?


Edit. nevermind. this seems to be a systemd problem.

Last edited by hussam (2013-04-26 10:34:01)

Offline

#2 2013-04-26 10:17:19

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: netctl problems

have you tried

# netctl stop lan0
# netctl start lan0

instead of systemct  stop|start netctl@lan0.service?

I think that's the way to go. But don't take my word for granted smile

Offline

Board footer

Powered by FluxBB