Console menu question..

Discussion about this major DATV Project. See https://wiki.batc.org.uk/The_Portsdown_Transmitter
Post Reply
G4WIM
Posts: 403
Joined: Thu Jan 29, 2015 8:36 pm

Console menu question..

Post by G4WIM » Tue Aug 01, 2017 8:41 pm

I have an rpi3 set up to auto boot into tx such that it streams GB3FT to BATC.TV. Works very nicely.

It has no touch screen and is thus controlled solely by console commands.

However when I log into it i get the usual linux prompt, but when I execute the menu.sh menu command or menu.sh menu command in the scripts directory I get command not found even though I can see it in the script directory.
Executing ./menu.sh causes a screen full of text but nothing resembling the console menu.

Probably another case of finger trouble on my behalf, but was wondering if someone could pull me out of this new hole I've dug for myself ?

FYI I'm trying to make some config changes and have noticed the rpidatvconfig,txt file which I could edit manually but would likely mess something else up.

73 Tim

G8GKQ
Site Admin
Posts: 3007
Joined: Sun Mar 22, 2009 1:21 pm

Re: Console menu question..

Post by G8GKQ » Tue Aug 01, 2017 9:46 pm

Hi Tim

No need to go to the scripts directory. From the home directory try pasting this in:

Code: Select all

/home/pi/rpidatv/scripts/menu.sh menu
Let me know how you get on.

Dave

G4WIM
Posts: 403
Joined: Thu Jan 29, 2015 8:36 pm

Re: Console menu question..

Post by G4WIM » Wed Aug 02, 2017 7:06 pm

Hi Dave,

that did the trick - but a little puzzled as to why it didn't work from within the scripts directory - still all good now.

73 Tim

G8GKQ
Site Admin
Posts: 3007
Joined: Sun Mar 22, 2009 1:21 pm

Re: Console menu question..

Post by G8GKQ » Wed Aug 02, 2017 8:51 pm

Hi Tim

Pleased that worked. In Linux, you need to put a path in front of a locally defined shell script, so from the /home/pi/rpidatv/scripts folder, typing

Code: Select all

./menu.sh menu
should work. If you simply type

Code: Select all

./menu.sh
it will start up in transmit mode, but it should still show you the "Transmitting" menu on the console.

It should not matter, but I always run these commands from the /home/pi folder, and tend to use the full path, so that I don't confuse myself.

Dave

G4WIM
Posts: 403
Joined: Thu Jan 29, 2015 8:36 pm

Re: Console menu question..

Post by G4WIM » Wed Aug 02, 2017 10:29 pm

Hi Dave,

I tried both of those commands while in the scripts folder without success.

I've run other scripts in the same manner in other applications without problem so was puzzled why they wouldn't work on the RPI3.

Anyway, it's all about learning and I've learnt something else here, just not sure what it is !

73 Tim

Post Reply

Return to “The Portsdown Digital ATV System”