Thiago, I thought that this was part of the network interface work that you, John and Doug were discussing, but I had not seen the enumeration logic. It sounds like you are covering it. Thanks.
Pat > -----Original Message----- > From: Macieira, Thiago > Sent: Wednesday, May 06, 2015 11:07 AM > To: iotivity-dev at lists.iotivity.org > Cc: Lankswert, Patrick > Subject: Re: [dev] Simple client/server in C > > On Wednesday 06 May 2015 14:47:02 Lankswert, Patrick wrote: > > Do we have a plan to transition to network interface enumeration? I > > think that the transition away from the ethX and wlanX pattern in the > > linux kernel happened a long time ago. The udev rules support mapping > > back to ethX or other is distro driven and, therefore, not dependable. > > > > I regret on catching this sooner. > > Well, the distinction should go away when the Ethernet/Wifi ? IP merger > happens, so I don't think there's much action to be done here. > > In any case, we cannot reliably depend on interface names anyway since > they are freeform. You can easily rename yours: > > ip link set dev wlp2s0 name foobar1 > > I have a udev rule so that the USB dongle I use in the office gets the name > usb0 because I was tired of having to read enp0s20u1u1 or enp0s20u0u1. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 7198 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150506/22501cbc/attachment.p7s>
