in /etc/conf.d/net

iface_eth0="dhcp"
dhcpcd_eth0="-t 3"

the comment says:

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?

-t is the timeout, as per man dhcpcd


what about static addresses? can you still pass options to the eth's?

please use /etc/conf.d/net:

ifconfig_fallback_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"

and / or

alias_eth0="192.168.1.33"

But I don't know how to set the default route in this file for the fallback config. Perhaps you need no, because your's wireless. If not take a look at /etc/init.d/net.eth0 what it supports.

Sascha.

--
[email protected] mailing list



Reply via email to