|
NL2ZTM > BPQ32 19.10.15 17:20l 171 Lines 6074 Bytes #999 (0) @ WW
BID : 1574_NL3ZTM
Read: GAST
Subj: Fwd: Re: [BPQ32] Installing TNC-PI and pilinbpq on JESSIE
Path: DBO595<DBO763<DBX214<CB0ESN<FRB001<NL3WAM<NL3ZZE<NL3ZTM
Sent: 151018/0925Z 1574@NL3ZTM.NL3ZTM.ZH.NLD.EU BPQ1.4.64
-------- Doorgestuurd bericht --------
Onderwerp: Re: [BPQ32] Installing TNC-PI and pilinbpq on JESSIE
Datum: Wed, 14 Oct 2015 11:44:06 -0400
Van: Tadd Torborg tadd@mac.com [BPQ32] <BPQ32@yahoogroups.com>
Antwoord-naar: BPQ32@yahoogroups.com
Aan: bpq group <BPQ32@yahoogroups.com>
John,
Thanks for the reply. I’m trying to figure this stuff out. I
couldn’t get my install scripts to get far enough to start linbpq so I
tried it with a script. Was this doomed to fail? Looking at your email.
> In directory /etc/init rename tty2.conf to tty2.save
>
I couldn’t find a *tty2.conf* and nothing that looked like that in
*/etc/init*
I did verify that console messages to serial can be turned off in
raspi-config.
Is there anything you have to do to get the system to register the new
bpq.conf? I created a script file in /usr/local/etc, made it +x and
created by root. I just told it to do
uptime >> /usr/local/etc/test.log and then sleep for 20. It didn’t
seem to start. I tried rebooting to see if that would do it. Nothing.
Originally I tried to make the script run aplay but then I decided
that was too complicated so I went to echoing “uptimeö output. That
didn’t work either.
Just to make sure my new conf has the right permissions, I compared it
to ssh.conf
pi@raspberrypi /etc/init $ ls ssh.conf -lrat
-rw-r--r-- 1 root root 641 Mar 22 2015 ssh.conf
ppi@raspberrypi /etc/init $ ls tadd* -lrat
-rw-r--r-- 1 root root 103 Oct 14 14:34 tadd.conf
i@raspberrypi /etc/init $ cat tadd.conf
#
start on runlevel [2345]
stop on runlevel [12345]
respawn
exec "/usr/local/etc/background_test.sh"
pi@raspberrypi /etc/init $ cd /usr/local/etc
pi@raspberrypi/usr/local/etc $ls -lrat
total 24
drwxrwsr-x 10 root staff 4096 Jan 1 1970 ..
-rw-r--r-- 1 root staff 8620 Oct 13 20:35 spam.wav
-rwxr-xr-x 1 root staff 43 Oct 14 14:44 background_test.sh
drwxrwsr-x 2 root staff 4096 Oct 14 14:44 .
pi@raspberrypi /usr/local/etc $ cat background_test.sh
uptime >> /usr/local/etc/test.log
sleep 20
pi@raspberrypi/usr/local/etc $
I’ll search the googles and see if I can find anything.
found a few things
https://blog.sleeplessbeastie.eu/2015/04/27/how-to-manage-system-services-on-debian-jessie/
This showed places to start stop and list services but the list does not
match what is in /etc/init, and my conf wasn’t in the list.
There is something called *upstart *that uses the files in /etc/init
I looked up upstart
http://www.linux.com/learn/tutorials/404619-manage-system-startup-and-boot-processes-on-linux-with-upstart
That said to use initctl to get a list of startup processes. initctl
doesn’t seem to exist as a command in the Raspbian 8 JESSIE distribution.
https://wiki.archlinux.org/index.php/Systemd
While interesting, this document doesn’t seem to exactly match the
Raspberry PI Raspbian 8 JESSIE distribution.
# systemctl edit/unit/
got an error message “Unknown operation ‘edit’. However.. this is
closer. At least the document described things which DID match JESSIE.
… The searching will go on,, however I have to make some money and get
back to this later.
Tadd
*Tadd / KA2DEW*
*tadd@mac.com <mailto:tadd@mac.com>*
*Raleigh NC FM05pv*
*
*
*“Packet networking over ham radio":
http://tarpn.net/t/packet_radio_networking.html*
*
*
> On Oct 13, 2015, at 6:29 PM, 'John Wiseman' john.wiseman@cantab.net
> <mailto:john.wiseman@cantab.net> [BPQ32] <BPQ32@yahoogroups.com
> <mailto:BPQ32@yahoogroups.com>> wrote:
>
>
> Tadd,
> raspi-config now has an option to disable the getty on the serial
> port, but I don't know if it is there in Jessie.
> With the new Kernels i2c is also enabled with reaspi-config.
> This works to start linbpq for some systems that don't use /etc/inittab
>
> Create a filebpq.confin directory/etc/init
>
>
> /etc/init/bpq.conf
>
>
> #
> start on runlevel [2345]
> stop on runlevel [!2345]
> respawn
> exec "/home/pi/linbpq/runbpq" >/dev/tty2
>
> In directory /etc/init renametty2.conf to tty2.save
>
> 73, John
__._,_.___
------------------------------------------------------------------------
Posted by: Tadd Torborg <tadd@mac.com>
------------------------------------------------------------------------
Reply via web post
<https://groups.yahoo.com/neo/groups/BPQ32/conversations/messages/17923;_ylc=X3oDMTJyZnBiaHQxBF9TAzk3MzU5NzE0BGdycElkAzE1Njk5MTI3BGdycHNwSWQDMTcwNTA2MzEwOARtc2dJZAMxNzkyMwRzZWMDZnRyBHNsawNycGx5BHN0aW1lAzE0NDQ4Mzc0NTI-?act=reply&messageNum=17923>
• Reply to sender
<mailto:tadd@mac.com?subject=Re%3A%20%5BBPQ32%5D%20Installing%20TNC-PI%20and%20pilinbpq%20on%20JESSIE>
• Reply to group
<mailto:BPQ32@yahoogroups.com?subject=Re%3A%20%5BBPQ32%5D%20Installing%20TNC-PI%20and%20pilinbpq%20on%20JESSIE>
• Start a New Topic
<https://groups.yahoo.com/neo/groups/BPQ32/conversations/newtopic;_ylc=X3oDMTJmbTZxYTVvBF9TAzk3MzU5NzE0BGdycElkAzE1Njk5MTI3BGdycHNwSWQDMTcwNTA2MzEwOARzZWMDZnRyBHNsawNudHBjBHN0aW1lAzE0NDQ4Mzc0NTI->
• Messages in this topic
<https://groups.yahoo.com/neo/groups/BPQ32/conversations/topics/17916;_ylc=X3oDMTM3MG82dnRtBF9TAzk3MzU5NzE0BGdycElkAzE1Njk5MTI3BGdycHNwSWQDMTcwNTA2MzEwOARtc2dJZAMxNzkyMwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzE0NDQ4Mzc0NTIEdHBjSWQDMTc5MTY->
(6)
Visit Your Group
<https://groups.yahoo.com/neo/groups/BPQ32/info;_ylc=X3oDMTJmaDM0czczBF9TAzk3MzU5NzE0BGdycElkAzE1Njk5MTI3BGdycHNwSWQDMTcwNTA2MzEwOARzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzE0NDQ4Mzc0NTI->
* New Members
<https://groups.yahoo.com/neo/groups/BPQ32/members/all;_ylc=X3oDMTJndWplMTVmBF9TAzk3MzU5NzE0BGdycElkAzE1Njk5MTI3BGdycHNwSWQDMTcwNTA2MzEwOARzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxNDQ0ODM3NDUy>
3
Yahoo! Groups
<https://groups.yahoo.com/neo;_ylc=X3oDMTJlMG01bHVrBF9TAzk3NDc2NTkwBGdycElkAzE1Njk5MTI3BGdycHNwSWQDMTcwNTA2MzEwOARzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTQ0NDgzNzQ1Mg-->
• Privacy <https://info.yahoo.com/privacy/us/yahoo/groups/details.html>
• Unsubscribe
<mailto:BPQ32-unsubscribe@yahoogroups.com?subject=Unsubscribe> • Terms
of Use <https://info.yahoo.com/legal/us/yahoo/utos/terms/>
..
__,_._,___
Lese vorherige Mail | Lese naechste Mail
| |