dhclient
is the Dynamic Host Configuration Protocol (DHCP) Client one would use to allow a client to connect to a DHCP server.
$ sudo nano /etc/rc.local
#!/bin/bash
dhclient
exit 0
$ sudo chmod 755 /etc/rc.local
dhclient
is the Dynamic Host Configuration Protocol (DHCP) Client one would use to allow a client to connect to a DHCP server.
$ sudo nano /etc/rc.local
#!/bin/bash
dhclient
exit 0
$ sudo chmod 755 /etc/rc.local
https://websiteforstudents.com/configure-static-ip-addresses-on-ubuntu-18-04-beta/ |
[instead of /etc/network/interfaces] | |
/etc/netplan/*.yml | |
[IPV4 daemon] | |
systemctl status isc-dhcp-server.service | |
dpkg -l cloud-init | |
[install dhcp server] | |
apt-get install -y isc-dhcp-server | |
```yml |
https://www.easycryptomining.com/diskless_mining_node.html |
[a successfull dhcp offer and client uses the ip address] | |
Feb 13 06:45:29 keyholder systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server. | |
Feb 13 06:47:08 keyholder dnsmasq-dhcp[1880]: DHCPDISCOVER(eth0) 192.168.10.2 b8:27:eb:c3:94:98 | |
Feb 13 06:47:08 keyholder dnsmasq-dhcp[1880]: DHCPOFFER(eth0) 192.168.13.13 b8:27:eb:c3:94:98 | |
Feb 13 06:47:08 keyholder dnsmasq-dhcp[1880]: DHCPREQUEST(eth0) 192.168.13.13 b8:27:eb:c3:94:98 | |
Feb 13 06:47:08 keyholder dnsmasq-dhcp[1880]: DHCPACK(eth0) 192.168.13.13 b8:27:eb:c3:94:98 sysbox | |
Feb 13 06:55:06 keyholder dnsmasq-dhcp[1880]: DHCPDISCOVER(eth0) 192.168.13.13 b8:27:eb:c3:94:98 <-- when rpi is rebooted | |
[an unsuccesfull dhcp offer and client is not using it] | |
Feb 13 06:36:49 keyholder systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server. |
dhcp-host=08:00:27:b2:cf:50,192.168.143.69 |
VBoxManage.exe dhcpserver remove --netname "HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #3" | |
VBoxManage.exe list dhcpservers |
# setup asciinema-server inside VM via docker | |
# Configured values in .env.production file | |
``` | |
## Base URL of your asciinema web app instance | |
URL_SCHEME=http | |
URL_HOST=<ip of vm here> | |
URL_PORT=80 | |
## Base secret key for signing cookies etc. |
#!/bin/sh | |
# | |
# Transform to base64 one-liner and hardcode assigned to variable x | |
# cat id_rsa | base64 -w0 > /tmp/x | |
trap cleanup 1 2 3 6 | |
cleanup () { | |
rm -f $t | |
} |