trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2016

Re: [trinity-users] tdenetworkmanger again: wired icon is not working

From: Nicolas Dobigeon <dobigeon@...>
Date: Wed, 2 Nov 2016 18:36:37 +0100
2016-11-02 18:28 GMT+01:00 Uwe Brauer <oub.oub.oub@...>:
> On 02/11/16 17:11, Nicolas Dobigeon wrote:
>
>> 2016-11-02 15:25 GMT+01:00 Uwe Brauer <oub.oub.oub@...>:
>>>
>>>    > 2016-11-02 12:25 GMT+01:00 Uwe Brauer <oub.oub.oub@...>:
>>>    > Hello,
>>>    > I'm using Debian, so it could be different for you.
>>>    > But you have to comment your eth0 lines on your file
>>> /etc/network/interfaces.
>>>
>>> Hm thanks.
>>>
>>> I renamed that file to interface-org, maybe this is not sufficient.
>>> Are you saying I should comment out *all* lines concerning eth0? Even
>>> auto eth0?
>>>
>>> I have right now in the file interface-org
>>>
>>> auto lo
>>> iface lo inet loopback
>>> address 127.0.0.1
>>> netmask 255.0.0.0
>>>
>>> iface eth0 inet static
>>> address XXX.XX.XX.XX
>>> netmask 255.255.255.0
>>> gateway XXX.XX.XX.XX
>>>
>>> auto eth0
>>>
>>> Where I put in this mail dummy values for the relevant entries.
>>>
>>>
>>>    > And you have to change the bolean of ifup line on the file
>>>    > /etc/Networkmanager/Networkmanager.conf
>>>    > Try to do it an reboot ?
>>>
>>> There is no [ifup] line only a [ifupdown] line
>>>
>>> So should I change
>>>
>>> [ifupdown]
>>> managed=false
>>>
>>> To
>>> [ifupdown]
>>> managed=true
>>>
>>> And just in case
>>>
>>> [ifup]
>>> managed=true
>>>
>> I'll send you my files when i'll be back at home.
>> I'm on my win7 job computer now =)
>> But basically, you have to let NM , ond only NM manage your wired
>> connection.
>
> Then,
> This is my two files :
>
>
> thanks I have one question
>
> nano /etc/network/interfaces
> ===================================================
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> source /etc/network/interfaces.d/*
>
> this line is strange, this directory is empty in my case, I will comment out
> that line?
>
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> # allow-hotplug eth0
> # iface eth0 inet dhcp
> ===================================================
>
> Comment all lines about all of your interfaces you will use with NM.
>
> nano /etc/NetworkManager/NetworkManager.conf
> ===================================================
> [main]
> plugins=ifupdown,keyfile
>
> [ifupdown]
> managed=true
> ===================================================
>
> And set ifupdown to true to all NM to managed all interfaces.
> Now your can create a new wired connection in NM with all the
> parameters you want.
>
> Bye.

You can comment this line,
it should be OK, it exists for those who use multiple files to set
many interfaces in different files.