Run as root or with sudo

On 04/20/2018 03:00 PM, K5CG wrote:
Starting over.

Brand new Pi 3 B +
Formatted microSD card with SD Formatter.
Re-flashed microSD card with Win32 Disk Imager
Booted, "Resized root filesystem... rebooting"

Logged in as repeater
Changed password for "repeater" user
sudo su -    to become root
passwd    to set root user password
Edited /etc/ssh/sshd_config to enable root login
systemctl restart ssh   to refresh sshd config

ip addr
192.168.1.225/24 (from DHCP)
ssh to 192.168.1.225 as root user

root@repeater:~# apt-mark hold raspberrypi-kernel-headers raspberrypi-kernel
raspberrypi-kernel-headers set on hold.
raspberrypi-kernel set on hold.

root@repeater:~# apt-get update
Fetched 11.9 MB in 8s (1,361 kB/s)
Reading package lists... Done

root@repeater:~# apt-get upgrade -y
Preparing...
Unpacking...
Yadda yadda...
Setting up linux-libc-dev:armhf (4.9.82-1+deb9u3+rpi1) ...
Setting up libicu57:armhf (57.1-6+deb9u2) ...
Setting up raspi-config (20180406+1) ...
Setting up perl (5.24.1-3+deb9u3) ...
Setting up libssl1.0.2:armhf (1.0.2l-2+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libssl1.1:armhf (1.1.0f-3+deb9u2) ...
Processing triggers for systemd (232-25+deb9u2) ...
Setting up openssl (1.1.0f-3+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up asl-asterisk-tools (1.01-20180226-10) ...
Setting up libraspberrypi0 (1.20180417-1) ...
Setting up libraspberrypi-doc (1.20180417-1) ...
Setting up libraspberrypi-dev (1.20180417-1) ...
Setting up libraspberrypi-bin (1.20180417-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...

root@repeater:~# reboot

Now that the initial steps are done, do I run asl-menu as the user repeater or root? The readme isn't specific.



From: "Steve Zingman" <szingman@msgstor.com>
To: "Users of Asterisk app_rpt" <app_rpt-users@lists.allstarlink.org>
Sent: Friday, April 20, 2018 1:12:01 PM
Subject: Re: [App_rpt-users] Announcing AllStarLink Asterisk version 1.01

Danny,
Did you do this before asl-menu?

sudo apt-mark hold raspberrypi-kernel-headers raspberrypi-kernel
sudo apt-get update
sudo apt-get upgrade -y
sudo reboot

Steve N4IRS

On 4/20/2018 2:09 PM, K5CG wrote:

I followed the included readme file instructions and It booted fine but the asl-menu does not work correctly for the networking (static IP), and it doesn't set the hostname or domain name. After rebooting at the end of the process everything is the same as it was. Hostname is still "repeater" and IP is still DHCP.

I seem to recall having this issue before on an older build. Is there a trick to get this to work or must it be done manually?

Danny
K5CG


_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. 


_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.



_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.