id command is this?:uid=0(root) gid=0(root) groups=0(root)
ls -la /etc/apt? Should look like this:...
-rw-r--r-- 1 root root 475 Jan 5 07:29 sources.list
...
*face palm* Didn't see that...you need to add some tools which one you want to use, like vi or nano
the correct comand:
vi /etc/apt/sources.list
nano /etc/apt/sources.list and then save with CTRL+X, Y.its saying permission deniedSounds like you setup a wrong DNS server. Put your routers IP or a public DNS server like 8.8.8.8 in /etc/resolv.conf.
thank you its now workingThere is your problem. You should google what a gateway is and what it does. Change it to your routers IP (for example 192.168.1.1) and then restart your networking usingsystemctl restart networking.
Unfortunately the command doesn't work on the newer Ubuntu versions. Can you help me solve the problem in Ubutu version 24?If you can't ping 8.8.8.8 then you probably setup a wrong gateway. Check that the gateway IP in /etc/network/interfaces is really your routers IP (so I would guess 192.168.1.1).
Unfortunately the command doesn't work on the newer Ubuntu versions. Can you help me solve the problem in Ubutu version 24?
/etc/netplan directory. Maybe you are just looking for: ip aI had the same problem which is described in this thread,
but I can't solve it because the command/etc/network/interfacesdon't work in versions above 18.04 in Ubuntu.
Same issue, different platform does not lead to the same solution. You need to make a new threadI had the same problem which is described in this thread,
but I can't solve it because the command/etc/network/interfacesdon't work in versions above 18.04 in Ubuntu.
Same issue, different platform does not lead to the same solution. You need to make a new thread
We use essential cookies to make this site work, and optional cookies to enhance your experience.