:: Re: [DNG] simple-netaid-gtk -- vers…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: al3xu5
Fecha:  
A: dng
Asunto: Re: [DNG] simple-netaid-gtk -- versions? dhcp? unbound?
Hi,

Mon, 6 May 2024 22:40:14 +0200 - aitor <aitor_czr@???>:

[...]

> > Using dhcpcd.
> > I have moved eth0 declarations within the folder
> > /etc/network/interfaces.d, but still seems something is not working
> > properly with simple-netaid-gtk2:
> > - eth0 icon is grayed
> > - when disconnecting eth0:
> >     -- the status change to 'disconnected' just for 1-2 seconds, then
> >     come back to 'connected to eth0'
> >     -- the 'ifdown: interface eth0 not configured' message appears  

>
> I'm not experiencing anything like that. Yesterday I installed devuan
> daedalus from the netinstall iso image, and did the following
> configurations:
>
> - Define the declarations in /etc/network/interfaces.d/interfaces (the name
> of this file doesn't matter) for wired and wireless devices by means of
> their names given by ifconfig
>
> - Put the line "source /etc/network/interfaces.d/*" in
> /etc/network/interfaces
>
> - Be sure that the names used in the previous configuration match the names
> given to the network devices in /etc/simple-netaid/gtk.ini. Simple-netaid
> only manages one wired device and one wireless device so far.
>
> - Be sure that you have only one dhcp client installed, either dhcpcd5 or
> isc-dhcp-client or udchcpc (I tried having both dhcpcd5 and isc-dhcp-client
> and wired connections failed for me; wireless connections worked though)
>
> - In runit, keep dhcpcd normally downed, as explained in a previous email,
> by putting a regular file named "down" in /etc/sv/dhcpcd
>
> - Add yourself to the netaid group via: "usermod -aG netaid <username>".
> Version 1.0.7 of simple-netaid will verify whether or not netaid group is
> assigned to the current user account. If not, it will show a warning dialog.


That is exactly what I did...
But I was on a VM: maybe this could cause those issues?


> I also tested simple-netaid having network-manager installed and It worked
> as well. As long as you have declarations in /etc/network/interfaces,
> network-manager will do nothing but showing its buggy status icon.


No network-manager here ;)


> I think there is something on top of dhcpcd that is in conflict with
> ifupdown.


Being on a VM (see above)?


> But I don't know what it is. Are you sure that isc-dhcp-client
> was uninstalled in your system? I do not recommend to use it together with
> dhcpd/udhcpcd.


Yes. I was with dhcpcd only.

Tested also with isc-dhcp-client: similar issues...

Probably you are right saying something on top of dhcpcd is in conflict with
ifupdown. Or there is something else wrong in the system.

I will try on a fresh Devuan installation on a "metal" (non-VM) machine...


> > From what I understand by studying a bit, ifdown and dhcpcd don't love
> > each other:
> Ifupdown is developed with dhcpcd in mind. Look at the lines 78-122:
>
> https://salsa.debian.org/debian/ifupdown/-/blob/master/inet.defn?ref_type=heads


I mean they have a different "approach" about /etc/network/interfaces


> > ifdown leans on /etc/network/interfaces & /etc/network/interfaces.d
> > definitions, dhcpcd prefer no /etc/network/interfaces and leans only on
> > its configuration file where it expects there are interface definitions...




> > [...] may I suggest (hoping not to be too stupid)
> > managing the interfaces using ip or ipconfig (which should not conflict
> > with /etc/network/interfaces) instead of ifdown?
>
> There will be more options in a near future. Furthermore, I have in mind to
> develop a backend that doesn't rely on ubus. Something similar to the
> backend developed by Edward Bartolo in 2015, but set with linux net
> capabilities instead of suid access level. Both ubus and the backend will
> provide command line utilities for a better customization of
> /etc/simple-netaid/gtk.ini. In doing so, it's up to the user to choose
> between ifupdown, dhclient, ipconfig and the like.


Great!

Thank you!!!

Best regards
alexus


--
The only way humans have learned to survive brings them to extinction.
______________________________________________________________________
Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B