Szerző: Didier Kryn Dátum: Címzett: dng Tárgy: Re: [DNG] systemd and wlan0 interface problem
Le 04/07/2018 à 09:54, Jimmy Johnson a écrit : > On 07/03/2018 11:04 PM, Didier Kryn wrote:
>> Le 04/07/2018 à 05:10, Jimmy Johnson a écrit :
>>> On 07/03/2018 09:35 AM, Didier Kryn wrote:
>>>> Le 02/07/2018 à 10:49, Jimmy Johnson a écrit :
>>>>> There is another option I do not see mentioned in this thread and
>>>>> that is to purge network manager and use wicd exclusively, I have
>>>>> done that and it works swell.
>>>>
>>>> Better purge both.
>>>>
>>>> Didier
>>>
>>>
>>> Why?
>>>
>>> Thanks,
>>
>> As already said, they are useless - provided network-tools is
>> installed and interfaces correctly configured - and these two network
>> managers tend to configure/deconfigure the network interfaces in a
>> way which isn't the one you want. They essentially mess up the
>> configuration.
>>
>> Didier
>
> It sounds like you are talking about network manager. I don't believe
> wicd has the traits you are talking about. As for me it's handy to
> connect and disconnect, mostly disconnect while using multimedia. I've
> never heard of wicd doing anything wrong, it's certainly not part of
> systemd or married to systemd in any way.
>
> Thanks,
Let me explain in a different way what I have understood - and I
may be wrong on wicd because I remove it immediately after every
install, as well as I used to do with network-manager.
There are 4 ways to configure your network:
1) Invoke the ip command and wpa_supplicant by hand all the time,
or write your own scripts
2) the good old net-tools, which provides ifupdown, the interfaces
file and all the ready-made scripts
3) network-manager, which is a replacement for the previous,
decides of everything, and cannot be configured.
4) wicd, that is essentially the same logic as network-manager,
rewritten and with another name.
They cannot live all three together: they continuously fight
against each other.
net-tools gives you full power; it can be configured in great
detail. At the cost of reading some docs, of course. network-manager and
wicd do everything for you, but don't complain if it's not what you want.
And, to tell everything, if you need dynamic interfaces
configuration/deconfiguration, you also need ifplugd or netplug (again,
don't install both). I think netplug must be configured by editing the
config file, while ifplugd is configured by running dpkg-reconfigure.