Posts

Showing posts with the label IP Conf

IP Config on Windows

 IP Config on Windows Go to the C: on the windows file manager then click to open  WINDOWS  folder then click to open SYSTEM32 folder Then click to open ETC  folder Then click to open HOST file Then add the IP Address in the last without # Like this # localhost name resolution is handled within DNS itself. # 127.0.0.1       localhost # ::1             localhost 10.1.57.169           10.1.57.43:8080/jspui

IP CONFIG

Image
  IP CONFIG Run the below commands sudo su ifconfig (Note- inet addr: 192.168.5.156 and Mask 255.255.255.0) ip route sho (Note- defaul via 192.168.5.1 dev) gedit /etc/network/interfaces  Add following lines with the network credentials. Following lines contains example network details. Add your own network details. (e.g. free google DNS: 8.8.8.8) auto eth0 iface eth0 inet static address 192.168.5.156 gateway 192.168.5.1 netmask 255.255.255.0 dns-nameservers 8.8.8.8 systemctl restart network-manager.service systemctl restart networking.service systemctl restart resolvconf.service If resolvconf not restart the run below commands sudo -i apt install resolvconf systemctl enable resolvconf.service systemctl start resolvconf.service systemctl status resolvconf.service sudo service networking restart  sudo /etc/init.d/resolvconf restart

Total views