Ivan Pozdeev <ivan_pozd...@mail.ru> added the comment:

> Xavier de Gaye <xdeg...@gmail.com> added the comment:
>
> On a Samsung device with Android 5.1 and tethering enabled, only one network 
> device has a MAC address and it is not an all-zero MAC address.
>
> Ivan can you please provide more information about this problem: which 
> device, what Android version, what is the output of 'ip link' ?

C:\> ipconfig -all
<...>
Samsung Galaxy S7 - Ethernet адаптер:

         DNS-суффикс этого подключения . . :
         Описание  . . . . . . . . . . . . : Android USB Ethernet/RNDIS
         Физический адрес. . . . . . . . . : 00-00-00-00-00-00
         Dhcp включен. . . . . . . . . . . : да
         Автонастройка включена  . . . . . : да
         IP-адрес  . . . . . . . . . . . . : 192.168.42.2
         Маска подсети . . . . . . . . . . : 255.255.255.0
         Основной шлюз . . . . . . . . . . : 192.168.42.129
         DHCP-сервер . . . . . . . . . . . : 192.168.42.129
         DNS-серверы . . . . . . . . . . . : 192.168.42.129

Device name: Samsung Galaxy S7
Model number: SM-G930F
Android version: 6.0.1
Firmware version: G930FXXU1APGJ
Baseband version: G930VVRS4APH1
Build number: MMB29M.G930VVRU2APG5

> Serhiy Storchaka<storchaka+cpyt...@gmail.com>  added the comment:
>
> I'm not sure that 000000000000 is better than a random address. Even if an 
> all-zero MAC address is not explicitly prohibited it is used in a multiple 
> independent devices. A random address looks more appropriate fore the purpose 
> of generating a UUID.
The question is not whether it's good UUID source material. The 
question, for the purpose of the test, is whether it's valid getnode() 
output -- which it is for the current logic.

----------
nosy: +__Vano

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31643>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to