Reading the earlier posts, I followed the posted replies. Since I am brand new, I opted to use the Ubuntu GUI, from which I entered the Terminal. At the terminal, I entered nano /etc/network/interfaces
. at the line AUTO enp4s0
and IFACE enp4s0 INET DHCP
, I changed it to read:
auto eth0
iface eth0 inet static
address 192.168.1.7
netmask 255.255.255.0
network 192.168.1.0 <---I guessed at this from a earlier post
gateway 198.168.1.1
dns 192.168.1.1 <---this too was a guess
**note that the two lines marked as guesses were added because two posts had them, while others did not.
I then entered CTRL+X to exit. Was prompted if I wanted to save. Entered Y for yes. Return message was
ERROR WRITING /etc/netwrk/interfaces: Permission denied.
Any assistance to get a static IP assigned would be appreciated.