[driverloader] DriverLoaderNetDevName= lost on upgrade
Marc Boucher
marc at linuxant.com
Tue Aug 3 08:00:06 EDT 2004
Hi Max,
Try adding the DriverLoaderNetDevName= to each adapter specific
configuration file under /etc/driverloader/static/
Marc
On Aug 2, 2004, at 9:55 PM, Max wrote:
> Jonathan,
>
> Thank you for the explanation. But I asked about slightly different
> thing.
>
> Suppose that driverloader devices are all set up and are assigned some
> interfaces.
> The interfaces might have totally different names and even not contain
> any digit (e.g. `wlan' or `snet').
> Once set, the interfaces names are stored in /etc/driverloader/config
> files in DriverLoaderNetDevName= parameters and well survive reboots
> etc.
>
> But on driverloader version upgrade the interface names become lost,
> and reverted to default (either `ethX', or NetDevName as you
> described).
> So I ask if it possible for the driverloader installation to preserve
> existing DriverLoaderNetDevName= parameters as it does with many
> others.
>
> Thanks,
> Max
>
> Linuxant Support (Jonathan) wrote:
>> Hi,
>> the '%d' in the NetDevName is replaced by a number. This number
>> starts at 0 and is increased if the wireless interface name generated
>> is already in use.
>> For example, if the NetDevName is set to 'wlan%d' and you have
>> already a wireless interface named 'wlan0' which is not driven by
>> DriverLoader, when you will insert the DriverLoader module in your
>> kernel, both 'wlan1' and 'wlan2' will be created.
>> Regards,
>> Jonathan
>> Technical specialist / Linuxant
>> www.linuxant.com
>> support at linuxant.com
>> Le 1 Août 2004 13:51, Max a écrit :
>>> Marc,
>>>
>>> What if there are two wireless adapters with assigned interfaces,
>>> say,
>>> wlan1 and wlan2 ?
>>>
>>> Max
>>>
>>> Marc Boucher wrote:
>>>
>>>> Hi Max,
>>>>
>>>> try saving the desired permanent DriverLoaderNetDevName parameter
>>>> value
>>>> in a new file called /etc/driverloader/static/netdevnameformat
>>>>
>>>> From the shell, you can do "echo 'NNN%d' >
>>>> /etc/driverloader/static/netdevnameformat"
>>>> (replace NNN with the desired interface name prefix)
>>>>
>>>> The contents of /etc/driverloader/static/ should be preserved across
>>>> upgrades.
>>>>
>>>> Marc
>>>>
>>>> --
>>>> Marc Boucher
>>>> Linuxant inc.
>>>>
>>>> On Jul 29, 2004, at 5:45 PM, Max wrote:
>>>>
>>>>> Hello!
>>>>>
>>>>> On each driverloader version upgrade DriverLoaderNetDevName=
>>>>> parameter
>>>>> disappears from /etc/driverloader/config/ files.
>>>>> Each time I'm forced to restore it manually. Is it possible for
>>>>> driverloader installation to preserve current
>>>>> DriverLoaderNetDevName=
>>>>> parameter?
>>>>>
>>>>> P.S. I'm using .deb distribution, and install it with dpkg -i
>>>>>
>>>>> Thanks,
>>>>> Max
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> driverloader mailing list
>>>>> driverloader at lists.linuxant.com
>>>>> https://www.linuxant.com/mailman/listinfo/driverloader
>>>
>>> _______________________________________________
>>> driverloader mailing list
>>> driverloader at lists.linuxant.com
>>> https://www.linuxant.com/mailman/listinfo/driverloader
>
>
> _______________________________________________
> driverloader mailing list
> driverloader at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/driverloader
>
More information about the driverloader
mailing list