Newer
Older
barebox / defaultenv-2 / base / network / eth0
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD on 2 Oct 2012 289 bytes defaultenv-2: eth0 add default global.dhcp.vendor_id
#!/bin/sh

# ip setting (static/dhcp)
ip=dhcp
global.dhcp.vendor_id=barebox-${global.hostname}

# static setup used if ip=static
ipaddr=
netmask=
gateway=
serverip=

# MAC address if needed
#ethaddr=xx:xx:xx:xx:xx:xx

# put code to discover eth0 (i.e. 'usb') to /env/network/eth0-discover