LINUXOPOLIS # 29-JANUARY-2020 ~ DHCP


DHCP

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home
screenshot by willi glenz
$ vim ~/.config/fish/functions/gdhcp.fish

function gdhcp --description 'dhcp'
    clear; echo
    echo '=========================================================================='
    echo '                                   DHCP                                   '
    echo '=========================================================================='
    echo '
 SERVER                                                        port udp 67 '   echo 'CLIENT                                                        port udp 68 '   echo '----------------------------------------------------------------------------'
    echo ' # netstat -tulpn | grep dhclient                                         '
    echo ' $ ip                                                                   '
    echo ' # dhclient -r -v                                                         '
    echo ' # dhclient -v                                                            '
    echo '                                                                          '
    echo ' # /etc/init.d/networking restart                                         '
    echo ' # systemctl restarting networking.service                                '
    echo ' # systemctl status networking.service                                    '
    echo '                                                                          '
    echo ' $ nmcli con                                                              '
    echo ' $ nmcli con down id 'enp1...'                                            '
    echo ' $ nmcli con up id 'enp1...'                                              '
    echo '                                                                          '
    echo ' $ ip a                                                                   '
    echo ' $ ip a s enp1...                                                         '
    echo ' # dhclient -v -r enp1...                                                 '
    echo '                                                                          '
    echo ' # systemctl restart network                                              '
    echo ' # systemctl status network                                                 '
   echo ' $ man dhclient                                                           '
    ho '====================ES
 tutorial powercert ...==================================....... youtu.be/e6-TaH5bkjo
 wikiwa.................................................... $ man dhclient t nrotocol
 man-pages ............................................. $ man dhclient nmcli netstat
 picture...................... wikiwand.com/en/Dynamic_Host_Configuration_Protocol
 picture...................................... screenshoot by me ~ my gnome-desktop

Comments 0