All of the sudden while configuring the iax.conf and the rpt.conf i’m now not able to edit these files… can someone send some advice. been searching and nothing is working just yet.
Thank You
I find the above error message odd. Not the message itself, but the popup box. It looks like a desktop GUI. That looks like a file manager in the background.
I recently installed Debian 12 on an i5 desktop but only install a terminal based system. That is no GUI. It’s just like the Pi Appliance with cockpit you mentioned in another post. Remember cockpit is part of a web application and NOT the Debian 12 desktop.
You should be only using the terminal to setup ASL3 on Debian 12. I don’t think a desktop environment will be a problem. There are only two packages you need to get started on Debian 12: asl3" and “allmon3”. Yes you can edit the files with a desktop editor, but I strongly suggest you resist the urge.
I recommend you only use “asl-menu” from the terminal command line. If you haven’t already done so, start at Debian 12 Install - AllStarLink Manual and go through the steps exactly. You might have to reinstall Debian 12 on your laptop fresh. I recommend nano as the default editor if you are asked. You’ll probably be asked once. Take the time to learn nano if you already aren’t familiar with it.
The reason to only use “asl-menu” is because it senses when you edit conf files and will prompt you to restart the Asterisk service.
I have recently gone through the Debian 12 on x64 installation process in the past few days and recall my pitfalls.
Understood. I did follow all step by step but now that your mentioning it I may have messed the installation up by using WinSCP from a windows machine to do my editing.(thats what your seeing in my screen shots) It worked initially to make my edits but then it just stopped working throwing those read/write errors.
I definitely need to learn nano. I tried the nano light option and that did not go well for me.
Thanks much for the info… (i’m on reinstallation 4 soon to be 5 now lol. )
WinSCP has no effect on the system. I have used it for nearly 2 decades.
But it looks like the file ownership may be in question and the user you re logged in as in WinSCP…
Config files should be owned by asterisk:asterisk (user:group)
Are you logged in as root with WinSCP or a sudo user ?
You can’t issue a sudo command in software. You need to be root.
(I shouldn’t say you can’t but that is a more complicated topic)
But remember that asterisk needs access to ‘new files created’ if they are to run like scripts you expect it to use.
So what you are seeing is that the logged-in user hasn’t permission for the action.
I’ve been using it also at least that long… In the Debian 12 installation procedures it specifically states to not setup the root account and password so sudo command will be available for the user you setup.
So with that said, I’m guessing this is my problem. I’m just unaware of how to configure my WinSCP login into Debian that will give me that privilege to write the files under root since that was not setup.
I’ve been researching info on this and found some but none of those work arounds seem to be working for me.
Thanks!
For now, the sudo nano editing is working as it should. Its just easier for me to use winscp.
You cannot. You could use SSH keys and ssh-as-root or you have to copy them over under your regular account and move them into place under sudo.