dhcpcd config

This commit is contained in:
josch 2010-08-26 16:24:59 +02:00
parent 607efd421f
commit 41b8c3878d

View file

@ -155,6 +155,27 @@ log-queries
clear-on-reload clear-on-reload
domain-needed domain-needed
__END__ __END__
cat > $ROOTDIR/etc/dhcpcd.conf << __END__
hostname
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option ntp_servers
option interface_mtu
require dhcp_server_identifier
nohook lookup-hostname
interface usb0
static ip_address=192.168.0.202/24
static routers=192.168.0.200
static domain_name_servers=192.168.0.200
__END__
# pyneo-resolvconf installs new resolv.conf - revert that change # pyneo-resolvconf installs new resolv.conf - revert that change
cp /etc/resolv.conf $ROOTDIR/etc/resolv.conf cp /etc/resolv.conf $ROOTDIR/etc/resolv.conf
fi fi