On 19/11/14 18:00, [email protected] wrote:
> thegeezer <[email protected]> [14-11-19 18:40]:
>> On 19/11/14 17:34, [email protected] wrote:
>>> Hi,
>>>
>>> the little Linux board Arietta G25 has a ethernet over usb feature --
>>> no real PHY, no RJ45 plug/jack.
>>>
>>> The board is not permanently connected to my PC.
>>> Both are running Gentoo.
>>>
>>> When I connect the Arietta board to my PC via USB
>>> its boots up...and get no connection to my PC, since
>>> I have to do a
>>>
>>>     ifconfig usb0 <IP-addr>
>>>
>>> to fire up usb0.
>>>
>>> Thats far too late for things like ntp_client, dhcp etc,
>>> while already have timed out.
>>>
>>> What is the correct way to automated this: Fire up
>>> the usb0 interface in that moment a device is recognized
>>> to have a ethernet over usb interface?
>>>
>>> Thank you very much in advance for any help!
>>>
>>> Best regards,
>>> Meino
>>>
>>>
>>>
>>>
>> https://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=1
>>
>>
> Hi thegeezer,
>
> thanks for the link! :)
>
> Will usb0 start even if there is no connection to a device,
> which is equipped with such interface?
>
> Best regards,
> Meino
>
>
>
>
>
yes it will start. if you want you can look at ifplug/netplug that
basically half-starts the interface and then starts it properly when the
cable is connected.
this is useful if you have multiple routes over multiple nics but
probably not so useful in your case

Reply via email to