Re: Initial Configuration

Anthony Leeser
 

I believe I have the initial config done. I hope. Can anyone take a look and see if it is?

login as: pi
pi@....34's password:
Linux draws 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 22 20:17:58 2019 from 192.168.1.176
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix/config
pi@draws:~/n7nix/config $ # Become root
pi@draws:~/n7nix/config $ sudo su
root@draws:/home/pi/n7nix/config# ./app_config.sh core
app_config.sh: script start
Enter call sign, followed by [enter]:
AG7GF
app_config.sh: Config core
Initial core config script
current dir: /home/pi/n7nix/config
Test pwd: /home/pi/n7nix/config, path: /home/pi/n7nix

Verify IF dtoverlay= is set properly
  dtoverlay currently set to: dtoverlay=draws,alsaname=udrc
  dtoverlay for DRAWS OK

Verify IF dtparam=audio is set properly
  Last line in /boot/config.txt OK
 === Verify not using default password
User pi found
Determine if default password is being used
User pi is using default password
Need to change your password for user pi NOW
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
=== Verify current hostname: draws
Current host name: draws, change it
Enter new host name followed by [enter]:
DRAWS
Setting new hostname: DRAWS
=== Set mail hostname
127.0.1.1       draws draws.localnet
Make host names match between /etc/hostname & /etc/hosts
=== Set time zone & current time
Time zone: PDT
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
=== Set WiFi country code to US
Locale country codes do not match: WiFi: US
US, iw: US, X11: US.
=== Put some scripts in local bin dir
app_config.sh: Verify user name: pi
using USER: pi

FINISHED copying bin files
=== Set alsa levels for UDRC
Set sound card levels return: 0
=== Set ip addresses on AX.25 interfaces
Current AX.25 ip addresses: ax0: 192.168.255.2, ax1: 192.168.255.3
If you do not understand or care about the following just hit enter for default values
Enter ip address for AX.25 interface ax0 followed by [enter]:
Enter ip address for AX.25 interface ax1 followed by [enter]:
No change to AX.25 IP addresses

        after:

IPADDR_AX0="192.168.255.2"
IPADDR_AX1="192.168.255.3"
=== FINISHED Setting up ip addresses for AX.25 interfaces
200 OK
2019 05 22 20:21:29 PDT: app_config.sh: core config script FINISHED

/home/pi/n7nix/ax25 /home/pi/n7nix/config

AX.25 config START
 Found ax.25 link or directory
AX.25 config: User=pi, Callsign=AG7GF
Using CALL SIGN: AG7GF
app_config.sh: Verify user name: pi
using USER: pi
No ax25 ports defined
Original ax25 axports saved as axports-dist
Using CALL SIGN: AG7GF
Enter ssid (0 - 15) for direwolf APRS, followed by [enter]:
9
Using SSID: 9
ax25d not configured
Original ax25d.conf saved as ax25d.conf-dist
2019 05 22 20:21:56 PDT: app_config.sh: AX.25 config script FINISHED

/home/pi/n7nix/direwolf /home/pi/n7nix/config

direwolf config START
Using CALL SIGN: AG7GF
using USER: pi
Found an existing /etc/direwolf.conf config file.
Test pwd: /home/pi/n7nix/direwolf, path: /home/pi/n7nix
Found udrcver.sh here: /home/pi/n7nix/bin
Draws installed
udrc card number line: card 1: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0 []
udrc is sound card #1
MYCALL
ADEVICE
ACHANNELS
PTT
CHANNEL1
Config Internet Gateway LOGIN
Building callpass
Login code for AG7GF for APRS tier 2 servers: 17378
IGSERVER

direwolf config script FINISHED

/home/pi/n7nix/systemd /home/pi/n7nix/config

systemd install START
copy ax.25 files ...
 Found ax.25 directory
copy systemd service files ...
copy log cfg files ...
Create direwolf log directory: /var/log/direwolf
restart syslog
test log rotate for direwolf, view status before ...
"/var/log/direwolf/direwolf.log" 2018-12-9-1:0:0
reading config file /etc/logrotate.d/direwolf
Reading state from file: /var/lib/logrotate/status
Allocating hash table for state file, size 64 entries
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state

Handling 1 logs

rotating pattern: /var/log/direwolf/direwolf.log  forced from command line (7 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/direwolf/direwolf.log
  log /var/log/direwolf/direwolf.log does not exist -- skipping
test log rotate, view status after ...
"/var/log/direwolf/direwolf.log" 2018-12-9-1:0:0

FINISHED copying files

systemd install script FINISHED


systemd config START
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service ? /lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket ? /lib/systemd/system/systemd-networkd.socket.
Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service ? /lib/systemd/system/systemd-networkd-wait-online.service.

systemd config script FINISHED

/home/pi/n7nix/iptables /home/pi/n7nix/config
setup iptables
USER=pi not null
Need to create iptables file: /etc/iptables/rules.ipv4.ax25
Need to create iptables file: /lib/dhcpcd/dhcpcd-hooks/70-ipv4.ax25

== setup iptables

2019 05 22 20:21:59 PDT: iptable_install.sh: iptables install/config script FINISHED

core configuration FINISHED

2019 05 22 20:21:59 PDT: app_config.sh: app config (core) script FINISHED

**********
login as: pi
pi@....34's password:
Linux DRAWS 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 22 20:37:06 2019 from 192.168.1.176
pi@DRAWS:~ $ cd ~/bin
pi@DRAWS:~/bin $ # Become root
pi@DRAWS:~/bin $ sudo su
root@DRAWS:/home/pi/bin# ./ax25-start
Starting: direwolf.service
ENABLING direwolf.service
Created symlink /etc/systemd/system/multi-user.target.wants/direwolf.service ? /etc/systemd/system/direwolf.service.
Starting: ax25dev.path
ENABLING ax25dev.path
Created symlink /etc/systemd/system/multi-user.target.wants/ax25dev.path ? /etc/systemd/system/ax25dev.path.
Starting: ax25dev.service
ENABLING ax25dev.service
Created symlink /etc/systemd/system/multi-user.target.wants/ax25dev.service ? /etc/systemd/system/ax25dev.service.
Starting: ax25-mheardd.service
ENABLING ax25-mheardd.service
Created symlink /etc/systemd/system/multi-user.target.wants/ax25-mheardd.service ? /etc/systemd/system/ax25-mheardd.service.
Starting: ax25d.service
ENABLING ax25d.service
Created symlink /etc/systemd/system/multi-user.target.wants/ax25d.service ? /etc/systemd/system/ax25d.service.
root@DRAWS:/home/pi/bin#

**********
login as: pi
pi@....34's password:
Linux DRAWS 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 22 20:37:53 2019 from 192.168.1.176
pi@DRAWS:~ $ ax25-status
Status for direwolf.service: RUNNING and ENABLED
Status for ax25dev.service: RUNNING and ENABLED
Status for ax25dev.path: RUNNING and ENABLED
Status for ax25-mheardd.service: RUNNING and ENABLED
Status for ax25d.service: RUNNING and ENABLED
AX.25 device: ax0 successfully configured with ip: 192.168.255.2
AX.25 device: ax1 successfully configured with ip: 192.168.255.3
pi@DRAWS:~ $ ax25-status -d

**********
login as: pi
pi@....34's password:
Linux DRAWS 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 22 20:46:44 2019 from 192.168.1.176
pi@DRAWS:~ $ cd
pi@DRAWS:~ $ cd bin
pi@DRAWS:~/bin $ # Become root
pi@DRAWS:~/bin $ sudo su
root@DRAWS:/home/pi/bin# ./ax25-stop
DISABLING ax25dev.service
Removed /etc/systemd/system/multi-user.target.wants/ax25dev.service.
Warning: Stopping ax25dev.service, but it can still be activated by:
  ax25dev.path
DISABLING ax25dev.path
Removed /etc/systemd/system/multi-user.target.wants/ax25dev.path.
DISABLING direwolf.service
Removed /etc/systemd/system/multi-user.target.wants/direwolf.service.
DISABLING ax25-mheardd.service
Removed /etc/systemd/system/multi-user.target.wants/ax25-mheardd.service.
DISABLING ax25d.service
Removed /etc/systemd/system/multi-user.target.wants/ax25d.service.
root@DRAWS:/home/pi/bin#

 

 

Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.