0

I am try to configure gateway. I am follow step 4 of this https://trueconf.com/blog/knowledge-base/configure-xen-hypervisor-ubuntu-server-14-4-05.html

When I open to edit mc/etc/sysctl.conf file I get this message: ~Directory 'mc/etc' does not exist~

Please help me, I am new in ubuntu

2
  • 2
    Must be a typo. Should be /etc/sysctl.conf without the mc part.
    – Jos
    Commented Apr 8, 2019 at 22:07
  • If you think the answer is correct please accept the answer as correct by placing the green check mark ✅ next to the answer. You can also upvote an answer. This will help others.
    – user68186
    Commented Apr 8, 2019 at 22:31

1 Answer 1

0

There is a typo in the instructions in

Step 4. Configure the network gateway

Nexts line should read:

To configure the gateway, edit /etc/sysctl.conf file. Find and uncomment the following line:

Note the file sysctl.conf is in the /etc/ folder. Be particular about the leading / before the etc/.

As this is a system file, you will need administrative privileges to edit this file. Open a terminal using Ctrl+Alt+T and enter:

sudo nano /etc/sysctl.conf

This will open the file in a text based editor nano. Find and uncomment the following line:

net.ipv4.ip_forward=1

To save and exit nano Use Ctrl+X Followed by Y, followed by Etner.

Hope this helps

2
  • I dont find it.
    – E Tab
    Commented Apr 8, 2019 at 22:12
  • if i add it on this file, I cant save the changes
    – E Tab
    Commented Apr 8, 2019 at 22:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .