Jump to content

A Script to Help Networked Repeater


sjmahler

Recommended Posts

I have a shell script that you might enjoy.  I am just putting my Node / Repeater in service.  This was originally written for ham nodes.  If you operate or debug using a console session (SHH, PUTTY, etc.) and you want to send the repeater a DTMF command you can pick up a radio or type a somewhat long command.  Script "rpt" from the console makes it easy.

Simulates sending DTMF command  *3111     >  rpt  *3111  

Simulates sending DTMF command *3222 generating the "*" for you   > rpt  3222

Not a big deal but I use it all the time.

rpt.txt

Link to comment
Share on other sites

Forgive me but I am a bit lost here.

When you say send the 'repeater' a command.  Are you referring to outputting DTMF from the audio interface of R-Pi to the actual repeater/secondary controller or are these internal ASL commands to be processed the same as if they came in off the air?

I do the radio stuff fine.  I am one of the people that has very successfully taken a CM108 audio dongle and built a proper working interface for the repeater and got my levels all correct so it don't sound bad on the air. 

But my Linux abilities are a bit lacking and my ASL knowledge is worse. 

But I do have a thought / request if it could be implemented, scripted or however it would need to be done.

My network connection to the tower site is a Microwave link, and it can drop from time to time.  Of course this boots me off the system.

If a script could be created that would look at ASL and see if I am attached to a specific node and if there is no connection run a script to connect me back up that would be VERY handy.

Second issue,  for some reason, and it might be the network dropping, don't know.  My Pi will occasionally go dumb.  Stops running ASL, almost like it has a memory leak or the CPU gets overloaded.  I can log into it, but rebooting it is impossible from the command line.  To the point sudo commands that are suppose to panic the kernel don't work. 

If there was something that would auto reboot the Pi, although I don't know how it would work, and then reconnect the node that would be a God sent as well.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Guidelines.