Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rndis already up with Ubuntu Mate 16.04 (x64) #19

Open
Matioupi opened this issue Jan 6, 2018 · 0 comments
Open

rndis already up with Ubuntu Mate 16.04 (x64) #19

Matioupi opened this issue Jan 6, 2018 · 0 comments

Comments

@Matioupi
Copy link

Matioupi commented Jan 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant