:: Re: [DNG] netman: support for wlan1…
Inizio della pagina
Delete this message
Reply to this message
Autore: Edward Bartolo
Data:  
To: dng, Rainer Weikusat
Oggetto: Re: [DNG] netman: support for wlan1, wlan2, ... and eth1, eth2, .... and new systemd's naming scheme
Hi All,

My next coding task is to implement support for other network devices
besides eth0 and wlan0.

Since supporting other network devices essentially is including the
new device names in the essid interfaces file, I am thinking of
whether it is possible to hook the system file reader function to
replace part of the read file so that I wouldn't need to change
anything in the files themselves. The reason is it shouldn't matter
which wifi or wired connection one uses to connect a network.

Is it possible? When I programmed for windows I learnt about the great
potential of hooks.

Such a hook would intercept ifup and ifdown reading the essid files to
replace the default device name by what the user chooses.

Edward

On 28/09/2015, arnt@??? <arnt@???> wrote:
> No awk necessary; the same system calls that /sbin/ip uses are
> available for Netman. And strace even reveals their names and the
> appropriate arguments.
>
> Arnt
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>