Tag: dhcp

Raspberry pi – dynamic IP and static DNS

To get an IPĀ  address via DHCP but stick to a pre defined DNS server could be accomplished by: Edit /etc/dhcp/dhclient.conf and uncomment the following line: #prepend domain-name-servers 127.0.0.1; If you want to use e.g. Google DNS Server modify to:…

manual DHCP renewal

DHCP renewal. It is sometimes necessary to renew an IP address on a Linux Operating System: On Ubuntu / Debian the following command works: sudo dhclient3 eth0