| 763 | {{{ |
| 764 | sudo vi /etc/network/interfaces |
| 765 | }}} |
| 766 | edit interfaces file to change back to dhcp. Find following lines |
| 767 | {{{ |
| 768 | iface enp0s3 inet static |
| 769 | |
| 770 | address 192.248.4.60 |
| 771 | netmask 255.255.255.0 |
| 772 | network 192.248.4.0 |
| 773 | broadcast 192.248.4.255 |
| 774 | gateway 192.248.4.254 |
| 775 | dns-nameservers 192.248.1.161 |
| 776 | dns-search userx.ws.ac.lk |
| 777 | }}} |
| 778 | Change it to |
| 779 | {{{ |
| 780 | #iface enp0s3 inet static |
| 781 | |
| 782 | # address 192.248.4.60 |
| 783 | # netmask 255.255.255.0 |
| 784 | # network 192.248.4.0 |
| 785 | # broadcast 192.248.4.255 |
| 786 | # gateway 192.248.4.254 |
| 787 | # dns-nameservers 192.248.1.161 |
| 788 | # dns-search userx.ws.ac.lk |
| 789 | }}} |
| 790 | Find the following line |
| 791 | {{{ |
| 792 | #iface enp0s3 inet dhcp |
| 793 | }}} |
| 794 | Change it to |
| 795 | {{{ |
| 796 | iface enp0s3 inet dhcp |
| 797 | }}} |