No way to force g_ether to ethx depending on whether ethernet is connected or not ? Hack ?
On Wed, Jul 1, 2015 at 2:09 PM, Robert Nelson <[email protected]> wrote: > > > On Wed, Jul 1, 2015 at 3:51 PM, William Hermans <[email protected]> wrote: > >> *We load g_ether/g_multi with the exact settings:* >>> >>> >>> *https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L132 >>> <https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L132>* >>> >>> *(minus the file stuff for the usb-flash..)* >>> >>> *It's an issue on the host x86 pc, you need to run dhclient or hope >>> network-manager figures it out..* >>> >>> *Regards,* >>>> >>> >> Ah, I see. Welp, since I'm a control freak in this case, it never effects >> me. As I set all my own IPs on our network statically, and manually. >> Including g_multi -> <whatever> system it is connected to. >> > > See this gets fun with systemd 220 on debian stretch: > > [27838.312821] usb 1-1.2: new high-speed USB device number 9 using ehci-pci > [27838.405588] usb 1-1.2: New USB device found, idVendor=0525, > idProduct=a4a2 > [27838.405593] usb 1-1.2: New USB device strings: Mfr=1, Product=2, > SerialNumber=3 > [27838.405595] usb 1-1.2: Product: BeagleBoneBlack > [27838.405597] usb 1-1.2: Manufacturer: Circuitco > [27838.405598] usb 1-1.2: SerialNumber: 0C-2115BBBK0347 > [27838.406274] cdc_subset: probe of 1-1.2:1.0 failed with error -22 > [27838.406966] cdc_ether 1-1.2:1.0 eth0: register 'cdc_ether' at > usb-0000:00:12.2-1.2, CDC Ethernet Device, 54:4a:16:bb:ae:0b > [27838.432105] cdc_ether 1-1.2:1.0 enx544a16bbae0b: renamed from eth0 > [27838.474646] cdc_ether 1-1.2:1.0 enx544a16bbae0b: kevent 12 may have > been dropped > > > enx544a16bbae0b Link encap:Ethernet HWaddr 54:4a:16:bb:ae:0b > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:8 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:536 (536.0 B) TX bytes:1368 (1.3 KiB) > > Where sudo dhclient enx544a16bbae0b is failing for me.. and the > gui-network-manager doesn't want to connect as it's already using eth0.. > > hummm... > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
