When using pyduml on Ubuntu Mate 16.04 x64 (not under a VM) the rndis driver is already up right after plugging the USB cable between device and computer.
on my machine, and when plugging a Spark aircraft
ifconfig
returns :
enp0s20f0u1 Link encap:Ethernet HWaddr aa:99:4e:13:0b:b9 inet adr:192.168.42.3 Bcast:192.168.42.255 Masque:255.255.255.0 adr inet6: fe80::4fc4:7d9b:49f1:149d/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Packets reçus:3 erreurs:0 :0 overruns:0 frame:0 TX packets:27 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 Octets reçus:702 (702.0 B) Octets transmis:6003 (6.0 KB)
and the name enp0s20f0u1 of the interface depends on which USB plug i'm using (the number at the end after the 'u' changes)
This requires small modification on pyduml.py to have it working. I'll try write a more generic version if I find time but already wanted to traced that here.
When using pyduml on Ubuntu Mate 16.04 x64 (not under a VM) the rndis driver is already up right after plugging the USB cable between device and computer.
on my machine, and when plugging a Spark aircraft
ifconfigreturns :
enp0s20f0u1 Link encap:Ethernet HWaddr aa:99:4e:13:0b:b9 inet adr:192.168.42.3 Bcast:192.168.42.255 Masque:255.255.255.0 adr inet6: fe80::4fc4:7d9b:49f1:149d/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Packets reçus:3 erreurs:0 :0 overruns:0 frame:0 TX packets:27 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 Octets reçus:702 (702.0 B) Octets transmis:6003 (6.0 KB)and the name
enp0s20f0u1of the interface depends on which USB plug i'm using (the number at the end after the 'u' changes)This requires small modification on pyduml.py to have it working. I'll try write a more generic version if I find time but already wanted to traced that here.