:: Re: [DNG] systemd and wlan0 interfa…
Página Inicial
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
Para: dng
Assunto: Re: [DNG] systemd and wlan0 interface problem
Hi Steve,

El 01/07/18 a las 00:50, Steve Litt escribió:
> On Sat, 30 Jun 2018 17:06:09 -0400
> Haines Brown<haines@???> wrote:
>
>> I've long struggled with a problem with a new installation of ascii. I
>> can get an ethernet connection, but with a usb WiFi dongle using an
>> Atheros chip, my wlan0 interface gets automatically changed to wl<mac
>> address>, and so cannot communicate with DHCP.
> Look back through the archives a couple years, and you'll find one of my
> emails with a shellscript to tell you all wifi device names and all
> wired ethernet names. A couple days after I submitted it, somebody else
> improved it. A shellscript like that belongs on every computer, so it
> can be invoked from every init script and run file and other
> shellscripts needing the exact name of network devices.


The behaviour is different using renamed or non renamed network devices.
I'll send you a video in a few minutes showing a bug in the netstat icon
of wicd using non renamed devices (I have not been able to reproduce
this bug in the case of renamed devices).
The bug appears after running:

# ip link set <device_name> down

once you are connected to the router. The netstat icon of wicd will not
change, even being disconnected.
The behaviour of my code for the backend of simple-netaid was similar
(the same bug); so, i decided to add some code taken from the iproute2
project:

https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/

This weekend i've been working on that. Here you are the code:

http://gnuinos.org/IPROUTE2/

I'll inform you in the course of today.

Cheers,

 Aitor.