IP CONFIG

 

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


Comments

Popular posts from this blog

Install Dspace 7.2 on Ubuntu 22.04 LTS

How to delete library data in koha using the command line

Koha INSTALLATION

Total views