Page 1 of 2

CLOSED: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 4:18 pm
by basact
Hi,

I wanted to edit the file amahi.conf. (/etc/openvpn/amahi.conf). How do I do it? Please advise. Thanks

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 6:14 pm
by bigfoot65
You can search the internet on how to edit a file.

Most use nano or vi editors.

Why would you want to edit the file?

Making any change is not as simple as editing the file. There are other steps needed likely.

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 6:23 pm
by basact
You can search the internet on how to edit a file.

Most use nano or vi editors.

Why would you want to edit the file?

Making any change is not as simple as editing the file. There are other steps needed likely.
I have Amahi 11 and OpenVPN app. Currently I can connect out of the network from one computer but I want a way to connect to the server from multiple computer so that I can access the server from 3-4 computers at the same time. I read online that I need to edit the config file (/etc/openvpn/amahi.conf) and add a line to it. But I don't know where the amahi.conf file is located and how to access it.

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 6:30 pm
by bigfoot65
You just stated in your post where it’s located.

What you want to do is for advanced users. If you don’t know how to edit the file then you probably shouldn’t.

What site did you find this info? Was it the Amahi wiki? If not, then it may not work with Amahi.

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 6:58 pm
by basact
You just stated in your post where it’s located.

What you want to do is for advanced users. If you don’t know how to edit the file then you probably shouldn’t.

What site did you find this info? Was it the Amahi wiki? If not, then it may not work with Amahi.
Yes it's Amahi wiki. So what I see in the server is the command prompt with local host login. Do I login and then edit the file or is there anywhere else I can access it?

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 7:08 pm
by bigfoot65
Ok good.

Yes login and then the wiki should guide you through the process.

In future, please provide more details. It will help us understand what you are trying to do.

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 8:35 pm
by basact
Ok good.

Yes login and then the wiki should guide you through the process.

In future, please provide more details. It will help us understand what you are trying to do.
What is the default editor for it? I tried to change the config file but not sure which editor works.

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 8:41 pm
by bigfoot65
The default editor for Fedora is called "vi".

If you want to install "nano" do the following from the command line:

Code: Select all

sudo dnf install nano

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 9:31 pm
by basact
The default editor for Fedora is called "vi".

If you want to install "nano" do the following from the command line:

Code: Select all

sudo dnf install nano
When I try to save it's saying "Can't open file for writing". any advise?

Re: How to I edit amahi.conf

Posted: Mon Jan 11, 2021 11:22 pm
by basact
The default editor for Fedora is called "vi".

If you want to install "nano" do the following from the command line:

Code: Select all

sudo dnf install nano
When I try to save it's saying "Can't open file for writing". any advise?
Nevermind it worked. Thanks a lot.