You are not logged in.

#1 2013-02-06 16:28:02

Mantichore
Member
Registered: 2012-11-04
Posts: 19

Issues with netcfg an systemd

Hi,

nearly everytime I start my computer there is no network connection. When I restart netcfg via systemd the connection comes up quickly and no more issues until I restart my machine

/etc/network.d/br0:

INTERFACE="br0"
CONNECTION="bridge"
DESCRIPTION="bridge br0 dhcp"
BRIDGE_INTERFACES="eth0"
IP='static'
ADDR='192.168.2.15'
GATEWAY='192.168.2.1'
DNS='192.168.2.1'

systemctl|grep net:

sys-devi...-net-eth0.device loaded active plugged   /sys/devices/pci0000:00/0000:00:19.0/net/eth0
sys-devi...net-wlan0.device loaded active plugged   /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0
sys-devi...l-net-br0.device loaded active plugged   /sys/devices/virtual/net/br0
sys-subs...vices-br0.device loaded active plugged   /sys/subsystem/net/devices/br0
sys-subs...ices-eth0.device loaded active plugged   /sys/subsystem/net/devices/eth0
sys-subs...ces-wlan0.device loaded active plugged   /sys/subsystem/net/devices/wlan0
netcfg@br0.service          loaded active exited    Netcfg networking service for profile br0
wicd.service                loaded active running   Wicd a wireless and wired network manager for Linux
network.target              loaded active active    Network

Looks fine for me...

Any ideas what goes wrong?

Offline

#2 2013-02-06 17:13:35

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Issues with netcfg an systemd

Why are you using wicd and netcfg simultaneously?


I laugh, yet the joke is on me

Offline

#3 2013-02-06 19:14:49

Mantichore
Member
Registered: 2012-11-04
Posts: 19

Re: Issues with netcfg an systemd

Looks like it's wicds fault.

Is there an easy way to connect to WiFi via netcfg? Especially creating new profiles. It is not that comfortable to create a profile manually for each WLAN.

Offline

#4 2013-02-06 19:23:42

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: Issues with netcfg an systemd

Mantichore wrote:

Looks like it's wicds fault.

Is there an easy way to connect to WiFi via netcfg? Especially creating new profiles. It is not that comfortable to create a profile manually for each WLAN.

You could use wifi-menu shell script. Or try netctl (a systemd-aware fork of netcfg) combined with WiFiz (currently in development)

Last edited by progandy (2013-02-06 21:32:02)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2013-02-06 20:34:08

Mantichore
Member
Registered: 2012-11-04
Posts: 19

Re: Issues with netcfg an systemd

wifi-menu looks good. Now I just need to remember it.

Thanks so far. I hope there will be no problems anymore with netcfg and systemd.

Offline

#6 2013-02-07 02:48:23

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Issues with netcfg an systemd

I can verify that wifi-menu works great.  I use it all the time and don't miss wicd or network manager.


I laugh, yet the joke is on me

Offline

#7 2013-02-07 06:14:50

Mantichore
Member
Registered: 2012-11-04
Posts: 19

Re: Issues with netcfg an systemd

Seems like it was not only wicds fault. Today the network doesn't start. I had to restart netcfg manually...

Wicd is completly deinstalled. Any other suggestions?

Offline

#8 2013-02-07 06:28:36

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: Issues with netcfg an systemd

Mantichore wrote:

Seems like it was not only wicds fault. Today the network doesn't start. I had to restart netcfg manually...

Wicd is completly deinstalled. Any other suggestions?

the problem is that netcfg is started before your network device is initialized by the kernel. netctl fixes this. It is currently only in the AUR, but the devs are already planning to push it into the repos so it can replace netcfg.

Offline

Board footer

Powered by FluxBB