You are not logged in.
So I've been going nuts trying to figure out why netcfg kept bringing up the wrong network config at boot.
I had been setting my desired network in /etc/conf.f/netcfg which clearly states (emphasis added):
# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
# - set to 'last' to restore the profiles running at the last shutdown
# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(idmz)
But that file appears to be ignored, instead the relevant "netcfg@whatever" profile that is enabled is used instead.
So my question:
1) Does anyone else consider this conflicting?
2) Can I tell systemd to mind it's own business regarding which profile to use so netcfg can do what it's supposed to do?
Last edited by fukawi2 (2013-04-24 07:53:01)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
You might consider switching to netctl as this is the official replacement for netcfg.
https://bbs.archlinux.org/viewtopic.php?id=157670
Offline
+1 for netctl, but here's the answer anyway. ![]()
Use /etc/conf.d/netcfg with netcfg.service - alternatively, use netcfg@whatever.service. You seem to be using both, which won't work.
Offline
+1 for netctl, but here's the answer anyway.
netctl uses the same configs etc so I'm guessing it's fairly similar and would behave the same?
Use /etc/conf.d/netcfg with netcfg.service - alternatively, use netcfg@whatever.service. You seem to be using both, which won't work.
That's the info I was after; bit late to fix netcfg since it's depreciated, but anyway.... Maybe a Googler will find this thread at least ![]()
Thx guys
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
netctl uses the same configs etc so I'm guessing it's fairly similar and would behave the same?
netctl doesn't use /etc/conf.d/* at all, so the situation wouldn't arise.
Offline