<html><body><br><aside>
---------- Původní e-mail ----------<br>
Od: Neil Jerram <neil@ossau.homelinux.net><br>
Komu: gta04-owner@goldelico.com<br>
Datum: 6. 5. 2017 15:44:40<br>
Předmět: [Gta04-owner] How to automate setting IP on cdc_ether netdev
</aside><br><blockquote data-email="neil@ossau.homelinux.net">Does someone know how I can most easily automate setting IP
<br>192.168.0.200 on the cdc_ether device that I get (on my laptop) when
<br>connecting my GTA04 over USB?
<br>
<br>At the moment:
<br>
<br>- I'm getting a device named enp0s20u2, with an apparently random MAC
<br>address.
<br>
<br>- Because the MAC address is different each time (I think), Network
<br>Manager thinks it's a different connection each time.
<br>
<br>- Manual setting with 'ip a a 192.168.0.200/24 dev enp0s20u2' doesn't
<br>stick, because Network Manager is managing the device.
<br>
<br>- Hence I keep having to edit the connection settings in Network Manager
<br>- which is a pain!
<br>
<br>Suggestions?
</blockquote><p><br></p><p>Hi,</p><p>QtMoko had DHCP server on usb0. Worked quite nice except that</p><p>NM on PC picked the connection as default so it killed PC's default</p><p>connection. Maybe there is way to make usb0 not preferred, but</p><p>i havent figured out.</p><p><br></p><p>Sorry for html email - it's unbelievable that biggest cz freemail</p><p>cant be used for mailing list.<br></p><p><br></p><p>BR</p><p><br></p><p>Radek<br></p><p> </p></body></html>